/* Room landing pages. Shares the brand palette and type with the main site but
   stays deliberately light: these pages are read, not scrolled through. */

:root {
  --navy: #0C1B33;
  --gold: #B08D57;
  --gold-light: #C9A96E;
  --cream: #FAF8F5;
  --sand: #F2ECE2;
  --ink: #1A1A1A;
  --ink-soft: #6B6560;
  --line: rgba(176, 141, 87, 0.2);
  --serif: 'Cinzel', Georgia, serif;
  --sans: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── nav ─────────────────────────────────────────────────────────── */
.rp__nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.rp__nav-inner {
  max-width: 68rem; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.rp__logo {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.16em; color: var(--navy); text-decoration: none;
}
.rp__logo span { color: var(--gold); }
.rp__nav-links { display: flex; align-items: center; gap: 1.5rem; }
.rp__nav-links a {
  font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
}
.rp__nav-links a:hover { color: var(--navy); }
.rp__nav-cta {
  background: var(--navy); color: #fff !important;
  padding: 0.6rem 1.15rem; border-radius: 999px;
}

/* ── breadcrumbs ─────────────────────────────────────────────────── */
.rp__crumbs { max-width: 68rem; margin: 0 auto; padding: 1.5rem 1.5rem 0; }
.rp__back {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; margin-bottom: 0.5rem;
  color: var(--ink-soft); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase;
  transition: color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__back:hover { color: var(--navy); }
.rp__back:active { color: var(--gold); }
.rp__crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; font-size: 0.8125rem; }
.rp__crumbs li + li::before { content: '›'; color: var(--gold); margin-right: 0.5rem; }
.rp__crumbs a { color: var(--ink-soft); text-decoration: none; }
.rp__crumbs a:hover { color: var(--gold); }
.rp__crumbs [aria-current] { color: var(--ink); }

/* ── header ──────────────────────────────────────────────────────── */
.rp__head { max-width: 68rem; margin: 0 auto; padding: 2rem 1.5rem 2.5rem; }
.rp__head h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12;
  letter-spacing: -0.02em; color: var(--navy); margin: 0 0 0.75rem;
}
.rp__price { margin: 0 0 1.25rem; font-family: var(--accent); font-size: 1.5rem; font-style: italic; color: var(--gold); }
.rp__price strong { font-size: 2rem; font-style: normal; font-weight: 500; }
.rp__price span { font-size: 1rem; color: var(--ink-soft); }
.rp__lede { max-width: 44rem; margin: 0 0 1.5rem; font-size: 1.0625rem; color: var(--ink-soft); }

.rp__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.rp__badges span {
  font-size: 0.8125rem; padding: 0.45rem 0.9rem; border-radius: 999px;
  background: var(--sand); border: 1px solid var(--line); color: var(--navy);
}

.rp__book {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: 0.95rem 2rem; border-radius: 999px;
  font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__book:hover { background: var(--gold); transform: translateY(-2px); }

/* ── gallery ─────────────────────────────────────────────────────── */
.rp__gallery { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

/* One large stage instead of a grid of small tiles, so every photograph gets
   the size the first one used to get on its own. Slides are stacked and
   cross-faded; only opacity moves. */
.rp__stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 2;
  box-shadow:
    0 22px 45px -28px rgba(12, 27, 51, 0.5),
    0 3px 10px -5px rgba(176, 141, 87, 0.28);
}

.rp__slides { list-style: none; margin: 0; padding: 0; }

.rp__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__slide.is-current { opacity: 1; }
.rp__slide img { width: 100%; height: 100%; object-fit: cover; }

/* Enough of a scrim behind the controls that white arrows stay legible on a
   pale photograph, without dimming the picture across the middle. */
.rp__stage::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(12, 27, 51, 0.5), transparent);
  pointer-events: none;
}

.rp__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 27, 51, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__arrow:hover { background: var(--gold); }
.rp__arrow:active { transform: translateY(-50%) scale(0.93); }
.rp__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rp__arrow--prev { left: 0.85rem; }
.rp__arrow--next { right: 0.85rem; }

.rp__counter {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Thumbnails double as the direct way to any one photograph. */
.rp__thumbs {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.6rem;
}
.rp__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sand);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.rp__thumb:hover { opacity: 0.85; }
.rp__thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rp__thumb[aria-current='true'] {
  opacity: 1;
  box-shadow: inset 0 0 0 2px var(--gold);
}

@media (max-width: 560px) {
  .rp__stage { aspect-ratio: 4 / 3; }
  .rp__arrow { width: 44px; height: 44px; }
  .rp__thumbs { grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); }
}

/* ── detail ──────────────────────────────────────────────────────── */
.rp__detail {
  max-width: 68rem; margin: 0 auto; padding: 3rem 1.5rem;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start;
}
.rp__detail h2 {
  font-family: var(--serif); font-weight: 400; font-size: 1.4rem;
  color: var(--navy); margin: 0 0 1.25rem;
}
.rp__features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem; }
.rp__features li { position: relative; padding-left: 1.5rem; font-size: 0.9375rem; }
.rp__features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.rp__note { margin-top: 1.5rem; padding: 1rem 1.15rem; background: var(--sand); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: 0.9375rem; color: var(--ink-soft); }

.rp__aside { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.75rem; }
.rp__aside dl { margin: 0; display: grid; grid-template-columns: auto; gap: 0.85rem; }
.rp__aside dt { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.rp__aside dd { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--ink); }
.rp__aside-cta { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-soft); }

/* ── siblings ────────────────────────────────────────────────────── */
.rp__siblings { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem 3rem; }
.rp__siblings h2 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); margin: 0 0 1.25rem; }
.rp__siblings ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0.85rem; }
.rp__siblings a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; text-decoration: none; color: var(--navy); font-size: 0.9375rem;
  transition: border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.rp__siblings a:hover { border-color: var(--gold); transform: translateY(-2px); }
.rp__siblings span { color: var(--gold); font-family: var(--accent); font-size: 1.15rem; font-style: italic; }

/* ── closing CTA + footer ────────────────────────────────────────── */
.rp__foot-cta { background: var(--navy); color: var(--cream); text-align: center; padding: 4rem 1.5rem; }
.rp__foot-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 0.85rem; color: #fff; }
.rp__foot-cta p { max-width: 34rem; margin: 0 auto 1.75rem; color: rgba(250, 248, 245, 0.75); font-size: 0.9875rem; }
.rp__foot-cta .rp__book { background: var(--gold); }
.rp__foot-cta .rp__book:hover { background: var(--gold-light); }

.rp__footer { max-width: 68rem; margin: 0 auto; padding: 2.5rem 1.5rem 3.5rem; text-align: center; font-size: 0.875rem; color: var(--ink-soft); }
.rp__footer p { margin: 0 0 0.6rem; }
.rp__footer strong { color: var(--navy); font-weight: 500; }

@media (max-width: 820px) {
  .rp__detail { grid-template-columns: 1fr; gap: 2rem; }
  .rp__features { grid-template-columns: 1fr; }
  .rp__nav-links { gap: 1rem; }
  .rp__nav-links a:not(.rp__nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rp__book, .rp__siblings a, .rp__back { transition: none; }
  .rp__book:hover, .rp__siblings a:hover { transform: none; }
  /* Slides cut rather than fade. The script also stops advancing them on its
     own, so the only movement left is what the reader asks for. */
  .rp__slide, .rp__arrow, .rp__thumb { transition: none; }
  .rp__arrow:active { transform: translateY(-50%); }
}
