.room-detail-hero.hero { min-height: 680px; height: min(790px, 85svh); max-height: none; aspect-ratio: auto; }
.room-detail-hero .hero-photo { object-position: center 58%; }
.room-breadcrumb { position: relative; z-index: 1; margin: 28px var(--inset) 0; color: var(--ivory); }
.room-hero-content { position: absolute; z-index: 1; left: var(--inset); right: var(--inset); bottom: 52px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.room-detail-hero h1 { font-size: clamp(62px, 6.8vw, 112px); line-height: 1.02; letter-spacing: -.025em; }
.room-hero-content p { max-width: 35ch; color: var(--ivory); font-size: 18px; line-height: 1.6; margin-top: 24px; }
.room-hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; padding-bottom: 5px; }
.room-photos-link { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; padding: 14px 20px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 3px; background: rgb(255 255 255 / 10%); color: #fff; font-size: 14px; font-weight: 700; text-align: center; transition: background .2s, border-color .2s; }
.room-photos-link:hover { background: rgb(255 255 255 / 19%); border-color: #fff; }
.room-photos-link .icon { width: 22px; height: 22px; stroke-width: 1.6; }

/* Description and one date-to-enquiry flow. */
.room-stay-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 76px); align-items: start; padding-block: 40px 44px; }
.room-description-column { position: sticky; top: calc(var(--sticky-offset) + 22px); padding-top: 14px; }
.room-description-column h2 { font-size: clamp(35px, 3.45vw, 56px); line-height: 1.12; margin-bottom: 26px; }
.room-description-column > p { max-width: 46ch; font-size: 16px; line-height: 1.8; }
.room-description-column .room-description-lead { font-size: 22px; line-height: 1.6; color: var(--ink); margin-bottom: 20px; }
.room-rates { margin-top: 30px; }
.room-rates h3 { font-size: 24px; margin-bottom: 18px; }
.room-rate-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.room-rate { display: flex; flex-direction: column; gap: 7px; padding: 18px 16px; border-radius: 4px; background: var(--canvas); }
.room-rate > span { font-size: 12px; font-weight: 700; }
.room-rate strong { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 37px); line-height: 1.1; white-space: nowrap; }
.room-rate small { font-size: 12px; color: var(--muted); }
.room-rates > p { margin-top: 12px; font-size: 11px; line-height: 1.6; }
.long-stay-offer { position: relative; margin-top: 22px; padding: 22px 56px 22px 22px; border-radius: 4px; background: var(--canvas); }
.long-stay-offer .offer-percent { position: absolute; top: 18px; right: 17px; width: 28px; height: 28px; color: #96764b; stroke-width: 1.4; }
.long-stay-offer p, .long-stay-offer a { color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.75; }
.long-stay-offer a { display: inline-block; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #aa9578; }
.room-description-contact { margin-top: 42px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.room-description-contact h3 { font-size: 24px; }
.room-description-contact p { font-size: 14px; line-height: 1.8; max-width: 39ch; margin-bottom: 4px; }
.room-description-contact a { font-size: 15px; font-weight: 700; }
.room-description-contact a:hover { color: #956c24; }
.room-booking-panel { background: var(--canvas); padding: 30px; border-radius: 5px; min-width: 0; }
.room-booking-panel > h2 { font-size: clamp(27px, 2.4vw, 37px); margin-bottom: 25px; }
.availability-preview-note { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; font-size: 11px; color: var(--muted); }
.availability-preview-note a { text-decoration: underline; text-underline-offset: 3px; }
.room-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.room-form-fields label { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 700; color: var(--ink); min-width: 0; }
.room-form-fields input, .room-form-fields select, .room-form-fields textarea { width: 100%; min-width: 0; min-height: 50px; padding: 13px 14px; border: 1px solid #ded6ca; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 400; color-scheme: light; caret-color: #956c24; transition: border-color .2s, box-shadow .2s; }
.room-form-fields input:focus, .room-form-fields select:focus, .room-form-fields textarea:focus { border-color: #a78243; outline: 2px solid #cba45e50; outline-offset: 2px; }
.room-form-fields input::placeholder, .room-form-fields textarea::placeholder { color: #817568; opacity: 1; }
.calendar-surface { padding: 14px 14px 4px; background: var(--paper); border-radius: 4px; }
.calendar-month-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.calendar-month-heading h3 { text-align: center; font-size: 21px; line-height: 1.3; text-transform: none; }
.calendar-month-heading button { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--canvas); color: var(--ink); transition: background .2s; }
.calendar-month-heading button:hover:not(:disabled) { background: var(--button-gold); color: #000; }
.calendar-month-heading .icon { width: 18px; height: 18px; }
[data-calendar-prev] .icon { transform: rotate(90deg); }
[data-calendar-next] .icon { transform: rotate(-90deg); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.calendar-weekdays { margin-bottom: 7px; font-size: 11px; color: var(--muted); text-align: center; }
.calendar-weekdays span { padding-block: 6px; }
.calendar-grid { min-height: 267px; align-content: start; }
.calendar-day, .calendar-blank { display: grid; place-items: center; width: 100%; height: 42px; min-width: 0; padding: 0; font-size: 14px; font-weight: 700; border-radius: 3px; background: transparent; border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.calendar-day:hover:not(:disabled) { background: color-mix(in srgb, var(--button-gold) 19%, transparent); }
.calendar-day.is-today { border-color: #c9b893; }
.calendar-day.is-range { background: color-mix(in srgb, var(--button-gold) 19%, transparent); border-radius: 0; }
.calendar-day.is-start, .calendar-day.is-end, .calendar-day.is-start:hover, .calendar-day.is-end:hover { background: var(--button-gold); color: #000; border-color: transparent; }
.calendar-day:disabled { color: #b9b1a5; opacity: 1; }
.calendar-day.is-unavailable { color: #9c9388; text-decoration: line-through; }
.calendar-day.is-end { color: #000; text-decoration: none; }
.calendar-day:focus-visible { outline: 2px solid #956c24; outline-offset: -2px; }
.calendar-selection-summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 8px 7px; min-height: 44px; font-size: 12px; color: var(--muted); }
.calendar-selection-summary > div { display: flex; flex-direction: column; gap: 4px; }
#room-selected-dates { font-size: 13px; font-weight: 700; color: var(--ink); }
#room-selected-dates:empty { display: none; }
[data-calendar-clear] { padding: 9px 0 9px 10px; background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.calendar-status { margin-top: 12px; font-size: 12px; line-height: 1.6; min-height: 20px; }
.calendar-status.is-error { color: #8e3027; }
.room-availability-result { margin-top: 16px; padding: 14px 16px; border-radius: 4px; background: var(--paper); font-size: 14px; line-height: 1.6; }
.room-availability-result[data-status='available'] { color: #36543c; background: #e7eee3; }
.room-availability-result[data-status='unavailable'] { color: #7b3427; background: #f1e2dc; }
.room-availability-result[hidden], .room-alternatives[hidden] { display: none; }
.room-alternatives { margin-top: 22px; }
.room-alternatives h3 { font-size: 23px; margin-bottom: 15px; }
[data-room-alternatives-list] { display: grid; gap: 12px; }
.room-alternative { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 15px; padding: 12px; border-radius: 4px; background: var(--paper); }
.room-alternative-image { width: 90px; height: 110px; object-fit: cover; border-radius: 3px; }
.room-alternative-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.room-alternative-title { font-family: var(--serif); font-size: 21px; }
.room-alternative-price { font-size: 14px; font-weight: 700; }
.room-alternative-meta { font-size: 11px; color: var(--muted); }
.room-alternative-action { font-size: 12px; font-weight: 700; color: #7a5c2b; margin-top: 4px; text-decoration: underline; text-underline-offset: 4px; }
.room-price-options { margin-top: 24px; }
.room-price-options > label { display: flex; flex-direction: column; gap: 9px; font-size: 12px; font-weight: 700; }
.room-price-options select { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #ded6ca; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 15px; }
.room-price-summary { margin-top: 20px; }
.room-price-summary > span { display: block; font-size: 13px; margin-bottom: 6px; }
.room-price-summary strong { display: block; font-family: var(--serif); font-size: clamp(26px, 2.7vw, 40px); line-height: 1.2; overflow-wrap: anywhere; }
.room-price-summary p { font-size: 12px; margin-top: 10px; line-height: 1.6; }
.room-price-summary small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.room-guest-heading { font-size: 24px; margin-block: 25px 20px; }
.room-form-fields { gap: 18px; }
.room-form-fields textarea { min-height: 100px; resize: vertical; }
.room-field-wide { grid-column: 1 / -1; }
.reservation-submit { display: flex; flex-direction: column; align-items: stretch; gap: 17px; margin-top: 20px; }
.reservation-submit .field-hint { font-size: 11px; }
.reservation-submit .button { width: 100%; }
.room-booking-panel .form-status { margin-top: 20px; font-size: 14px; line-height: 1.6; }

@media(max-width:1100px) {
  .room-stay-layout { gap: 30px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .room-booking-panel { padding: 24px; }
  .room-rate { padding: 16px 12px; }
  .room-description-column .room-description-lead { font-size: 19px; }
  .room-description-column > p { font-size: 14px; }
}
@media(max-width:800px) {
  .room-detail-hero.hero { min-height: 640px; height: 85svh; max-height: 800px; }
  .room-stay-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
  .room-description-column { position: static; padding-top: 0; }
  .room-description-column > p, .room-description-contact p { max-width: 60ch; }
  .room-description-contact { margin-top: 25px; gap: 9px; }
  .room-description-column h2 { margin-bottom: 20px; }
  .room-rate strong { font-size: clamp(25px, 8vw, 34px); }
}
@media(max-width:600px) {
  .room-hero-content { left: 22px; right: 22px; bottom: 30px; grid-template-columns: 1fr; gap: 26px; }
  .room-detail-hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .room-hero-content p { font-size: 15px; margin-top: 16px; }
  .room-hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0; }
  .room-hero-actions .button { padding: 14px 17px; min-height: 52px; flex: none; }
  .room-hero-actions .button .icon { display: none; }
  .room-photos-link { min-height: 52px; padding: 13px 16px; font-size: 13px; }
  .room-breadcrumb { margin-top: 20px; }
  .room-booking-panel { padding: 20px 16px; }
  .room-booking-panel > h2 { font-size: 27px; }
  .calendar-surface { padding: 12px 7px 2px; }
  .calendar-month-heading h3 { font-size: 19px; }
  .room-form-fields { grid-template-columns: 1fr; gap: 17px; }
  .room-form-fields input, .room-form-fields select, .room-form-fields textarea { font-size: 16px; }
  .room-rate-pair { gap: 10px; }
  .room-rate { padding: 16px 12px; }
  .long-stay-offer { padding: 18px 54px 18px 18px; }
}

/* September 24: the description takes two thirds, the booking panel one third; one nightly price. */
.room-stay-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); }
.room-description-column { position: static; }
.room-description-column > p { max-width: 62ch; }
.room-booking-panel { padding: 26px 24px; }
.room-booking-panel > h2 { font-size: clamp(25px, 2vw, 32px); }
.room-booking-panel .room-form-fields { grid-template-columns: 1fr; gap: 16px; }
.room-booking-panel .calendar-surface { padding: 12px 8px 2px; }
.room-booking-panel .calendar-day, .room-booking-panel .calendar-blank { height: 40px; }
.room-rate-single { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.room-rate-single strong { font-family: var(--serif); font-size: clamp(34px, 3vw, 46px); line-height: 1.1; color: var(--ink); }
.room-rate-single span { font-size: 15px; color: var(--muted); }
@media(max-width:1100px) {
  .room-stay-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; }
  .room-booking-panel { padding: 22px 16px; }
  .room-booking-panel .calendar-surface { padding: 10px 4px 2px; }
}
@media(max-width:800px) {
  .room-stay-layout { grid-template-columns: 1fr; }
  .room-booking-panel .room-form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-booking-panel .room-form-fields .room-field-wide { grid-column: 1 / -1; }
}
@media(max-width:600px) {
  .room-booking-panel .room-form-fields { grid-template-columns: 1fr; }
}

/* Photographs fill the description column; each opens the viewer at that photo. */
.room-photo-grid { margin-top: 40px; }
.room-photo-grid h3 { font-size: 24px; margin-bottom: 18px; }
.room-photo-grid-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.room-photo-grid-items button { display: block; padding: 0; overflow: hidden; border-radius: 4px; background: var(--canvas); cursor: zoom-in; }
.room-photo-grid-items img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .room-photo-grid-items button:hover img { transform: scale(1.04); } }
/* Narrow booking panel: the month heading and the send button keep to one line. */
.room-booking-panel .calendar-month-heading { gap: 6px; }
.room-booking-panel .calendar-month-heading button { width: 32px; height: 32px; }
.room-booking-panel .calendar-month-heading h3 { font-size: clamp(17px, 1.4vw, 21px); white-space: nowrap; }
.reservation-submit .button { white-space: nowrap; padding-inline: 20px; gap: 12px; }
.room-booking-panel > h2, .room-description-column h2, .room-rates h3 { text-wrap: balance; }
.room-description-column > p, .long-stay-offer p, .room-hero-content p, .room-description-contact p { text-wrap: pretty; }
/* Guest quotes under the booking block sit below the page's own headings in scale. */
.template-room .testimonials h2 { font-size: clamp(24px, 2.4vw, 36px); }
.template-room .testimonial-slide blockquote p { font-size: clamp(28px, 3vw, 44px); }
@media (max-width: 800px) {
  .booking-in-view .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (max-width: 600px) {
  .room-photo-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .template-room .testimonial-slide blockquote p { font-size: 26px; }
}
/* Review pass 2: empty booking panel, a floor for the narrow panel, and phone page order. */
.room-price-summary.is-empty strong { display: none; }
.room-booking-panel .calendar-grid { min-height: 0; }
@media (min-width: 1101px) { .room-stay-layout { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); } }
@media (max-width: 800px) {
  /* On phones the booking form comes before the photo grid. */
  .room-stay-layout { display: flex; flex-direction: column; gap: 0; }
  .room-description-column { display: contents; }
  .room-description-column > * { order: 0; }
  .room-booking-panel { order: 1; margin-top: 32px; }
  .room-description-column > .room-photo-grid { order: 2; margin-top: 40px; }
}

/* The long-stay note stands out in the button gold with dark text. */
.long-stay-offer { background: var(--button-gold); }
.long-stay-offer .offer-percent { color: var(--button-ink); stroke-width: 1.5; }
.long-stay-offer p, .long-stay-offer a { color: var(--button-ink); }
.long-stay-offer p { font-weight: 700; }
.long-stay-offer a { text-decoration-color: rgb(0 0 0 / 55%); }
.long-stay-offer a:hover { text-decoration-color: currentColor; }

/* 24 Sep, round 3: dark photo button, arrow breadcrumbs, a promotional sticker on the long-stay note. */
.room-photos-link { background: rgb(0 0 0 / 42%); border-color: rgb(255 255 255 / 40%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.room-photos-link:hover { background: rgb(0 0 0 / 62%); border-color: rgb(255 255 255 / 70%); }
.room-breadcrumb .breadcrumb-sep { display: inline-grid; place-items: center; opacity: .6; }
.room-breadcrumb .breadcrumb-sep .icon { width: 13px; height: 13px; transform: rotate(-90deg); stroke-width: 1.8; }
.long-stay-offer { padding-right: 84px; }
.long-stay-offer .offer-badge { position: absolute; top: 50%; right: 18px; width: 54px; height: 54px; transform: translateY(-50%) rotate(-10deg); }
.long-stay-offer .offer-badge-seal { fill: #2a2017; }
.long-stay-offer .offer-badge-mark { fill: none; stroke: var(--button-gold); stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 600px) {
  .long-stay-offer { padding-right: 70px; }
  .long-stay-offer .offer-badge { right: 12px; width: 46px; height: 46px; }
}

/* 25 Sep: the hero photos crossfade (room-media.js stacks one layer per photo, every 4 s). The next photo
   comes to the front and fades in over 1.4 s; the one it replaces fades out only after that, behind it,
   so the picture never dims halfway. The shading (.hero::after, z-index -1, painted last) stays on top. */
.room-detail-hero .hero-photo[data-room-hero-layer] { opacity: 0; transition: opacity 1.4s ease 1.4s; }
.room-detail-hero .hero-photo[data-room-hero-layer].is-active { z-index: -1; opacity: 1; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .room-detail-hero .hero-photo[data-room-hero-layer] { transition: none; } }

/* 25 Sep: the subtitle under the room name is set in the heading font, a step larger, shaded like the homepage hero text. */
.room-detail-hero .room-hero-content p { max-width: 30ch; margin-top: 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(21px, 1.7vw, 26px); line-height: 1.35; text-shadow: 0 2px 14px rgb(20 14 10 / 55%); }
@media (max-width: 600px) { .room-detail-hero .room-hero-content p { max-width: 34ch; margin-top: 12px; font-size: 18px; line-height: 1.4; } }
@media (max-width: 1100px) and (max-height: 500px) and (orientation: landscape) { .room-detail-hero .room-hero-content p { max-width: 40ch; margin-top: 8px; font-size: 17px; line-height: 1.35; } }

/* 25 Sep: every room photo, in order, three across (two on phones). A count that leaves one photo over makes the
   first photo a wide lead; two over make the first two a half-width pair; so the last row is always full. */
@media (min-width: 601px) {
  .room-photo-grid-items { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .room-photo-grid-items > button { grid-column: span 2; }
  .room-photo-grid-items > button:first-child:nth-last-child(3n+1) { grid-column: 1 / -1; }
  .room-photo-grid-items > button:first-child:nth-last-child(3n+1) img { aspect-ratio: 16 / 9; }
  .room-photo-grid-items > button:first-child:nth-last-child(3n+2),
  .room-photo-grid-items > button:first-child:nth-last-child(3n+2) + button { grid-column: span 3; }
  .room-photo-grid-items > button:first-child:nth-last-child(3n+2) img,
  .room-photo-grid-items > button:first-child:nth-last-child(3n+2) + button img { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .room-photo-grid-items > button:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; }
  .room-photo-grid-items > button:first-child:nth-last-child(2n+1) img { aspect-ratio: 16 / 9; }
}
