/* Shared appearance surfaces. Photography and the hero's overlaid text retain their original colors. */
html[data-theme="light"] {
  color-scheme: light;
  --theme-bg: #f6f9f9;
  --theme-surface: #fff;
  --theme-raised: #edf3f5;
  --theme-ink: #17394a;
  --theme-muted: #526873;
  --theme-line: #d4e0e4;
  --paper: var(--theme-bg);
  --white: var(--theme-surface);
  --ink: var(--theme-ink);
  --muted: var(--theme-muted);
  --line: var(--theme-line);
  --sd-bg: #fff;
  --sd-ink: #17394a;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #081c28;
  --theme-surface: #122d3b;
  --theme-raised: #1c3d4d;
  --theme-ink: #edf5f7;
  --theme-muted: #b5cbd4;
  --theme-line: #365363;
  --paper: var(--theme-bg);
  --white: var(--theme-surface);
  --ink: var(--theme-ink);
  --muted: var(--theme-muted);
  --line: var(--theme-line);
  --sage: #1a3946;
  --green: #2b6076;
  --sd-bg: #122d3b;
  --sd-ink: #edf5f7;
}
.header-tools { display: flex; align-items: center; justify-content: end; gap: 12px; justify-self: end; }
.theme-toggle[hidden] { display: none !important; }
.theme-toggle {
  --theme-progress: 0;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 66px; width: 66px; min-height: 44px; padding: 0; border: 0;
  border-radius: 24px; background: transparent; cursor: pointer; touch-action: pan-y;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.theme-toggle[aria-pressed="true"] { --theme-progress: 1; }
.theme-toggle:focus-visible { outline: 2px solid #4197b9; outline-offset: 2px; }
.theme-toggle-track {
  position: relative; display: block; width: 62px; height: 32px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(135deg,#e8f2f5,#d1e3eb);
  box-shadow: inset 0 1px 1px #ffffffde,inset 0 0 0 1px #b7d0dc,inset 0 -2px 7px #38627d24;
  backdrop-filter: blur(8px);
}
.theme-toggle-fill {
  position: absolute; inset: 2px; border-radius: inherit;
  background: linear-gradient(120deg,#185575,#3a9aaf);
  transform: scaleX(var(--theme-progress)); transform-origin: left; opacity: .7;
  transition: transform .32s cubic-bezier(.22,.75,.25,1);
}
.theme-toggle-knob {
  position: absolute; left: 4px; top: 4px; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%; transform: translateX(calc(var(--theme-progress) * 30px));
  background: radial-gradient(ellipse at 28% 12%,#fff,#ffffffa1 62%),#d0e9f4;
  box-shadow: inset 0 1px 1px #fff,inset 0 -2px 4px #0077a53d,0 2px 5px #0014244d;
  transition: transform .38s cubic-bezier(.2,.9,.3,1.16),border-radius .25s,background .25s;
}
.theme-toggle-sun,.theme-toggle-moon { position: absolute; transition: opacity .2s,transform .3s; }
.theme-toggle-sun { opacity: 1; transform: rotate(0) scale(1); color: #91611c; }
.theme-toggle-moon { opacity: 0; transform: rotate(-30deg) scale(.55); color: #163e58; }
.theme-toggle[aria-pressed="true"] .theme-toggle-sun { opacity: 0; transform: rotate(35deg) scale(.55); }
.theme-toggle[aria-pressed="true"] .theme-toggle-moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle[data-dragging] .theme-toggle-knob { transition: none; border-radius: 44% 56% 54% 46%; }
.theme-toggle[data-dragging] .theme-toggle-fill { transition: none; }
.hero-on-cover .theme-toggle-track,
html[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg,#ffffff24,#74acd714);
  box-shadow: inset 0 1px 1px #ffffff73,inset 0 0 0 1px #a7c9da73,inset 0 -2px 7px #00132245;
}
html[data-theme] body { background: var(--theme-bg); color: var(--theme-ink); }
html[data-theme] :focus-visible { outline-color: #448ba8; }
html[data-theme="light"] .stay-section { background: #eaf0f1; }
html[data-theme="light"] .contact-band { background: #e9f1f2; border-color: #d6e3e7; }
html[data-theme="dark"] .site-header { background: #122d3bf7; color: #edf5f7; box-shadow: 0 12px 36px #00000038; }
html[data-theme="dark"] .hero-on-cover .site-header { color: #fffefa; background: transparent; box-shadow: none; }
html[data-theme="dark"] .site-header .brand img { background: #fffefa; }
html[data-theme="dark"] .menu-toggle { color: #e5f1f5; border-color: #5a7787; }
html[data-theme="dark"] .menu-toggle:hover { background: #254a5d; }
html[data-theme="dark"] .section-kicker { color: #b6ced7; }
html[data-theme="dark"] .section-header h2 em,
html[data-theme="dark"] .contact-inner h2 em { color: #a5c8d7; }
html[data-theme="dark"] .stay-section { background: #0d2735; }
html[data-theme="dark"] .stay-copy { background: #173d4d; }
html[data-theme="dark"] .stay-copy .button-glass:hover { background: #e5f0f3; color: #17394a; }
html[data-theme="dark"] .contact-band { background: #133341; border-color: #365363; }
html[data-theme="dark"] .contact-inner .text-link { color: #d9eaf0; }
html[data-theme="dark"] .booking-section,
html[data-theme="dark"] .suite-gallery-section { background: #0a2230; }
html[data-theme="dark"] .booking-section .search-form { background: #163342; border-color: #375769; color: #ecf4f7; box-shadow: 0 18px 48px #00000026; }
html[data-theme="dark"] .booking-section .search-field + .search-field { border-color: #3b5766; }
html[data-theme="dark"] .booking-field-caption { color: #bbd0d9; }
html[data-theme="dark"] .booking-section .booking-date-trigger,
html[data-theme="dark"] .booking-section .bc-trigger { color: #edf5f7; }
html[data-theme="dark"] .booking-section .booking-date-trigger:hover,
html[data-theme="dark"] .booking-section .bc-trigger:hover { color: #b3def0; }
html[data-theme="dark"] .booking-section .booking-date:focus-within,
html[data-theme="dark"] .booking-section .booking-select:focus-within,
html[data-theme="dark"] .booking-section .booking-date:has([aria-expanded="true"]),
html[data-theme="dark"] .booking-section .booking-select:has([aria-expanded="true"]) { background: #224657; }
html[data-theme="dark"] .booking-section .search-action,
html[data-theme="dark"] #request-form > .button { background: #306b85; }
html[data-theme="dark"] .booking-section .search-action:hover,
html[data-theme="dark"] #request-form > .button:hover { background: #3b7c98; }
html[data-theme="dark"] .bc-trigger-detail { color: #adc7d2; }
html[data-theme="dark"] .dialog { background: var(--theme-surface); color: var(--theme-ink); }
html[data-theme="dark"] .gallery-dialog { background: #061c29; color: #edf5f7; }
html[data-theme="dark"] .dialog::backdrop { background: #010c13d9; }
html[data-theme="dark"] .dialog-close { color: #deedf4; background: #1c4052; border-color: #527282; }
html[data-theme="dark"] #request-dialog { background: #122d3b; color: #edf5f7; }
html[data-theme="dark"] #request-dialog .section-kicker { color: #b5cbd4; }
html[data-theme="dark"] #request-dialog .dialog-copy > p:not(.eyebrow) { color: #b5cbd4; }
html[data-theme="dark"] #request-form .booking-date,
html[data-theme="dark"] #request-form .booking-select { background: #193a4a; border-color: #3c5a69; }
html[data-theme="dark"] #request-form .booking-date-trigger,
html[data-theme="dark"] #request-form .bc-trigger { color: #edf5f7; }
html[data-theme="dark"] #request-form .booking-date:focus-within,
html[data-theme="dark"] #request-form .booking-select:focus-within { border-color: #84b9cc; box-shadow: 0 0 0 1px #84b9cc; }
html[data-theme="dark"] #request-form .booking-request-summary { background: #224657; color: #dcecf3; }
html[data-theme="dark"] .bc-panel { background: #153442; border-color: #3a5868; color: #edf5f7; color-scheme: dark; box-shadow: 0 20px 70px #00000066; }
html[data-theme="dark"] .bc-panel-header { border-color: #3b5665; }
html[data-theme="dark"] .bc-panel .bc-panel-title { color: #edf5f7; }
html[data-theme="dark"] .bc-panel .bc-close { background: #244b5d; color: #deedf4; }
html[data-theme="dark"] .bc-panel .bc-close:hover { background: #305e72; }
html[data-theme="dark"] .bc-panel .bc-guest-intro,
html[data-theme="dark"] .bc-guest-unit,
html[data-theme="dark"] .bc-suite-meta { color: #b4cbd5; }
html[data-theme="dark"] .bc-panel .bc-step { border-color: #6d8a9a; background: #1c4052; color: #eaf4f7; }
html[data-theme="dark"] .bc-panel .bc-step:not(:disabled):hover { background: #396b81; border-color: #90b5c6; }
html[data-theme="dark"] .bc-guest-count { color: #f1f7fa; }
html[data-theme="dark"] .bc-panel .bc-capacity-hint { background: #214758; color: #c6dce5; }
html[data-theme="dark"] .bc-panel .bc-done { background: #36728c; border-color: #36728c; }
html[data-theme="dark"] .bc-panel .bc-done:hover { background: #4486a1; border-color: #4486a1; }
html[data-theme="dark"] .bc-suite-option.is-highlighted { background: #244959; }
html[data-theme="dark"] .bc-suite-option[aria-selected="true"] { background: #2b5366; border-color: #658797; }
html[data-theme="dark"] .bc-suite-any { background: #284e61; color: #c1dbe6; }
html[data-theme="dark"] .bc-suite-check { color: #b0deee; }
html[data-theme="dark"] .booking-select .bc-field-error,
html[data-theme="dark"] .bc-panel .bc-panel-error,
html[data-theme="dark"] .booking-field-error { color: #ffb4a6; }
html[data-theme="dark"] .booking-date-trigger[aria-invalid="true"] { color: #ffb4a6; }
html[data-theme="dark"] #booking-calendar { background: #153442; color: #edf5f7; border-color: #3a5868; box-shadow: 0 24px 80px #00000066; }
html[data-theme="dark"] .booking-calendar-heading p,
html[data-theme="dark"] .booking-calendar-navigation p,
html[data-theme="dark"] .booking-calendar-steps span,
html[data-theme="dark"] .booking-calendar-weekdays > span,
html[data-theme="dark"] .booking-calendar-footer-copy span { color: #b4cbd5; }
html[data-theme="dark"] .booking-calendar-close,
html[data-theme="dark"] .booking-calendar-navigation > button { border-color: #597888; background: #1d4052; color: #eaf4f7; }
html[data-theme="dark"] .booking-calendar-close:hover,
html[data-theme="dark"] .booking-calendar-navigation > button:not(:disabled):hover { background: #2e596d; }
html[data-theme="dark"] .booking-calendar-steps > button { background: #193e50; border-color: #4b697a; color: #edf5f7; }
html[data-theme="dark"] .booking-calendar-steps > button.is-active { background: #284f62; border-color: #8db6c7; box-shadow: inset 0 0 0 1px #8db6c7; }
html[data-theme="dark"] .booking-calendar-cell button { color: #eaf4f7; }
html[data-theme="dark"] .booking-calendar-cell button:disabled { color: #718c9b; }
html[data-theme="dark"] .booking-calendar-cell button:not(:disabled):hover { background: #325c71; }
html[data-theme="dark"] .booking-calendar-cell.in-range,
html[data-theme="dark"] .booking-calendar-cell.is-start:has(~ .in-range),
html[data-theme="dark"] .booking-calendar-cell.is-end { background: linear-gradient(transparent 2px,#284f62 2px,#284f62 calc(100% - 2px),transparent calc(100% - 2px)); }
html[data-theme="dark"] .booking-calendar-cell.is-start button,
html[data-theme="dark"] .booking-calendar-cell.is-end button { background: #91c7dd; color: #0b2939; }
html[data-theme="dark"] .booking-calendar-footer { border-color: #405c6b; }
html[data-theme="dark"] .booking-calendar-clear { color: #c1d9e4; border-color: #6c8b9b; }
html[data-theme="dark"] .booking-calendar-apply { background: #36728c; border-color: #36728c; }
html[data-theme="dark"] .booking-calendar-apply:not(:disabled):hover { background: #4486a1; }
html[data-theme="dark"] .booking-calendar-apply:disabled { background: #244555; border-color: #244555; color: #89a5b4; }
html[data-theme="dark"] .lf-footer { --lf-bg: #061722; --lf-panel: #112e3d; --lf-line: #ffffff26; }
html[data-theme="dark"] .lc-dock { --lc-bg: #173746; --lc-ink: #eaf4f7; --lc-line: #365362; }
html[data-theme="dark"] .lc-bubble-phone:hover { background: #285367; }
html[data-theme="dark"] #suite-dialog { --sd-bg: #122d3b; --sd-ink: #edf5f7; }
html[data-theme="dark"] #suite-dialog .sd-request { background: #306b85; border-color: #477f98; }
html[data-theme="dark"] #suite-dialog .sd-request:hover { background: #4486a1; border-color: #5c9ab5; }
@media (max-width: 820px) {
  .header-tools { gap: 6px; }
  html[data-theme="dark"] #site-nav { background: #153442; color: #edf5f7; }
  html[data-theme="dark"] #site-nav a { border-color: #3c5a69; }
}
@media (max-width: 420px) {
  .theme-toggle { width: 58px; flex-basis: 58px; }
  .theme-toggle-track { width: 54px; }
  .theme-toggle-knob { transform: translateX(calc(var(--theme-progress) * 22px)); }
}
@media (hover: hover) {
  .theme-toggle:hover .theme-toggle-track { box-shadow: inset 0 1px 1px #ffffffa6,inset 0 0 0 1px #6daac0,0 2px 12px #2984a52b; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle-fill,.theme-toggle-knob,.theme-toggle-sun,.theme-toggle-moon { transition: none; }
}
