:root {
  --cream: #f6f1e7;
  --ink: #0b2715;
  --green: #0b2b1b;
  --gold: #d2a64b;
  --gold-dark: #a77a27;
  --line: rgba(11, 39, 21, .5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Hanken Grotesk', sans-serif;
}

button, a { font: inherit; }

.stay-page { max-width: 980px; margin: 0 auto; padding: 28px 24px 70px; }
.back-link { color: var(--ink); font-size: 14px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.stay-header { max-width: 760px; margin: 30px auto 34px; text-align: center; }
.brand-mark { display: inline-block; margin-bottom: 20px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 50%; font-family: 'Cormorant', serif; font-size: 15px; line-height: .95; letter-spacing: .12em; font-weight: 700; }
.brand-mark span { font-family: 'Hanken Grotesk', sans-serif; font-size: 7px; letter-spacing: .18em; }
.eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .2em; font-weight: 700; }
h1, h2, h3 { font-family: 'Cormorant', serif; }
h1 { margin: 0; font-size: clamp(50px, 8vw, 82px); line-height: .9; font-weight: 600; }
.intro { margin: 20px 0 12px; font-family: 'Cormorant', serif; font-size: 23px; }
.rule { display: flex; align-items: center; gap: 14px; margin: 12px auto 16px; color: var(--gold-dark); }
.rule::before, .rule::after { content: ''; height: 1px; flex: 1; background: var(--gold); }
.header-note { margin: 0; font-family: 'Cormorant', serif; font-size: 20px; }

.stay-card { scroll-margin-top: 18px; overflow: hidden; margin: 26px 0; border: 1px solid var(--ink); border-radius: 13px; background: rgba(255,255,255,.22); box-shadow: 0 12px 30px rgba(11,39,21,.08); }
.stay-card-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 34px; background: var(--green); color: var(--cream); }
.stay-card--suite { border-color: var(--gold-dark); }
.stay-card--suite .stay-card-title { background: var(--gold); color: var(--ink); }
.stay-card-title h2 { margin: 0; text-transform: uppercase; font-size: clamp(32px, 5vw, 52px); line-height: .9; letter-spacing: .03em; }
.rate { padding: 9px 18px; border: 1px solid currentColor; border-radius: 9px; white-space: nowrap; font-family: 'Cormorant', serif; }
.rate strong { font-size: 29px; }
.rate span { font-size: 18px; }
.stay-card-body { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 1.55fr); gap: 26px; padding: 26px; }
.stay-image-wrap { aspect-ratio: 1.42; overflow: hidden; border-radius: 10px; }
.stay-image-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stay-carousel { display: flex; height: 100%; flex-direction: column; background: var(--green); }
.stay-carousel-stage { position: relative; min-height: 0; flex: 1; overflow: hidden; cursor: zoom-in; touch-action: pan-y; }
.stay-carousel-stage.is-dragging { cursor: grabbing; }
.stay-carousel-track { display: flex; height: 100%; transform: translate3d(0, 0, 0); transition: transform .55s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.stay-carousel-slide { min-width: 0; height: 100%; overflow: hidden; }
.stay-carousel-image { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.stay-carousel-sources { display: none !important; }
.stay-carousel-stage:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.stay-lightbox { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(5, 19, 11, .9); }
.stay-lightbox[hidden] { display: none; }
.stay-lightbox-close { position: absolute; z-index: 1; top: 16px; right: 18px; display: grid; width: 42px; height: 42px; place-items: center; cursor: pointer; border: 1px solid rgba(246,241,231,.7); border-radius: 50%; background: rgba(5,19,11,.65); color: var(--cream); font-size: 30px; line-height: 1; }
.stay-lightbox-close:hover { background: var(--gold); color: var(--ink); }
.stay-lightbox-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.stay-lightbox-toolbar { position: absolute; z-index: 1; top: 18px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); }
.stay-lightbox-toolbar button { min-width: 42px; min-height: 36px; cursor: pointer; border: 1px solid rgba(246,241,231,.7); border-radius: 6px; background: rgba(5,19,11,.72); color: var(--cream); font-weight: 700; }
.stay-lightbox-toolbar button:hover { background: var(--gold); color: var(--ink); }
.stay-lightbox-toolbar button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.stay-lightbox-stage { display: grid; width: min(1200px, 100%); height: min(88vh, 820px); min-width: 0; min-height: 0; overflow: hidden; place-items: center; cursor: grab; touch-action: none; }
.stay-lightbox-stage.is-dragging { cursor: grabbing; }
.stay-lightbox-stage:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.stay-lightbox-image { display: block; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain !important; pointer-events: none; user-select: none; transform-origin: center; transition: opacity .18s ease; will-change: transform; }
body.stay-lightbox-open { overflow: hidden; }
.stay-options { min-width: 0; padding: 8px 0; }
.capacity { display: flex; align-items: center; gap: 10px; margin: 0; font-family: 'Cormorant', serif; font-size: 24px; }
.capacity span { color: var(--gold-dark); font-size: 27px; }
.stay-amenities { margin-bottom: 20px; padding: 16px 18px; border: 1px solid rgba(11,39,21,.35); border-radius: 10px; background: rgba(255,255,255,.38); }
.stay-card--suite .stay-amenities { border-color: rgba(167,122,39,.55); }
.stay-options .stay-amenities h3 { margin: 0 0 10px; text-align: left; font-family: 'Hanken Grotesk', sans-serif; font-size: 13px; letter-spacing: .14em; }
.stay-amenities ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.35; }
.stay-amenities li { display: flex; align-items: flex-start; gap: 9px; }
.stay-amenities li::before { content: '◇'; flex: 0 0 auto; color: var(--gold-dark); font-weight: 700; }
.option-divider { height: 1px; margin: 20px 0; background: var(--gold); opacity: .75; }
.stay-options h3 { margin: 0 0 16px; text-align: center; text-transform: uppercase; font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; letter-spacing: .18em; }
.night-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.night-option { min-height: 86px; cursor: pointer; border: 1px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink); transition: background .16s ease, color .16s ease, transform .16s ease; }
.stay-card--suite .night-option { border-color: var(--gold-dark); }
.night-option:hover { transform: translateY(-2px); }
.night-option.is-selected { background: var(--green); color: var(--cream); }
.stay-card--suite .night-option.is-selected { background: var(--gold); color: var(--ink); }
.night-option strong { display: block; font-family: 'Cormorant', serif; font-size: 34px; line-height: .9; }
.night-option span { display: block; margin-top: 8px; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; font-weight: 700; }
.selection-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 1fr); align-items: start; gap: 14px 22px; margin-top: 24px; padding: 18px 20px; border: 1px solid var(--ink); border-radius: 10px; }
.stay-card--suite .selection-summary { border-color: var(--gold-dark); }
.selection-summary p { margin: 0; }
.summary-label { text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.summary-name { margin-top: 5px !important; font-family: 'Cormorant', serif; font-size: 25px; }
.summary-name > span:first-of-type { color: var(--gold-dark); }
.summary-breakdown { display: grid; gap: 6px; font-size: 13px; }
.summary-breakdown p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.summary-breakdown strong { white-space: nowrap; }
.summary-credit { color: #8d3024; }
.summary-total-wrap { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(11,39,21,.28); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; }
.summary-total { font-family: 'Cormorant', serif; font-size: 34px; letter-spacing: 0; white-space: nowrap; }
.summary-disclaimer { margin: 8px 0 0; text-align: center; font-family: 'Cormorant', serif; font-size: 16px; font-style: italic; }
.continue-button { width: 100%; margin-top: 20px; padding: 15px 20px; cursor: pointer; border: 0; border-radius: 8px; background: var(--green); color: var(--cream); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.stay-card--suite .continue-button { background: var(--gold); color: var(--ink); }
.continue-button:hover { filter: brightness(1.08); }
.continue-button:disabled { cursor: wait; opacity: .6; }
.stay-policies { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin: 30px auto 0; color: rgba(11,39,21,.72); font-size: 13px; text-align: center; }
.stay-policies span { flex-basis: 100%; }
.policy-link { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.policy-link:hover { color: var(--gold-dark); }
.policy-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 22px; }
.policy-modal[hidden] { display: none; }
.policy-modal-backdrop { position: absolute; inset: 0; cursor: default; border: 0; background: rgba(5, 19, 11, .78); }
.policy-modal-dialog { position: relative; display: flex; flex-direction: column; width: min(920px, 100%); height: min(86vh, 900px); overflow: hidden; border: 1px solid var(--gold); border-radius: 14px; background: var(--cream); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.policy-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; background: var(--green); color: var(--cream); }
.policy-modal-header h2 { margin: 0; font-family: 'Cormorant', serif; font-size: 30px; line-height: 1; }
.policy-modal-close { display: grid; width: 38px; height: 38px; place-items: center; cursor: pointer; border: 1px solid rgba(246,241,231,.65); border-radius: 50%; background: transparent; color: var(--cream); font-size: 28px; line-height: 1; }
.policy-modal-close:hover { background: rgba(246,241,231,.12); }
.policy-modal-body { min-height: 0; flex: 1; background: #fff; }
.policy-modal-body iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
body.policy-modal-open { overflow: hidden; }
.reservation-note { max-width: 760px; margin: 30px auto 0; text-align: center; font-family: 'Cormorant', serif; font-size: 18px; line-height: 1.4; }
.form-status { max-width: 680px; margin: 18px auto 0; padding: 13px 16px; border: 1px solid #a33c2c; border-radius: 8px; color: #7c271a; background: #fff1ed; text-align: center; }

@media (max-width: 700px) {
  .stay-page { padding: 18px 14px 50px; }
  .stay-header { margin-top: 24px; }
  h1 { font-size: 56px; }
  .intro { font-size: 20px; }
  .header-note { font-size: 17px; }
  .stay-card-title { align-items: flex-start; flex-direction: column; padding: 20px 22px; }
  .stay-card-body { grid-template-columns: 1fr; padding: 16px; }
  .stay-image-wrap { aspect-ratio: 1.42; }
  .stay-lightbox { padding: 12px; }
  .stay-lightbox-stage { width: 100%; height: min(calc(100dvh - 120px), 700px); min-height: 220px; }
  .stay-lightbox-toolbar { top: 12px; }
  .stay-lightbox-close { top: 12px; right: 12px; }
  .capacity { font-size: 21px; }
  .night-options { gap: 6px; }
  .night-option { min-height: 76px; }
  .night-option strong { font-size: 28px; }
  .night-option span { font-size: 9px; }
  .selection-summary { grid-template-columns: 1fr; }
  .summary-total-wrap { grid-column: 1; }
  .summary-total { font-size: 30px; }
  .stay-policies { gap: 8px 12px; font-size: 12px; }
  .policy-modal { padding: 10px; }
  .policy-modal-dialog { height: calc(100vh - 20px); border-radius: 10px; }
  .policy-modal-header { padding: 13px 14px; }
  .policy-modal-header h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .night-option, .stay-carousel-track, .stay-lightbox-image { transition: none; }
}
