/* Rooms page styles */
.rooms-page .global-nav a[aria-current="page"]::after {
  width: 100%;
}

.rooms-page.menu-open .floating-actions {
  opacity: 0;
  pointer-events: none;
}

.rooms-hero {
  display: grid;
  min-height: calc(100svh - 100px);
  grid-template-columns: minmax(0, 1.16fr) minmax(470px, 0.84fr);
  background: var(--white);
}

.rooms-hero-media {
  min-height: 720px;
  overflow: hidden;
  background: var(--beige);
}

.rooms-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.rooms-hero-copy {
  display: flex;
  padding: clamp(62px, 7vw, 130px) clamp(76px, 7vw, 132px) 72px clamp(55px, 6vw, 112px);
  flex-direction: column;
  justify-content: center;
}

.rooms-hero-copy h1 {
  margin-bottom: clamp(34px, 4vw, 62px);
  font-size: clamp(37px, 2.7vw, 50px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.55;
}

.rooms-lead {
  max-width: 600px;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 2.1;
}

.rooms-lead p {
  margin-bottom: 22px;
}

.rooms-facts {
  display: grid;
  max-width: 600px;
  margin: 25px 0 42px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(15, 15, 15, 0.35);
}

.rooms-facts li {
  padding: 12px 9px 10px;
  border-bottom: 1px solid rgba(15, 15, 15, 0.35);
  font-size: 14px;
  letter-spacing: 0.06em;
}

.rooms-facts li:nth-child(odd) {
  padding-left: 0;
  border-right: 1px solid rgba(15, 15, 15, 0.35);
}

.rooms-primary-link {
  display: inline-flex;
  width: min(100%, 360px);
  min-height: 66px;
  padding: 13px 28px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  transition:
    color 200ms ease,
    background 200ms ease;
}

.rooms-primary-link .reserve-mark {
  background: currentColor;
}

.rooms-primary-link:hover,
.rooms-primary-link:focus-visible {
  color: var(--red);
  background: var(--white);
}

.rooms-floorplan {
  display: grid;
  padding: clamp(110px, 9vw, 175px) var(--side-space);
  grid-template-columns: minmax(280px, 0.55fr) minmax(620px, 1.45fr);
  align-items: center;
  gap: clamp(70px, 8vw, 150px);
  background: #f1ece5;
}

.rooms-section-heading {
  max-width: 460px;
  margin-left: auto;
}

.rooms-section-heading .eyebrow,
.rooms-features-heading .eyebrow,
.rooms-amenities-heading .eyebrow {
  margin-bottom: 14px;
  color: var(--red);
}

.rooms-section-heading h2,
.rooms-features-heading h2,
.rooms-amenities-heading h2 {
  margin-bottom: 34px;
  font-size: clamp(33px, 2.7vw, 50px);
}

.rooms-section-heading h2 {
  font-size: clamp(32px, 2.15vw, 40px);
}

.rooms-section-heading > p:last-child {
  margin: 0;
  font-weight: 500;
}

.rooms-floorplan-figure {
  width: min(100%, 1060px);
  margin: 0;
}

.rooms-floorplan-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 15, 15, 0.12);
  box-shadow: 0 14px 45px rgba(71, 51, 31, 0.08);
  cursor: zoom-in;
}

.rooms-floorplan-open img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rooms-floorplan-open span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 8px 15px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.rooms-floorplan-figure figcaption {
  margin-top: 12px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.rooms-together {
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(0, 1.15fr) minmax(470px, 0.85fr);
  background: var(--white);
}

.rooms-together-media {
  min-height: 700px;
}

.rooms-together-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rooms-together-copy {
  display: flex;
  padding: clamp(80px, 8vw, 150px) clamp(76px, 8vw, 150px) clamp(80px, 8vw, 150px) clamp(54px, 6vw, 110px);
  flex-direction: column;
  justify-content: center;
}

.rooms-together-copy .eyebrow {
  margin-bottom: 17px;
  color: var(--red);
}

.rooms-together-copy h2 {
  margin-bottom: 42px;
  font-size: clamp(31px, 2.55vw, 48px);
}

.rooms-together-copy p:not(.eyebrow) {
  margin-bottom: 20px;
  font-weight: 500;
}

.rooms-features {
  padding: clamp(110px, 9vw, 170px) var(--side-space) clamp(125px, 10vw, 190px);
  background: var(--paper);
}

.rooms-features-heading {
  width: min(100%, 1480px);
  margin: 0 auto clamp(76px, 7vw, 125px);
}

.rooms-feature {
  display: grid;
  width: min(100%, 1480px);
  margin: 0 auto clamp(100px, 9vw, 165px);
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  align-items: center;
  gap: clamp(55px, 7vw, 130px);
}

.rooms-feature:last-child {
  margin-bottom: 0;
}

.rooms-feature-reverse {
  grid-template-columns: minmax(380px, 0.84fr) minmax(0, 1.16fr);
}

.rooms-feature-reverse .rooms-feature-media,
.rooms-feature-reverse .rooms-play-visual {
  grid-column: 2;
  grid-row: 1;
}

.rooms-feature-reverse .rooms-feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.rooms-feature-media {
  min-height: 560px;
  overflow: hidden;
}

.rooms-feature-media > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.rooms-feature-copy {
  max-width: 520px;
}

.rooms-feature-number {
  margin-bottom: 26px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.rooms-feature-copy h3 {
  margin-bottom: 30px;
  font-size: clamp(29px, 2.35vw, 43px);
  letter-spacing: 0.06em;
}

.rooms-feature-copy p:not(.rooms-feature-number) {
  margin-bottom: 20px;
  font-weight: 500;
}

.rooms-feature-collage {
  display: grid;
  min-height: 610px;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 12px;
}

.rooms-feature-collage > img {
  min-height: 610px;
}

.rooms-feature-collage > img:last-child {
  object-position: 68% center;
}

.rooms-preparing {
  padding-top: 18px;
  color: var(--gray);
  border-top: 1px solid rgba(15, 15, 15, 0.2);
  font-size: 13px;
}

.rooms-play-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  overflow: hidden;
  place-content: center;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.rooms-play-visual::before,
.rooms-play-visual::after {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
}

.rooms-play-visual::before {
  top: -85px;
  left: -65px;
}

.rooms-play-visual::after {
  right: -50px;
  bottom: -105px;
}

.rooms-play-visual span {
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

.rooms-play-visual small {
  margin-top: 27px;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.rooms-amenities {
  display: grid;
  padding: clamp(110px, 9vw, 170px) var(--side-space);
  grid-template-columns: minmax(320px, 0.62fr) minmax(560px, 1.38fr);
  gap: clamp(75px, 9vw, 165px);
  background: var(--white);
}

.rooms-amenities-heading {
  max-width: 430px;
  margin-left: auto;
}

.rooms-amenities-heading > p:last-child {
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
}

.rooms-amenity-list {
  width: min(100%, 900px);
}

.rooms-amenity-list details {
  border-top: 1px solid rgba(15, 15, 15, 0.48);
}

.rooms-amenity-list details:last-child {
  border-bottom: 1px solid rgba(15, 15, 15, 0.48);
}

.rooms-amenity-list summary {
  display: grid;
  min-height: 94px;
  padding: 20px 6px;
  grid-template-columns: 54px 1fr 26px;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
}

.rooms-amenity-list summary::-webkit-details-marker {
  display: none;
}

.rooms-amenity-list summary > span {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.rooms-amenity-list summary > strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.rooms-amenity-list summary i {
  position: relative;
  width: 22px;
  height: 22px;
}

.rooms-amenity-list summary i::before,
.rooms-amenity-list summary i::after {
  position: absolute;
  top: 10px;
  left: 2px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform 200ms ease;
}

.rooms-amenity-list summary i::after {
  transform: rotate(90deg);
}

.rooms-amenity-list details[open] summary i::after {
  transform: rotate(0);
}

.rooms-amenity-list details > ul,
.rooms-amenity-list details > p {
  margin: 0;
  padding: 0 50px 30px 78px;
  color: #333;
  font-weight: 500;
}

.rooms-amenity-list details > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 38px;
}

.rooms-floorplan-dialog {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  background: var(--white);
  border: 0;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.3);
}

.rooms-floorplan-dialog::backdrop {
  background: rgba(15, 15, 15, 0.72);
}

.rooms-floorplan-dialog-inner {
  position: relative;
  padding: 42px;
}

.rooms-floorplan-dialog img {
  width: 100%;
  max-height: calc(94vh - 84px);
  object-fit: contain;
}

.rooms-floorplan-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(15, 15, 15, 0.22);
  border-radius: 50%;
  cursor: pointer;
}

.rooms-floorplan-close span::before,
.rooms-floorplan-close span::after {
  position: absolute;
  top: 22px;
  left: 12px;
  width: 21px;
  height: 1px;
  background: var(--ink);
  content: "";
}

.rooms-floorplan-close span::before {
  transform: rotate(45deg);
}

.rooms-floorplan-close span::after {
  transform: rotate(-45deg);
}

@media (max-width: 1180px) {
  .rooms-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  }

  .rooms-hero-copy {
    padding: 75px 72px 65px 58px;
  }

  .rooms-floorplan {
    grid-template-columns: 0.65fr 1.35fr;
    gap: 65px;
  }

  .rooms-together {
    grid-template-columns: 1fr 0.9fr;
  }

  .rooms-together-copy {
    padding: 85px 75px 85px 55px;
  }

  .rooms-feature,
  .rooms-feature-reverse {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 65px;
  }

  .rooms-amenities {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .rooms-amenities-heading {
    max-width: 720px;
    margin: 0;
  }

  .rooms-amenity-list {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 820px) {
  .rooms-page .global-nav a[aria-current="page"] {
    color: var(--red);
  }

  .rooms-hero {
    display: block;
    min-height: 0;
  }

  .rooms-hero-media {
    height: clamp(232px, 64vw, 290px);
    min-height: 0;
  }

  .rooms-hero-media img {
    object-position: 62% center;
  }

  .rooms-hero-copy {
    display: block;
    padding: 32px 52px 78px 36px;
  }

  .rooms-hero-copy h1 {
    margin-bottom: 30px;
    font-size: 25px;
    letter-spacing: 0.07em;
  }

  .rooms-lead {
    font-size: 14px;
    line-height: 1.95;
  }

  .rooms-lead p {
    margin-bottom: 20px;
  }

  .rooms-facts {
    margin: 27px 0 32px;
  }

  .rooms-facts li {
    padding: 10px 7px 9px;
    font-size: 11px;
  }

  .rooms-primary-link {
    width: 100%;
    min-height: 58px;
    padding: 11px 20px;
    font-size: 13px;
  }

  .rooms-floorplan {
    display: block;
    padding: 78px 24px 88px;
  }

  .rooms-section-heading {
    margin: 0 30px 45px 12px;
  }

  .rooms-section-heading h2,
  .rooms-features-heading h2,
  .rooms-amenities-heading h2 {
    margin-bottom: 26px;
    font-size: 25px;
  }

  .rooms-section-heading > p:last-child {
    font-size: 13px;
  }

  .rooms-floorplan-open {
    padding: 12px;
  }

  .rooms-floorplan-open span {
    right: 10px;
    bottom: 9px;
    padding: 6px 10px;
    font-size: 9px;
  }

  .rooms-together {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .rooms-together-media {
    min-height: 280px;
  }

  .rooms-together-media img {
    min-height: 280px;
  }

  .rooms-together-copy {
    display: block;
    padding: 70px 52px 82px 36px;
  }

  .rooms-together-copy h2 {
    margin-bottom: 34px;
    font-size: 25px;
  }

  .rooms-together-copy p:not(.eyebrow) {
    margin-bottom: 19px;
    font-size: 13px;
  }

  .rooms-features {
    padding: 82px 24px 100px;
  }

  .rooms-features-heading {
    margin: 0 28px 60px 0;
  }

  .rooms-feature,
  .rooms-feature-reverse {
    display: flex;
    margin-bottom: 90px;
    flex-direction: column;
    gap: 34px;
  }

  .rooms-feature-media,
  .rooms-feature-reverse .rooms-feature-media,
  .rooms-feature-reverse .rooms-play-visual {
    width: calc(100% + 48px);
    min-height: 270px;
    margin-left: -24px;
    grid-column: auto;
    grid-row: auto;
    order: 1;
  }

  .rooms-feature-copy,
  .rooms-feature-reverse .rooms-feature-copy {
    padding-right: 28px;
    grid-column: auto;
    grid-row: auto;
    order: 2;
  }

  .rooms-feature-media > img {
    min-height: 270px;
  }

  .rooms-feature-number {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .rooms-feature-copy h3 {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .rooms-feature-copy p:not(.rooms-feature-number) {
    font-size: 13px;
  }

  .rooms-feature-collage {
    display: grid;
    min-height: 300px;
    grid-template-columns: 1.28fr 0.72fr;
    gap: 7px;
  }

  .rooms-feature-collage > img {
    min-height: 300px;
  }

  .rooms-play-visual {
    min-height: 300px;
  }

  .rooms-play-visual span {
    font-size: 65px;
  }

  .rooms-play-visual small {
    margin-top: 19px;
    font-size: 11px;
  }

  .rooms-amenities {
    display: block;
    padding: 82px 24px 100px;
  }

  .rooms-amenities-heading {
    margin: 0 30px 48px 12px;
  }

  .rooms-amenity-list {
    width: calc(100% - 28px);
  }

  .rooms-amenity-list summary {
    min-height: 76px;
    padding: 15px 2px;
    grid-template-columns: 38px 1fr 22px;
    gap: 10px;
  }

  .rooms-amenity-list summary > span {
    font-size: 10px;
  }

  .rooms-amenity-list summary > strong {
    font-size: 15px;
  }

  .rooms-amenity-list details > ul,
  .rooms-amenity-list details > p {
    padding: 0 8px 25px 42px;
    font-size: 12px;
  }

  .rooms-amenity-list details > ul {
    display: block;
  }

  .rooms-amenity-list details > ul li {
    margin-bottom: 7px;
  }

  .rooms-floorplan-dialog {
    width: 96vw;
    max-height: 92vh;
  }

  .rooms-floorplan-dialog-inner {
    padding: 48px 10px 15px;
  }

  .rooms-floorplan-dialog img {
    max-height: calc(92vh - 63px);
  }

  .rooms-floorplan-close {
    top: 5px;
    right: 6px;
    width: 40px;
    height: 40px;
  }

  .rooms-floorplan-close span::before,
  .rooms-floorplan-close span::after {
    top: 19px;
    left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rooms-primary-link,
  .rooms-amenity-list summary i::after {
    transition: none;
  }
}
