/* Foundations */
:root {
  --background: #191a18;
  --surface: #23241f;
  --gold: #c4a676;
  --text: #f2eee6;
  --muted: #aaa99f;
  --paper: #ece8df;
  --ink: #25271f;
  --gutter: clamp(20px, 5vw, 96px);
  --header-height: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; color: var(--text); background: var(--background); font: 15px/1.65 Arial, sans-serif; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border-radius: 0; appearance: none; -webkit-appearance: none; touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p { font-weight: 400; }
h1, h2, h3 { font-family: Georgia, serif; }
h1 { margin: 0 0 28px; font-size: clamp(52px, 7vw, 108px); line-height: 1.06; letter-spacing: -2px; }
h2 { margin: 0 0 25px; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; letter-spacing: -1px; }
h3 { margin: 10px 0; font-size: 25px; line-height: 1.25; overflow-wrap: anywhere; }
em, i { font-weight: 400; color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 20; padding: 12px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.icon { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 17px 27px; gap: 16px; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); text-align: center; line-height: 1.45; transition: background .2s; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; border-bottom: 1px solid #a58a60; padding-bottom: 8px; font-size: 14px; }
.eyebrow { margin: 0 0 25px; font-size: 10px; letter-spacing: 2px; color: var(--gold); }
.section { padding: 90px var(--gutter); }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 35px; }
.section-top > div { min-width: 0; }
.section-top h2 { margin-bottom: 0; }
.section-top > p { flex: 0 1 280px; margin-bottom: 0; color: var(--muted); font-size: 13px; }

/* Header and introductory screen */
header { position: sticky; top: 0; z-index: 5; isolation: isolate; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); height: var(--header-height); padding: 0 var(--gutter); background: #171815; border-bottom: 1px solid #ffffff16; }
.brand { flex-shrink: 0; font: 29px/1.1 Georgia, serif; letter-spacing: 4px; white-space: nowrap; }
.brand > span { display: block; font: 10px Arial, sans-serif; letter-spacing: 2px; }
.brand small { display: block; margin-top: 9px; font: 7px Arial, sans-serif; letter-spacing: 3px; }
header nav { display: flex; min-width: 0; gap: clamp(14px, 1.8vw, 26px); margin: auto; font-size: 12px; }
header nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
header .button { min-height: 44px; padding: 13px 18px; font-size: 12px; white-space: nowrap; }
.phone { display: none; font-size: 12px; white-space: nowrap; }
.menu { display: none; }
.hero { position: relative; min-height: 640px; background: url('../images/hero.webp') center 48% / cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0b0e0de0, #0b0e0d8c 45%, #0b0e0d15), linear-gradient(0deg, #0b0e0d88, transparent 30%); }
.hero-copy { position: relative; padding: 85px var(--gutter) 115px; }
.lead { margin-bottom: 28px; font-size: 16px; line-height: 1.8; color: #e0dfd7; }
.hero-bottom { position: absolute; bottom: 28px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 20px; color: #deded5; font-size: 9px; letter-spacing: 1.5px; }

/* Search */
.booking-wrap { padding: 0 var(--gutter); }
#booking-form { display: grid; grid-template-columns: minmax(130px, 1.1fr) repeat(3, minmax(0, 1fr)) minmax(132px, 1fr); align-items: center; gap: clamp(12px, 1.5vw, 22px); padding: 28px; background: var(--paper); color: var(--ink); }
#booking-form > * { min-width: 0; }
.booking-title { font: 25px/1.25 Georgia, serif; }
.booking-title i { color: #81704e; }
#booking-form label { padding-left: 14px; border-left: 1px solid #c7c3b9; font-size: 10px; letter-spacing: 1px; }
#booking-form input, #booking-form select { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 44px; border: 0; border-radius: 0; padding: 8px 0; background: transparent; color: var(--ink); font-size: 16px; letter-spacing: 0; }
input[type='date'] { -webkit-appearance: none; appearance: none; text-align: left; }
input[type='date']::-webkit-date-and-time-value { text-align: left; min-height: 1.2em; }
#booking-form .button { padding: 14px 16px; font-size: 13px; }
.booking-note { margin: 12px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.trust-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 22px; font-size: 11px; color: var(--muted); }
.trust-line > span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line .icon { width: 15px; height: 15px; }

/* One-page content */
.about, .contacts, .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 70px); }
.about > div, .contacts > div { min-width: 0; }
.about-copy { max-width: 440px; color: var(--muted); font-size: 14px; }
.about-copy .text-link { color: var(--text); margin-top: 18px; }
.about figure { margin-top: 35px; }
.about figure img { width: 100%; height: 420px; object-fit: cover; }
figcaption { margin-top: 14px; font-size: 11px; letter-spacing: .6px; color: var(--muted); }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #ffffff25; padding-top: 35px; margin-top: 10px; }
.facts div { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid #ffffff25; padding-left: clamp(14px, 2.5vw, 40px); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border: 0; }
.facts b { color: var(--gold); font: 44px Georgia, serif; }
.facts span { margin-top: 9px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.rooms { background: var(--paper); color: var(--ink); }
.rooms .eyebrow, .rooms em { color: #957745; }
.room-tabs { display: flex; gap: clamp(18px, 3vw, 36px); max-width: 100%; overflow-x: auto; margin-bottom: 30px; border-bottom: 1px solid #c8c4ba; -webkit-overflow-scrolling: touch; }
.room-tabs button { flex: none; min-height: 48px; padding: 10px 0 13px; border: 0; border-bottom: 2px solid transparent; color: #63655b; background: none; font-size: 14px; }
.room-tabs button.active { color: var(--ink); border-bottom-color: #9f8151; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 30px); margin-bottom: 30px; }
.room-grid article { min-width: 0; }
.room-grid a { display: block; }
.room-grid img { width: 100%; height: auto; aspect-ratio: 29 / 18; object-fit: cover; background: #d9d4c9; }
.room-num { display: block; margin-top: 18px; font-size: 10px; letter-spacing: 1.8px; color: #807052; }
.room-grid h3 { font-size: clamp(22px, 2vw, 27px); }
.room-grid p { font-size: 13px; color: #62645a; }
.room-grid .room-price { margin: 13px 0 6px; color: #806037; font-size: 13px; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.experience-card { position: relative; display: block; min-width: 0; overflow: hidden; }
.experience-card img { width: 100%; height: clamp(340px, 34vw, 500px); object-fit: cover; transition: transform .5s; }
.experience-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%, #070a08e8); }
.experience-card > div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.experience-card h3 { font-size: clamp(26px, 3vw, 36px); }
.experience-card .eyebrow { margin-bottom: 15px; }
.experience-card p:last-child { font-size: 14px; color: #d1d1c8; }
.services { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 35px; padding-top: 20px; border-top: 1px solid #ffffff25; color: var(--muted); font-size: 13px; }
.services a { display: inline-flex; align-items: center; min-height: 44px; }
.faq { background: var(--surface); }
.faq > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.faq .button { margin-top: 20px; }
details { padding: 16px 0; border-bottom: 1px solid #ffffff25; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-size: 24px; }
details[open] summary::after { content: '−'; }
details p { max-width: 490px; color: var(--muted); font-size: 14px; }
.invitation { padding: 90px var(--gutter); text-align: center; background: linear-gradient(#1316139c, #131613c9), url('../images/hero.webp') center / cover; }
.invitation h2 { font-size: clamp(32px, 4.5vw, 58px); }
.invitation .button { margin-top: 12px; }
.contacts > img { width: 100%; height: 100%; min-height: 380px; max-height: 520px; object-fit: cover; }
.contacts p:not(.eyebrow) { font-size: 15px; color: var(--muted); }
.contact-links { display: flex; flex-direction: column; margin: 25px 0; font: clamp(20px, 2.2vw, 27px)/1.8 Georgia, serif; }
.contact-links a { overflow-wrap: anywhere; }
.contacts > div > a:not(.text-link) { display: inline-flex; align-items: center; min-height: 44px; margin-right: 22px; font-size: 14px; color: var(--gold); }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 22px; padding: 35px var(--gutter); border-top: 1px solid #ffffff25; }
footer p, footer > a:not(.brand) { font-size: 12px; color: var(--muted); }
footer > a:not(.brand) { display: flex; align-items: center; min-height: 44px; }
.mobile-booking { display: none; }

/* Native dialog and local booking flow */
.modal-open { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.guest-dialog { position: fixed; inset: 0; width: min(760px, calc(100% - 40px)); max-width: 760px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; scroll-padding: 24px; -webkit-overflow-scrolling: touch; margin: auto; border: 1px solid #c4a67666; padding: 48px 36px 32px; background: #f0ece3; color: var(--ink); box-shadow: 0 20px 100px #0006; overflow-wrap: anywhere; }
.guest-dialog::backdrop { background: #080b09bd; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.close-dialog { position: absolute; z-index: 2; right: 8px; top: 4px; min-width: 44px; min-height: 44px; border: 0; padding: 6px; font-size: 30px; line-height: 1; background: none; color: #555; }
.guest-dialog h2 { font-size: clamp(30px, 4vw, 42px); }
.guest-dialog h2 em, .guest-dialog .eyebrow { color: #927246; }
.guest-dialog h2:focus { outline: none; }
.guest-dialog p { font-size: 14px; }
.guest-dialog :focus-visible { outline-color: #987b50; }
.guest-dialog .button, .guest-dialog .back { min-height: 48px; font-size: 14px; line-height: 1.45; white-space: normal; }
.back { border: 0; padding: 12px 0; color: #766143; background: none; }
.room-options article { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid #ccc4b7; }
.room-options img { width: 140px; height: 140px; object-fit: cover; }
.room-options h3 { font-size: 23px; }
.room-options .button { max-width: 100%; padding: 11px 20px; }
.guest-form { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: 25px; }
.guest-form label { font-size: 14px; }
.guest-form input:not([type='checkbox']), .guest-form select, .guest-form textarea { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; margin-top: 5px; border: 1px solid #bbb6aa; border-radius: 0; padding: 12px; background: #faf8f2; color: var(--ink); font: 16px Arial, sans-serif; }
.guest-form input[type='date'] { display: block; text-align: left; }
.guest-form textarea { min-height: 90px; resize: vertical; }
.guest-form .extra { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 13px; line-height: 1.5; }
.guest-form input[type='checkbox'] { flex: none; width: 20px; height: 20px; margin: 1px 0; appearance: auto; -webkit-appearance: checkbox; accent-color: #937449; }
.booking-summary { padding: 20px; margin: 20px 0; background: #e4dfd3; }
.booking-summary h3 { margin-top: 0; }
.cost-line, .total { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.cost-line span { white-space: nowrap; }
.total { align-items: center; border-top: 1px solid #c6bdac; padding-top: 16px; }
.total strong { white-space: nowrap; font: 28px Georgia, serif; color: #806439; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.success-icon { display: flex; align-items: center; justify-content: center; width: 65px; height: 65px; margin: 20px 0; border: 1px solid #bda378; border-radius: 50%; color: #89754e; }
.success-icon .icon { width: 32px; height: 32px; }
.noscript-notice { padding: 20px var(--gutter); background: var(--paper); color: var(--ink); }

/* Wide and medium screens */
@media (min-width: 1200px) { .phone { display: block; } }
@media (min-width: 1600px) {
  :root { --gutter: max(6vw, calc((100vw - 1360px) / 2)); }
  header { padding-left: 5vw; padding-right: 5vw; }
}
@media (max-width: 1100px) {
  #booking-form { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 26px; }
  .booking-title { grid-column: 1 / -1; font-size: 26px; }
  #booking-form label:first-of-type { border-left: 0; padding-left: 0; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .facts b { font-size: 38px; }
}
@media (max-width: 900px) {
  :root { --header-height: 80px; }
  header { gap: 14px; }
  header .brand { font-size: 24px; }
  header .button { margin-left: auto; }
  .menu { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; color: var(--text); }
  nav#nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 14px var(--gutter) 22px; background: var(--background); border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; flex-direction: column; gap: 0; max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }
  nav#nav.open { display: flex; }
  nav#nav a { min-height: 48px; padding: 10px 0; font-size: 15px; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about, .contacts, .faq { gap: 28px; }
  .experience-card > div { left: 20px; right: 20px; }
  .experience-card .eyebrow { letter-spacing: 1.5px; }
  .section-top { align-items: flex-start; }
}

/* Phones and small tablets */
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  h1 { font-size: clamp(52px, 10vw, 72px); letter-spacing: -1.5px; }
  h2 { font-size: clamp(32px, 6vw, 42px); }
  .hero { display: flex; align-items: center; min-height: 580px; min-height: min(720px, calc(100svh - 80px)); background-image: url('../images/hero-mobile.webp'); background-position: 60% center; }
  .hero-copy { width: 100%; padding-top: 55px; padding-bottom: 100px; }
  .hero-bottom { bottom: 24px; font-size: 8px; }
  .hero-bottom > a, .hero-bottom > span:last-child { display: none; }
  .eyebrow { letter-spacing: 1.6px; }
  .booking-wrap { padding: 0; }
  #booking-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px var(--gutter); }
  #booking-form label { border: 0; padding: 0; }
  #booking-form .button { align-self: end; }
  .booking-note, .trust-line { padding-left: var(--gutter); padding-right: var(--gutter); }
  .trust-line { gap: 12px 20px; }
  .section { padding: 60px var(--gutter); }
  .about, .contacts, .faq { grid-template-columns: minmax(0, 1fr); }
  .about-copy { max-width: none; font-size: 15px; }
  .about figure { margin: 0; }
  .about figure img { height: auto; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
  .facts div { padding-left: 0; border: 0; }
  .section-top { display: block; }
  .section-top > p { max-width: none; margin-top: 20px; font-size: 14px; }
  .room-grid { gap: 28px 18px; }
  .room-tabs { gap: 22px; }
  .experience-grid { grid-template-columns: minmax(0, 1fr); }
  .experience-card img { height: 400px; }
  .experience-card h3 { font-size: 32px; }
  .services { justify-content: flex-start; }
  .invitation { padding: 65px var(--gutter); background-image: linear-gradient(#1316139c, #131613c9), url('../images/hero-mobile.webp'); }
  .contacts > img { height: 320px; min-height: 0; }
  .contact-links { font-size: 24px; }
  .mobile-booking { position: fixed; bottom: 0; left: 0; right: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; padding: 16px var(--gutter); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); background: var(--gold); color: var(--ink); font-size: 13px; box-shadow: 0 -5px 20px #0003; }
  .mobile-booking span { text-align: right; font-weight: bold; }
  footer { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  footer .brand { width: 100%; margin-bottom: 15px; }
  .guest-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 48px 22px max(24px, env(safe-area-inset-bottom, 0px)); }
  .room-options article { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .room-options img { width: 100px; height: 124px; }
  .room-options h3 { font-size: 22px; }
  .dialog-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .guest-dialog .button, .guest-dialog .back { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 540px) {
  :root { --gutter: 20px; }
  .room-grid { grid-template-columns: minmax(0, 1fr); }
  .room-grid h3 { font-size: 26px; }
  .room-grid .room-price, .room-grid p { font-size: 14px; }
  .experience-card img { height: 370px; }
  .guest-dialog { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  header { gap: 8px; }
  header .brand { font-size: 20px; letter-spacing: 3px; }
  header .brand small { font-size: 6px; letter-spacing: 1.7px; }
  header .button { padding: 10px; font-size: 11px; }
  .menu { width: 40px; }
  #booking-form { grid-template-columns: minmax(0, 1fr); }
  #booking-form .button { width: 100%; }
  .hero h1 { font-size: 49px; }
  .room-options article { grid-template-columns: minmax(0, 1fr); }
  .room-options img { width: 100%; height: auto; aspect-ratio: 29 / 16; }
  .mobile-booking { font-size: 12px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 430px; }
  .hero-copy { padding-top: 45px; padding-bottom: 90px; }
  .guest-dialog { max-height: calc(100dvh - 16px); padding-top: 44px; }
  .mobile-booking { position: static; }
  footer { padding-bottom: 30px; }
}
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { background: #dfc59c; }
  nav a:hover, footer a:hover { color: var(--gold); }
  .experience-card:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Downloadable itinerary preview. Raster image supports long-press saving on iOS. */
.trip-card-preview { max-width: 520px; margin: 24px auto; background: #e5dfd2; box-shadow: 0 10px 32px #191a181c; }
.trip-card { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1580; }
.card-status, .card-note { color: #737369; font-size: 12px !important; line-height: 1.6; }
.trip-card-actions { flex-wrap: wrap; gap: 12px 20px; }
.trip-card-actions .button { flex-basis: 100%; }
@media (max-width: 540px) {
  .trip-card-preview { margin: 20px -4px; }
  .trip-card-actions { align-items: stretch; }
}
