/* ==========================================================================
   Le Flouka · Site styles (homepage, rooms page, restaurant page, room pages)
   Titles: Gloock · Text: Hanken Grotesk · Small labels: DM Mono (all SIL OFL, self-hosted)
   Colour: Olive (brand, headings), Lantern (booking buttons only), Olive night (dark grounds, text),
   Linen (light ground), Clay (labels, details), Lake (water only, sparingly). Photos carry the colour.
   Shape rule: square corners everywhere; the arch is reserved for one signature image.
   ========================================================================== */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../fonts/dm-mono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  /* Brand palette */
  --olive: #56613f;
  --lantern: #e3ac55;
  --olive-night: #1e231b;
  --linen: #f2efe7;
  --clay: #9c5b3c;
  --water: #3d7483;

  --bg: var(--linen);
  --bg-alt: #eae5da;
  --surface: #f9f7f2;
  --ink: var(--olive-night);
  --ink-soft: #5b5f52;
  --line: rgb(30 35 27 / 0.13);
  --line-strong: rgb(30 35 27 / 0.28);
  --heading: var(--olive-night);
  --brand: var(--olive);

  --night: var(--olive-night);
  --night-ink: var(--linen);
  --night-soft: #b3b1a4;
  --night-line: rgb(242 239 231 / 0.16);
  --night-accent: #d49b77;

  --accent: var(--clay);
  --accent-strong: #84492d;
  --on-accent: #f9f7f2;

  /* Lantern is reserved for booking actions. */
  --book: var(--lantern);
  --book-strong: #d69a3f;
  --on-book: var(--olive-night);

  --light: var(--linen);
  --light-hover: #faf8f3;
  --on-light: var(--olive-night);

  --shadow: 0 40px 80px -40px rgb(30 35 27 / 0.34), 0 2px 8px rgb(30 35 27 / 0.05);
  --backdrop: rgb(20 24 18 / 0.58);

  --font-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 11vw, 168px);
  --header-h: 76px;
  --booking-overlap: 60px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: var(--olive-night);
    --bg-alt: #232920;
    --surface: #2a3026;
    --ink: var(--linen);
    --ink-soft: #b5b3a6;
    --line: rgb(242 239 231 / 0.12);
    --line-strong: rgb(242 239 231 / 0.26);
    --heading: var(--linen);
    --brand: #bac39a;

    --night: #151912;
    --night-soft: #aeac9f;
    --night-line: rgb(242 239 231 / 0.13);

    --accent: #c98361;
    --accent-strong: #d69676;
    --on-accent: var(--olive-night);

    --shadow: 0 40px 80px -40px rgb(0 0 0 / 0.7), 0 2px 8px rgb(0 0 0 / 0.25);
    --backdrop: rgb(10 12 9 / 0.72);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

/* Film grain: fixed, non-interactive, never on a scrolling layer. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.has-modal, html.has-modal body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--on-accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 48px;
  pointer-events: none;
}

/* ---------- Type ---------- */
.h2,
.h3,
.hero-title,
.page-title,
.closing-title,
.room-name,
.dialog-title,
.dialog-heading,
.summary-nights,
.rating-value { font-variant-numeric: lining-nums; }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 3.9vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Headings are olive night (linen in dark mode); dark grounds swap them to linen and lift clay so it stays legible. */
.h2,
.h3,
.page-title,
.room-name,
.bento-title,
.rating-value,
.award-title,
.faq-item summary,
.dialog-title,
.dialog-heading,
.summary-nights,
.dish-name,
.more-title { color: var(--heading); }

.closing,
.site-footer,
.menu-dialog,
.dialog-gallery { --heading: var(--night-ink); --accent: var(--night-accent); }

/* DM Mono is for small labels only. */
.eyebrow {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-light { color: rgb(242 239 231 / 0.86); }

.lead {
  margin-top: 28px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* SplitText line masks: give descenders room inside the clip. */
.line-mask { padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* Content slots still waiting for verified copy. */
.slot {
  display: inline-block;
  padding: 0.05em 0.55em;
  border: 1px dashed var(--line-strong);
  color: var(--ink-soft);
  font-style: normal;
}
.is-placeholder { color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-border: var(--btn-bg);
  --btn-hover: var(--accent);
  --btn-hover-fg: var(--btn-fg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.55s var(--ease-out);
}
.btn:hover { color: var(--btn-hover-fg); border-color: var(--btn-hover); }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.15rem; height: 1.15rem; }

.btn-primary { --btn-bg: var(--book); --btn-fg: var(--on-book); --btn-hover: var(--book-strong); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); --btn-hover: var(--ink); --btn-hover-fg: var(--bg); }
.btn-light { --btn-bg: var(--light); --btn-fg: var(--on-light); --btn-hover: var(--light-hover); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.72rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.3s var(--ease-out);
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link .icon { transition: transform 0.45s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }
.text-link-light { color: var(--light); text-decoration-color: rgb(242 239 231 / 0.4); }
.text-link-sm { font-size: 0.8125rem; min-height: 36px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s;
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn-outline { width: 52px; height: 52px; border: 1px solid var(--line-strong); }
.icon-btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.icon-btn-outline:disabled { opacity: 0.35; pointer-events: none; }
.icon-btn-light { color: var(--night-ink); }
.icon-btn-light:hover { background: var(--night-line); }
.icon-btn-sm { width: 32px; height: 32px; }

/* ---------- Media & image placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--ph, linear-gradient(165deg, #c9cab4, #56613f));
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Photos fade in only while motion runs: if main.js fails, the head script's safety net drops
   .motion after 3 s and every photo shows (was `.js`, which left them invisible; 25 Oct 2026). */
.motion .media img { opacity: 0; transition: opacity 0.9s var(--ease-out); }
.motion .media.is-loaded img { opacity: 1; }
.js .media.is-empty img { visibility: hidden; }

/* Tonal stand-ins until the real photographs are dropped into /assets/images. */
.ph-lake   { --ph: linear-gradient(172deg, #d8d9cf 0%, #a3b4ae 30%, #3d7483 64%, #1e2b2b 100%); }
.ph-garden { --ph: linear-gradient(165deg, #dbd9c6 0%, #a8ab86 40%, #56613f 76%, #2c3322 100%); }
.ph-earth  { --ph: linear-gradient(160deg, #e8d9c6 0%, #c9a183 42%, #9c5b3c 78%, #5c3524 100%); }
.ph-dusk   { --ph: linear-gradient(176deg, #e2cfad 0%, #b39274 36%, #625543 70%, #1e231b 100%); }
.ph-stone  { --ph: linear-gradient(165deg, #e8e4d9 0%, #c6c0ae 48%, #8f8a76 84%, #626050 100%); }

.media-ph { display: none; }
.js .media.is-empty .media-ph {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgb(20 24 18 / 0.42));
  color: rgb(242 239 231 / 0.94);
  font-size: 0.78rem;
  line-height: 1.4;
}
.media-ph .icon { width: 20px; height: 20px; opacity: 0.85; }
.media-ph strong { display: block; font-weight: 500; }
.media-ph small { display: block; margin-top: 2px; font-size: 0.6875rem; letter-spacing: 0.04em; opacity: 0.78; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--light);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), transform 0.6s var(--ease-out);
}
.no-js .site-header { position: absolute; }
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-right: auto;
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.site-header.is-solid .brand-name { color: var(--brand); }
.brand-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.8;
}

.primary-nav ul { display: flex; gap: 36px; }
.primary-nav a {
  position: relative;
  display: inline-block;
  padding-block: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* "Reserve a table": outline beside the Lantern "Check availability", so the room
   booking stays the one filled button. Light over the hero photo, ink once solid. */
.header-table {
  --btn-bg: transparent;
  --btn-fg: var(--light);
  --btn-border: color-mix(in srgb, var(--light) 55%, transparent);
  --btn-hover: var(--light);
  --btn-hover-fg: var(--on-light);
}
.site-header--ink .header-table,
.site-header.is-solid .header-table {
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
  --btn-hover: var(--ink);
  --btn-hover-fg: var(--bg);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: max(660px, 100svh);
  padding-bottom: calc(var(--booking-overlap) + clamp(48px, 7vh, 88px));
  background: var(--night);
  color: var(--light);
}
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0 0; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 24%, rgb(20 24 18 / 0) 42%, rgb(20 24 18 / 0.68) 100%),
    linear-gradient(90deg, rgb(20 24 18 / 0.38) 0%, rgb(20 24 18 / 0) 62%);
}
.js .hero .media.is-empty .media-ph {
  inset: auto var(--gutter) calc(var(--booking-overlap) + 40px + 6%) auto;
  padding: 0;
  background: none;
  text-align: right;
}
.js .media[data-ph-align="end"].is-empty .media-ph { justify-content: flex-end; text-align: right; }

.hero-content { padding-top: calc(var(--header-h) + 48px); }
.hero-title {
  max-width: 10.4em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.1vw, 5.9rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}
/* Gloock has no italic: the second line keeps its own line instead. */
.hero-title em { font-style: normal; white-space: nowrap; }
.hero-lead {
  max-width: 34ch;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: rgb(242 239 231 / 0.88);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  margin-top: 40px;
}

/* Intro choreography: hidden only when motion is allowed and scripts are running. */
.motion:not(.intro-done) [data-hero-reveal],
.motion:not(.intro-done) [data-hero-title],
.motion:not(.intro-done) .site-header { visibility: hidden; }
/* Speed (28 Oct 2026): while the home loader covers the page, the hero text is drawn underneath
   it, so the browser counts the page as drawn (LCP) instead of waiting for the intro. Nothing
   changes on screen: the loader hides it, and the intro (main.js heroIntro) hides it again with
   its first frame, in the same task the loader starts to lift. */
.motion.loader-full:not(.intro-done) [data-hero-reveal],
.motion.loader-full:not(.intro-done) [data-hero-title] { visibility: visible; }
/* Same reason: under the loader the hero photo shows as soon as it arrives (its fade-in would be
   hidden by the loader anyway), instead of waiting for main.js to mark it loaded. */
.motion.loader-full .hero .media img { opacity: 1; }
/* And the lazy photos further down wait until the loader lifts: nobody can see them under it, and
   on a slow phone they took the connection from the hero photo. Their frames keep their size
   (the photo fills the frame, it doesn't size it), so nothing moves when they come back. */
.motion.loader-full main .media img[loading="lazy"] { display: none; }

/* ---------- Booking ---------- */
.booking {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--booking-overlap) * -1);
}
.booking-form {
  padding: 22px 22px 18px 32px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.booking-fields {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.8fr 0.8fr auto;
  align-items: stretch;
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 4px 24px;
  border-left: 1px solid var(--line);
}
.field:first-child { padding-left: 0; border-left: 0; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.0625rem;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus-visible,
.field select:focus-visible { outline: none; }
.field:focus-within { box-shadow: inset 0 -2px 0 var(--accent); }
.field label { transition: color 0.3s var(--ease-out); }
.field:focus-within label,
.field.is-open label { color: var(--accent-strong); }
.field select:required:invalid { color: var(--ink-soft); }
.field input::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { color: var(--accent); }
.field-select select { padding-right: 24px; cursor: pointer; }
.field-select option { color: #1e231b; background: #f9f7f2; }
.field-caret {
  position: absolute;
  right: 22px;
  bottom: 14px;
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--ink-soft);
}
.booking-submit { min-height: 64px; margin-left: 8px; }

.form-error {
  grid-column: 1 / -1;
  order: 3;
  margin-top: 16px;
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--ink);
  font-size: 0.875rem;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}
.booking-meta p { display: inline-flex; align-items: center; gap: 8px; }
.booking-meta .icon { width: 1rem; height: 1rem; }
.booking-meta .text-link { margin-left: auto; }
.booking-room { color: var(--ink); font-weight: 500; }

.booking-home.is-flash .booking-form { animation: flash 1.2s var(--ease-out); }
@keyframes flash {
  0% { box-shadow: var(--shadow), 0 0 0 0 color-mix(in srgb, var(--book) 60%, transparent); }
  100% { box-shadow: var(--shadow), 0 0 0 14px transparent; }
}

.stay-trigger { display: none; }

/* ---------- Essentials ---------- */
.essentials { padding-top: clamp(56px, 7vw, 96px); }
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.essential {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}
.essential:first-child { padding-left: 0; border-left: 0; }
.essential > .icon { width: 28px; height: 28px; margin-top: 2px; color: var(--accent); }
.essential-title { font-weight: 500; font-size: 0.9875rem; }
.essential-text { font-size: 0.875rem; color: var(--ink-soft); }
.essential-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-underline-offset: 4px;
}
.essential-link:hover { color: var(--ink); }

/* ---------- Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: center;
}
.intro-copy { grid-column: 1 / span 6; }
.intro-copy .h2 { max-width: 13em; }
.intro-points {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.intro-points li { display: flex; align-items: center; gap: 14px; }
.intro-points .icon { color: var(--accent); }
.intro-copy .text-link { margin-top: 32px; }

.intro-visual {
  grid-column: 8 / -1;
  position: relative;
  padding-bottom: 72px;
}
.intro-arch {
  width: 86%;
  margin-left: auto;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}
.media-arch { aspect-ratio: 4 / 5; }
.intro-detail {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  outline: 10px solid var(--bg);
}

/* ---------- Rooms ---------- */
.rooms {
  background: var(--bg-alt);
  padding-block: var(--section);
}
.rooms-pin { overflow-x: clip; }
.rooms-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.rooms-head .h2 { max-width: 11em; }
.rooms-nav { display: flex; gap: 10px; flex: none; }

.rooms-viewport {
  container-type: inline-size;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rooms-viewport::-webkit-scrollbar { display: none; }
.rooms-track {
  --track-pad: max(var(--gutter), calc((100cqi - var(--max)) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  width: max-content;
  padding-inline: var(--track-pad);
}
.room-card {
  --img-h: clamp(340px, 52vh, 540px);
  position: relative;
  flex: none;
  width: calc(var(--img-h) * 0.9);
  scroll-snap-align: start;
}
.room-media { height: var(--img-h); }
.room-media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.room-card:hover .room-media img { transform: scale(1.045); }
.room-body { display: grid; gap: 10px; padding-top: 22px; }
.room-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.room-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.75vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.room-price {
  display: grid;
  flex: none;
  justify-items: end;
  line-height: 1.1;
  text-align: right;
}
.room-price span {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.6vw, 1.55rem);
  font-weight: 400;
  font-variant-numeric: lining-nums;
}
.room-price small { font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.room-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.room-facts li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.room-facts .icon { width: 1.05rem; height: 1.05rem; color: var(--accent); }
.room-text {
  max-width: 40ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.room-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 40px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.room-open::after { content: ""; position: absolute; inset: 0; }
.room-open .icon { transition: transform 0.45s var(--ease-out); }
.room-card:hover .room-open .icon { transform: translateX(4px); }
.room-card:focus-within { outline: 2px solid var(--accent); outline-offset: 6px; }
.room-open:focus-visible { outline: none; }

/* The header stays on screen, so the pinned strip starts below it. */
.rooms.is-panning .rooms-pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding-top: var(--header-h);
}
.rooms.is-panning .rooms-head { margin-bottom: 0; }
.rooms.is-panning .rooms-foot { margin-top: 0; }
.rooms.is-panning .room-card {
  --img-h: clamp(220px, calc(100vh - 380px - var(--header-h)), 560px);
  width: clamp(330px, 28vw, 420px);
}
.rooms.is-panning .rooms-viewport { overflow: visible; scroll-snap-type: none; }
.rooms.is-panning .rooms-track { will-change: transform; }

.rooms-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.rooms-foot p { max-width: 54ch; color: var(--ink-soft); font-size: 0.9375rem; }
.rooms-foot-actions { margin-top: 0; }

/* ---------- Experience ---------- */
.experience-head { margin-bottom: clamp(48px, 6vw, 88px); }
.experience-head .h2 { max-width: 12em; }
.experience-stage { position: relative; }
.experience-media {
  position: relative;
  height: clamp(540px, 86vh, 940px);
  overflow: hidden;
}
.experience-media .media {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
.experience-media .media.is-active { opacity: 1; visibility: visible; }

.experience-panel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, clamp(48px, 7vw, 96px));
  pointer-events: none;
}
.experience-card {
  width: min(540px, 100%);
  margin-left: auto;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--surface);
  box-shadow: var(--shadow);
  pointer-events: auto;
}
.experience { padding-bottom: calc(var(--section) + clamp(48px, 7vw, 96px)); }

.tabs {
  position: relative;
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.tab {
  min-height: 52px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s var(--ease-out);
}
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tabs-indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 1px;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: translateX(var(--tab-x, 0)) scaleX(var(--tab-w, 0));
  transition: transform 0.55s var(--ease-out);
}
.tab-panel p { margin-top: 16px; color: var(--ink-soft); }
.tab-panel .note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.tab-panel .note .icon { margin-top: 2px; color: var(--accent); }
.tab-panel:focus-visible { outline-offset: 8px; }
.experience-card .text-link { margin-top: 24px; }

/* ---------- Restaurant ---------- */
.restaurant { background: var(--bg-alt); }
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: center;
}
.restaurant-visual { grid-column: 1 / span 6; overflow: hidden; }
.restaurant-main { aspect-ratio: 4 / 5; }
.restaurant-copy { grid-column: 8 / -1; }
.restaurant-copy .h2 { max-width: 9em; }
.restaurant-notes {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.restaurant-notes li { display: flex; align-items: center; gap: 14px; }
.restaurant-notes .icon { color: var(--accent); }
.restaurant-detail {
  width: 74%;
  aspect-ratio: 3 / 2;
  margin-top: 56px;
}

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.reviews-head .h2 { max-width: 11em; }

/* Ratings: two sources side by side, each linking out to the full reviews. */
.ratings { flex: none; display: flex; }
.ratings li + li { border-left: 1px solid var(--line-strong); }
.rating {
  display: grid;
  justify-items: start;
  padding: 4px clamp(28px, 3.4vw, 48px) 2px;
  text-decoration: none;
}
.ratings li:first-child .rating { padding-left: 0; }
.ratings li:last-child .rating { padding-right: 0; }
.rating-value {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.9vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.rating-value .icon { width: 0.4em; height: 0.4em; margin-right: 0.16em; color: var(--accent); }
.rating-scale { margin-left: 0.12em; align-self: flex-end; padding-bottom: 0.12em; font-size: 0.4em; color: var(--ink-soft); letter-spacing: 0; }
.rating-source { font-size: 0.9375rem; font-weight: 500; }
.rating-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}
.rating-count .icon { width: 0.95rem; height: 0.95rem; transition: transform 0.45s var(--ease-out); }
.rating:hover .rating-count { color: var(--ink); text-decoration-color: currentColor; }
.rating:hover .rating-count .icon { transform: translate(2px, -2px); }

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 112px);
}
.quote { padding-top: 36px; border-top: 1px solid var(--line); }
.quote-mark {
  display: block;
  height: 0.48em;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.85;
  color: var(--accent);
}
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 28px;
  font-size: 0.875rem;
}
.quote-name { font-weight: 500; }
.quote-meta { color: var(--ink-soft); }

/* Awards: the official Tripadvisor certificates, newest first. */
.award {
  display: grid;
  gap: clamp(32px, 4vw, 48px);
  margin-top: clamp(80px, 9vw, 136px);
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.award-source {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.award-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.award-text { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-soft); }
/* Tripadvisor draws each badge at a fixed 148 × 115px; --badge-scale enlarges it so its 10px text stays legible.
   Each slot is sized up front so nothing shifts when the widgets arrive. */
.award-badges {
  --badge-scale: 1.2;
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: space-between;
  gap: 16px;
}
.award-badges > li {
  width: calc(148px * var(--badge-scale));
  min-height: calc(115px * var(--badge-scale));
}
.award-badges #CDSWIDCOE { zoom: var(--badge-scale); margin: 0; }
.award-fallback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(115px * var(--badge-scale));
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.award-fallback strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.award-fallback:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Location ---------- */
.location { background: var(--bg-alt); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: center;
}
.location-copy { grid-column: 1 / span 5; }
.location-copy .h2 { max-width: 9em; }
.address {
  margin-top: 32px;
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.location-note {
  max-width: 44ch;
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.arrive {
  margin-top: clamp(72px, 9vw, 128px);
}
.arrive-title { margin-bottom: clamp(32px, 4vw, 48px); }
.arrive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px var(--gutter);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.arrive-grid > div { position: relative; padding-left: 40px; }
.arrive-grid dt { font-weight: 500; font-size: 1rem; }
.arrive-grid dt .icon {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.arrive-grid dd {
  max-width: 30ch;
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.map-frame {
  grid-column: 7 / -1;
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 70%, rgb(255 255 255 / 0.08), transparent 60%),
    linear-gradient(160deg, #737c58 0%, #4a5336 55%, #2b3121 100%);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.faq-intro .h2 { max-width: 9em; }
.faq-intro .text-link { margin-top: 28px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .icon { width: 22px; height: 22px; transition: transform 0.5s var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-answer p { max-width: 58ch; padding: 0 48px 28px 0; color: var(--ink-soft); }

/* ---------- Closing & footer ---------- */
.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: clamp(560px, 86svh, 900px);
  padding-block: clamp(120px, 15vw, 220px);
  background: var(--night);
  color: var(--night-ink);
  text-align: center;
}
/* Full-bleed photo behind the CTA; oversized so the parallax never shows an edge. */
.closing-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.closing-media { position: absolute; inset: -8% 0; }
.closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(62% 58% at 50% 50%, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 100%),
    linear-gradient(180deg, rgb(20 24 18 / 0.4) 0%, rgb(20 24 18 / 0.18) 45%, rgb(20 24 18 / 0.72) 100%);
}
.js .closing .media.is-empty .media-ph {
  inset: auto var(--gutter) calc(7% + 28px) auto;
  padding: 0;
  background: none;
  text-align: right;
}
.closing-title {
  max-width: 11em;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.8vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.closing-text {
  max-width: 42ch;
  margin: 32px auto 0;
  font-size: 1.125rem;
  color: rgb(242 239 231 / 0.88);
}
.closing-actions { justify-content: center; margin-top: 48px; }
.closing .text-link-light { color: var(--night-ink); }

.site-footer {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: 32px;
  background: var(--night);
  color: var(--night-ink);
  border-top: 1px solid var(--night-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
  gap: 48px var(--gutter);
}
.footer-brand p { max-width: 30ch; margin-top: 24px; font-size: 0.9375rem; color: var(--night-soft); }
.footer-title {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-soft);
}
.site-footer address { font-style: normal; font-size: 0.9375rem; line-height: 1.7; margin-bottom: 8px; }
.footer-grid > div:not(.footer-brand) a,
.footer-grid > div:not(.footer-brand) button {
  display: block;
  width: fit-content;
  padding: 7px 0;
  border: 0;
  background: none;
  color: var(--night-ink);
  font-size: 0.9375rem;
  text-align: left;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.footer-grid > div:not(.footer-brand) a:hover,
.footer-grid > div:not(.footer-brand) button:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 24px;
  background: linear-gradient(var(--night-line), var(--night-line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 0.8125rem;
  color: var(--night-soft);
}

.mobile-cta { display: none; }

/* ---------- Dialogs ---------- */
.dialog {
  width: min(720px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog::backdrop,
.menu-dialog::backdrop {
  background: var(--backdrop);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.dialog-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dialog-body { padding: 32px; }
.dialog-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.dialog-lead { font-size: 1.0625rem; color: var(--ink-soft); }
.dialog-text { margin-top: 16px; color: var(--ink-soft); }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.dialog-body > .text-link { margin-top: 16px; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 28px;
}
.spec-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list dt { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.spec-list dd { margin-top: 4px; font-size: 0.9375rem; }

.summary-nights { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; }

.room-dialog-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.room-dialog-price strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  color: var(--ink);
}

/* Booking sheet */
.dialog-booking { width: min(600px, calc(100% - 32px)); }
.dialog-booking .booking-form { padding: 0; border: 0; background: none; box-shadow: none; }
.dialog-booking .booking-fields { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.dialog-booking .field { padding: 0 0 6px; border-left: 0; border-bottom: 1px solid var(--line-strong); }
.dialog-booking .field-caret { right: 2px; bottom: 16px; }
.dialog-booking .booking-submit { grid-column: 1 / -1; margin: 8px 0 0; }
.dialog-booking .form-error { order: 0; margin-top: 0; }
.dialog-booking .booking-meta { flex-direction: column; align-items: flex-start; }
.dialog-booking .booking-meta .text-link { margin-left: 0; }

/* Room */
.dialog-room { width: min(1040px, calc(100% - 32px)); }
.room-dialog-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.room-dialog-media { min-height: 100%; aspect-ratio: 4 / 5; }
.dialog-room .dialog-body { align-self: center; padding: 40px; }

/* Gallery */
/* The photo is shown whole, never cropped (user, 25 Oct): the frame is 4:3 like
   the room photos, and the dialog narrows on short screens so the frame fits. */
.dialog-gallery {
  --gallery-chrome: 230px;
  width: min(1240px, calc(100% - 32px), max(560px, calc((100dvh - var(--gallery-chrome)) * 4 / 3)));
  border-color: var(--night-line);
  background: var(--night);
  color: var(--night-ink);
}
.dialog-gallery .dialog-head { background: var(--night); border-color: var(--night-line); }
.gallery-stage { position: relative; touch-action: pan-y; }
.gallery-media { aspect-ratio: 4 / 3; max-height: calc(100dvh - var(--gallery-chrome)); width: 100%; }
.gallery-media img { object-fit: contain; }
.gallery-media.is-loaded { background: var(--night); }
.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px 16px 32px;
}
.gallery-caption { font-size: 0.9375rem; color: var(--night-soft); }
.gallery-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.gallery-count { margin-right: 12px; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--night-soft); font-variant-numeric: tabular-nums; }

/* Contact */
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s;
}
.contact-option:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contact-option .icon { width: 24px; height: 24px; }
.contact-option small { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }

/* Mobile menu */
.menu-dialog {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--night);
  color: var(--night-ink);
  overflow: auto;
}
.menu-dialog[open] { display: flex; flex-direction: column; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu-nav { flex: 1; display: flex; align-items: center; }
.menu-nav ul { display: grid; gap: 4px; width: 100%; }
.menu-nav a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.25rem); /* 28 Oct (user): smaller, was clamp(1.9rem, 7.5vw, 3rem) */
  line-height: 1.1;
  text-decoration: none;
}
.menu-foot {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--night-line);
}
.menu-foot .btn { width: 100%; }
/* Second button under "Check availability": outline on the night ground. */
.menu-table {
  --btn-bg: transparent;
  --btn-fg: var(--night-ink);
  --btn-border: color-mix(in srgb, var(--night-ink) 45%, transparent);
  --btn-hover: var(--night-ink);
  --btn-hover-fg: var(--night);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .award-badges { --badge-scale: 1.05; }
  .primary-nav ul { gap: 28px; }
}

@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 16px; }
  .header-table { display: none; } /* it moves into the menu */

  .booking-form { padding: 20px 24px; }
  .booking-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
  .booking-submit { grid-column: 1 / -1; margin-left: 0; min-height: 56px; }

  .essentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .essential:nth-child(3) { padding-left: 0; border-left: 0; }

  .intro-copy { grid-column: 1 / span 7; }
  .intro-visual { grid-column: 8 / -1; }

  .restaurant-visual { grid-column: 1 / span 6; }
  .restaurant-copy { grid-column: 7 / -1; }

  .quotes { grid-template-columns: 1fr; }
  .award-badges { --badge-scale: 1.1; grid-template-columns: repeat(3, max-content); justify-content: start; gap: 20px; }
  .location-copy { grid-column: 1 / span 6; }
  .map-frame { grid-column: 7 / -1; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .arrive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Sticky booking bar: phones and tablets in portrait (up to 1023px), where no booking
   card sits beside the content. main.js shows it once the opening section is passed. */
@media (max-width: 1023px) {
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(110%);
    transition: transform 0.55s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta-text { min-width: 0; }
  .mobile-cta .btn { flex-shrink: 0; }
  .mobile-cta-text strong { display: block; font-size: 0.875rem; font-weight: 500; line-height: 1.3; }
  .mobile-cta-text small { display: block; font-size: 0.75rem; color: var(--ink-soft); }
  html.has-modal .mobile-cta { visibility: hidden; }
}

@media (max-width: 767px) {
  :root { --header-h: 68px; --booking-overlap: 0px; }

  .header-book { display: none; }
  .brand-name { font-size: 1.4rem; }

  .hero { min-height: max(600px, 92svh); padding-bottom: 48px; }
  .hero-title { font-size: clamp(2.35rem, 10.5vw, 3.2rem); line-height: 1.08; text-wrap: balance; }
  .hero-title em { white-space: normal; }
  .js .hero .media.is-empty .media-ph { inset: calc(var(--header-h) + 16px + 6%) var(--gutter) auto auto; }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions { gap: 12px 28px; margin-top: 32px; }

  .booking { margin-top: 0; }
  .booking .wrap { padding-top: 20px; }
  .booking-home { display: none; }
  .stay-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 76px;
    padding: 16px 16px 16px 20px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    text-align: left;
  }
  .stay-trigger-text strong { display: block; font-size: 1rem; font-weight: 500; }
  .stay-trigger-text small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--ink-soft); }
  .stay-trigger-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: var(--book); color: var(--on-book); }

  .essentials { padding-top: 48px; }
  .essentials-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .essential { flex-direction: column; gap: 10px; padding: 0; border: 0; }

  .intro-grid,
  .restaurant-grid,
  .location-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .intro-copy, .intro-visual, .restaurant-visual, .restaurant-copy, .location-copy, .map-frame { grid-column: 1 / -1; }
  .intro-visual { padding-bottom: 56px; }
  .intro-arch { width: 82%; }
  .intro-detail { width: 44%; outline-width: 8px; }

  .rooms-head { align-items: flex-end; }
  .rooms-nav { display: none; }
  .room-card { --img-h: calc(min(82vw, 360px) / 0.9); }
  .rooms-foot { flex-direction: column; align-items: flex-start; }
  .rooms-foot .btn,
  .rooms-foot-actions { width: 100%; }

  .experience-media { height: auto; aspect-ratio: 4 / 5; }
  .experience-panel { position: relative; left: auto; transform: none; margin-top: -48px; }
  .experience-card { width: 100%; }
  .experience { padding-bottom: var(--section); }
  .tabs { gap: 0; justify-content: space-between; }
  .tab { flex: 1; }

  .restaurant-detail { width: 70%; margin-top: 40px; margin-left: auto; }

  .reviews-head { flex-direction: column; align-items: flex-start; }
  .ratings { width: 100%; flex-wrap: wrap; row-gap: 32px; }
  .ratings li { flex: 1 1 40%; }
  .ratings li:nth-child(3) { border-left: 0; }
  .ratings li:nth-child(3) .rating { padding-left: 0; }
  .rating { padding-inline: 24px 0; }
  .award { gap: 32px; }
  .award-badges { --badge-scale: 1.05; grid-template-columns: repeat(2, max-content); gap: 14px; }

  .map-frame { aspect-ratio: 4 / 4.2; }
  .arrive { margin-top: 64px; }
  .arrive-grid { gap: 28px 20px; }
  .actions { gap: 12px 24px; }
  .location .actions .btn,
  .restaurant .actions .btn { width: 100%; }

  .faq-item summary { padding: 22px 0; }
  .faq-answer p { padding-right: 0; }

  .closing { min-height: max(560px, 88svh); }
  .js .closing .media.is-empty .media-ph { inset: calc(7% + 24px) var(--gutter) auto auto; }
  .closing-actions { flex-direction: column; }
  .closing-actions .btn { width: 100%; max-width: 360px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }

  /* Dialogs become bottom sheets */
  .dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    margin: auto 0 0;
    border-width: 1px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dialog-head { padding: 14px 12px 14px 20px; }
  .dialog-title { font-size: 1.3rem; }
  .dialog-body { padding: 24px 20px 32px; }
  .dialog-actions .btn { width: 100%; }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .room-dialog-grid { grid-template-columns: 1fr; }
  .room-dialog-media { aspect-ratio: 4 / 3; min-height: 0; }
  .dialog-room .dialog-body { padding: 24px 20px 32px; }
  .dialog-gallery { margin: auto 0; max-height: 100dvh; border-width: 0; }
  .gallery-media { aspect-ratio: 4 / 3; max-height: calc(100dvh - 200px); }
  .gallery-bar { flex-direction: column; align-items: stretch; padding: 16px 20px 24px; }
  .gallery-controls { justify-content: space-between; }
  .contact-options { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .arrive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .essentials-grid { gap: 24px 16px; }
  .award-badges { --badge-scale: 1; }
  .mobile-cta-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 339px) {
  .award-badges { --badge-scale: 0.9; }
}

/* ==========================================================================
   Rooms page (chambres.html in French, en/rooms.html in English)
   Reuses the homepage header, booking bar, rating, FAQ, closing and footer.
   ========================================================================== */

/* The page opens on linen, so the header is ink from the start. */
.site-header--ink { color: var(--ink); }
.site-header--ink .brand-name { color: var(--brand); }

/* ---------- Page hero: copy left, photograph running to the right edge ---------- */
.page-hero {
  container-type: inline-size;
  position: relative;
  padding-top: var(--header-h);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.page-hero-copy {
  grid-column: 1 / span 6;
  padding-block: clamp(40px, 5vw, 72px) calc(var(--booking-overlap) + clamp(32px, 4vw, 56px));
}

/* Breadcrumb: the one small label above the title. */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 12px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-soft); opacity: 0.6; }
.breadcrumb a {
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.breadcrumb a:hover { color: var(--ink); }

.page-title {
  max-width: 8.4em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.page-lead {
  max-width: 40ch;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.page-hero-visual {
  grid-column: 7 / -1;
  position: relative;
  height: clamp(460px, calc(100svh - var(--header-h) - 96px), 820px);
  margin-right: calc(-1 * max(var(--gutter), (100cqi - var(--max)) / 2 + var(--gutter)));
  overflow: hidden;
  background: var(--bg-alt);
}
/* Taller than its frame so the scroll parallax never shows an edge. */
.page-hero-media { position: absolute; inset: -10% 0 0; }
.js .page-hero .media.is-empty .media-ph { padding-bottom: calc(var(--booking-overlap) + 20px); }

/* ---------- Collection ---------- */
.collection { padding-top: clamp(80px, 9vw, 136px); }
.collection-head { margin-bottom: clamp(36px, 4vw, 56px); }
.collection-head .h2 { max-width: 11em; }
.collection-head .lead { max-width: 52ch; margin-top: 24px; }

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.2s var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(0.98); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-count { font-size: 0.875rem; color: var(--ink-soft); }

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6.5vw, 96px) var(--gutter);
}
.room-tile-media { aspect-ratio: 5 / 4; cursor: pointer; }
.room-tile-media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.room-tile:hover .room-tile-media img { transform: scale(1.04); }
.room-tile-body { display: grid; gap: 12px; padding-top: 26px; }
.room-tile .room-text { max-width: 46ch; }
.room-tile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 14px;
}

/* The Riad closes the collection on its own row. */
.room-tile--wide { grid-column: 1 / -1; }
.room-tile--wide > article {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.room-tile--wide .room-tile-media { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.room-tile--wide .room-tile-body { grid-column: 9 / -1; padding-top: 0; }

/* ---------- Compare ---------- */
.compare { background: var(--bg-alt); }
.compare-head { margin-bottom: clamp(40px, 5vw, 72px); }
.compare-head .h2 { max-width: 11em; }
.compare-head .lead { max-width: 50ch; margin-top: 24px; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-corner { width: 24%; padding: 0 24px 28px 0; vertical-align: bottom; }
.compare-hint { max-width: 18ch; font-size: 0.875rem; color: var(--ink-soft); }
.compare-table thead th {
  padding: 0 clamp(16px, 2.4vw, 40px) 28px 0;
  font-weight: 400;
  text-align: left;
  vertical-align: bottom;
}
.compare-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.compare-select {
  position: relative;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
  transition: box-shadow 0.3s var(--ease-out);
}
.compare-select:focus-within { box-shadow: inset 0 -2px 0 var(--accent); }
.compare-select select {
  width: 100%;
  min-height: 56px;
  padding: 0 36px 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.compare-select select:focus-visible { outline: none; }
.compare-select option { font-family: var(--font-sans); font-size: 1rem; color: #1e231b; background: #f9f7f2; }
.compare-select .icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}
.compare-media { aspect-ratio: 3 / 2; }

.compare-table tbody tr { border-top: 1px solid var(--line); }
.compare-table tbody th,
.compare-table tbody td,
.compare-table tfoot td {
  padding: 20px clamp(16px, 2.4vw, 40px) 20px 0;
  text-align: left;
  vertical-align: top;
}
.compare-table tbody th {
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.compare-table tbody td { font-size: 1rem; line-height: 1.5; }
.compare-table td[data-field="price"] {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}
.compare-table tfoot tr { border-top: 1px solid var(--line-strong); }
.compare-table tfoot td { padding-top: 28px; }
.compare-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Included with every stay (bento) ---------- */
.included { padding-bottom: clamp(64px, 7vw, 104px); }
.included-head { margin-bottom: clamp(40px, 5vw, 64px); }
.included-head .h2 { max-width: 10em; }

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(clamp(240px, 21vw, 300px), auto);
  gap: 12px;
}
.bento-cell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(24px, 2.4vw, 36px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.bento-cell > .icon { width: 28px; height: 28px; margin-bottom: auto; color: var(--accent); }
.bento-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.bento-text { max-width: 34ch; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }

.bento-a { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.bento-a .bento-title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.bento-e { background: var(--bg-alt); }

.bento-dark,
.bento-photo {
  --heading: var(--night-ink);
  --accent: var(--night-accent);
  border-color: transparent;
  background: var(--night);
  color: var(--night-ink);
}
.bento-dark .bento-text { color: var(--night-soft); }
.bento-photo .bento-text { color: rgb(242 239 231 / 0.88); }
.bento-photo .media { position: absolute; inset: 0; z-index: -2; }
.bento-photo .media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.bento-photo:hover .media img { transform: scale(1.04); }
.bento-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(20 24 18 / 0) 30%, rgb(20 24 18 / 0.74) 100%);
}
.js .bento-photo .media.is-empty .media-ph {
  inset: 0 0 auto;
  align-items: flex-start;
  padding: 18px 20px 40px;
  background: linear-gradient(rgb(20 24 18 / 0.4), transparent);
}

.included-foot { display: flex; flex-wrap: wrap; gap: 4px 40px; margin-top: 32px; }

/* ---------- Ratings ---------- */
.proof { padding-bottom: var(--section); }
.proof-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(56px, 6vw, 88px);
  border-top: 1px solid var(--line);
}
.proof .h2 { max-width: 11em; }

.faq-alt { background: var(--bg-alt); }

@media (max-width: 1023px) {
  .page-hero-copy { grid-column: 1 / span 7; }
  .page-hero-visual { grid-column: 8 / -1; }
  .room-tile--wide .room-tile-media { grid-column: 1 / span 6; }
  .room-tile--wide .room-tile-body { grid-column: 7 / -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-a { grid-column: 1 / -1; grid-row: auto; min-height: clamp(360px, 52vw, 480px); }
  .proof-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-copy,
  .page-hero-visual { grid-column: 1 / -1; }
  .page-hero-copy { padding-block: 28px 36px; }
  .page-hero-visual { height: auto; aspect-ratio: 5 / 4; margin-inline: calc(var(--gutter) * -1); }
  .page-title { font-size: clamp(2.35rem, 10.5vw, 3.2rem); line-height: 1.08; }
  .page-lead { margin-top: 20px; font-size: 1.0625rem; }

  .collection { padding-top: 64px; }
  .filter { flex-direction: column; align-items: flex-start; gap: 14px; }
  .chip { padding: 0 16px; }
  .room-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .room-tile--wide > article { display: block; }
  .room-tile--wide .room-tile-media { aspect-ratio: 5 / 4; }
  .room-tile--wide .room-tile-body { padding-top: 26px; }

  /* Comparison: each row becomes a label line with the two values beneath.
     Explicit ARIA roles in the markup keep the table semantics. */
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table tfoot { display: block; }
  .compare-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .compare-corner {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .compare-table thead th { padding: 0 0 20px; }
  .compare-select { margin-bottom: 14px; }
  .compare-select select { min-height: 48px; padding-right: 26px; font-size: 1.15rem; }
  .compare-table tbody th { grid-column: 1 / -1; padding: 16px 0 6px; }
  .compare-table tbody td { padding: 0 0 16px; font-size: 0.9375rem; }
  .compare-table td[data-field="price"] { font-size: 1.2rem; }
  .compare-table tfoot td { padding: 24px 0 0; }
  .compare-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .compare-actions .btn {
    width: 100%;
    padding-inline: 8px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .compare-actions .text-link { justify-content: center; font-size: 0.875rem; }

  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .bento-cell { min-height: 210px; }
  .bento-a { min-height: 440px; }
  .bento-photo:not(.bento-a) { min-height: 300px; }
  .included-foot { flex-direction: column; gap: 0; }
}

/* ==========================================================================
   Restaurant page (restaurant.html)
   Reuses the homepage hero, essentials, tabs, quotes, ratings, FAQ, closing and footer.
   ========================================================================== */

/* ---------- Hero: full-bleed photo, no booking bar beneath ---------- */
.hero--page {
  min-height: max(620px, 92svh);
  padding-bottom: clamp(56px, 9vh, 104px);
}
.hero--page .hero-title { max-width: 12.5em; font-size: clamp(2.6rem, 5.2vw, 5rem); }
.js .hero--page .media.is-empty .media-ph { inset: auto var(--gutter) calc(32px + 6%) auto; }

.breadcrumb--light ol { color: rgb(242 239 231 / 0.9); }
.breadcrumb--light li + li::before { color: rgb(242 239 231 / 0.6); }
.breadcrumb--light a { color: rgb(242 239 231 / 0.72); }
.breadcrumb--light a:hover { color: var(--light); }

/* ---------- Menu: tabs on the left, the matching photograph held beside them ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}
.menu-copy { grid-column: 1 / span 6; }
.menu-copy .h2 { max-width: 12em; }
.menu-copy .lead { max-width: 46ch; }
.menu-tabs { margin-top: clamp(40px, 5vw, 64px); }
.menu-tabs .tabs { margin-bottom: 8px; }

.menu-visual {
  grid-column: 8 / -1;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.menu-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}
.menu-media .media {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
.menu-media .media.is-active { opacity: 1; visibility: visible; }

.dish-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  padding: 22px 0;
}
.dish-list li + li { border-top: 1px solid var(--line); }
.dish-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dish-text { grid-column: 1; margin-top: 6px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.dish-price {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.menu-note {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.menu-note .icon { margin-top: 2px; color: var(--accent); }

/* ---------- A day at the table: four moments, alternate columns set lower ---------- */
.day { background: var(--bg-alt); }
.day-head { margin-bottom: clamp(48px, 6vw, 88px); }
.day-head .h2 { max-width: 11em; }
.day-head .lead { margin-top: 24px; }
.day-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}
.moment:nth-child(even) { margin-top: clamp(48px, 7vw, 120px); }
.moment-media { aspect-ratio: 4 / 5; }
.moment-media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.moment:hover .moment-media img { transform: scale(1.04); }
.moment-label {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.moment-title { margin-top: 8px; font-size: clamp(1.35rem, 1.7vw, 1.6rem); }
.moment-text { max-width: 34ch; margin-top: 12px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Reviews: one large quote, three short ones beside it ---------- */
.dine-reviews-head { margin-bottom: clamp(48px, 6vw, 88px); }
.dine-reviews-head .h2 { max-width: 11em; }
.dine-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.quote-feature blockquote p {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.dine-ratings { margin-top: clamp(48px, 6vw, 80px); }
.quote-stack { display: grid; gap: clamp(36px, 4vw, 48px); }
.quote-small { padding-top: 28px; }
.quote-small blockquote p { font-size: clamp(1.1rem, 1.35vw, 1.25rem); line-height: 1.4; }
.quote-small figcaption { margin-top: 18px; }

/* ---------- Reserve: practical details beside the request form ---------- */
.reserve { background: var(--bg-alt); }
.reserve-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  align-items: start;
}
.reserve-copy { grid-column: 1 / span 5; }
.reserve-copy .h2 { max-width: 9em; }
.reserve-copy .lead { max-width: 38ch; }
.reserve-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--heading);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.reserve-call .icon { width: 0.9em; height: 0.9em; color: var(--accent); }
.reserve-call:hover { color: var(--accent); }

.reserve-facts { display: grid; gap: 22px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.reserve-facts > div { position: relative; padding-left: 38px; }
.reserve-facts dt { font-weight: 500; font-size: 1rem; }
.reserve-facts dt .icon { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; color: var(--accent); }
.reserve-facts dd { max-width: 40ch; margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }
.reserve-facts a,
.inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.3s var(--ease-out);
}
.reserve-facts a:hover,
.inline-link:hover { text-decoration-color: currentColor; }

.reserve-panel {
  grid-column: 7 / -1;
  padding: clamp(28px, 3.6vw, 52px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}
.tf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tf-field--full { grid-column: 1 / -1; }
.tf-label {
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tf-optional { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0; text-transform: none; }
.tf-input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  -webkit-appearance: none;
  appearance: none;
  /* The focus line draws in from the left, over the hairline. */
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0 2px;
  transition: border-color 0.3s var(--ease-out), background-size 0.6s var(--ease-out);
}
.tf-input:hover { border-bottom-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.tf-input:focus { outline: none; background-size: 100% 2px; }
.tf-input[aria-invalid="true"] { border-bottom-color: var(--accent); background-size: 100% 2px; }
.tf-input::placeholder { color: var(--ink-soft); opacity: 0.8; }
.tf-input::-webkit-calendar-picker-indicator { opacity: 0.55; cursor: pointer; }
select.tf-input:required:invalid { color: var(--ink-soft); }
textarea.tf-input { min-height: 96px; padding: 12px 0 8px; line-height: 1.5; resize: none; }
textarea.tf-input.is-autosize { overflow: hidden; }
.tf-field:focus-within > .tf-label,
.tf-choice:focus-within .tf-label { color: var(--accent-strong); }
.tf-label { transition: color 0.3s var(--ease-out); }
.tf-select { position: relative; }
.tf-select select { padding-right: 28px; cursor: pointer; }
.tf-select option { color: #1e231b; background: #f9f7f2; }
.tf-select .icon { position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.tf-hint { font-size: 0.8125rem; line-height: 1.45; color: var(--ink-soft); }
.tf-error { font-size: 0.8125rem; line-height: 1.45; font-weight: 500; color: var(--accent-strong); }
.tf-hint:empty,
.tf-error:empty { display: none; }

/* Lunch or dinner: two real radio buttons drawn as one control. */
.tf-choice { display: block; }
.tf-choice legend { margin-bottom: 8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.segmented label { position: relative; cursor: pointer; }
.segmented label + label { border-left: 1px solid var(--line-strong); }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.segmented label:hover span { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.segmented input:checked + span { background: var(--ink); color: var(--bg); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.tf-submit { width: 100%; margin-top: 36px; }
.tf-meta { margin-top: 14px; font-size: 0.8125rem; color: var(--ink-soft); text-align: center; }

.table-result .dialog-heading:focus { outline: none; }
.table-result .spec-list { margin-top: 24px; }
.table-result > .text-link { margin-top: 16px; }

/* ---------- Stay or gather: two photo tiles ---------- */
.more-head { max-width: 11em; margin-bottom: clamp(40px, 5vw, 64px); }
.more-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px;
}
.more-tile {
  --heading: var(--night-ink);
  --accent: var(--night-accent);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(460px, 46vw, 640px);
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--night);
  color: var(--night-ink);
}
.more-tile .media { position: absolute; inset: 0; z-index: -2; }
.more-tile .media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.more-tile:hover .media img { transform: scale(1.04); }
.more-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(20 24 18 / 0) 28%, rgb(20 24 18 / 0.78) 100%);
}
.js .more-tile .media.is-empty .media-ph {
  inset: 0 0 auto;
  align-items: flex-start;
  padding: 18px 20px 40px;
  background: linear-gradient(rgb(20 24 18 / 0.4), transparent);
}
.more-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.more-text { max-width: 38ch; margin-top: 14px; color: rgb(242 239 231 / 0.88); }
.more-tile .actions { margin-top: 28px; }

@media (max-width: 1023px) {
  .menu-copy { grid-column: 1 / span 7; }
  .menu-visual { grid-column: 8 / -1; }
  .day-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .moment:nth-child(even) { margin-top: 64px; }
  .dine-reviews-grid { grid-template-columns: 1fr; }
  .quote-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserve-copy { grid-column: 1 / -1; }
  .reserve-copy .h2 { max-width: 12em; }
  .reserve-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gutter); }
  .reserve-panel { grid-column: 1 / -1; }
  .more-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .hero--page { min-height: max(560px, 88svh); padding-bottom: 40px; }
  .hero--page .hero-title { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }
  .js .hero--page .media.is-empty .media-ph { inset: calc(var(--header-h) + 16px + 6%) var(--gutter) auto auto; }
  .hero--page .hero-actions .btn { width: 100%; }

  .menu-grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .menu-copy, .menu-visual { grid-column: 1 / -1; }
  .menu-visual { position: static; order: -1; }
  .menu-media { aspect-ratio: 4 / 3; }
  .menu-tabs .tabs { gap: 0; }
  .menu-tabs .tab { flex: 1; font-size: 0.875rem; }
  .dish-list li { padding: 18px 0; }

  /* The four moments become a swipeable row. */
  .day-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78%, 320px);
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .day-list::-webkit-scrollbar { display: none; }
  .moment { scroll-snap-align: start; }
  .moment:nth-child(even) { margin-top: 0; }

  .quote-stack { grid-template-columns: 1fr; }

  .reserve-facts { grid-template-columns: 1fr; }
  .reserve-panel { margin-inline: calc(var(--gutter) * -1); padding: 28px var(--gutter) 32px; border-inline: 0; box-shadow: none; }
  .tf-grid { grid-template-columns: 1fr; gap: 24px; }
  .table-result .spec-list { grid-template-columns: 1fr 1fr; }

  .more-grid { grid-template-columns: 1fr; }
  .more-tile { min-height: 440px; }
  .more-tile .actions .btn { width: 100%; }
}

/* ==========================================================================
   Room page (suite.html)
   Title and gallery, the suite in detail beside a sticky booking card, reviews,
   other rooms, FAQ and closing. Reuses the booking form, ratings, quotes, room
   tiles, policies grid, FAQ, closing and footer. The other room pages can share this block.
   ========================================================================== */

/* ---------- Title, price and rating ---------- */
.page-hero--room { --booking-overlap: 0px; }
.room-head { padding-top: clamp(28px, 3vw, 44px); }
.room-head .breadcrumb ol { margin-bottom: 20px; }
.room-head .page-title { max-width: none; }
.room-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.page-facts { margin-top: 18px; gap: 10px 24px; font-size: 0.9375rem; color: var(--ink); }
.room-title-aside { display: grid; justify-items: end; gap: 12px; }
.room-price--lg span { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.room-price--lg small { font-size: 0.75rem; }
.room-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}
.room-rating .icon { width: 1rem; height: 1rem; color: var(--accent); }
.room-rating:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Gallery: one large photo, four beside it ---------- */
.room-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(170px, 18vw, 270px));
  gap: 8px;
  margin-top: clamp(28px, 3vw, 40px);
}
.room-shot { position: relative; overflow: hidden; background: var(--bg-alt); }
.room-shot--main { grid-row: 1 / -1; }
.room-shot > .media { position: absolute; inset: 0; }
/* Taller than its frame so the scroll parallax never shows an edge. */
.room-shot > .page-hero-media { inset: -10% 0 0; }
.room-shot img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.room-shot:hover img { transform: scale(1.04); }
.room-shot-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.room-shot-open:focus-visible { outline: 2px solid var(--light); outline-offset: -8px; }
.room-gallery-foot { display: flex; justify-content: flex-end; margin-top: 8px; }

/* ---------- The suite in detail, the booking card held beside it ---------- */
.room-detail { padding-block: clamp(56px, 6vw, 96px) var(--section); }
.room-detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.room-detail-main { grid-column: 1 / span 7; }
.room-detail-main > .h2 { max-width: 12em; }
.room-detail-main > .lead { max-width: 52ch; }

.room-part {
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.room-part-title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.room-part-title--next { margin-top: 44px; }
.room-part-note { margin-top: 16px; font-size: 0.9375rem; color: var(--ink-soft); }

/* Bedroom by bedroom. A list, not a floor plan: no claim about how the rooms connect. */
.room-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.room-plan-cell {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--bg);
}
.room-plan-cell > .icon { width: 28px; height: 28px; margin-bottom: 14px; color: var(--accent); }
.room-plan-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.room-plan-cell p:not(.room-plan-name) { font-size: 0.9375rem; color: var(--ink-soft); }

.ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.ticks li,
.book-ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .icon,
.book-ticks .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.18em; color: var(--accent); }

/* The homepage's "Before you arrive" grid, two columns wide. */
.room-policies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gutter); padding-top: 0; border-top: 0; }

.room-book {
  grid-column: 9 / -1;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.room-book-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.room-book-price span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
/* The shared booking form, stacked two by two inside the card (same rules as the booking sheet). */
.room-book .booking-form { padding: 0; border: 0; background: none; box-shadow: none; }
.room-book .booking-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.room-book .field { padding: 0 0 6px; border-left: 0; border-bottom: 1px solid var(--line-strong); }
.room-book .field-caret { right: 2px; bottom: 16px; }
.room-book .booking-submit { grid-column: 1 / -1; min-height: 60px; margin: 4px 0 0; }
.room-book .form-error { order: 0; margin-top: 0; }
.room-book .booking-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
/* Feedback: when a "Check availability" button points here, the whole card answers. */
.room-book .booking-home.is-flash .booking-form { animation: none; }
.room-book:has(.booking-home.is-flash) { animation: flash 1.2s var(--ease-out); }

/* Shown when the party is bigger than the room (main.js, updateFit). */
.fit-note {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-left: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}
.book-ticks { display: grid; gap: 6px; color: var(--ink); }
.book-ticks .icon { width: 1rem; height: 1rem; }
.booking-meta .book-ask { display: block; }
.book-ask a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
}
.book-ask a:hover { text-decoration-color: currentColor; }

/* ---------- Reviews ---------- */
.room-reviews { background: var(--bg-alt); }
.quote-translation { max-width: 46ch; margin-top: 16px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Other rooms for four ---------- */
.room-others-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.room-others-head .h2 { max-width: 13em; }

@media (max-width: 1023px) {
  .room-gallery { grid-template-rows: repeat(2, clamp(140px, 20vw, 220px)); }
  .room-detail-main,
  .room-book { grid-column: 1 / -1; }
  .room-book { position: static; max-width: 640px; margin-top: 64px; }
}

@media (max-width: 767px) {
  .room-head-row { flex-direction: column; align-items: flex-start; }
  .room-title-aside { justify-items: start; }
  .room-price--lg { display: flex; align-items: baseline; gap: 8px; }
  .room-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 6px;
    margin-inline: calc(var(--gutter) * -1);
  }
  .room-shot { aspect-ratio: 4 / 3; }
  .room-shot--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 5 / 4; }
  .room-shot:nth-child(n + 4) { display: none; }
  .room-gallery-foot { justify-content: flex-start; }

  .room-plan-cell { padding: 20px 18px; }
  .ticks,
  .room-policies { grid-template-columns: minmax(0, 1fr); }
  .room-book { margin-top: 48px; padding: 0; border: 0; background: none; box-shadow: none; }
  .room-book-price { margin-bottom: 16px; padding-bottom: 16px; }

  .room-others-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Experience page (experience.html)
   Reuses the homepage hero, booking bar, FAQ, closing and footer.
   ========================================================================== */

/* ---------- Hero: the homepage hero and booking overlap, at the sub-page title scale ---------- */
.hero--exp { min-height: max(640px, 96svh); }
.hero--exp .hero-title { max-width: 12.5em; font-size: clamp(2.6rem, 5.2vw, 5rem); }
.hero--exp .hero-lead { max-width: 40ch; }

/* ---------- At the hotel: one large photograph, two smaller ones set off the grid ---------- */
.onsite-head { max-width: 40rem; margin-bottom: clamp(56px, 7vw, 104px); }
.onsite-head .h2 { max-width: 11em; }
.onsite-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: clamp(64px, 8vw, 128px);
  align-items: start;
}
.onsite-item--pools { grid-column: 1 / span 7; }
/* Set lower, so it starts level with the middle of the pool photograph. */
.onsite-item--garden { grid-column: 9 / span 4; margin-top: clamp(120px, 16vw, 260px); }
.onsite-item--table {
  grid-column: 3 / -1;
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(0, 7fr);
  column-gap: var(--gutter);
  align-items: end;
}

.onsite-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}
.onsite-item--pools .onsite-media { aspect-ratio: 5 / 6; }
.onsite-item--table .onsite-media { aspect-ratio: 16 / 10; }
.onsite-media .media { position: absolute; inset: 0; }

.onsite-body { max-width: 38ch; margin-top: 28px; }
.onsite-item--table .onsite-body { margin-top: 0; }
.onsite-text { margin-top: 12px; font-size: 0.9875rem; line-height: 1.65; color: var(--ink-soft); }
.onsite-body .text-link { margin-top: 20px; }

/* ---------- Beyond the hotel: the outings as an index, one row each ---------- */
.outings { background: var(--bg-alt); }
.outings-head { max-width: 40rem; margin-bottom: clamp(48px, 6vw, 88px); }
.outings-head .h2 { max-width: 11em; }

.outing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.outing {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  column-gap: var(--gutter);
  align-items: center;
  padding-block: clamp(28px, 3vw, 40px);
}
.outing + .outing { border-top: 1px solid var(--line); }
.outing-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--heading);
  text-wrap: balance;
}
.outing-text { max-width: 36ch; font-size: 0.9875rem; line-height: 1.6; color: var(--ink-soft); }
.outing-partner { margin-top: 10px; font-size: 0.875rem; font-weight: 500; }
.outing-media { aspect-ratio: 3 / 2; }
.outing-media img { transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.outing:hover .outing-media img { transform: scale(1.04); }

.outings-foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(56px, 7vw, 96px);
}
.nearby-title {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Not links: a plain run of names, so nothing here looks clickable. */
.nearby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  color: var(--heading);
}
.nearby-list li:not(:last-child)::after { content: "/"; margin-inline: 0.45em; color: var(--accent); }
.outings-ask p { max-width: 44ch; color: var(--ink-soft); }
.outings-ask .btn { margin-top: 24px; }

@media (max-width: 1023px) {
  .onsite-item--garden { grid-column: 8 / -1; margin-top: clamp(96px, 18vw, 200px); }
  .onsite-item--table { grid-column: 1 / -1; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }

  .outing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 14px; }
  .outing-title, .outing-body { grid-column: 1; }
  /* Title and text meet in the middle of the photo's height instead of drifting apart. */
  .outing-title { align-self: end; }
  .outing-body { align-self: start; }
  .outing-media { grid-column: 2; grid-row: 1 / span 2; }
  .outings-foot { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .hero--exp .hero-title { font-size: clamp(2.35rem, 10.5vw, 3.2rem); }

  .onsite-grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .onsite-item--pools,
  .onsite-item--garden,
  .onsite-item--table { grid-column: 1 / -1; margin-top: 0; }
  .onsite-item--table { display: block; }
  .onsite-item--pools .onsite-media { aspect-ratio: 4 / 5; }
  .onsite-item--garden .onsite-media { aspect-ratio: 1 / 1; }
  .onsite-item--table .onsite-media { aspect-ratio: 4 / 3; }
  .onsite-body,
  .onsite-item--table .onsite-body { margin-top: 24px; }

  .outing { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-block: 28px 32px; }
  .outing-title, .outing-body { grid-column: auto; align-self: auto; }
  .outing-media { grid-column: auto; grid-row: auto; order: -1; margin-bottom: 20px; }
  .outing-body { margin-top: 10px; }
  .outings-ask .btn { width: 100%; }
}

/* ==========================================================================
   About page (about.html)
   Reuses the rooms-page hero (mirrored), ratings, quotes, Tripadvisor awards,
   booking form, closing and footer.
   ========================================================================== */

/* ---------- Hero: photograph running to the left edge, copy and ratings beside it ---------- */
.page-hero--about { --booking-overlap: 0px; }
.page-hero--about .page-hero-visual {
  grid-column: 1 / span 6;
  grid-row: 1;
  margin-right: 0;
  margin-left: calc(-1 * max(var(--gutter), (100cqi - var(--max)) / 2 + var(--gutter)));
}
.page-hero--about .page-hero-copy {
  grid-column: 7 / -1;
  grid-row: 1;
  padding-block: clamp(40px, 5vw, 72px);
  padding-left: clamp(0px, 3vw, 48px);
}

/* Ratings one size down, so they sit under the lead instead of competing with the title. */
.ratings--compact {
  flex-wrap: wrap;
  row-gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ratings--compact .rating { padding-inline: clamp(18px, 2vw, 32px); }
.ratings--compact .rating-value { margin-bottom: 12px; font-size: clamp(2rem, 2.6vw, 2.6rem); }
.ratings--compact .rating-source { font-size: 0.875rem; }

/* ---------- Story: copy and house rule on the left, the portrait set lower on the right ---------- */
.story { background: var(--bg-alt); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.story-copy { grid-column: 1 / span 6; }
.story-copy .h2 { max-width: 9em; }
.story-body { max-width: 46ch; margin-top: 24px; color: var(--ink-soft); }
.story-body p + p { margin-top: 16px; }
.house-rule {
  max-width: 46ch;
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.house-rule p { margin-top: 14px; color: var(--ink-soft); }
.house-rule .text-link { margin-top: 14px; }
.story-portrait {
  grid-column: 8 / -1;
  aspect-ratio: 4 / 3; /* the reception photo is 4:3 landscape; shown whole (user, 27 Oct) */
  margin-top: clamp(40px, 7vw, 120px);
}

/* The place in four plain facts. */
.story-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px var(--gutter);
  margin-top: clamp(72px, 8vw, 128px);
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.story-facts dt { font-size: 0.9375rem; font-weight: 500; color: var(--heading); }
.story-fact-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.9vw, 3.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.story-facts dd { max-width: 28ch; margin-top: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Guests: the heading held on the left, one long quote and two short ones beside it ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.voices-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
.voices-head .h2 { max-width: 7em; }
.voices-head .text-link { margin-top: 24px; }
.voices-body { grid-column: 6 / -1; }
.quote--lead { padding-top: 0; border-top: 0; }
.quote--lead .quote-mark { font-size: 6rem; }
.quote--lead blockquote p { font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.2; letter-spacing: -0.015em; }
.voices-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(64px, 7vw, 104px);
}
.voices-pair .quote blockquote p { font-size: clamp(1.15rem, 1.35vw, 1.3rem); }
.voices-pair .quote-translation { font-size: 0.875rem; }

/* ---------- Closing: the booking form sits inside the closing photograph ---------- */
.closing--book { min-height: 0; padding-block: clamp(112px, 12vw, 184px); }
.closing--book .closing-text { max-width: 46ch; }
/* The form is a light card on the dark photo, so it takes the page's ink and accent back from .closing. */
.closing-booking {
  --heading: var(--ink);
  --accent: var(--accent-strong);
  max-width: 1120px;
  margin: clamp(40px, 4.5vw, 64px) auto 0;
  color: var(--ink);
  text-align: left;
}
.closing--book .stay-trigger { max-width: 440px; margin: 40px auto 0; }

@media (max-width: 1023px) {
  .page-hero--about .page-hero-visual { grid-column: 1 / span 5; }
  .page-hero--about .page-hero-copy { grid-column: 6 / -1; padding-left: 0; }
  .story-copy { grid-column: 1 / span 7; }
  .story-portrait { grid-column: 9 / -1; }
  .story-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices-head { grid-column: 1 / -1; position: static; margin-bottom: 56px; }
  .voices-body { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .page-hero--about .page-hero-copy,
  .page-hero--about .page-hero-visual { grid-column: 1 / -1; grid-row: auto; }
  .page-hero--about .page-hero-copy { padding-block: 28px 40px; }
  .page-hero--about .page-hero-visual { margin-inline: calc(var(--gutter) * -1); }
  .ratings--compact { margin-top: 32px; padding-top: 24px; }
  .ratings--compact .rating { padding-inline: 24px 0; }

  .story-copy,
  .story-portrait { grid-column: 1 / -1; }
  .story-portrait { width: 100%; margin: 56px 0 0 auto; }
  .story-facts { gap: 32px 20px; margin-top: 64px; }
  .story-fact-num { font-size: 2.6rem; }

  .voices-head { margin-bottom: 40px; }
  .voices-head .text-link { margin-top: 16px; }
  .quote--lead blockquote p { font-size: clamp(1.6rem, 7vw, 2rem); }
  .voices-pair { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 48px; }

  .closing--book { min-height: max(520px, 80svh); padding-block: 96px; }
}

/* Smooth disclosure where supported (progressive enhancement). */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.55s var(--ease-out), content-visibility 0.55s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .mobile-cta, .booking, dialog, body::after { display: none !important; }
  .hero { min-height: 0; padding-block: 48px; }
  .rooms-viewport { overflow: visible; }
  .rooms-track { flex-wrap: wrap; width: auto; }
}

/* ==========================================================================
   Room pages: comfort-double, superior-double, junior-suite, riad
   They share the room-page block above (built for suite.html). Only the
   Riad needs a rule of its own: its sleeping plan has three parts, two bedrooms
   and the patio, so the grid never leaves an empty cell.
   ========================================================================== */
.room-plan--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 767px) {
  .room-plan--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-plan--three > :last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Touch screens (phones and tablets)
   Every tap target is at least 44 px on a touch screen. Where growing the box
   would move the layout, padding and an equal negative margin enlarge only the
   tappable area. Mouse layouts are unchanged.
   ========================================================================== */
@media (pointer: coarse) {
  .brand { min-height: 44px; justify-content: center; }

  .field input,
  .field select { min-height: 44px; }
  .icon-btn-sm { width: 44px; height: 44px; margin: -6px; }
  .tab { min-width: 44px; }

  .text-link-sm,
  .room-open { min-height: 44px; }

  .room-rating,
  .book-ask a,
  .reserve-call,
  .essential-link,
  .reserve-facts a,
  .inline-link { padding-block: 11px; margin-block: -11px; }
  .essential-link,
  .reserve-facts a,
  .inline-link { display: inline-block; }

  .footer-grid > div:not(.footer-brand) a,
  .footer-grid > div:not(.footer-brand) button { padding-block: 10px; }
}

/* ==========================================================================
   Events page (events.html)
   Reuses the restaurant hero, the about page's facts row (.story-facts),
   quotes, the restaurant's request form (.reserve, .tf-*), FAQ, closing
   and footer. The form's answers are read by main.js ([data-enquiry]).
   ========================================================================== */

/* Hero: the headline breaks evenly instead of leaving one word on the last line. */
.hero--events .hero-title { text-wrap: balance; }

/* ---------- Occasions: heading and one photograph on the left, the three occasions as an index ---------- */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.occasions-aside { grid-column: 1 / span 5; }
.occasions-aside .h2 { max-width: 8em; }
.occasions-media { aspect-ratio: 4 / 5; margin-top: clamp(40px, 4.5vw, 64px); }
.occasion-list { grid-column: 7 / -1; }
.occasion { padding-block: clamp(32px, 3.6vw, 48px); border-top: 1px solid var(--line-strong); }
.occasion:last-child { border-bottom: 1px solid var(--line-strong); }
.occasion-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--heading);
  text-wrap: balance;
}
.occasion-text { max-width: 44ch; margin-top: 14px; color: var(--ink-soft); text-wrap: pretty; }
.occasion .text-link { margin-top: 18px; }

/* ---------- The setting: one wide photograph, then the four numbers organisers ask first ---------- */
.setting { background: var(--bg-alt); }
.setting-head { margin-bottom: clamp(44px, 5.5vw, 80px); }
.setting-head .h2 { max-width: 12em; }
.setting-head .lead { margin-top: 24px; }
.setting-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg); }
.setting-media .media { position: absolute; inset: 0; }
.setting-facts { margin-top: clamp(48px, 5.5vw, 80px); }

/* ---------- Guests: one long quote and a short one, the table detail set lower beside them ---------- */
.ev-voices-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.ev-voices-copy { grid-column: 1 / span 7; }
.ev-voices-copy .h2 { max-width: 10em; margin-bottom: clamp(48px, 5vw, 72px); }
.ev-voices-copy .quote-small { max-width: 34em; margin-top: clamp(48px, 5vw, 72px); }
.ev-voices-media { grid-column: 9 / -1; aspect-ratio: 4 / 5; margin-top: clamp(64px, 9vw, 168px); }

/* ---------- Enquiry: the occasion as four real radio buttons drawn as tiles ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-grid span {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.choice-grid label:hover span { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.choice-grid input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice-grid input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice-grid input[aria-invalid="true"] + span { border-color: var(--accent); }
.choice-grid + .tf-error { margin-top: 10px; }

@media (max-width: 1023px) {
  .occasions-aside { grid-column: 1 / span 5; }
  .occasion-list { grid-column: 6 / -1; }
  .ev-voices-copy { grid-column: 1 / span 8; }
}

@media (max-width: 767px) {
  .occasions-grid,
  .ev-voices-grid { grid-template-columns: minmax(0, 1fr); }
  /* Heading, then the occasions, then the photograph. */
  .occasions-aside { display: contents; }
  .occasion-list { grid-column: 1 / -1; margin-top: 36px; }
  .occasions-media { order: 1; width: 82%; margin: 48px 0 0 auto; }

  .setting-media { aspect-ratio: 4 / 3; margin-inline: calc(var(--gutter) * -1); }

  .ev-voices-copy,
  .ev-voices-media { grid-column: 1 / -1; }
  .ev-voices-media { width: 82%; margin: 56px 0 0 auto; }
}

/* ==========================================================================
   Contact page (contact.html)
   Reuses the page hero (the live map in place of a photograph), the
   homepage's address and "Before you arrive" grid, the request form,
   closing and footer. Fares follow facts §3 (taxi sheet, 8 Oct 2026).
   ========================================================================== */

/* ---------- Hero: the three ways to reach us, and the map ---------- */
.page-hero--contact { --booking-overlap: 0px; }
.page-hero--contact .page-hero-copy { padding-block: clamp(40px, 5vw, 72px); }
.contact-map {
  background:
    radial-gradient(120% 90% at 30% 70%, rgb(255 255 255 / 0.08), transparent 60%),
    linear-gradient(160deg, #737c58 0%, #4a5336 55%, #2b3121 100%);
}
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-lines { max-width: 480px; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.contact-line {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.contact-line > .icon { width: 26px; height: 26px; color: var(--accent); transition: transform 0.45s var(--ease-out); }
.contact-line span {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
}
.contact-line small {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-line:hover { color: var(--accent); }
.contact-line:hover > .icon { transform: translateX(4px); }

/* ---------- Getting here: where we are on the left, the driver and fares on the right ---------- */
/* Grounds alternate down the page: Write to us (tinted), Getting here (light), Before you set off (tinted). */
.know { background: var(--bg-alt); }
.getting-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 72px var(--gutter);
  align-items: start;
}
.getting-copy { grid-column: 1 / span 5; }
.getting-copy .h2 { max-width: 9em; }
.getting-code { max-width: 44ch; margin-top: 20px; font-size: 0.9375rem; color: var(--ink-soft); }
.getting-code strong { font-weight: 500; color: var(--ink); white-space: nowrap; }
.getting-note { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--ink-soft); }
.getting-note .icon { color: var(--accent); }

.driver { grid-column: 7 / -1; padding-top: clamp(0px, 1vw, 12px); }
.driver-title { max-width: 15em; text-wrap: balance; }
.driver-lead { max-width: 48ch; margin-top: 14px; font-size: 0.9375rem; color: var(--ink-soft); }
.fares { width: 100%; margin-top: 32px; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.fares th,
.fares td { padding: 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.fares thead th {
  padding: 0 12px 12px 0;
  border-bottom-color: var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.fares small { display: block; font-family: var(--font-sans); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.fares thead small { margin-top: 4px; font-size: 0.75rem; }
.fares tbody th { padding-right: 20px; font-weight: 500; }
.fares tbody th small { margin-top: 2px; font-size: 0.875rem; }
.fares td { width: 24%; padding-right: 12px; font-size: 1.125rem; font-weight: 500; color: var(--heading); }
.fares td small { margin-top: 2px; font-size: 0.8125rem; }
.fares-note { max-width: 52ch; margin-top: 16px; font-size: 0.875rem; color: var(--ink-soft); }
.driver-actions { margin-top: 32px; }

/* ---------- Before you set off ---------- */
.know-title { max-width: 12em; margin-bottom: clamp(40px, 5vw, 64px); }

@media (max-width: 1023px) {
  .getting-copy,
  .driver { grid-column: 1 / -1; }
  .getting-copy .h2 { max-width: 12em; }
}

@media (max-width: 767px) {
  .page-hero--contact .page-hero-copy { padding-block: 28px 40px; }
  .contact-line { min-height: 68px; }
  .getting-grid { row-gap: 56px; }
  .fares th,
  .fares td { padding-block: 14px; }
  .fares td { width: 27%; font-size: 1.0625rem; }
  .fares tbody th { padding-right: 12px; }
  .driver-actions .btn { width: 100%; }
}

/* ==========================================================================
   Pickers (every page with a form)
   Our own list for <select> and calendar for date fields, drawn by main.js
   ("Pickers") with a mouse or trackpad. The native controls stay underneath
   and hold the values; touch screens keep the phone's own picker. Panels sit
   in the top layer (popover), so cards and dialogs never clip them.
   ========================================================================== */

/* ---------- The field while its panel is open ---------- */
.field.is-open { box-shadow: inset 0 -2px 0 var(--accent); }
.field-caret,
.tf-select .icon,
.compare-select .icon { transition: transform 0.35s var(--ease-out); }
.field.is-open .field-caret { transform: rotate(180deg); }
.tf-select.is-open .icon,
.compare-select.is-open .icon { transform: translateY(-50%) rotate(180deg); }
.tf-select.is-open .tf-input,
.date-wrap.is-open .tf-input { background-size: 100% 2px; }
.tf-field:has(.is-open) > .tf-label { color: var(--accent-strong); }
.compare-select.is-open { box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- Date fields: the date written out over the native field ---------- */
.date-wrap { position: relative; display: block; min-width: 0; }
.date-wrap > input.is-enhanced[type="date"] { color: transparent; cursor: pointer; }
.date-wrap > input.is-enhanced::-webkit-datetime-edit { opacity: 0; }
.date-wrap > input.is-enhanced::-webkit-calendar-picker-indicator { display: none; }
.date-shown {
  position: absolute;
  inset: 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.0625rem;
  white-space: nowrap;
  pointer-events: none;
}
.date-text { overflow: hidden; text-overflow: ellipsis; }
.date-shown.is-empty { color: var(--ink-soft); }
.date-icon { flex: none; width: 15px; height: 15px; color: var(--ink-soft); }
.date-wrap:has([aria-invalid="true"]) .date-shown { color: var(--accent); }

/* Browser autofill keeps our colours instead of its blue or yellow. */
.tf-input:-webkit-autofill,
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 600000s 0s, color 600000s 0s;
}

/* ---------- Panel ---------- */
.picker {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease-out), transform 0.4s var(--ease-out);
}
.picker.is-up { transform: translateY(6px); }
.picker.is-in { opacity: 1; transform: none; }

/* ---------- List ---------- */
.picker-list {
  min-width: max(var(--anchor-w, 0px), 208px);
  max-width: calc(100vw - 24px);
  max-height: 336px;
  padding: 6px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.picker-list:focus { outline: none; }
.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.picker-option.is-active { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.picker-list:not(.is-pointer):focus-visible .picker-option.is-active { box-shadow: inset 2px 0 0 var(--accent); }
.picker-option[aria-selected="true"] { font-weight: 500; }
.picker-option[aria-disabled="true"] { color: var(--ink-soft); opacity: 0.45; cursor: default; }
.picker-check { flex: none; width: 16px; height: 16px; color: var(--accent); opacity: 0; }
.picker-option[aria-selected="true"] .picker-check { opacity: 1; }
/* The rooms comparison names rooms in the title face, so its list does too. */
.picker-list--display .picker-option { min-height: 52px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }

/* ---------- Calendar ---------- */
.picker-cal { width: min(344px, calc(100vw - 24px)); padding: 14px 16px 12px; }
.picker-cal :focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cal-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 6px; }
.cal-month { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; text-align: center; color: var(--heading); }
.cal-month::first-letter { text-transform: uppercase; }
.cal-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.cal-nav:hover { border-color: var(--line-strong); }
.cal-nav:disabled { opacity: 0.28; border-color: transparent; cursor: default; }
.cal-nav .icon { width: 16px; height: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow {
  padding: 8px 0 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cal-pad { height: 42px; }
.cal-day {
  display: grid;
  place-items: center;
  height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.cal-day span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.cal-day:focus-visible { outline: none; }
.cal-day:focus-visible span { outline: 2px solid var(--accent); outline-offset: 1px; }
.picker-cal.is-pointer .cal-day:focus-visible span { outline: none; }
.cal-day:not([aria-disabled]):hover span { border-color: var(--ink); }
.cal-day[aria-current="date"] span { text-decoration: underline 2px var(--accent); text-underline-offset: 5px; }
/* The nights of a stay as one band, from check-in to check-out. */
.cal-day.in-range { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.cal-day.is-start { background: linear-gradient(to right, transparent 50%, color-mix(in srgb, var(--ink) 7%, transparent) 50%); }
.cal-day.is-end { background: linear-gradient(to left, transparent 50%, color-mix(in srgb, var(--ink) 7%, transparent) 50%); }
.cal-day[aria-pressed="true"] span,
.cal-day.is-start span,
.cal-day.is-end span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.cal-day[aria-disabled] { color: var(--ink-soft); opacity: 0.38; cursor: default; }
/* Check-in stays solid in the check-out calendar, though it can't be chosen there. */
.cal-day.is-start[aria-disabled] { opacity: 1; }
.cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.cal-foot:has(.cal-note:empty):has(.cal-clear[hidden]) { display: none; }
.cal-note { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.cal-clear {
  min-height: 36px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.8125rem;
  text-decoration: underline 1px var(--line-strong);
  text-underline-offset: 5px;
  cursor: pointer;
  transition: text-decoration-color 0.25s var(--ease-out);
}
.cal-clear:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Hero booking bar (index, experience; user, 9 Oct, after Nobu Marrakech)
   The bar sits on the hero photo instead of a card below it: no box, small
   mono labels, the values large, one hairline under each field. Scoped to
   .booking--hero, so the same form keeps its usual look once main.js moves
   it into the booking sheet (phones, or opened from further down the page).
   ========================================================================== */
.hero--booking {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding-bottom: 0;
}
.js .hero--booking .media.is-empty .media-ph { inset: calc(var(--header-h) + 24px + 6%) var(--gutter) auto auto; }

.booking--hero {
  margin-top: 0;
  padding-block: clamp(48px, 8vh, 96px) clamp(28px, 4.5vh, 48px);
  /* A second, lower scrim keeps the fields readable on any photo. */
  background: linear-gradient(180deg, rgb(20 24 18 / 0) 0%, rgb(20 24 18 / 0.42) 55%, rgb(20 24 18 / 0.6) 100%);
  color: var(--light);
  color-scheme: dark;
}
.booking--hero .booking-form { padding: 0; border: 0; background: none; box-shadow: none; }
.booking--hero .booking-fields {
  grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr auto;
  column-gap: clamp(24px, 3vw, 48px);
  align-items: end;
}
.booking--hero .field {
  gap: 10px;
  padding: 0;
  border-left: 0;
  border-bottom: 1px solid rgb(242 239 231 / 0.42);
  transition: border-color 0.3s var(--ease-out);
}
.booking--hero .field:hover { border-bottom-color: rgb(242 239 231 / 0.75); }
.booking--hero .field label { color: rgb(242 239 231 / 0.78); }
.booking--hero .field input,
.booking--hero .field select,
.booking--hero .date-shown {
  color: var(--light);
  font-size: clamp(1.25rem, 1.55vw, 1.5rem);
  letter-spacing: -0.01em;
}
.booking--hero .field input,
.booking--hero .field select { min-height: 48px; }
.booking--hero .date-wrap > input.is-enhanced[type="date"] { color: transparent; }
.booking--hero .date-shown.is-empty,
.booking--hero .field select:required:invalid { color: rgb(242 239 231 / 0.78); }
.booking--hero .date-icon,
.booking--hero .field-caret { color: rgb(242 239 231 / 0.78); }
.booking--hero .field-caret { right: 0; bottom: 17px; }
.booking--hero .field:focus-within,
.booking--hero .field.is-open { box-shadow: inset 0 -2px 0 var(--light); }
.booking--hero .field:focus-within label,
.booking--hero .field.is-open label { color: var(--light); }
.booking--hero .field input[aria-invalid="true"],
.booking--hero .field select[aria-invalid="true"],
.booking--hero .date-wrap:has([aria-invalid="true"]) .date-shown { color: var(--night-accent); }
.booking--hero .booking-submit { min-height: 60px; margin-left: 8px; }

.booking--hero .form-error {
  border-left-color: var(--night-accent);
  background: rgb(242 239 231 / 0.08);
  color: var(--light);
}
.booking--hero .booking-meta {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
  color: rgb(242 239 231 / 0.82);
}
.booking--hero .booking-room { color: var(--light); }
.booking--hero .booking-room .icon-btn { color: var(--light); }
.booking--hero .booking-meta .text-link { color: var(--light); text-decoration-color: rgb(242 239 231 / 0.4); }
.booking--hero :focus-visible { outline-color: var(--light); }

@media (max-width: 1023px) {
  .booking--hero .booking-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
  .booking--hero .booking-submit { margin-left: 0; }
}

/* Phones: the form lives in the sheet; the hero keeps one quiet line that opens it. */
@media (max-width: 767px) {
  .booking--hero { padding-block: 36px 28px; }
  .booking--hero .wrap { padding-top: 0; }
  .booking--hero .stay-trigger {
    border: 0;
    border-bottom: 1px solid rgb(242 239 231 / 0.42);
    padding: 12px 0 14px;
    background: none;
    color: var(--light);
  }
  .booking--hero .stay-trigger-text small { color: rgb(242 239 231 / 0.78); }
}

/* ==========================================================================
   House facts in three columns (index "Before you arrive", contact "Before
   you set off"; user, 9 Oct): nine facts with pets, so 3 × 3 on wide screens.
   Below 1024 px the usual two columns, then one, still apply.
   ========================================================================== */
@media (min-width: 1024px) {
  .arrive-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Homepage hero headline (user's approved copy, 11 Oct)
   "Some hotels look at the lake. / We sit on its shore." From 768 px each
   sentence gets its own line, so the pivot lands on the second line.
   Phones keep the normal wrap (a forced break would leave a one-word line).
   Tagline: its own line between the headline and the description.
   ========================================================================== */
.hero-tagline {
  max-width: 40ch;
  margin-top: 26px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.1875rem, 1.6vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--linen);
}
.hero-tagline + .hero-lead { margin-top: 14px; }
@media (min-width: 768px) {
  .hero-title--pivot { max-width: 13em; }
  .hero-title--pivot em { display: block; }
}
/* Short laptop screens (1280 × 720 and the like): keep the booking bar in view. */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero--booking .hero-content { padding-top: calc(var(--header-h) + 28px); }
  .hero-title--pivot { font-size: min(6.1vw, 9.2vh); }
  .hero-tagline { margin-top: 18px; }
  .hero--booking .hero-lead { max-width: 48ch; }
  .hero--booking .hero-actions { margin-top: 28px; }
}

/* ==========================================================================
   Homepage rooms: line under the headline (approved copy, 11 Oct 2026)
   ========================================================================== */
.rooms-head .rooms-lead { max-width: 40ch; margin-top: 20px; }

/* ==========================================================================
   Homepage hero slideshow: three photos, crossfade (16 Oct 2026)
   .hero-slides takes the place of the single .hero-media figure, so the intro
   zoom and the scroll drift still move the whole stack. Without JS the first
   photo stays; with reduced motion the slideshow never starts (main.js).
   ========================================================================== */
.hero-slides .hero-slide { position: absolute; inset: 0; }
.hero-slides .hero-slide img { position: absolute; inset: 0; }
.js .hero-slides .hero-slide {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}
.js .hero-slides .hero-slide.is-current { opacity: 1; z-index: 1; }
html:not(.js) .hero-slides .hero-slide:not(.is-current) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-slides .hero-slide { transition: none; }
}

/* Busier photos in the slideshow: a firmer shade behind the text on the left. */
.hero-slides ~ .hero-scrim,
.hero-visual:has(.hero-slides) + .hero-scrim {
  background:
    linear-gradient(180deg, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 24%, rgb(20 24 18 / 0.1) 42%, rgb(20 24 18 / 0.72) 100%),
    linear-gradient(90deg, rgb(20 24 18 / 0.62) 0%, rgb(20 24 18 / 0.3) 45%, rgb(20 24 18 / 0) 80%);
}

/* ==========================================================================
   Header menu button: icon only, a little larger (user, 16 Oct 2026)
   The word "Menu" is gone; the button keeps aria-label="Open menu".
   The 44 px tap box stays; the negative margin keeps the icon on the gutter.
   ========================================================================== */
.menu-toggle {
  justify-content: center;
  min-width: 44px;
  padding: 0;
  margin-right: -9px;
}
.menu-toggle .icon { width: 26px; height: 26px; }

/* ==========================================================================
   Page loader (user, 17 Oct 2026): home page only, every time it opens.
   Markup + the script that decides: top of <body> in index.html.
   Motion: main.js "Page loader". On the olive-night ground the name rises,
   a waterline draws out from the middle and the signature line comes in
   (CSS, from the first paint); main.js completes the line and lifts the
   panel off the page once the hero photo is in (2.6 s at most).
   Shown only under html.motion (JS on, no reduced motion), so without JS or
   with reduced motion it never appears. Square corners, brand tokens only.
   ========================================================================== */
.loader { display: none; }
.motion.loader-full .loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  background: var(--night);
  color: var(--night-ink);
  contain: strict;
}
.motion .loader.is-done { display: none; }

.loader-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}
.loader-mark {
  display: block;
  overflow: hidden;
  padding: 0.04em 0 0.1em;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.loader-mark > span {
  display: block;
  transform: translateY(110%);
  animation: loader-rise 1.2s var(--ease-out) 0.15s forwards;
}
.loader-line {
  display: block;
  width: clamp(140px, 24vw, 280px);
  height: 1px;
  background: var(--night-line);
}
.loader-line > span {
  display: block;
  height: 100%;
  background: var(--night-ink);
  transform: scaleX(0);
  animation: loader-draw 1.5s cubic-bezier(0.33, 1, 0.68, 1) 0.4s forwards;
}
.loader-sign {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-soft);
  opacity: 0;
  animation: loader-fade 1s var(--ease-out) 0.7s forwards;
}
@keyframes loader-rise { to { transform: translateY(0); } }
@keyframes loader-draw { to { transform: scaleX(0.7); } }
@keyframes loader-fade { to { opacity: 1; } }

/* ==========================================================================
   Not found (404.html, 17 Oct 2026)
   Reuses the page hero (copy left, photo running to the right edge), with no
   booking bar under it, then four routes back into the site.
   Every link on the page starts from the site root: the server shows it at
   any broken address. Square corners, brand tokens only.
   ========================================================================== */
.js .page-hero--lost .media.is-empty .media-ph { padding-bottom: 20px; }

/* Two short sentences, each on its own line at every width. */
.page-title--pivot { max-width: none; }
.page-title--pivot > span { display: block; }
@media (max-width: 767px) {
  .page-title--pivot { font-size: clamp(2rem, 9.2vw, 3.2rem); }
}

/* From 768 px the photo fills the screen height. Below, the page hero's
   phone layout (5:4 photo under the copy) applies unchanged. */
@media (min-width: 768px) {
  .page-hero--lost .page-hero-copy { padding-block: clamp(40px, 5vw, 72px); }
  .page-hero--lost .page-hero-visual { height: clamp(440px, calc(100svh - var(--header-h) - 64px), 760px); }
  .page-title--pivot { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
}

.lost-routes { background: var(--bg-alt); }
.lost-routes-title { max-width: 14em; }

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin: clamp(40px, 5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}
.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 24px;
  height: 100%;
  padding-block: 28px 36px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}
.route-name {
  grid-column: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s var(--ease-out);
}
.route-line {
  grid-column: 1;
  max-width: 42ch;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.route .icon {
  grid-column: 2;
  grid-row: 1;
  width: 24px;
  height: 24px;
  margin-top: 0.3em;
  color: var(--accent);
  transition: transform 0.45s var(--ease-out);
}
.route:hover .route-name { text-decoration-color: currentColor; }
.route:hover .icon { transform: translateX(6px); }
.route:focus-visible { outline-offset: 6px; }

.lost-help {
  max-width: 60ch;
  margin-top: clamp(32px, 4vw, 48px);
  color: var(--ink-soft);
}
.lost-help a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--line-strong);
}
.lost-help a:hover { text-decoration-color: currentColor; }

@media (max-width: 767px) {
  .route-grid { grid-template-columns: minmax(0, 1fr); }
  .route { padding-block: 24px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .route .icon, .route-name { transition: none; }
  .route:hover .icon { transform: none; }
}

/* ==========================================================================
   Language switch (17 Oct): French at the root, English in /en/, Spanish in /es/.
   tools/sync-partials.mjs fills it: the current language is plain text, the
   others link to the same page in that language (a language shows once its
   page exists). Header: codes, desktop only. Phone menu and footer: names.
   ========================================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang-switch > * {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
}
.lang-switch a {
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s var(--ease-out);
}
.lang-switch a:hover { opacity: 1; }
/* The current language carries the same hairline as the current nav link. */
.lang-switch .lang-current::after {
  content: "";
  position: absolute;
  left: 8px;
  right: calc(8px + 0.14em);
  bottom: 12px;
  height: 1px;
  background: currentColor;
}

.menu-langs,
.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu-langs > *,
.footer-langs > * {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.menu-langs a,
.footer-langs a {
  color: var(--night-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.menu-langs a:hover,
.footer-langs a:hover { color: var(--night-ink); }
.menu-langs .lang-current,
.footer-langs .lang-current {
  color: var(--night-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.footer-langs > * { min-height: 0; }

@media (max-width: 1023px) {
  .lang-switch { display: none; } /* it moves into the menu */
}
@media (pointer: coarse) {
  .footer-langs > * { min-height: 44px; }
}
/* Small laptops (1024–1279): the header holds nav, language switch and both buttons, so the
   gaps tighten and the switch shows only the other language(s). The logo never wraps. */
.brand-name,
.brand-sub { white-space: nowrap; }
.lang-switch a { opacity: 0.75; }
@media (min-width: 1024px) and (max-width: 1279px) {
  /* 17 Oct: with three languages the switch shows two codes, and "Cómo llegar" /
     "Getting here" wrapped at 1024. Nav labels stay on one line; the gaps give way. */
  .header-inner { gap: 20px; }
  .primary-nav ul { gap: 16px; }
  .primary-nav a { white-space: nowrap; }
  .lang-switch { margin-right: 0; }
  .lang-switch > * { padding: 0 6px; }
  .lang-switch .lang-current { display: none; }
  /* 14 Nov 2026: the full-name logo must never be squeezed (its small line would shrink to ~4 px),
     so it holds 40 px here and the gaps and header buttons give the room instead (ES is the longest). */
  .site-header .brand { flex-shrink: 0; }
  .site-header .brand .brand-logo--h { height: 40px; }
  .header-inner { gap: 14px; }
  .primary-nav ul { gap: 12px; }
  .header-actions .btn-sm { padding: 0 14px; }
}

/* ==========================================================================
   Rooms hero, text only (en/rooms.html, chambres.html). User, 17 Oct 2026:
   no photo in this hero. The title takes the left, the lead and the two
   actions sit on the right, level with the foot of the title.
   ========================================================================== */
.page-hero--text .page-hero-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  padding-top: clamp(48px, 7vw, 112px);
}
.page-hero--text .breadcrumb { grid-column: 1 / -1; }
.page-hero--text .page-title { grid-column: 1 / span 7; max-width: 8.4em; }
.page-hero--text .page-hero-side { grid-column: 8 / -1; padding-bottom: 0.6em; }
.page-hero--text .page-lead { margin-top: 0; }
.page-hero--text .hero-actions { margin-top: 32px; }

@media (max-width: 1023px) {
  .page-hero--text .page-title,
  .page-hero--text .page-hero-side { grid-column: 1 / -1; }
  .page-hero--text .page-hero-side { padding-bottom: 0; }
  .page-hero--text .page-lead { margin-top: 28px; }
}
@media (max-width: 767px) {
  .page-hero--text .page-hero-copy { padding-top: 28px; }
  .page-hero--text .page-lead { margin-top: 20px; }
}

/* ==========================================================================
   Day tabs that take turns (index.html, en/index.html). User, 17 Oct 2026:
   Morning, Afternoon and Evening follow each other every 4 seconds
   (main.js "Tabs", data-tab-cycle). The clay line under the tab is the
   timer: main.js runs --tab-p from 0 to 1, and it stays full (1) when the
   turns stop, with reduced motion or without JS. The three panels share one
   cell, so the card keeps the height of the longest and nothing below it
   moves at each turn; a hidden panel stays invisible and out of reach.
   ========================================================================== */
[data-tab-cycle] .tabs-indicator { background: none; }
[data-tab-cycle] .tabs-indicator::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: 0 50%;
  transform: scaleX(var(--tab-p, 1));
}
.experience-card { display: grid; }
.experience-card > .tabs { grid-row: 1; }
.experience-card > .tab-panel { grid-row: 2; grid-column: 1; }
.experience-card > .tab-panel[hidden] { display: block !important; visibility: hidden; }
.experience-card > .text-link { grid-row: 3; justify-self: start; }

/* ==========================================================================
   Audit fixes, 18 Oct 2026 (user approved: M4, M7)
   1. Small clay labels on the tinted ground (--bg-alt) read 4.2:1, under the
      4.5:1 that 12 px text needs (WCAG AA). There they take the darker clay
      token, 6.2:1. In dark mode --accent-strong is the lighter clay: passes too.
   2. Keyboard focus on the header while it sits on a photo (before it turns
      solid): a linen ring, as on the hero booking bar, since the clay ring
      disappears on dark water and sky. Pages that open on linen (--ink) keep clay.
   ========================================================================== */
:is(.rooms, .restaurant, .location, .compare, .bento-e, .faq-alt, .day, .reserve, .room-reviews, .outings, .story, .setting, .know, .lost-routes)
  :is(.eyebrow:not(.eyebrow-light), .moment-label, .nearby-title) { color: var(--accent-strong); }

.site-header:not(.is-solid):not(.site-header--ink) :focus-visible { outline-color: var(--light); }

/* ==========================================================================
   Booking page (reserver.html, en/book.html, es/reservar.html), 22 Oct 2026.
   Little Hotelier's engine in a frame (main.js "Booking engine"). The header has
   no menu (partials/<lang>/header-book.html) and is solid from the start. The
   title band and the frame share exactly one screen under the header, so the
   engine's own summary, buttons and pop-ups are never below the fold; the frame
   scrolls inside, and the short footer waits underneath.
   ========================================================================== */
.page-book { background: var(--bg); }
.site-header--book { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.site-header--book .header-actions { gap: 8px; }
/* No phone menu on this page, so the language codes stay at every width. */
.site-header--book .lang-switch { display: flex; }
.book-whatsapp .icon { width: 1.3rem; height: 1.3rem; }

.book {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  padding-top: var(--header-h);
}

/* ---------- Title band: the promise, then the four facts that settle it ---------- */
.book-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: 14px var(--gutter);
  padding-block: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 24px);
}
.book-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-wrap: balance;
}
.book-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink);
}
.book-facts li { display: flex; align-items: flex-start; gap: 10px; }
.book-facts .icon { margin-top: 0.05em; color: var(--accent-strong); }

/* The room chosen on the site, and the way back to every room. */
.book-room {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.book-room[hidden] { display: none; }
.book-room-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.book-room-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--heading);
}

/* ---------- The engine: fills the rest of the screen ---------- */
.book-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
}
.book-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.book-engine {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Loading: one clay line runs under a mono label until the engine's page has loaded. */
.book-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: var(--surface);
  transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.book-loading p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.book-loading-line {
  position: relative;
  width: 160px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}
.book-loading-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: book-line 1.8s var(--ease-in-out) infinite;
}
@keyframes book-line {
  0% { transform: scaleX(0); transform-origin: 0 50%; }
  50% { transform: scaleX(1); transform-origin: 0 50%; }
  50.01% { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.book-frame.is-loaded .book-loading { opacity: 0; visibility: hidden; }

/* Without JavaScript the engine can't open: the frame and the loader give way to the note. */
.no-js .book-engine,
.no-js .book-loading { display: none; }
.book-noscript {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(46ch, calc(100% - 48px));
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.6;
}
.book-noscript a { color: var(--ink); text-underline-offset: 4px; }

.book-help {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.book-help a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.book-help a:hover { text-decoration-color: currentColor; }

/* ---------- Footer: one short band ---------- */
.site-footer--book { padding-block: 0; }
.footer-book {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  padding-block: 16px;
  font-size: 0.8125rem;
  color: var(--night-soft);
}
.footer-book-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-book-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--night-ink);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.footer-book-links a:hover { color: var(--accent); }

@media (max-width: 1023px) {
  .book-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  /* Phones: the title band stays short so the engine keeps most of the screen. The facts run
     as one wrapping line (each short one whole), the room keeps its name and link, and its
     label, the WhatsApp button's words too, stay for screen readers only. Edge-to-edge engine. */
  .book-head { gap: 10px; padding-block: 14px 10px; }
  .book-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.8125rem; }
  .book-facts li { gap: 6px; white-space: nowrap; }
  .book-facts li:nth-child(n+3) { white-space: normal; } /* tourist tax + cancellation: long, may wrap (2 Nov 2026) */
  .book-room { gap: 0 14px; padding-top: 4px; }
  .book-room-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .book-body { padding-inline: 0; }
  .book-frame { border-inline: 0; }
  .book-help { padding-inline: var(--gutter); }
  .book-whatsapp { width: 44px; padding: 0; }
  .book-whatsapp-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .site-header--book .lang-switch > * { padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-loading-line::after { animation: none; transform: scaleX(1); }
  .book-loading { transition: none; }
}

/* ---------- Experience: gardens and table photos shown whole (user, 23 Oct) ----------
   Both photos are landscape (4:3). The gardens slot was 4:5 (1:1 on phones) and the table
   slot 16:10, which cut them. */
.onsite-item--garden .onsite-media,
.onsite-item--table .onsite-media { aspect-ratio: 4 / 3; }
@media (max-width: 767px) {
  .onsite-item--garden .onsite-media,
  .onsite-item--table .onsite-media { aspect-ratio: 4 / 3; }
}

/* ---------- Restaurant hero: terrace photo (user, 23 Oct) ----------
   The photo is bright (cream umbrellas, pale tables) and 4:3, so the crop starts near the top to
   keep the far shore and the mountains, and the scrim is deeper behind the headline. */
.hero--terrace .hero-media img { object-position: 50% 8%; }
.hero--terrace .hero-scrim {
  background:
    linear-gradient(180deg, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 22%, rgb(20 24 18 / 0.18) 38%, rgb(20 24 18 / 0.78) 100%),
    linear-gradient(90deg, rgb(20 24 18 / 0.6) 0%, rgb(20 24 18 / 0.28) 48%, rgb(20 24 18 / 0) 80%);
}
@media (max-width: 767px) {
  .hero--terrace .hero-scrim {
    background:
      linear-gradient(180deg, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 20%, rgb(20 24 18 / 0.3) 34%, rgb(20 24 18 / 0.82) 100%);
  }
}

/* ---------- Restaurant page: three landscape photos in portrait slots (user, 23 Oct) ----------
   The starter and breakfast slots are 4:5 and the olive-trees slot 4:5; the photos are 4:3 / 3:2,
   so each one is cropped around its subject (the plate, the laid table, the foreground table). */
.menu-media img[src*="menu-starters"] { object-position: 62% 50%; }
.menu-media img[src*="menu-starters-salad"] { object-position: 56% 50%; } /* 26 Oct: salad plate centred */
.moment-media img[src*="restaurant-breakfast"] { object-position: 64% 50%; }
.moment-media img[src*="restaurant-olive-table"] { object-position: 25% 50%; }

/* Restaurant "Dinner by the fire" photo (user, 23 Oct): 3:2 in a 4:5 slot, cropped to the right so the lit fireplace stays in. */
.moment-media img[src*="restaurant-fire"] { object-position: 100% 50%; }
/* 26 Oct (user): "Dinner by the fire" is a 3:4 portrait shown whole, so its frame takes the photo's shape. */
.moment-media:has(img[src*="restaurant-fireplace"]) { aspect-ratio: 3 / 4; }

/* Homepage room cards (user, 23 Oct): the cards are portrait and the room photos landscape, so each one is
   cropped around its bed (Superior: bed in, camera at the far right out; Riad: bed in, empty wall out). */
.room-media img[src*="superior-double-bedroom"] { object-position: 70% 50%; }
.room-media img[src*="riad-bedroom-1"] { object-position: 85% 50%; }

/* ---------- Experience: outing photos are taller than wide (24 Oct 2026) ----------
   Flyboard, quad, camel and horse photos are portrait, so the slot is 4:5 and each
   photo keeps its subject in frame. */
.outing-media { aspect-ratio: 4 / 5; }
.outing-media--flyboard img { object-position: 50% 0%; }
.outing-media--kayak img { object-position: 100% 50%; } /* 15 Nov: kayak photo is 16:9, framed on the two-person kayak */
.outing-media--horse img { object-position: 50% 68%; }
.outing-media--quad img { object-position: 50% 55%; }
.outing-media--camel img { object-position: 50% 50%; }

/* ---------- Rooms page: tile photos (24 Oct 2026) — same crops as the homepage cards ---------- */
.room-tile-media img[src*="superior-double-bedroom"], .compare-media img[src*="superior-double-bedroom"] { object-position: 70% 50%; }
.room-tile-media img[src*="riad-bedroom-1"], .compare-media img[src*="riad-bedroom-1"] { object-position: 85% 50%; }

/* ---------- Rooms page: breakfast photo in "What comes with every stay" (24 Oct 2026) ---------- */
.bento-a .media img[src*="experience-table"] { object-position: 50% 38%; }

/* ---------- Logo (user, 24 Oct 2026; full-name kit 14 Nov 2026): the boat + "Le Petit Hôtel du Flouka" ----------
   One inline SVG per place (partials/<lang>/: header, phone menu, booking header, footer; loader on
   the home page). Its paths carry .logo-boat / .logo-word, so the colours follow the kit per ground:
   colour on light (olive boat, night wordmark), one-colour light over photos, reverse on night
   (lantern boat, linen wordmark), as the kit's guide says. Only existing tokens are used. */
:root { --logo-boat: var(--olive); }
@media (prefers-color-scheme: dark) { :root { --logo-boat: var(--lantern); } }
.brand-logo { display: block; width: auto; flex: none; }
.brand-logo .logo-boat,
.brand-logo .logo-sub { fill: var(--logo-boat-now, var(--logo-boat)); transition: fill 0.45s var(--ease-out); }
.brand-logo .logo-word { fill: var(--logo-word-now, var(--heading)); transition: fill 0.45s var(--ease-out); }
.site-header { --logo-boat-now: var(--light); --logo-word-now: var(--light); }
.site-header.is-solid,
.site-header--ink { --logo-boat-now: var(--logo-boat); --logo-word-now: var(--heading); }
.menu-dialog,
.site-footer,
.loader { --logo-boat-now: var(--lantern); --logo-word-now: var(--night-ink); }
/* 14 Nov 2026 (user): full-name kit ("LE PETIT HÔTEL DU" over "Flouka", .logo-sub, in the boat's
   colour as the kit draws it). Narrower than the old wordmark (4:1, was 5:1), so it stands taller
   at about the same width, which keeps the small line readable. */
.brand .brand-logo--h { height: 48px; }
.brand .brand-logo--stacked { height: 120px; }
.loader-mark .brand-logo--h { height: clamp(64px, 14vw, 110px); }
@media (max-width: 1023px) {
  .brand .brand-logo--h { height: 44px; }
}
@media (max-width: 420px) {
  .brand .brand-logo--h { height: 40px; }
}

/* ---------- No line break inside a word (25 Oct 2026) ----------
   French hyphenated words such as "petit-déjeuner" must not break at their hyphen
   (home hero lead). Wrap the word in <span class="nowrap">, in the page and in its tools/i18n source. */
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Legal pages (25 Oct 2026): legal notice, privacy & cookies, booking terms.
   FR mentions-legales / confidentialite / conditions-de-vente.html, EN legal-notice /
   privacy / booking-terms.html, ES aviso-legal / privacidad / condiciones-de-reserva.html.
   No wireframe exists: text-only hero (.page-hero--text), then the document, with a list of
   its parts held beside the text from 1024 px (main.js marks the part on screen), the short
   version first where there is one, and a plain question-and-contact band to close.
   ========================================================================== */
.page-hero--legal .page-hero-copy { padding-bottom: clamp(40px, 5vw, 72px); }
.page-hero--legal .page-title { max-width: 9em; }
.legal-updated { margin-top: 18px; font-size: 0.875rem; color: var(--ink-soft); }

/* The hairline under the hero sits inside the page margins, like the footer's. */
.legal { padding-bottom: var(--section); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  padding-top: clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

/* ---------- The parts of the page: a numbered list, held in view beside the text ---------- */
.legal-toc {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.legal-toc-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
  border-left: 1px solid var(--line);
}
.legal-toc li { counter-increment: part; }
.legal-toc a {
  display: flex;
  gap: 12px;
  margin-left: -1px;
  padding: 8px 0 8px 18px;
  border-left: 1px solid transparent;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.legal-toc a::before {
  content: counter(part);
  min-width: 1.2em;
  padding-top: 0.2em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.legal-toc a:hover { color: var(--ink); }
.legal-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--accent); }

/* ---------- The text, at a reading width ---------- */
.legal-doc { grid-column: 5 / -1; max-width: 66ch; }
.legal-part + .legal-part,
.legal-summary + .legal-part { margin-top: clamp(48px, 5vw, 72px); }
.legal-h {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading);
  text-wrap: balance;
}
.legal-part > p,
.legal-part > ul,
.legal-part > dl,
.legal-part > table { margin-top: 18px; }
.legal-part p { text-wrap: pretty; }
.legal-part a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.3s var(--ease-out);
}
.legal-part a:not(.btn):hover { text-decoration-color: currentColor; }
.legal-part .btn { margin-top: 22px; }

/* Square bullets in clay: the site's corners are square. */
.legal-list li { position: relative; padding-left: 24px; }
.legal-list li + li { margin-top: 10px; }
.legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* Company details: label and value side by side, stacked on phones. */
.legal-facts {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr);
  gap: 12px 24px;
}
.legal-facts dt { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }
.legal-facts dd { font-variant-numeric: tabular-nums; }

/* Still waiting for a fact (hosting): a dashed slot, never text that looks final. */
.legal-part > .slot { display: block; width: fit-content; margin-top: 18px; }

/* ---------- The short version: the points people check first, on a tinted panel ---------- */
.legal-summary { padding: clamp(28px, 3.5vw, 44px); background: var(--bg-alt); }
.legal-summary-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.6vw, 1.5rem);
  line-height: 1.2;
  color: var(--heading);
}
.legal-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 24px;
}
.legal-summary dl > div { position: relative; padding-left: 38px; }
.legal-summary dt { font-weight: 500; }
.legal-summary dt .icon {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.legal-summary dd {
  margin-top: 4px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Cookies: a real table on wide screens, one card per cookie on phones ---------- */
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.legal-table th {
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.legal-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th:last-child,
.legal-table td:last-child { padding-right: 0; }
.legal-table code { font-family: var(--font-mono); font-size: 0.8125rem; }
/* Wide screens: cookie names, durations and yes/no never break; "What it does" takes the slack. */
@media (min-width: 768px) {
  .legal-table th,
  .legal-table code,
  .legal-table td:nth-child(4),
  .legal-table td:nth-child(5) { white-space: nowrap; }
}

/* ---------- Closing band: the question people still have, and who answers it ---------- */
.legal-end { padding-block: clamp(72px, 8vw, 120px); background: var(--bg-alt); }
.legal-end .h2 { max-width: 13em; }
.legal-end-text { max-width: 46ch; margin-top: 20px; color: var(--ink-soft); }
.legal-end .actions { margin-top: 32px; }

@media (max-width: 1023px) {
  .legal-toc { grid-column: 1 / -1; position: static; margin-bottom: clamp(40px, 6vw, 56px); }
  .legal-toc ol { columns: 2; column-gap: var(--gutter); }
  .legal-toc li { break-inside: avoid; }
  .legal-doc { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .legal-toc ol { columns: 1; }
  .legal-summary dl { grid-template-columns: 1fr; gap: 22px; }
  .legal-facts { grid-template-columns: 1fr; gap: 0; }
  .legal-facts dd + dt { margin-top: 12px; }
  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .legal-table tr:first-child { border-top: 1px solid var(--line-strong); }
  .legal-table td {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 12px;
    padding: 3px 0;
    border: 0;
  }
  .legal-table td::before { content: attr(data-label); font-size: 0.8125rem; color: var(--ink-soft); }
}

/* ---------- Footer: the legal links and "Cookie settings", on every page ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-legal a,
.footer-legal button {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--night-soft);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.footer-legal a:hover,
.footer-legal button:hover,
.footer-legal [aria-current="page"] { color: var(--night-ink); }
.footer-book .footer-legal a,
.footer-book .footer-legal button { min-height: 44px; }
@media (pointer: coarse) {
  .footer-legal a,
  .footer-legal button { min-height: 44px; }
}

/* ==========================================================================
   Cookie consent (25 Oct 2026): asks once before Google Analytics may run.
   Markup in partials/<lang>/header*.html (first in the page, so a screen reader meets
   it early), shown by main.js "Cookie consent" only once CONFIG.ga4Id is set. Not a
   modal: the page stays usable. "Accept all" and "Accept essential" (15 Nov 2026, user) look
   the same, so saying no is as easy as saying yes. Olive-night panel, bottom left; a sheet across the foot on phones.
   ========================================================================== */
.consent {
  --heading: var(--night-ink);
  --accent: var(--night-accent);
  position: fixed;
  left: var(--gutter);
  bottom: 24px;
  z-index: 60;
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 18px 20px 12px;
  border: 1px solid var(--night-line);
  background: var(--night);
  color: var(--night-ink);
  box-shadow: var(--shadow);
}
.js .consent { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.js .consent.is-open { opacity: 1; transform: none; }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 2px solid var(--night-ink); outline-offset: -6px; }
/* 15 Nov 2026 (user): no title, one short paragraph, then "Accept essential" + "Accept all"
   with the details link on the left, like a standard cookie bar. Both buttons look the same. */
.consent-text { font-size: 0.8125rem; line-height: 1.55; color: var(--night-soft); }
.consent-status { margin-top: 10px; font-size: 0.875rem; color: var(--night-ink); }
/* 19 Nov 2026 (user: the French bar broke onto three rows and was too big): 440 px panel,
   smaller text, the two buttons side by side at equal width, the details link under them.
   Same layout in every language and at every width. */
.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.consent-actions .consent-btn { padding: 6px 10px; letter-spacing: 0.08em; white-space: normal; line-height: 1.3; text-align: center; }
.consent-btn {
  --btn-bg: transparent;
  --btn-fg: var(--night-ink);
  --btn-border: rgb(242 239 231 / 0.42);
  --btn-hover: var(--night-ink);
  --btn-hover-fg: var(--night);
}
.consent .consent-btn:focus-visible { outline-color: var(--night-ink); }
.consent-more {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--night-ink);
  font-size: 0.8125rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgb(242 239 231 / 0.4);
}
.consent-more:hover { text-decoration-color: currentColor; }
.consent-more:focus-visible { outline-color: var(--night-ink); }

@media (max-width: 1023px) {
  html.consent-open .mobile-cta { visibility: hidden; }
}
@media (max-width: 767px) {
  .consent {
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px var(--gutter) max(8px, env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-top-color: rgb(242 239 231 / 0.24);
    box-shadow: 0 -18px 40px -14px rgb(20 24 18 / 0.45);
  }
  /* "Essentiels uniquement" is the longest label: on the narrowest phones it may take two lines rather than be cut. */
  .consent-actions .consent-btn { padding: 6px 8px; letter-spacing: 0.06em; }
}
@media (prefers-reduced-motion: reduce) {
  .js .consent { transition: none; transform: none; }
}
@media print {
  .consent { display: none !important; }
}

/* ---------- Restaurant "Stay the night" tile (user, 26 Oct) ----------
   The garden-steps photo is bright, so this tile's scrim starts higher and goes deeper. */
.more-tile:has(img[src*="restaurant-stay-path"])::after {
  background: linear-gradient(180deg, rgb(20 24 18 / 0.05) 0%, rgb(20 24 18 / 0.55) 40%, rgb(20 24 18 / 0.85) 100%);
}
/* "A table for the whole group" (same day): bright parasols behind the text, so a deeper scrim. */
.more-tile:has(img[src*="restaurant-group-table"])::after {
  background: linear-gradient(180deg, rgb(20 24 18 / 0.15) 0%, rgb(20 24 18 / 0.7) 40%, rgb(20 24 18 / 0.9) 100%);
}

/* ---------- About hero: two entrance photos side by side (user, 27 Oct) ----------
   The door on the left, the sign and the lake on the right, both full height (no band behind, user).
   Each frame is a tall crop of a 4:3 photo (object-position picks the part). */
.about-diptych {
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(6px, 0.8vw, 12px);
  align-items: stretch;
}
.about-diptych .media { height: 100%; }
.page-hero--about .page-hero-visual { background: transparent; }
.about-diptych-a img { object-position: 38% 50%; }
.about-diptych-b img { object-position: 67% 50%; }
/* Tablet: the pair is only ~320 px wide, so a shorter frame keeps the door whole. */
@media (min-width: 768px) and (max-width: 1023px) {
  .page-hero--about .page-hero-visual { height: 400px; align-self: center; }
}
@media (max-width: 767px) {
  .page-hero--about .page-hero-visual { height: auto; aspect-ratio: 1 / 1; }
}

/* ---------- Experience, "Out on the lake": two photos side by side (user, 27 Oct) ---------- */
.outing-media.outing-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(6px, 0.8vw, 10px);
  aspect-ratio: 3 / 2;
  background: none;
  overflow: visible;
}
.outing-pair .media { height: 100%; }
.outing-pair-gate img { object-position: 46% 50%; }
.outing-pair-boat img { object-position: 53% 50%; }
.outing:hover .outing-pair .media img { transform: scale(1.04); }

/* ==========================================================================
   Gallery page (galerie.html, en/gallery.html, es/galeria.html). 27 Oct 2026.
   A day at Le Flouka in five chapters, each with its own composition:
   Morning (text held left, two staggered columns), Pools (text on top, three
   columns), Rooms (a sideways rail), At the table (mirrored), Evening (the one
   dark chapter, a panorama). The chapter bar under the header is marked by
   main.js ("Chapters"). Each photo opens the gallery pop-up (.gx-open).
   Phones: two columns, wide photos across both. Square corners throughout.
   ========================================================================== */
html:has(.gx-index) { scroll-padding-top: calc(var(--header-h) + 72px); }

.gx-hero .page-hero-copy { padding-bottom: clamp(48px, 6vw, 96px); }

/* Chapter bar */
.gx-index {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.gx-index ol {
  position: relative;
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.gx-index ol::-webkit-scrollbar { display: none; }
.gx-index a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.gx-index a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.gx-index a:hover,
.gx-index a[aria-current] { color: var(--ink); }
.gx-index a[aria-current]::after { transform: scaleX(1); }
.gx-index a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Chapters */
.gx-chapter--alt { background: var(--bg-alt); }
.gx-chapter--alt .gx-shot { background: var(--bg); }
.gx-chapter--night {
  --heading: var(--night-ink);
  --ink: var(--night-ink);
  --ink-soft: var(--night-soft);
  --accent: var(--night-accent);
  --line-strong: rgb(242 239 231 / 0.4);
  background: var(--night);
  color: var(--night-ink);
}
.gx-chapter--night .gx-shot { background: rgb(242 239 231 / 0.06); }

.gx-head .h2 { max-width: 12em; }
.gx-text {
  max-width: 40ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  line-height: 1.7;
  text-wrap: pretty;
}
.gx-head .text-link { margin-top: 20px; }
.gx-head--top { max-width: 44rem; margin-bottom: clamp(48px, 6vw, 96px); }

/* Text held beside the photos while they scroll by */
.gx-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.gx-split .gx-head {
  grid-column: 1 / span 4;
  position: sticky;
  top: calc(var(--header-h) + 112px);
}
.gx-split .gx-cols { grid-column: 6 / -1; }
.gx-chapter--flip .gx-split .gx-head { grid-column: 9 / -1; grid-row: 1; }
.gx-chapter--flip .gx-split .gx-cols { grid-column: 1 / span 7; grid-row: 1; }

/* Columns of photos, each with its own drop for the staggered rhythm */
.gx-cols {
  display: grid;
  column-gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}
.gx-cols--morning { grid-template-columns: 5fr 3fr; }
.gx-cols--pools   { grid-template-columns: 4fr 3fr 4fr; }
.gx-cols--table   { grid-template-columns: 3fr 5fr; }
.gx-cols--evening { grid-template-columns: 4fr 6fr; padding-right: 8%; }
.gx-col { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 64px); min-width: 0; }
.gx-col--drop    { padding-top: clamp(56px, 9vw, 160px); }
.gx-col--drop-lg { padding-top: clamp(96px, 15vw, 260px); }

/* One photo: the frame keeps its shape before the photo exists (no layout shift) */
.gx-shot {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.gx-item--land   .gx-shot { aspect-ratio: 4 / 3; }
.gx-item--tall   .gx-shot,
.gx-room         .gx-shot { aspect-ratio: 4 / 5; }
.gx-item--square .gx-shot { aspect-ratio: 1 / 1; }
.gx-item--pano   .gx-shot { aspect-ratio: 21 / 9; }
.gx-item--pano { margin-bottom: clamp(40px, 6vw, 96px); }
.gx-shot .media { position: absolute; inset: 0; }
.gx-shot .media img { transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out); }
.gx-shot:hover .media img { transform: scale(1.04); }
.gx-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gx-open:focus-visible { outline: 2px solid var(--light); outline-offset: -8px; }
.gx-cap {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Rooms rail: scrolls sideways by itself (trackpad, touch, keys); the arrows and a mouse drag help */
.gx-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gutter);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.gx-rail-head .gx-head--top { margin-bottom: 0; }
.gx-rail-nav { display: flex; gap: 12px; flex: none; }
/* position: relative keeps the links' screen-reader text (.sr-only, absolute) inside the
   rail's clip; without it, that text pushed the page sideways under reduced motion. */
.gx-rail {
  --rail-pad: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.gx-rail:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gx-rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gx-rail-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 32px);
  width: max-content;
  margin: 0;
  padding: 0 var(--rail-pad) clamp(24px, 3vw, 40px);
  list-style: none;
}
.gx-room {
  position: relative;
  flex: 0 0 clamp(260px, 26vw, 380px);
  scroll-snap-align: start;
}
.gx-room:nth-child(even) { margin-top: clamp(32px, 5vw, 80px); }
.gx-room-name {
  margin: 22px 0 0;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.gx-room-line {
  max-width: 32ch;
  margin: 8px 0 4px;
  color: var(--ink-soft);
  font-size: 0.9688rem;
  line-height: 1.55;
}

@media (max-width: 1023px) {
  .gx-split .gx-head,
  .gx-chapter--flip .gx-split .gx-head {
    grid-column: 1 / -1;
    grid-row: 1;
    position: static;
    margin-bottom: clamp(40px, 6vw, 64px);
  }
  .gx-split .gx-cols,
  .gx-chapter--flip .gx-split .gx-cols { grid-column: 1 / -1; grid-row: 2; }
  .gx-cols--evening { padding-right: 0; }
}

@media (max-width: 767px) {
  html:has(.gx-index) { scroll-padding-top: calc(var(--header-h) + 64px); }
  .gx-index a { min-height: 48px; font-size: 0.875rem; }
  /* Wider than the screen: a soft edge says there is more to the right. */
  .gx-index ol { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px; }
  /* Two columns: wide photos across both, tall and square side by side. */
  .gx-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row dense;
    gap: 28px 12px;
  }
  .gx-col { display: contents; }
  .gx-item--land, .gx-item--pano { grid-column: 1 / -1; }
  .gx-item--pair .gx-shot { aspect-ratio: 4 / 5; }
  .gx-item--pair { grid-column: auto; }
  .gx-item--pano .gx-shot { aspect-ratio: 16 / 10; }
  .gx-item--pano { margin-bottom: 28px; }
  .gx-cap { margin-top: 10px; font-size: 0.8125rem; }
  .gx-rail-head { display: block; }
  .gx-rail-nav { display: none; }
  .gx-room { flex-basis: 76vw; }
  .gx-room:nth-child(even) { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gx-index a,
  .gx-index a::after,
  .gx-shot .media img { transition: none; }
  .gx-shot:hover .media img { transform: none; }
}

/* ==================================================================
   Menu prices: dirhams first, euros second (owner, 4 Nov 2026).
   The euro is a guide (1 € = 10 Dh), set under the dirham price.
   ================================================================== */
.dish-price { text-align: right; line-height: 1.35; }
.dish-price small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* ==================================================================
   Room types with several rooms (user, 8 Nov 2026).
   Under the room's photo grid, one line says no two rooms of the type
   look alike; in the photo pop-up each room's photos carry a small
   label above the caption (main.js: GALLERY_SETS `group`).
   Existing tokens only: ink-soft on linen ≈ 5.7:1, night-accent on
   olive night ≈ 6.7:1.
   ================================================================== */
.room-gallery-foot--variety {
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 40px;
}
.room-variety {
  flex: 1 1 32ch;
  max-width: 64ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.room-gallery-foot--variety .text-link { flex: none; }
.gallery-group {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--night-accent);
}
@media (max-width: 767px) {
  .room-gallery-foot--variety { flex-direction: column; align-items: flex-start; gap: 4px; }
  .room-variety { flex: none; }
}

/* ==========================================================================
   Booking page: payment, guarantee and children note under the facts
   (owner's final French copy, 11 Nov 2026). The list and the note share the
   right-hand cell of .book-head, so the title band keeps its two columns.
   ========================================================================== */
.book-facts-wrap { display: grid; gap: 10px; min-width: 0; }
.book-terms {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 62ch;
}
@media (max-width: 767px) {
  .book-terms { font-size: 0.75rem; }
}

/* ==========================================================================
   French homepage hero: the owner's longer copy (11 Nov 2026)
   12 Nov 2026 (user): "make it look like the English version". The text
   keeps the EN/ES type: the paragraph has the EN size and line height, only
   a wider measure; the headline has the EN size wherever its longer first
   line ("Après l’effervescence de la médina,", 15em) still fits on one
   line: 5.6vw (EN 6.1vw), capped at 5.2rem so it fits the 1264px column.
   On short screens it follows the EN height rule (9.2vh). The shade on the
   left is firmer because the wider text reaches the bright loungers.
   Only index.html (FR) carries these classes; EN and ES keep their hero.
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-title--pivot.hero-title--long { max-width: 15.5em; font-size: min(5.6vw, 5.2rem); }
  .hero--booking .hero-lead--long { max-width: 46ch; }
  .hero-visual:has(.hero-slides) + .hero-scrim:has(~ .hero-content .hero-lead--long) {
    background:
      linear-gradient(180deg, rgb(20 24 18 / 0.5) 0%, rgb(20 24 18 / 0) 24%, rgb(20 24 18 / 0.12) 42%, rgb(20 24 18 / 0.74) 100%),
      linear-gradient(90deg, rgb(20 24 18 / 0.74) 0%, rgb(20 24 18 / 0.5) 48%, rgb(20 24 18 / 0) 82%);
  }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-title--pivot.hero-title--long { font-size: min(5.6vw, 9.2vh, 5.2rem); }
  .hero--booking .hero-lead--long { max-width: 52ch; }
}
