.room-directory, .room-detail { padding-bottom: 88px; }
.room-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 26px; color: #858987; font-size: 10px; letter-spacing: .05em; }
.room-breadcrumbs a { transition: color .2s ease; }
.room-breadcrumbs a:hover { color: var(--gold); }
.room-directory-heading { max-width: 690px; margin: 48px auto 42px; text-align: center; }
.room-directory-heading .eyebrow { justify-content: center; }
.room-directory-heading h1 { margin: 0 0 14px; font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.room-directory-heading h1 em, .room-detail-heading h1 em { color: var(--blue-deep); font-family: var(--script); font-size: 1.12em; font-style: normal; font-weight: 400; letter-spacing: 0; }
.room-directory-heading > p:last-child, .room-detail-intro { max-width: 490px; margin: 0 auto; color: #6c7273; font-size: 13px; line-height: 1.85; }
.room-gallery-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 auto 27px; color: #747b7b; font-size: 10px; letter-spacing: .04em; text-align: center; }
.room-gallery-note::before { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(216,179,173,.15); content: ''; }
.room-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.room-card {
  --theme-wash: #f2e7e2;
  --theme-accent: #b38b82;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(36,43,49,.1);
  border-radius: var(--radius-large);
  background: rgba(255,253,248,.78);
  box-shadow: 0 12px 35px rgba(43,49,49,.035);
  transition: transform .24s ease, box-shadow .24s ease;
}
.room-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(43,49,49,.09); }
.room-card[data-theme="kitty"] { --theme-wash: #e9edef; --theme-accent: #718b99; }
.room-card[data-theme="ocean"] { --theme-wash: #e0ebeb; --theme-accent: #4d7885; }
.room-card[data-theme="paris"] { --theme-wash: #f0e8dd; --theme-accent: #a98353; }
.room-card[data-theme="flora"] { --theme-wash: #e7ece4; --theme-accent: #748a70; }
.room-card-art { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: var(--theme-wash); }
.room-card-art::before { position: absolute; width: 68%; height: 78%; border: 1px solid color-mix(in srgb, var(--theme-accent) 48%, transparent); border-radius: 50% 50% 22px 22px / 38% 38% 22px 22px; content: ''; }
.room-card-art::after { position: absolute; right: -22px; bottom: -35px; width: 115px; height: 115px; border: 1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent); border-radius: 50%; content: ''; }
.room-card-number { position: absolute; top: 16px; left: 17px; color: color-mix(in srgb, var(--theme-accent) 78%, #242b31); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.room-card-word { position: relative; z-index: 1; padding-top: 14px; color: var(--theme-accent); font-family: var(--script); font-size: clamp(35px, 4vw, 49px); line-height: 1; }
.room-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 22px clamp(16px, 3vw, 31px); }
.room-card-kicker { margin-bottom: 5px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.room-card-copy h2 { margin: 0 0 19px; font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); font-weight: 500; letter-spacing: -.025em; }
.room-card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-deep); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.room-card-link span { color: var(--gold); font-size: 14px; transition: transform .2s ease; }
.room-card:hover .room-card-link span { transform: translate(3px, -2px); }
.room-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }

.room-detail { --theme-wash: #f2e7e2; --theme-accent: #b38b82; }
.room-detail[data-theme="kitty"] { --theme-wash: #e9edef; --theme-accent: #718b99; }
.room-detail[data-theme="ocean"] { --theme-wash: #e0ebeb; --theme-accent: #4d7885; }
.room-detail[data-theme="paris"] { --theme-wash: #f0e8dd; --theme-accent: #a98353; }
.room-detail[data-theme="flora"] { --theme-wash: #e7ece4; --theme-accent: #748a70; }
.room-detail-heading { max-width: 700px; margin: 37px auto 39px; text-align: center; }
.room-detail-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
.room-detail-heading h1 { margin: 0 0 12px; font-size: clamp(43px, 5.5vw, 66px); line-height: 1; }
.room-detail-heading h1 em { color: var(--theme-accent); }
.room-detail-intro { margin-bottom: 17px; }
.gallery-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid color-mix(in srgb, var(--theme-accent) 28%, transparent); border-radius: var(--radius-pill); color: var(--theme-accent); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-status::before { width: 5px; height: 5px; border-radius: 50%; background: var(--theme-accent); content: ''; }
.room-photo-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, minmax(135px, 1fr)); gap: 16px; }
.room-photo-slot { position: relative; display: grid; place-items: center; min-height: 225px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--theme-accent) 22%, transparent); border-radius: var(--radius-large); background: linear-gradient(145deg, var(--theme-wash), rgba(255,253,248,.82)); text-align: center; }
.room-photo-slot::before { position: absolute; inset: 16% 27%; border: 1px solid color-mix(in srgb, var(--theme-accent) 23%, transparent); border-radius: 50% 50% 24px 24px / 37% 37% 24px 24px; content: ''; }
.room-photo-slot::after { position: absolute; top: -40px; right: -33px; width: 145px; height: 145px; border: 1px solid color-mix(in srgb, var(--theme-accent) 14%, transparent); border-radius: 50%; content: ''; }
.room-photo-slot:first-child { grid-row: span 3; min-height: 450px; }
.room-photo-index { position: absolute; top: 19px; left: 20px; z-index: 1; color: var(--theme-accent); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.room-photo-message { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; padding: 20px; color: #737a7b; }
.room-photo-message small { color: var(--theme-accent); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.room-photo-message span { font-family: var(--serif); font-size: 20px; }
.room-photo-note { margin: 17px auto 0; color: #858987; font-size: 10px; text-align: center; }
.room-switcher { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(36,43,49,.12); }
.room-switcher a { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-deep); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.room-switcher a:hover { color: var(--gold); }
.room-switcher .room-switcher-all { padding: 10px 16px; border: 1px solid rgba(36,43,49,.16); border-radius: var(--radius-pill); }

@media (max-width: 760px) {
  .room-directory, .room-detail { padding-bottom: 64px; }
  .room-directory-heading { margin: 38px auto 32px; }
  .room-card-grid { grid-template-columns: 1fr; gap: 13px; }
  .room-card { min-height: 180px; grid-template-columns: 40% minmax(0, 1fr); }
  .room-card-art { min-height: 180px; }
  .room-card:last-child { grid-column: auto; width: auto; }
  .room-card-copy { padding-inline: 20px; }
  .room-card-copy h2 { margin-bottom: 13px; }
  .room-card-word { font-size: 40px; }
  .room-detail-heading { margin: 30px auto 28px; }
  .room-photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(275px, auto) minmax(155px, auto) minmax(155px, auto); gap: 11px; }
  .room-photo-slot { min-height: 155px; border-radius: 20px; }
  .room-photo-slot:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 275px; }
  .room-photo-slot:last-child { grid-column: 1 / -1; }
  .room-photo-slot::before { inset: 16% 28%; }
}

@media (max-width: 430px) {
  .room-breadcrumbs { font-size: 9px; }
  .room-card { min-height: 160px; grid-template-columns: 38% minmax(0, 1fr); }
  .room-card-art { min-height: 160px; }
  .room-card-word { font-size: 33px; }
  .room-card-copy { padding-inline: 14px; }
  .room-card-copy h2 { font-size: 25px; }
  .room-card-link { font-size: 8px; letter-spacing: .06em; }
  .room-photo-grid { grid-template-rows: minmax(245px, auto) minmax(138px, auto) minmax(138px, auto); }
  .room-photo-slot:first-child { min-height: 245px; }
  .room-photo-slot { min-height: 138px; }
  .room-photo-message span { font-size: 16px; }
  .room-switcher { flex-wrap: wrap; }
  .room-switcher .room-switcher-all { order: 3; width: 100%; justify-content: center; }
}
