.pagehead {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 22px 0 20px; border-bottom: 1px solid var(--rule);
}
.pagehead .wayfind { color: var(--cream-dim); }
.pagehead .wayfind a:hover { color: var(--cream); }
.pagehead .callnow { color: #3b2a22; border-bottom-color: rgba(59,42,34,.35); }
.pagehead .callnow:hover { color: #7f351f; border-bottom-color: #7f351f; }
/* The mark is inline SVG drawn in currentColor, so it already takes the header's
   ink colour. No brightness/invert hack — that one crushed the clock accent. */
.pagehead .nameplate-mark {
  width: 72px; height: 72px; padding: 0; border-radius: 0;
  background: transparent;
}

.rooms-hero { position: relative; min-height: min(78svh, 820px); display: grid; align-items: end; overflow: hidden; }
.rooms-hero > img,
.rooms-hero > .room-picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.rooms-hero > img,
.rooms-hero > .room-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rooms-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,10,.72), rgba(12,12,10,.08) 70%), linear-gradient(0deg, rgba(12,12,10,.58), transparent 58%); }
.rooms-hero-copy { position: relative; z-index: 1; color: #f4f0e8; padding-block: clamp(70px, 11vw, 130px); }
.rooms-hero-copy h1 { max-width: 11ch; font-size: clamp(54px, 8vw, 104px); line-height: .96; margin-bottom: 28px; }
.rooms-hero-copy p { max-width: 46ch; font-size: 18px; color: rgba(244,240,232,.82); margin: 0 0 32px; }

.rooms-intro { padding-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); }
.rooms-intro h2 { font-size: clamp(40px, 5vw, 68px); line-height: 1.03; }
.rooms-intro p { color: var(--cream-dim); font-size: 18px; margin: 0; }

.room-filters { display: flex; gap: 10px; flex-wrap: wrap; padding: clamp(64px, 8vw, 100px) 0 30px; border-bottom: 1px solid var(--rule); }
.room-filter { appearance: none; border: 1px solid var(--rule); background: transparent; color: var(--cream-dim); padding: 12px 18px; font: 600 10px/1 var(--face-sign); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.room-filter:hover, .room-filter.is-active { background: var(--cream); border-color: var(--cream); color: var(--ground); }
.filter-note { display: none; padding: 34px 0 6px; color: var(--cream-dim); }
.filter-note.is-visible { display: block; }

.roomlist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(28px, 4vw, 54px); padding-top: 48px; }
.roomcard { background: var(--ground-lift); display: flex; flex-direction: column; overflow: hidden; }
.roomcard[hidden] { display: none !important; }
.roomcard-media { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--ground-deep); }
.roomcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.roomcard:hover .roomcard-media img { transform: scale(1.018); }
.room-photo-pending { height: 100%; display: grid; place-items: center; padding: 28px; text-align: center; color: var(--cream-dim); font: 600 10px/1.6 var(--face-sign); letter-spacing: .12em; text-transform: uppercase; }
.roomcard-body { padding: clamp(25px, 3.5vw, 42px); display: flex; flex-direction: column; flex: 1; }
.roomcard h3 { font-size: clamp(30px, 3vw, 43px); margin-bottom: 12px; }
.room-position { min-height: 3.3em; color: var(--cream-dim); font-size: 16px; margin: 0 0 24px; }
.room-specs { display: grid; grid-template-columns: repeat(2,1fr); margin: 0 0 24px; border-top: 1px solid var(--rule); }
.room-specs div { padding: 15px 10px 8px 0; border-bottom: 1px solid var(--rule-soft); }
.room-specs div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule-soft); }
.room-specs div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.room-specs dt { color: var(--cream-dim); font: 600 9px/1.2 var(--face-sign); letter-spacing: .12em; text-transform: uppercase; }
.room-specs dd { margin: 5px 0 0; font-size: 14px; }
.room-amenities { margin: 0 0 28px; padding: 0; list-style: none; color: var(--cream-dim); font-size: 14px; }
.room-amenities li { display: inline; }
.room-amenities li + li::before { content: " · "; }
.roomactions { display: flex; gap: 12px; margin-top: auto; }
.roomactions .btn { flex: 1; }

/* Share content rows so different copy lengths keep adjacent cards aligned. */
@media (min-width: 651px) {
  .roomcard {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .roomcard-body {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
    min-width: 0;
  }
  .roomactions { margin-top: 0; }
}

.room-section { padding-top: clamp(48px, 6vw, 88px); }
.room-section > h2 { font-size: clamp(36px, 4.5vw, 62px); margin-bottom: 18px; }
.room-section > p { max-width: 62ch; color: var(--cream-dim); margin: 0 0 38px; font-size: 17px; }
.inclusions { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--rule); }
.inclusions div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--rule); }
.inclusions div:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); padding-left: 28px; }
.inclusions strong { display: block; font-size: 18px; font-weight: 400; margin-bottom: 7px; }
.inclusions span { color: var(--cream-dim); font-size: 14px; }

.comparison-wrap { overflow-x: auto; }
.comparison { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.comparison th, .comparison td { padding: 18px 16px; border-bottom: 1px solid var(--rule); }
.comparison th { color: var(--cream-dim); font: 600 9px/1.2 var(--face-sign); letter-spacing: .12em; text-transform: uppercase; }
.comparison tbody th { color: var(--cream); font-family: var(--face-display); font-size: 21px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.comparison td { color: var(--cream-dim); font-size: 14px; }

.accessibility { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 8vw, 110px); padding: clamp(60px, 8vw, 100px); background: var(--ground-lift); }
.accessibility h2 { font-size: clamp(36px, 4.5vw, 58px); }
.accessibility p { color: var(--cream-dim); margin: 0 0 22px; font-size: 17px; }
.accessibility a { color: var(--cream); }

.bookstrip { padding-top: clamp(48px, 6vw, 88px); }
.bookstrip h2 { font-size: clamp(36px, 4.5vw, 62px); margin-bottom: 14px; }
.bookstrip > p { color: var(--cream-dim); max-width: 58ch; margin: 0 0 30px; }

/* Individual room pages */
.room-detail-hero { padding-top: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; }
.room-detail-hero > .detail-lead { order: 1; }
.room-detail-hero > .room-gallery { order: 2; }
.room-detail-hero > .room-photo-controls { order: 3; }
.room-detail-hero .eyebrow { margin-bottom: 16px; }
.room-detail-hero h1 { font-size: clamp(52px, 8vw, 100px); line-height: .96; max-width: 10ch; }
.detail-lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); padding-top: 28px; }
.detail-lead > p { color: var(--cream-dim); font-size: 19px; margin: 0; }
.detail-lead .room-detail-book { display: table; margin-top: 28px; }
.detail-facts { display: grid; grid-template-columns: repeat(2,1fr); margin: 0; }
.detail-facts div { padding: 15px 0; border-top: 1px solid var(--rule); }
.detail-facts div:nth-child(even) { padding-left: 20px; }
.detail-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.detail-facts dt { color: var(--cream-dim); font: 600 9px/1.2 var(--face-sign); text-transform: uppercase; letter-spacing: .12em; }
.detail-facts dd { margin: 5px 0 0; }
.room-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; padding-top: clamp(60px, 8vw, 100px); }
.room-gallery figure { margin: 0; overflow: hidden; background: var(--ground-lift); }
.room-picture { display: block; width: 100%; height: 100%; }
.room-gallery figure:first-child { grid-row: span 2; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-gallery figure:first-child img { min-height: 680px; }
.room-gallery figure:not(:first-child) img { min-height: 331px; }
.room-viewer { padding-top: clamp(60px, 8vw, 100px); outline: none; }
.room-viewer:focus-visible { outline: 2px solid var(--cream); outline-offset: 6px; }
.room-viewer-stage {
  position: relative; min-height: 0; padding: 18px; overflow: hidden;
  background: #181814; display: grid; place-items: center;
}
.room-viewer-stage > .room-picture { width: auto; height: auto; max-width: 100%; max-height: 72svh; }
.room-viewer-stage > .room-picture img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 72svh;
  object-fit: contain; object-position: center;
}
.room-viewer-arrow {
  position: absolute; bottom: 18px; width: 58px; height: 58px; border: 0;
  background: rgba(21,23,19,.92); color: #f1eee7; font-size: 25px;
  line-height: 1; cursor: pointer;
}
.room-viewer-arrow:hover { background: #2b2d27; }
.room-viewer-prev { right: 82px; }
.room-viewer-next { right: 18px; }
.room-viewer-thumbs {
  display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 6px;
  scrollbar-width: thin; scroll-snap-type: x proximity;
}
.room-viewer-thumbs button {
  appearance: none; flex: 0 0 104px; height: 78px; margin: 0; padding: 0;
  border: 2px solid transparent; background: var(--ground-lift); opacity: .62;
  cursor: pointer; overflow: hidden; scroll-snap-align: center;
}
.room-viewer-thumbs button:hover, .room-viewer-thumbs button.is-active { opacity: 1; }
.room-viewer-thumbs button.is-active { border-color: var(--cream); }
.room-viewer-thumbs img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  background: #181814;
}
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 110px); }
.feature-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.feature-list li { padding: 15px 0; border-bottom: 1px solid var(--rule); }
.faqs details { border-top: 1px solid var(--rule); padding: 17px 0; }
.faqs details:last-child { border-bottom: 1px solid var(--rule); }
.faqs summary { cursor: pointer; font-size: 17px; }
.faqs details p { color: var(--cream-dim); margin: 13px 0 0; }

@media (max-width: 1320px) {
  .pagehead .callnow { display: none; }
}

@media (max-width: 1040px) {
  .pagehead { flex-wrap: wrap; gap: 12px 16px; }
  .pagehead .wayfind {
    order: 3; display: flex; flex-basis: 100%; width: 100%; margin-left: 0;
    padding-top: 13px; border-top: 1px solid var(--rule);
    justify-content: space-between; overflow-x: auto; gap: 18px;
  }
  .pagehead .wayfind a { white-space: nowrap; padding: 8px 0; }
  .pagehead > .hero-actions { margin-left: auto; }
  .rooms-intro, .accessibility, .detail-lead, .detail-columns { grid-template-columns: 1fr; }
  .inclusions { grid-template-columns: 1fr 1fr; }
  .inclusions div:nth-child(n) { border-left: 0; padding-left: 0; }
  .inclusions div:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 28px; }
}

@media (max-width: 820px) {
  .pagehead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-items: center;
  }
  .pagehead > .hero-actions,
  .pagehead > .btn { grid-column: 1 / -1; width: 100%; margin: 0; }
  .pagehead .wayfind {
    grid-column: 1 / -1;
    order: initial;
    flex-basis: auto;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
  }
  .pagehead .wayfind a { white-space: normal; padding: 13px 0; }
}

@media (max-width: 650px) {
  .rooms-hero { min-height: 72svh; }
  .rooms-hero-copy h1 { font-size: clamp(50px, 16vw, 72px); }
  .roomlist, .inclusions { grid-template-columns: 1fr; }
  .inclusions div:nth-child(n) { border-left: 0; padding-left: 0; }
  .roomactions { flex-direction: column; }
  .accessibility { margin-inline: -22px; padding-inline: 22px; }
  .room-gallery { grid-template-columns: 1fr; }
  .room-gallery figure:first-child { grid-row: auto; }
  .room-gallery figure:first-child img, .room-gallery figure:not(:first-child) img { min-height: 0; aspect-ratio: 4/3; }
  .room-viewer-stage { min-height: 0; padding: 10px; }
  .room-viewer-stage > .room-picture,
  .room-viewer-stage > .room-picture img { max-height: 65svh; }
  .room-viewer-arrow { bottom: 12px; width: 50px; height: 50px; font-size: 21px; }
  .room-viewer-prev { right: 68px; }
  .room-viewer-next { right: 12px; }
  .room-viewer-thumbs button { flex-basis: 82px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .roomcard-media img { transition: none; }
}

/* Keep every photograph available without placing the full gallery above room details. */
.room-gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-top: 0; margin-top: 24px; height: min(60svh, 540px);
  background: #e5e0d6; scrollbar-width: thin;
}
.room-gallery figure { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.room-gallery figure:first-child img, .room-gallery figure:not(:first-child) img {
  width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: contain;
}
.room-gallery:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.room-photo-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.room-photo-controls button {
  min-height: 44px; padding: 10px 12px; border: 1px solid var(--rule); background: transparent;
  color: var(--cream); font: 500 12px/1.4 var(--face-sign); cursor: pointer;
}
.room-photo-controls button:disabled { opacity: .5; cursor: default; }
.room-photo-controls span { font: 12px/1.4 var(--face-sign); white-space: nowrap; }
.room-access-link { margin: 0 0 24px; }
.room-specs dt, .detail-facts dt { font-size: 12px; letter-spacing: .08em; }
.room-filter, .comparison th { font-size: 12px; letter-spacing: .08em; }

@media (max-width: 820px) {
  .rooms-hero { min-height: min(56svh, 480px); }
  .room-detail-hero { padding-top: 28px; }
  .room-detail-hero > .room-gallery {
    margin-top: 0; height: auto; aspect-ratio: var(--room-photo-ratio, 4 / 3);
    max-height: min(54svh, 420px);
  }
  .room-detail-hero > .detail-lead { order: 4; padding-top: 28px; gap: 24px; }
  .rooms-hero-copy { padding-block: 40px; }
  .rooms-hero-copy h1 { font-size: clamp(42px, 11vw, 56px); line-height: 1.04; margin-bottom: 22px; }
  .rooms-hero-copy p { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
  .rooms-hero-copy > p:last-of-type { margin-bottom: 0; }
}

/* A balanced room selection, a fitted photo frame and direct photo choices. */
@media (min-width: 1100px) {
  .roomlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .roomcard-body { padding: 24px; }
  .roomactions .btn { padding: 12px 10px; min-width: 0; }
}
.room-detail-hero > .room-gallery { width: auto; height: min(48vw, 540px); aspect-ratio: 4 / 3; max-width: 100%; align-self: center; }
.room-detail-hero > .room-photo-thumbnails { order: 3; }
.room-detail-hero > .room-photo-controls { order: 4; }
.room-photo-thumbnails { display: flex; justify-content: safe center; gap: 8px; padding: 12px 2px 6px; overflow-x: auto; max-width: 100%; }
.room-photo-thumbnails button { flex: 0 0 auto; padding: 3px; border: 1px solid var(--rule); background: var(--ground-lift); cursor: pointer; }
.room-photo-thumbnails button[aria-pressed="true"] { border-color: var(--cta); outline: 1px solid var(--cta); }
.room-photo-thumbnails button:focus-visible { outline: 2px solid var(--cta); outline-offset: 2px; }
.room-photo-thumbnails img { display: block; width: 80px; height: 60px; object-fit: cover; }
@media (max-width: 820px) {
  .room-detail-hero > .room-gallery { width: 100%; height: auto; max-height: min(54svh, 420px); }
  .room-detail-hero > .detail-lead { order: 5; }
}
@media (max-width: 650px) {
  .comparison { width: 100%; min-width: 0; }
  .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .comparison tbody { display: grid; gap: 16px; }
  .comparison tbody tr { display: block; padding: 16px; background: var(--ground-lift); border: 1px solid var(--rule); }
  .comparison tbody th { display: block; border: 0; padding: 0 0 12px; font-size: 22px; }
  .comparison td { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 10px 0; font-size: 16px; }
  .comparison td::before { content: attr(data-label); font: 12px/1.5 var(--face-sign); color: var(--cream-dim); }
  .comparison td:last-child { border-bottom: 0; }
}
