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

    :root {
      --cream: #F5F0E8;
      --cream-dark: #EDE7D9;
      --ink: #1A1714;
      --ink-mid: #3D3830;
      --ink-light: #6E665C;
      --sand: #C4B89A;
      /* Sand reads as a border, not as type. The display numerals are the only
         text allowed to carry it, and they use the darkened step so 4rem serif
         still clears the 3:1 large-text floor on cream. */
      --sand-ink: #968666;
      --rust: #B84C2A;
      /* Rust clears 4.5:1 on cream but only 4.1:1 on cream-dark, so labels
         sitting on the darker ground use this step instead. */
      --rust-ink: #A9411F;
      --ocean: #1E4A5C;
      --serif: 'Playfair Display', Georgia, serif;
      --sans: 'Barlow', sans-serif;
      --condensed: 'Barlow Condensed', sans-serif;
    }

    html {
      scrollbar-gutter: stable;
      overflow-y: scroll;
    }

    body {
      background: var(--cream);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 400;
      line-height: 1.6;
      overflow-x: hidden;
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem 3rem;
      background: var(--cream);
      border-bottom: 1px solid var(--sand);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
    }

    .nav-logo-text {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink);
      line-height: 1;
    }

    .nav-logo-sub {
      font-family: var(--sans);
      font-weight: 300;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-light);
      display: block;
      margin-top: 2px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.8rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-mid);
      text-decoration: none;
      transition: color 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--rust);
    }

    @media (prefers-reduced-motion: reduce) {
      .nav-links a {
        transition: color 0.2s;
      }
    }

    .nav-book {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--cream);
      background: var(--ink);
      padding: 0.65rem 1.5rem;
      text-decoration: none;
      transition: background 0.25s cubic-bezier(0.25, 1, 0.5, 1), transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
      display: inline-block;
    }

    .nav-book:hover {
      background: var(--rust);
      transform: translateY(-2px);
    }

    .nav-book:active {
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .nav-book {
        transition: background 0.2s;
      }
      .nav-book:hover {
        transform: none;
      }
    }

    /* ── HAMBURGER (hidden on desktop) ── */
    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      margin-right: 1.25rem;
      background: none;
      border: 1px solid var(--sand);
      cursor: pointer;
      flex-shrink: 0;
    }
    .nav-toggle:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
    .nav-toggle-bars { position: relative; }
    .nav-toggle-bars,
    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
      content: "";
      display: block;
      width: 20px;
      height: 2px;
      background: var(--ink);
      transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
    }
    .nav-toggle-bars::before,
    .nav-toggle-bars::after { position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -6px; }
    .nav-toggle-bars::after { top: 6px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

    .page-hero {
      padding: 10rem 3rem 5rem;
      background: var(--cream-dark);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: end;
    }

    .hero-label {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--rust-ink);
      margin-bottom: 1.25rem;
    }

    .hero-title {
      font-family: var(--serif);
      font-weight: 900;
      font-size: clamp(3rem, 5vw, 5.5rem);
      line-height: 0.95;
      color: var(--ink);
      text-wrap: balance;
    }

    .hero-title em {
      font-style: italic;
      color: var(--ocean);
    }

    .hero-body {
      font-family: var(--sans);
      font-weight: 300;
      font-size: 1rem;
      line-height: 1.9;
      color: var(--ink-mid);
      max-width: 65ch;
    }

    .hero-note {
      margin-top: 1.5rem;
      background: var(--cream);
      border-left: 3px solid var(--rust);
      padding: 0.85rem 1.25rem;
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.85rem;
      color: var(--ink-mid);
    }

    .hero-note strong {
      font-weight: 600;
      color: var(--ink);
    }

    .filter-bar {
      scroll-margin-top: 5.5rem;
      padding: 2rem 3rem;
      border-bottom: 1px solid var(--sand);
      display: flex;
      align-items: center;
      gap: 1rem;
      background: var(--cream);
      flex-wrap: wrap;
    }

    .filter-scroll {
      display: contents;
    }

    .filter-label {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--ink-light);
      margin-right: 0.5rem;
    }

    .filter-btn {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 0.45rem 1.1rem;
      border: 1px solid var(--sand);
      background: transparent;
      color: var(--ink-mid);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .filter-btn.active {
      background: var(--ink);
      color: var(--cream);
      border-color: var(--ink);
    }

    @media (hover: hover) {
      .filter-btn:hover {
        background: var(--ink);
        color: var(--cream);
        border-color: var(--ink);
      }
    }

    .filter-count {
      margin-left: 0.25rem;
      color: var(--ink-light);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.7rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    #availabilityToggle:focus-visible,
    #availabilityToggle.active {
      background: var(--rust);
      border-color: var(--rust);
      color: var(--cream);
    }

    @media (hover: hover) {
      #availabilityToggle:hover {
        background: var(--rust);
        border-color: var(--rust);
        color: var(--cream);
      }
    }

    .availability-panel {
      position: relative;
      z-index: 90;
      scroll-margin-top: 5.5rem;
      max-height: 0;
      overflow: visible;
      padding: 0 3rem;
      border-bottom: 1px solid var(--sand);
      background: var(--cream-dark);
      opacity: 0;
      transform: translateY(-0.5rem);
      transition: max-height 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, padding 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
      visibility: hidden;
    }

    .availability-panel.is-open {
      max-height: 220px;
      padding: 0.85rem 3rem;
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }

    .availability-fields {
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 1rem;
      max-width: 520px;
      margin: 0 auto;
    }

    .availability-field {
      flex: 0 1 17rem;
      min-width: 0;
    }

    .availability-field label {
      display: block;
      margin-bottom: 0.3rem;
      color: var(--ink-light);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .availability-input-wrap {
      position: relative;
    }

    .availability-currency {
      flex: 0 0 auto;
    }

    .availability-currency[hidden] {
      display: none;
    }

    .availability-currency label {
      display: block;
      margin-bottom: 0.3rem;
      color: var(--ink-light);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .availability-currency label[hidden],
    .availability-currency select[hidden] {
      display: none;
    }

    .availability-currency-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      min-height: 2.75rem;
    }

    /* Same face and size as the date input. Fixed width: the open list shows
       "EUR · Euro" but the closed control stays at three letters. */
    .availability-currency select {
      width: 4.75rem;
      height: 2.75rem;
      box-sizing: border-box;
      border: 1px solid var(--sand);
      border-radius: 0;
      background-color: var(--cream);
      color: var(--ink);
      cursor: pointer;
      font-family: var(--sans);
      font-size: 0.95rem;
      line-height: 1.2;
      padding: 0.1rem 0.5rem 0.1rem 0.85rem;
    }

    .availability-currency select:focus {
      border-color: var(--ink);
      outline: 0;
    }

    .currency-info {
      position: relative;
      display: inline-flex;
    }

    .currency-info-btn {
      width: 1.5rem;
      height: 1.5rem;
      padding: 0;
      border: 1px solid var(--ink-light);
      border-radius: 50%;
      background: transparent;
      color: var(--ink-mid);
      font-family: var(--serif);
      font-style: italic;
      font-weight: 700;
      font-size: 0.85rem;
      line-height: 1;
      cursor: pointer;
    }

    /* The hit area is larger than the glyph so a fingertip lands on it. */
    .currency-info-btn::before {
      content: "";
      position: absolute;
      inset: -0.6rem;
    }

    .currency-info-btn:focus-visible {
      outline: 2px solid var(--rust);
      outline-offset: 2px;
    }

    .currency-tooltip {
      position: absolute;
      top: calc(100% + 0.5rem);
      right: -0.5rem;
      z-index: 100;
      width: min(20rem, calc(100vw - 3rem));
      padding: 0.8rem 0.95rem;
      background: var(--ink);
      color: var(--cream);
      font-family: var(--sans);
      font-size: 0.82rem;
      line-height: 1.5;
      text-align: left;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-0.25rem);
      transition: opacity 0.18s ease, transform 0.18s ease;
      visibility: hidden;
    }

    /* Bridges the gap to the icon so the credit link can be reached. */
    .currency-tooltip::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 0.6rem;
    }

    .currency-info-btn[aria-expanded="true"] + .currency-tooltip,
    .currency-info:hover .currency-tooltip,
    .currency-info:focus-within .currency-tooltip {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
      visibility: visible;
    }

    .price-currency-credit {
      color: var(--sand);
      text-decoration: underline;
      text-underline-offset: 2px;
      white-space: nowrap;
    }

    @media (prefers-reduced-motion: reduce) {
      .currency-tooltip { transition: none; }
    }

    .availability-field input {
      width: 100%;
      height: 2.75rem;
      box-sizing: border-box;
      border: 1px solid var(--sand);
      background: var(--cream);
      color: var(--ink);
      cursor: pointer;
      font-family: var(--sans);
      font-size: 0.95rem;
      line-height: 1.2;
      padding: 0.1rem 2.5rem 0.1rem 0.85rem;
    }

    .availability-field input:focus {
      border-color: var(--ink);
      outline: 0;
    }

    .availability-spinner {
      position: absolute;
      top: 50%;
      right: 0.85rem;
      width: 1rem;
      height: 1rem;
      margin-top: -0.5rem;
      border: 2px solid rgba(196, 184, 154, 0.55);
      border-top-color: var(--rust);
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      animation: availabilitySpin 0.75s linear infinite;
    }

    .availability-field.is-loading .availability-spinner {
      opacity: 1;
    }

    @keyframes availabilitySpin {
      to {
        transform: rotate(360deg);
      }
    }

    .date-picker {
      position: absolute;
      top: calc(100% + 12px);
      left: 50%;
      z-index: 80;
      width: min(760px, calc(100vw - 6rem));
      border: 1px solid var(--sand);
      background: var(--cream);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, -0.5rem);
      transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
      visibility: hidden;
    }

    .date-picker.is-open {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, 0);
      visibility: visible;
    }

    .date-picker-nav-button {
      position: absolute;
      top: 0.75rem;
      width: 2.1rem;
      height: 2.1rem;
      display: grid;
      place-items: center;
      border: 1px solid var(--sand);
      background: transparent;
      color: var(--ink-mid);
      cursor: pointer;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1rem;
    }

    .date-picker-nav-button.prev {
      left: 1.25rem;
    }

    .date-picker-nav-button.next {
      right: 1.25rem;
    }

    .date-picker-nav-button:hover,
    .date-picker-nav-button:focus-visible {
      background: var(--ink);
      color: var(--cream);
      outline: 0;
    }

    .date-picker-nav-button:disabled {
      color: var(--sand);
      cursor: not-allowed;
    }

    .date-picker-nav-button:disabled:hover {
      background: transparent;
      color: var(--sand);
    }

    .date-picker-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      padding: 0.75rem 1.25rem 1.25rem;
    }

    .calendar-month-title {
      min-height: 2.1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.9rem;
      color: var(--ink);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 1px;
      background: var(--sand);
      border: 1px solid var(--sand);
    }

    .calendar-weekday,
    .calendar-day {
      min-height: 2.35rem;
      display: grid;
      place-items: center;
      background: var(--cream);
      color: var(--ink-mid);
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .calendar-weekday {
      color: var(--ink-light);
      background: var(--cream-dark);
    }

    .calendar-day {
      border: 0;
      cursor: pointer;
      position: relative;
    }

    .calendar-day:hover,
    .calendar-day:focus-visible {
      background: var(--ink);
      color: var(--cream);
      outline: 0;
    }

    .calendar-day.is-today:hover,
    .calendar-day.is-today:focus-visible {
      background: var(--cream);
      color: var(--rust);
    }

    .calendar-day.is-muted {
      color: rgba(122, 114, 104, 0.24);
      cursor: default;
    }

    .calendar-day.is-muted:hover {
      background: var(--cream);
      color: rgba(122, 114, 104, 0.24);
    }

    .calendar-day.is-disabled,
    .calendar-day.is-disabled:hover,
    .calendar-day.is-disabled:focus-visible {
      background: var(--cream);
      color: rgba(122, 114, 104, 0.42);
      cursor: not-allowed;
      outline: 0;
    }

    .calendar-day.is-today {
      color: var(--rust);
    }

    .calendar-day[data-tooltip]::after {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 0.18rem);
      z-index: 3;
      width: max-content;
      max-width: 12rem;
      padding: 0.45rem 0.6rem;
      background: var(--ink);
      color: var(--cream);
      content: attr(data-tooltip);
      font-family: var(--sans);
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0;
      line-height: 1.25;
      opacity: 0;
      pointer-events: none;
      text-transform: none;
      transform: translate(-50%, 0.25rem);
      transition: opacity 0.16s ease, transform 0.16s ease;
      visibility: hidden;
      white-space: normal;
    }

    .calendar-day[data-tooltip]:hover::after {
      opacity: 1;
      transform: translate(-50%, 0);
      visibility: visible;
    }

    .calendar-day.is-disabled.is-today {
      color: var(--rust);
    }

    .calendar-day.is-in-range {
      background: var(--cream-dark);
      color: var(--ink);
    }

    .calendar-day.is-selected {
      background: var(--ink);
      color: var(--cream);
    }

    .availability-status {
      min-height: 1.4rem;
      margin: 1rem auto 0;
      max-width: 720px;
      color: var(--ink-mid);
      font-family: var(--sans);
      font-size: 0.88rem;
      text-align: center;
    }

    .availability-status.is-error {
      color: var(--rust);
      font-weight: 500;
    }

    .availability-empty {
      display: none;
      margin: 0 3rem 3rem;
      border: 1px solid var(--sand);
      background: var(--cream-dark);
      color: var(--ink-mid);
      font-family: var(--sans);
      font-size: 0.95rem;
      padding: 1.25rem;
      text-align: center;
    }

    .availability-empty.is-visible {
      display: block;
    }

    .rooms-list {
      position: relative;
      z-index: 1;
      padding: 4rem 3rem;
    }

    .rooms-list.is-loading .room-row {
      opacity: 0.5;
    }

    .room-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid var(--sand);
      margin-bottom: 2px;
      overflow: hidden;
      scroll-margin-top: 5.5rem; /* index.html room cards deep-link here */
      transition: border-color 0.2s, opacity 0.2s ease;
    }

    .room-row:hover {
      border-color: var(--ink-mid);
    }

    .room-row.reverse {
      direction: rtl;
    }

    .room-row.reverse>* {
      direction: ltr;
    }

    .room-image-wrap {
      position: relative;
      overflow: hidden;
      background: var(--ink-mid);
      aspect-ratio: 1 / 1;
    }

    .room-gallery {
      position: relative;
      width: 100%;
      height: 100%;
      display: block;
      border: 0;
      background: var(--ink-mid);
      cursor: zoom-in;
      overflow: hidden;
      padding: 0;
    }

    .room-gallery img {
      position: absolute;
      -webkit-user-drag: none;
      user-select: none;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      filter: sepia(8%) contrast(1.04);
      transition: transform 0.5s ease, filter 0.3s ease;
    }

    /* last-of-type, not last-child: the gallery-count span is the button's last
       child until a slide is swapped in, which otherwise left the initial photo
       without its hover zoom. */
    .room-gallery:hover img:last-of-type:not(.slide-moving),
    .room-gallery:focus-visible img:last-of-type:not(.slide-moving) {
      transform: scale(1.04);
      filter: sepia(12%) contrast(1.08);
    }

    .room-gallery:focus-visible {
      outline: 2px solid var(--rust);
      outline-offset: -2px;
    }

    .gallery-count {
      position: absolute;
      /* Swapped-in slides are appended after this span, so it needs a stacking
         order of its own to stay visible once you page through a gallery. */
      z-index: 2;
      right: 1rem;
      bottom: 1rem;
      background: rgba(26, 23, 20, 0.82);
      color: var(--cream);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 0.35rem 0.65rem;
      pointer-events: none;
    }

    .preview-nav {
      position: absolute;
      top: 50%;
      z-index: 3;
      width: 2.5rem;
      height: 2.5rem;
      display: grid;
      place-items: center;
      transform: translateY(-50%);
      border: 1px solid rgba(245, 240, 232, 0.7);
      background: rgba(26, 23, 20, 0.62);
      color: var(--cream);
      cursor: pointer;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1rem;
      line-height: 1;
      opacity: 0;
      transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
    }

    .room-image-wrap:hover .preview-nav,
    .preview-nav:focus-visible {
      opacity: 1;
    }

    .preview-nav:hover,
    .preview-nav:focus-visible {
      background: var(--cream);
      color: var(--ink);
      outline: 0;
    }

    .preview-nav.prev {
      left: 1rem;
    }

    .preview-nav.next {
      right: 1rem;
    }

    .preview-nav[hidden] {
      display: none;
    }

    .slide-moving {
      pointer-events: none;
      transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }

    .slide-from-next {
      transform: translateX(100%);
    }

    .slide-from-prev {
      transform: translateX(-100%);
    }

    .slide-out-next {
      transform: translateX(-100%);
    }

    .slide-out-prev {
      transform: translateX(100%);
    }

    .photo-overlay {
      position: fixed;
      inset: 0;
      z-index: 300;
      display: none;
      grid-template-rows: auto 1fr auto;
      overscroll-behavior: contain;
      /* Against a cream page 0.94 let the hero copy read straight through the
         backdrop. The viewer owns the screen; it should look like it. */
      background: rgba(26, 23, 20, 0.985);
      color: var(--cream);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.26s ease;
    }

    .photo-overlay.is-mounted {
      display: grid;
    }

    .photo-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    /* The same lock the booking modal uses: html is the scroll container
       (overflow-y: scroll), so it is the one that has to be locked. The old
       rule only pinned the x axis and leaned on a blanket touchmove kill,
       which is also what made swiping impossible. */
    html:has(body.gallery-open) {
      overflow: hidden;
    }

    body.gallery-open {
      overflow: hidden;
    }

    .photo-overlay-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.25rem 1.5rem;
      border-bottom: 1px solid rgba(196, 184, 154, 0.45);
    }

    .photo-overlay-title,
    .photo-overlay-count {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    .photo-overlay-count {
      color: var(--sand);
    }

    .photo-overlay-close,
    .photo-overlay-nav {
      border: 1px solid rgba(196, 184, 154, 0.6);
      background: transparent;
      color: var(--cream);
      cursor: pointer;
      font-family: var(--condensed);
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .photo-overlay-close {
      display: grid;
      place-items: center;
      min-height: 2.75rem;
      padding: 0.55rem 0.9rem;
      font-size: 0.7rem;
    }

    .photo-overlay-close:hover,
    .photo-overlay-nav:hover,
    .photo-overlay-close:focus-visible,
    .photo-overlay-nav:focus-visible {
      background: var(--cream);
      color: var(--ink);
      outline: 0;
    }

    .photo-overlay-stage {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 0;
      padding: 2rem clamp(1rem, 5vw, 5rem);
      transform: scale(0.985);
      transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .photo-overlay.is-open .photo-overlay-stage {
      transform: scale(1);
    }

    .photo-overlay-frame {
      position: relative;
      width: min(100%, 1180px);
      height: calc(100dvh - 9rem);
      overflow: hidden;
      display: grid;
      place-items: center;
    }

    .photo-overlay-frame img {
      position: absolute;
      -webkit-user-drag: none;
      user-select: none;
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
    }

    .photo-overlay-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 3rem;
      height: 3rem;
      display: grid;
      place-items: center;
      font-size: 1rem;
    }

    .photo-overlay-nav.prev {
      left: 1.5rem;
    }

    .photo-overlay-nav.next {
      right: 1.5rem;
    }

    .photo-overlay-nav[hidden] {
      display: none;
    }

    .photo-overlay-caption {
      padding: 0 1.5rem 1.25rem;
      color: var(--sand);
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.18em;
      text-align: center;
      text-transform: uppercase;
    }

    .room-info {
      padding: 3rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: var(--cream);
    }

    .room-number {
      font-family: var(--serif);
      font-weight: 900;
      font-size: 4rem;
      line-height: 1;
      color: var(--sand-ink);
      margin-bottom: 0.5rem;
    }

    .room-name {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 1.75rem;
      color: var(--ink);
      line-height: 1.2;
      margin-bottom: 0.5rem;
    }

    .room-name em {
      font-style: italic;
    }

    .room-floor {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-light);
      margin-bottom: 1.5rem;
    }

    .room-desc {
      font-family: var(--sans);
      font-weight: 300;
      font-size: 0.9rem;
      line-height: 1.8;
      color: var(--ink-mid);
      margin-bottom: 2rem;
    }

    .room-features {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }

    .feature-tag {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 0.3rem 0.7rem;
      border: 1px solid var(--sand);
      color: var(--ink-mid);
    }

    .room-cta {
      display: inline-block;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--cream);
      background: var(--ink);
      padding: 0.85rem 2rem;
      text-decoration: none;
      transition: background 0.2s;
    }

    .room-cta:hover,
    .room-cta:focus-visible {
      background: var(--rust);
      outline: 2px solid var(--rust);
      outline-offset: 2px;
    }

    .room-actions {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.25rem;
      min-height: 3.8rem;
      margin-top: auto;
      transform: translateY(24px);
    }

    .room-live-price {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      min-width: 10rem;
      min-height: 2.8rem;
      margin-left: auto;
      font-family: var(--condensed);
      letter-spacing: 0.12em;
      text-align: right;
      text-transform: uppercase;
      visibility: hidden;
    }

    .room-live-price.is-visible {
      visibility: visible;
    }

    .room-live-price-total {
      color: var(--ink);
      font-weight: 700;
      font-size: 2rem;
      line-height: 1.1;
    }

    .room-live-price.is-nightly .room-live-price-total {
      font-size: 1.1rem;
      line-height: 1.2;
    }

    .room-live-price.is-nightly .room-live-price-night {
      display: none;
    }

    .room-live-price.is-single-night .room-live-price-total {
      font-size: 2rem;
    }

    .room-live-price-night {
      margin-top: 0.25rem;
      color: var(--ink-light);
      font-weight: 600;
      font-size: 0.72rem;
      line-height: 1;
      min-height: 0.75rem;
    }

    .room-live-price.is-single-night .room-live-price-night {
      display: none;
    }

    .room-live-price-night:empty::after {
      content: ".";
      visibility: hidden;
    }

    /* The LKR figure under a converted price: what the guest actually pays. */
    .room-live-price-lkr {
      margin-top: 0.3rem;
      color: var(--ink-light);
      font-weight: 600;
      font-size: 0.72rem;
      line-height: 1;
    }

    .room-live-price-lkr:empty {
      display: none;
    }

    .section-label {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--rust-ink);
      margin-bottom: 1.5rem;
    }

    .amenities-section {
      padding: 5rem 3rem;
      background: var(--cream-dark);
    }

    .amenities-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      margin-top: 2.5rem;
    }

    .amenity-item {}

    .amenity-icon {
      min-height: 1.8rem;
      width: 1.8rem;
      font-family: var(--condensed);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: var(--rust-ink);
      margin-bottom: 0.75rem;
    }

    .amenity-icon svg {
      width: 1.65rem;
      height: 1.65rem;
      display: block;
      stroke: currentColor;
    }

    .amenity-name {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      margin-bottom: 0.25rem;
    }

    .amenity-desc {
      font-family: var(--sans);
      font-weight: 300;
      font-size: 0.8rem;
      color: var(--ink-light);
      line-height: 1.6;
    }

    footer {

      /* Dark ground: muted text here is sand, not ink-light (3.2:1 on ink). */

      --ink-light: var(--sand);
      background: var(--ink);
      color: var(--cream);
      padding: 3rem 3rem 2rem;
    }

    .footer-bottom-simple {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-copy {
      font-family: var(--sans);
      font-weight: 300;
      font-size: 0.75rem;
      color: var(--ink-light);
    }

    .footer-links {
      display: flex;
      gap: 2rem;
    }

    .footer-links a {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-light);
      text-decoration: none;
    }

    .footer-links a:hover {
      color: var(--cream);
    }

    @media (max-width: 900px) {
      nav {
        padding: 1rem 1.5rem;
      }

      .nav-toggle { display: flex; }
      .nav-logo { margin-right: auto; min-height: 44px; }

      .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--sand);
        padding: 0.25rem 1.5rem 0.75rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-0.5rem);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        max-height: calc(100dvh - 4rem);
        overflow-y: auto;
      }

      .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
      .nav-links li { width: 100%; }
      .nav-links a { display: block; padding: 0.95rem 0.25rem; font-size: 0.9rem; border-top: 1px solid var(--sand); }
      .nav-links li:first-child a { border-top: none; }
      .nav-book { padding: 0.65rem 1rem; font-size: 0.75rem; min-height: 44px; display: inline-flex; align-items: center; }

      .page-hero {
        grid-template-columns: 1fr;
        padding: 7rem 1.5rem 3rem;
        gap: 2rem;
      }

      .filter-bar {
        padding: 1.5rem;
      }

      .availability-panel {
        padding: 0 1.5rem;
      }

      .availability-panel.is-open {
        max-height: 320px;
        padding: 0.85rem 1.5rem;
      }

      .availability-fields {
        gap: 0.75rem;
      }

      .availability-field {
        flex: 1 1 0;
      }

      .date-picker {
        width: calc(100vw - 3rem);
        max-height: calc(100dvh - 8rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        scroll-margin-top: 5.5rem;
      }

      .date-picker-inner {
        grid-template-columns: 1fr;
      }

      .availability-empty {
        margin: 0 1.5rem 2rem;
      }

      .rooms-list {
        padding: 2rem 1.5rem;
      }

      .room-row {
        grid-template-columns: 1fr;
      }

      .room-row.reverse {
        direction: ltr;
      }

      /* On a phone the photo is the whole point, so it gets the whole screen.
         The bar and caption ride over it on gradients instead of taking grid
         rows of their own, which is what squeezed the image into a third of
         the viewport. dvh, not vh, so the browser chrome cannot clip it. */
      .photo-overlay {
        grid-template-rows: 1fr;
      }

      .photo-overlay-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2;
        align-items: flex-start;
        padding: max(1rem, calc(0.5rem + env(safe-area-inset-top))) 1rem 2.5rem;
        border-bottom: 0;
        background: linear-gradient(to bottom, rgba(26, 23, 20, 0.92), rgba(26, 23, 20, 0));
        pointer-events: none;
      }

      .photo-overlay-close {
        pointer-events: auto;
      }

      .photo-overlay-stage {
        padding: 0;
        /* Vertical panning and pinch-zoom stay with the browser; horizontal
           is ours. */
        touch-action: pan-y pinch-zoom;
      }

      .photo-overlay-stage img {
        max-height: 100%;
      }

      .photo-overlay-frame {
        width: 100%;
        height: 100dvh;
      }

      .photo-overlay-nav {
        top: auto;
        bottom: max(4.5rem, calc(4rem + env(safe-area-inset-bottom)));
        transform: none;
      }

      .photo-overlay-nav.prev {
        left: 1rem;
      }

      .photo-overlay-nav.next {
        right: 1rem;
      }

      .photo-overlay-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        padding: 3rem 1.5rem max(1.25rem, env(safe-area-inset-bottom));
        background: linear-gradient(to top, rgba(26, 23, 20, 0.92), rgba(26, 23, 20, 0));
        pointer-events: none;
      }

      .preview-nav {
        opacity: 1;
        width: 2.75rem;
        height: 2.75rem;
      }

      .amenities-grid {
        grid-template-columns: 1fr 1fr;
      }

      .amenities-section {
        padding: 3rem 1.5rem;
      }

      .room-info {
        padding: 1.75rem;
      }

      .room-number {
        font-size: 3rem;
      }

      .room-name {
        font-size: 1.5rem;
      }

      .room-desc {
        margin-bottom: 1.5rem;
      }

      .room-features {
        margin-bottom: 1.5rem;
      }

      .room-actions {
        transform: none;
      }

      /* Single column has no sides to enter from, and the sideways version
         starts outside the viewport and arrives clipped. Y only. */
      .js-anim .room-row.reveal,
      .js-anim .room-row.reverse.reveal {
        transform: translate3d(0, 16px, 0);
      }

      .js-anim .room-row.reveal.is-in,
      .js-anim .room-row.reverse.reveal.is-in {
        transform: none;
      }

      .filter-btn {
        min-height: 2.75rem;
        padding: 0.7rem 1.1rem;
      }

      footer {
        padding: 2rem 1.5rem;
      }

      .footer-bottom-simple {
        flex-wrap: wrap;
        gap: 0.75rem;
      }

      .footer-links {
        gap: 1.25rem;
      }
    }

    @media (max-width: 540px) {
      .page-hero {
        padding: 6.5rem 1.25rem 2.5rem;
        gap: 1.5rem;
      }

      .hero-title {
        font-size: clamp(2.4rem, 7.5vw, 3rem);
      }

      .filter-bar {
        padding: 1rem 1.25rem;
        gap: 0.6rem;
      }

      .availability-panel {
        padding: 0 1.25rem;
      }

      .availability-panel.is-open {
        padding: 0.85rem 1.25rem;
      }

      .rooms-list {
        padding: 1.5rem 1.25rem;
      }

      .room-image-wrap {
        aspect-ratio: 4 / 3;
      }

      .room-info {
        padding: 1.25rem;
      }

      .room-number {
        font-size: 2.5rem;
      }

      .room-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 0.75rem;
        transform: none;
      }

      .room-actions.is-rate-only {
        align-items: stretch;
      }

      .room-live-price {
        min-width: 0;
        margin-left: 0;
        text-align: right;
        align-items: flex-end;
      }

      .room-live-price.is-nightly {
        align-self: auto;
      }

      .room-cta {
        text-align: center;
      }

      .amenities-section {
        padding: 2.5rem 1.25rem;
      }

      .amenities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      footer {
        padding: 1.75rem 1.25rem;
      }

      .footer-bottom-simple {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
      }
    }

    /* ─── Phone: one filter row, thumb-sized controls ───────────────────
       Placed after the 540px block so these win wherever the two overlap. */
    @media (max-width: 640px) {
      .filter-bar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
        padding: 0.9rem 1.25rem;
      }

      /* The buttons say what they are; the label was costing a row. */
      .filter-label {
        display: none;
      }

      .filter-scroll {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.6rem;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        /* Bleed to the left edge so the row reads as scrollable rather than
           as a row that happens to be cut off. scroll-padding keeps the snap
           from pulling the first button flush against the screen edge, and the
           right-hand fade says "there is more" instead of "this is clipped". */
        margin-left: -1.25rem;
        padding-left: 1.25rem;
        scroll-padding-left: 1.25rem;
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent 100%);
        mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent 100%);
      }

      .filter-scroll::-webkit-scrollbar {
        display: none;
      }

      .filter-scroll .filter-btn {
        flex: 0 0 auto;
        scroll-snap-align: start;
      }

      .filter-count {
        flex: 0 0 auto;
        margin-left: 0;
      }

      /* One month at a time. Both months are still rendered, so the range
         state, the paging buttons and the desktop layout are untouched — the
         phone just shows the month it is on, which halves the picker and takes
         it back inside the viewport without internal scrolling. Paging with
         › carries any in-progress selection: every cell's state is derived
         from availabilityState at render. */
      .date-picker-inner .calendar-month:nth-child(2) {
        display: none;
      }

      /* Booking-path touch targets. */
      .calendar-day {
        min-height: 2.75rem;
      }

      .date-picker-nav-button {
        width: 2.75rem;
        height: 2.75rem;
      }

      /* 16px or iOS zooms the page the moment this field takes focus —
         the booking sheet's inputs already sit at 16px for the same reason. */
      .availability-field input,
      .availability-currency select {
        font-size: 16px;
      }
    }

    /* Narrow phones: the calendar needs the full width to keep 7 columns
       from collapsing below a fingertip. */
    @media (max-width: 380px) {
      .date-picker {
        width: calc(100vw - 1.5rem);
      }
    }

    @media (max-width: 430px) {
      nav { padding: 1rem; }
      .nav-toggle { width: 44px; height: 44px; margin-right: 0.6rem; }
      .nav-logo-sub { display: none; }
      .nav-book { padding: 0.45rem 0.7rem; font-size: 0.7rem; letter-spacing: 0.06em; }
    }

    @media (max-width: 374px) {
      .hero-title {
        font-size: clamp(2.2rem, 7vw, 2.6rem);
      }

      .filter-btn {
        font-size: 0.72rem;
        padding: 0.65rem 0.85rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .photo-overlay,
      .photo-overlay-stage,
      .room-gallery img,
      .slide-moving {
        transition: none;
      }

      .availability-panel,
      .date-picker,
      .availability-spinner {
        transition: none;
        animation: none;
      }

      .nav-links {
        transition: none;
      }

      .nav-toggle-bars,
      .nav-toggle-bars::before,
      .nav-toggle-bars::after {
        transition: none;
      }
    }

    /* ─── Booking Modal ─────────────────────────────────────────────── */

    .booking-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(26, 23, 20, 0.82);
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 0.26s ease, visibility 0s 0.26s;
    }

    .booking-modal-backdrop.is-open {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      transition: opacity 0.26s ease, visibility 0s;
    }

    .booking-modal {
      position: fixed;
      top: 50%;
      left: 50%;
      z-index: 201;
      width: calc(100% - 3rem);
      max-width: 540px;
      max-height: calc(100dvh - 4rem);
      overflow-y: auto;
      overflow-x: hidden;
      transform: translate(-50%, calc(-50% + 14px));
      background: var(--cream);
      border: 1px solid var(--sand);
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      -webkit-overflow-scrolling: touch;
      transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.3s;
    }

    .booking-modal.is-open {
      transform: translate(-50%, -50%);
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
    }

    /* Lock the page scroll behind the booking modal. html is the scroll
       container (overflow-y: scroll), so it must be the one locked.
       scrollbar-gutter: stable keeps the gutter reserved, so removing the
       scrollbar does not change the layout width. */
    html:has(body.booking-open) {
      overflow: hidden;
    }

    body.booking-open {
      overflow: hidden;
    }

    .booking-modal-image-wrap {
      width: 100%;
      height: 200px;
      overflow: hidden;
      background: var(--ink-mid);
      flex-shrink: 0;
    }

    .booking-modal-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      filter: sepia(8%) contrast(1.04);
    }

    .booking-modal-header {
      padding: 1.5rem 1.75rem 1.25rem;
      border-bottom: 1px solid var(--sand);
      background: var(--cream-dark);
    }

    .booking-modal-header-row {
      display: flex;
      align-items: baseline;
      gap: 0.65rem;
    }

    .booking-modal-number {
      font-family: var(--serif);
      font-weight: 900;
      font-size: 2.5rem;
      line-height: 1;
      color: var(--sand-ink);
      flex-shrink: 0;
    }

    .booking-modal-title {
      font-family: var(--serif);
      font-weight: 700;
      font-size: 1.4rem;
      color: var(--ink);
      line-height: 1.15;
      margin-bottom: 0.3rem;
    }

    .booking-modal-title em {
      font-style: italic;
    }

    .booking-modal-floor {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-modal-header-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      flex-shrink: 0;
      gap: 0.5rem;
    }

    .booking-modal-close {
      flex-shrink: 0;
      width: 2.1rem;
      height: 2.1rem;
      display: grid;
      place-items: center;
      border: 1px solid var(--sand);
      background: transparent;
      color: var(--ink-mid);
      cursor: pointer;
      font-size: 1.1rem;
      line-height: 1;
      transition: background 0.18s, color 0.18s, border-color 0.18s;
    }

    .booking-modal-close:hover,
    .booking-modal-close:focus-visible {
      background: var(--ink);
      color: var(--cream);
      border-color: var(--ink);
      outline: 0;
    }

    .booking-modal-body {
      padding: 1.5rem 1.75rem;
    }

    .booking-modal-dates {
      display: flex;
      align-items: flex-end;
      gap: 1rem;
      margin-bottom: 1.25rem;
    }

    .booking-modal-date-col {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .booking-modal-date-col--nights {
      margin-left: auto;
      text-align: right;
    }

    .booking-modal-date-label {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-modal-date-value {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: 0.06em;
      color: var(--ink);
    }

    .booking-modal-date-sep {
      font-family: var(--condensed);
      font-weight: 400;
      font-size: 0.9rem;
      color: var(--sand);
      padding-bottom: 0.15rem;
    }

    .booking-modal-price {
      padding-bottom: 1.25rem;
      border-bottom: 1px solid var(--sand);
      margin-bottom: 1.25rem;
    }

    .booking-modal-price-total {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1.75rem;
      letter-spacing: 0.06em;
      color: var(--rust);
      line-height: 1.1;
      margin-left: auto;
      text-align: right;
      white-space: nowrap;
    }

    .booking-modal-price-total.is-discounted {
      color: var(--rust);
    }

    .booking-modal-price-detail {
      margin-top: 0.25rem;
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-modal-price-summary {
      display: grid;
      gap: 0.45rem;
      padding: 0.8rem 0;
      margin-bottom: 1rem;
      border-top: 1px solid var(--sand);
    }

    .booking-modal-price-row {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-modal-price-row[hidden] {
      display: none;
    }

    .booking-modal-price-row strong {
      font-weight: 700;
      color: var(--ink);
      white-space: nowrap;
    }

    .booking-modal-price-row.is-discount span:first-child,
    .booking-modal-price-row.is-discount strong {
      color: var(--ocean);
    }

    .booking-modal-price-row.is-local strong {
      color: var(--ink-mid);
    }

    .booking-modal-currency-note {
      margin: 0.2rem 0 0;
      color: var(--ink-light);
      font-family: var(--sans);
      font-size: 0.8rem;
      line-height: 1.5;
    }

    .booking-modal-discount-toggle {
      justify-self: start;
      width: auto;
      border: 0;
      border-bottom: 1px solid var(--sand);
      background: transparent;
      color: var(--ink-mid);
      padding: 0 0 2px;
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      cursor: pointer;
      transition: color 0.18s, border-color 0.18s;
    }

    .booking-modal-discount-toggle:hover,
    .booking-modal-discount-toggle:focus-visible {
      color: var(--rust);
      border-bottom-color: var(--rust);
      outline: 0;
    }

    .booking-modal-form {
      margin-top: 1.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--sand);
      display: grid;
      gap: 0;
    }

    .booking-modal-name-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .booking-modal-discount {
      display: grid;
      gap: 0.5rem;
      margin: 1rem 0 0.5rem;
    }

    .booking-modal-discount[hidden] {
      display: none;
    }

    .booking-modal-discount-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0.6rem;
      align-items: end;
    }

    .booking-modal-discount-apply {
      height: 2.75rem;
      padding: 0 1rem;
      border: 1px solid var(--ink);
      background: var(--cream-dark);
      color: var(--ink);
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.18s, border-color 0.18s;
      white-space: nowrap;
    }

    .booking-modal-discount-apply:hover,
    .booking-modal-discount-apply:focus-visible {
      background: var(--rust);
      border-color: var(--rust);
      color: var(--cream);
      outline: 0;
    }

    .booking-modal-discount-apply:disabled {
      background: var(--cream-dark);
      border-color: var(--sand);
      color: var(--ink-light);
      cursor: default;
    }

    .booking-modal-discount-message {
      min-height: 1.1rem;
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.8rem;
      line-height: 1.4;
      color: var(--ink-light);
    }

    .booking-modal-discount-message.is-success {
      color: var(--ocean);
      font-weight: 500;
    }

    .booking-modal-discount-message.is-error {
      color: var(--rust);
      font-weight: 500;
    }

    .booking-modal-turnstile:not(:empty) {
      margin-top: 0.85rem;
    }

    /* ── Booking outcome panel (success / failure) ──────────────────── */
    .booking-modal-status {
      display: grid;
      gap: 0.7rem;
      padding: clamp(1.25rem, 4vw, 1.6rem);
      margin-bottom: 1.5rem;
    }

    .booking-modal-status[hidden] { display: none; }

    .booking-modal-status:not([hidden]) {
      animation: bookingStatusIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes bookingStatusIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: none; }
    }

    .booking-status-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      margin: 0;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.72rem;
      letter-spacing: 0.26em;
      text-transform: uppercase;
    }

    .booking-status-eyebrow svg {
      width: 1.05rem;
      height: 1.05rem;
      flex: none;
    }

    .booking-status-title {
      margin: 0;
      font-family: var(--serif);
      font-weight: 700;
      font-size: clamp(1.45rem, 5vw, 1.75rem);
      line-height: 1.12;
      color: var(--ink);
    }

    .booking-status-title em {
      font-style: italic;
    }

    .booking-status-text {
      margin: 0;
      max-width: 46ch;
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.92rem;
      line-height: 1.6;
      color: var(--ink-mid);
    }

    /* Success — calm Midigama Deep, the reassuring secondary signal */
    .booking-modal-status.is-success {
      background: color-mix(in oklab, var(--ocean) 7%, var(--cream));
      border: 1px solid color-mix(in oklab, var(--ocean) 24%, var(--sand));
    }

    .booking-modal-status.is-success .booking-status-eyebrow,
    .booking-modal-status.is-success .booking-status-title em {
      color: var(--ocean);
    }

    .booking-status-ref {
      display: flex;
      flex-direction: column;
      gap: 0.22rem;
      margin-top: 0.3rem;
      padding-top: 0.85rem;
      border-top: 1px solid color-mix(in oklab, var(--ocean) 20%, var(--sand));
    }

    .booking-status-ref span {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-status-ref strong {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 1.1rem;
      letter-spacing: 0.14em;
      color: var(--ink);
    }

    /* Failure — Rams Rust, the alert signal */
    .booking-modal-status.is-error {
      background: color-mix(in oklab, var(--rust) 7%, var(--cream));
      border: 1px solid color-mix(in oklab, var(--rust) 30%, var(--sand));
    }

    .booking-modal-status.is-error .booking-status-eyebrow,
    .booking-modal-status.is-error .booking-status-title em {
      color: var(--rust);
    }

    .booking-status-wa {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      align-self: start;
      margin-top: 0.45rem;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.82rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--cream);
      background: var(--ink);
      padding: 0.85rem 1.45rem;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .booking-status-wa svg {
      width: 1.15rem;
      height: 1.15rem;
      flex: none;
    }

    .booking-status-wa:hover,
    .booking-status-wa:focus-visible {
      background: var(--rust);
      outline: 0;
    }

    @media (prefers-reduced-motion: reduce) {
      .booking-modal-status:not([hidden]) { animation: none; }
      .booking-status-wa { transition: background 0.2s ease; }
    }

    .booking-modal-field label {
      display: block;
      margin-bottom: 0.3rem;
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-light);
    }

    .booking-modal-field label span {
      color: var(--sand);
      font-weight: 400;
    }

    .booking-modal-field input {
      width: 100%;
      height: 2.75rem;
      border: 1px solid var(--sand);
      background: var(--cream);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.95rem;
      padding: 0 0.85rem;
      transition: border-color 0.15s;
    }

    .booking-modal-field input::placeholder {
      color: var(--ink-light);
      opacity: 0.5;
    }

    .booking-modal-field input:focus {
      border-color: var(--ink);
      outline: 0;
    }

    .booking-modal-field input[aria-invalid="true"] {
      border-color: var(--rust);
    }

    #bookingModalDiscountCode {
      text-transform: uppercase;
    }

    .booking-modal-field-error {
      display: block;
      margin-top: 0.3rem;
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--rust);
      min-height: 0.85rem;
    }

    .booking-modal-footer {
      padding: 1.25rem 1.75rem;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem 1.5rem;
      border-top: 1px solid var(--sand);
      background: var(--cream-dark);
    }

    .booking-modal-cta {
      font-family: var(--condensed);
      font-weight: 700;
      font-size: 0.78rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--cream);
      background: var(--ink);
      padding: 0.9rem 2rem;
      border: 0;
      cursor: pointer;
      transition: background 0.2s;
      white-space: nowrap;
    }

    .booking-modal-cta:hover,
    .booking-modal-cta:focus-visible {
      background: var(--rust);
      outline: 0;
    }

    .booking-modal-cta.is-pending {
      background: var(--ink-light);
      pointer-events: none;
    }

    .booking-modal-cancel {
      font-family: var(--condensed);
      font-weight: 600;
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-mid);
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--sand);
      padding: 0 0 2px;
      cursor: pointer;
      transition: color 0.18s, border-color 0.18s;
      margin-left: 0;
      margin-right: auto;
    }

    .booking-modal-cancel:hover,
    .booking-modal-cancel:focus-visible {
      color: var(--rust);
      border-bottom-color: var(--rust);
      outline: 0;
    }

    .booking-modal-note {
      width: 100%;
      flex-basis: 100%;
      font-family: var(--sans);
      font-weight: 400;
      font-size: 0.8rem;
      color: var(--ink-light);
      line-height: 1.5;
    }

    .booking-modal-note.is-error {
      color: var(--rust);
      font-weight: 500;
    }

    .booking-modal-note.is-success {
      color: var(--ocean);
      font-weight: 500;
    }

    @media (max-width: 540px) {
      .booking-modal {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        max-height: 100dvh;
        transform: translateY(100%);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
      }

      .booking-modal.is-open {
        transform: translateY(0);
      }

      .booking-modal-image-wrap {
        display: none !important;
      }

      .booking-modal-header,
      .booking-modal-body,
      .booking-modal-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }

      .booking-modal-header {
        padding-top: 1rem;
        padding-bottom: 0.9rem;
      }

      .booking-modal-header-row {
        align-items: flex-end;
      }

      .booking-modal-number {
        font-size: 2rem;
      }

      .booking-modal-title {
        font-size: 1.18rem;
        margin-bottom: 0;
      }

      .booking-modal-price-total {
        font-size: 1.32rem;
      }

      .booking-modal-body {
        padding-top: 1rem;
        padding-bottom: 1rem;
      }

      .booking-modal-dates {
        display: flex;
        align-items: flex-end;
        gap: 0.6rem;
        margin-bottom: 0.85rem;
      }

      .booking-modal-date-col {
        min-width: 0;
      }

      .booking-modal-date-label {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
      }

      .booking-modal-date-value {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
      }

      .booking-modal-date-col--nights {
        margin-left: auto;
        padding-top: 0;
        border-top: 0;
        text-align: right;
      }

      .booking-modal-form {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
      }

      .booking-modal-name-row {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .booking-modal-field input {
        height: 2.65rem;
        font-size: 16px;
      }

      .booking-modal-discount {
        margin-top: 0.8rem;
      }

      .booking-modal-discount-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.45rem;
      }

      .booking-modal-discount-apply {
        height: 2.65rem;
        width: auto;
      }

      .booking-modal-footer {
        position: sticky;
        bottom: 0;
        flex-wrap: nowrap;
        gap: 0.8rem;
        padding-top: 0.9rem;
        padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
      }

      .booking-modal-cta {
        width: auto;
        flex: 1 1 auto;
        text-align: center;
        order: 2;
        min-height: 2.75rem;
      }

      .booking-modal-cancel {
        order: 1;
        width: auto;
        flex: 0 0 auto;
        margin-left: 0;
        margin-right: 0;
        text-align: center;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .booking-modal {
        transform: translate(-50%, -50%);
        transition: opacity 0.18s ease, visibility 0s 0.18s;
      }

      .booking-modal.is-open {
        transition: opacity 0.18s ease, visibility 0s;
      }

      .booking-modal-backdrop {
        transition: opacity 0.18s ease, visibility 0s 0.18s;
      }

      .booking-modal-backdrop.is-open {
        transition: opacity 0.18s ease, visibility 0s;
      }
    }

    /* ─── Safe-area (notch / home indicator) ────────────────────────────
       Paired with viewport-fit=cover. max()/calc keep non-notched devices
       (env → 0) pixel-identical to before. */
    nav {
      padding-left: max(3rem, env(safe-area-inset-left));
      padding-right: max(3rem, env(safe-area-inset-right));
      padding-top: max(1.25rem, calc(0.65rem + env(safe-area-inset-top)));
    }

    .page-hero {
      padding-top: calc(10rem + env(safe-area-inset-top));
    }

    @media (max-width: 900px) {
      nav {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
        padding-top: max(1rem, calc(0.5rem + env(safe-area-inset-top)));
      }
      .page-hero { padding-top: calc(7rem + env(safe-area-inset-top)); }
    }

    @media (max-width: 540px) {
      .page-hero { padding-top: calc(6.5rem + env(safe-area-inset-top)); }
    }

    /* ─── Entrance reveals ──────────────────────────────────────────────
       Opt-in: active only once JS adds .js-anim to <html> (and never under
       prefers-reduced-motion). The default render is fully visible, so no-JS
       clients, crawlers, and reduced-motion users never see a blank section. */
    .js-anim .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: var(--reveal-delay, 0ms);
    }

    .js-anim .reveal.is-in {
      opacity: 1;
      transform: none;
    }

    /* Room rows enter from their image side — the alternating layout earns an
       alternating entrance. border-color stays snappy so hover still feels
       instant once the row has settled. */
    .js-anim .room-row.reveal {
      opacity: 0;
      transform: translate3d(-24px, 16px, 0);
      transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
                  border-color 0.2s ease;
    }

    .js-anim .room-row.reverse.reveal {
      transform: translate3d(24px, 16px, 0);
    }

    .js-anim .room-row.reveal.is-in {
      opacity: 1;
      transform: none;
    }

    /* ─── Delight ───────────────────────────────────────────────────────
       The decorative numeral quietly wakes from sand toward ink when a guest
       considers a room. */
    .room-number {
      transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (hover: hover) {
      .room-row:hover .room-number {
        color: var(--ink-light);
      }
    }

    /* The live room tally gives a single rust pulse — the signal colour as
       feedback — whenever the count changes under a filter. */
    .filter-count {
      display: inline-block;
      transform-origin: left center;
    }

    .filter-count.is-pulsing {
      animation: filterCountPulse 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes filterCountPulse {
      0% { transform: scale(1); color: var(--rust); }
      45% { transform: scale(1.16); color: var(--rust); }
      100% { transform: scale(1); }
    }

    @media (prefers-reduced-motion: reduce) {
      .room-number { transition: none; }
      .filter-count.is-pulsing { animation: none; }
    }
