/* Selectors start at the inner wrapper or below. The auto-scope prefix is applied in front of every selector and the
   section root itself matches `.cc_<id>` only, so a `.room-showcase` rule here would never match. Background colour,
   --rs-* colour variables and padding are set inline in index.tsx. */
.cc_8nqxgjaf_KYCldVrT15 .room-showcase-inner {
  --rs-gutter: max(var(--ll-page-padding), calc((100% - var(--ll-content-width)) / 2 + var(--ll-page-padding)));
  --rs-main: clamp(200px, 32vw, 460px);
  --rs-ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: min(54vw, 840px);
  overflow: hidden;
  padding-right: var(--rs-gutter);
  padding-left: var(--rs-gutter);
  text-align: left;
  isolation: isolate;
}

/* Eyebrow: small gold label with a hairline before it. */
.cc_8nqxgjaf_KYCldVrT15 .rs-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  color: var(--rs-accent);
}

/* Rows. IkasComponentRenderer adds a display:contents wrapper around every row, so rows are grandchildren of .rs-list
   and the first row is the first child's .rsi. Rows touch each other, so moving along the list never drops the hover. */
.cc_8nqxgjaf_KYCldVrT15 .rs-body, .cc_8nqxgjaf_KYCldVrT15 .rs-list {
  display: contents;
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi {
  position: static;
  line-height: 1.04;
  padding: 4px 0;
}

/* Resting titles are pale; the active one darkens, slides right and draws a gold hairline in front of itself. */
.cc_8nqxgjaf_KYCldVrT15 .rsi-title {
  position: relative;
  display: inline-block;
  color: var(--rs-inactive);
  cursor: pointer;
  transition:
    color 0.5s ease,
    transform 0.7s var(--rs-ease);
}

.cc_8nqxgjaf_KYCldVrT15 .rsi-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  width: 0;
  height: 1px;
  background: var(--rs-accent);
  transition: width 0.7s var(--rs-ease);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-title, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-title {
  color: var(--rs-active);
  transform: translateX(56px);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-title::before, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-title::before {
  width: 40px;
}

/* Pictures. The left one is the large photo in the right column; the right one is a smaller photo laid over its
   lower-left corner with a paper-coloured frame. Hidden by default; the hovered row (or the first by default) shows
   its pair. Entry: the left photo is wiped in from the bottom, the right one from the top while it settles into place,
   and the photo inside zooms out. Exit: the old pair fades while the new one is already wiping in above it, then the
   clip resets unseen. */
.cc_8nqxgjaf_KYCldVrT15 .rsi-pic {
  position: absolute;
  z-index: -2;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    clip-path 0s linear 0.45s,
    transform 0s linear 0.45s;
}

.cc_8nqxgjaf_KYCldVrT15 .rsi-pic--left {
  top: 50%;
  right: var(--rs-gutter);
  width: var(--rs-main);
  transform: translateY(-50%);
  clip-path: inset(100% 0 0 0);
}

.cc_8nqxgjaf_KYCldVrT15 .rsi-pic--right {
  top: calc(50% + var(--rs-main) * 0.134);
  right: calc(var(--rs-gutter) + var(--rs-main) * 0.78);
  width: calc(var(--rs-main) * 0.46);
  box-shadow: 0 0 0 8px var(--rs-bg);
  clip-path: inset(0 0 100% 0);
  transform: translateY(32px);
}

.cc_8nqxgjaf_KYCldVrT15 .rsi-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 0s linear 0.45s;
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-pic, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-pic {
  z-index: -1;
  opacity: 1;
  clip-path: inset(0);
  transition:
    opacity 0.35s ease,
    clip-path 1.1s var(--rs-ease),
    transform 1.1s var(--rs-ease);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-pic--right {
  transform: translateY(0);
  transition-delay: 0s, 0.14s, 0.14s;
}

.cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-img, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-img {
  transform: scale(1);
  transition: transform 1.8s var(--rs-ease);
}

/* Layout `sides`: centred, airy list between two matching square-cut photos, both centred on the list. The first row is
   active until another is hovered; inactive rows are pale, the active one darkens and grows slightly. */
.cc_8nqxgjaf_KYCldVrT15 .rs--sides {
  --rs-side: clamp(170px, 24vw, 360px);
  --rs-edge: calc(var(--rs-gutter) + 1vw);

  align-items: center;
  text-align: center;
  background-image: radial-gradient(
    ellipse 50% 60% at 50% 50%,
    color-mix(in srgb, var(--rs-accent) 7%, transparent),
    transparent 70%
  );
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-eyebrow {
  justify-content: center;
  margin-bottom: 28px;
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list .rsi {
  padding: 0;
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-title {
  padding: 6px 0;
  font-size: clamp(1.875rem, 3.4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  transform-origin: center;
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-title::before {
  display: none;
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list .rsi:hover .rsi-title, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-title {
  transform: scale(1.04);
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic {
  aspect-ratio: 4 / 5;
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic--left {
  top: 50%;
  right: auto;
  left: var(--rs-edge);
  width: var(--rs-side);
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic--right {
  top: 50%;
  right: var(--rs-edge);
  width: var(--rs-side);
  box-shadow: none;
  transform: translateY(calc(-50% + 32px));
}

.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list .rsi:hover .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-pic--right {
  transform: translateY(-50%);
}

/* Square button in this layout, to match the photos. */
.cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-cta, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-cta::before {
  clip-path: none;
}

/* Cut-corner button, same family as the pictures; the gold fill rises on hover and the arrow moves. */
.cc_8nqxgjaf_KYCldVrT15 .rs-cta {
  --rs-cut: 10px;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  height: 52px;
  margin-top: 56px;
  padding: 0 36px;
  overflow: hidden;
  background: color-mix(in srgb, var(--rs-accent) 80%, transparent);
  clip-path: polygon(
    var(--rs-cut) 0,
    calc(100% - var(--rs-cut)) 0,
    100% var(--rs-cut),
    100% calc(100% - var(--rs-cut)),
    calc(100% - var(--rs-cut)) 100%,
    var(--rs-cut) 100%,
    0 calc(100% - var(--rs-cut)),
    0 var(--rs-cut)
  );
  color: var(--rs-accent);
  text-decoration: none;
  isolation: isolate;
  transition: color 0.4s ease;
}

/* The lapis fill inset by 1px leaves a gold hairline frame. */
.cc_8nqxgjaf_KYCldVrT15 .rs-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  background: var(--rs-bg);
  clip-path: polygon(
    calc(var(--rs-cut) - 0.5px) 0,
    calc(100% - var(--rs-cut) + 0.5px) 0,
    100% calc(var(--rs-cut) - 0.5px),
    100% calc(100% - var(--rs-cut) + 0.5px),
    calc(100% - var(--rs-cut) + 0.5px) 100%,
    calc(var(--rs-cut) - 0.5px) 100%,
    0 calc(100% - var(--rs-cut) + 0.5px),
    0 calc(var(--rs-cut) - 0.5px)
  );
}

.cc_8nqxgjaf_KYCldVrT15 .rs-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ll-color-bg-dark);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-cta:hover, .cc_8nqxgjaf_KYCldVrT15 .rs-cta:focus-visible {
  outline: none;
  color: var(--ll-color-text-inverse);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-cta:hover::after, .cc_8nqxgjaf_KYCldVrT15 .rs-cta:focus-visible::after {
  transform: translateY(0);
}

.cc_8nqxgjaf_KYCldVrT15 .rs-cta svg {
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.cc_8nqxgjaf_KYCldVrT15 .rs-cta:hover svg {
  transform: translateX(4px);
}

/* Narrow screens: the photo pair sits above the list instead of at the edges. Tapping a row (hover on touch) swaps the
   pair, the first row's pair shows by default. Rows are separated by hairlines. */
@media (max-width: 767px) {
  .cc_8nqxgjaf_KYCldVrT15 .room-showcase-inner {
    min-height: 0;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs-eyebrow, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-eyebrow {
    margin-bottom: 28px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  /* The photos anchor to this wrapper (the renderer's own list element is not a reliable containing block). */
  .cc_8nqxgjaf_KYCldVrT15 .rs-body {
    position: relative;
    display: block;
    width: 100%;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs-list {
    display: block;
  }

  /* Reserves the height of the photo pair: two 46%-wide 4:5 photos. */
  .cc_8nqxgjaf_KYCldVrT15 .rs-body::before {
    content: "";
    display: block;
    padding-top: 57.5%;
    margin-bottom: 32px;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic, .cc_8nqxgjaf_KYCldVrT15 .rs--split .rsi-pic {
    top: 0;
    width: 46%;
    aspect-ratio: 4 / 5;
    transform: none;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic--left, .cc_8nqxgjaf_KYCldVrT15 .rs--split .rsi-pic--left {
    right: auto;
    left: 0;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs--split .rsi-pic--right {
    right: 0;
    left: auto;
    box-shadow: none;
    transform: translateY(24px);
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list .rsi:hover .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs--split .rs-list .rsi:hover .rsi-pic--right, .cc_8nqxgjaf_KYCldVrT15 .rs--split .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-pic--right {
    transform: translateY(0);
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--split .rsi-title::before {
    display: none;
  }

  /* Rows stay unpositioned so the photos anchor to the list, not to their own row. */
  .cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi, .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rs-list .rsi {
    padding: 14px 0;
    border-top: 1px solid color-mix(in srgb, var(--rs-active) 12%, transparent);
    text-align: center;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs-list > :last-child .rsi {
    border-bottom: 1px solid color-mix(in srgb, var(--rs-active) 12%, transparent);
  }

  /* The link fills the row's padding, so the whole row is tappable. */
  .cc_8nqxgjaf_KYCldVrT15 .rsi-link {
    display: block;
    margin: -14px 0;
    padding: 14px 0;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs-list .rsi:hover .rsi-title, .cc_8nqxgjaf_KYCldVrT15 .rs-list:not(:has(.rsi:hover)) > :first-child .rsi .rsi-title {
    transform: none;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs--sides .rsi-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    font-weight: 400;
  }

  .cc_8nqxgjaf_KYCldVrT15 .rs-cta {
    margin-top: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_8nqxgjaf_KYCldVrT15 .rsi-title, .cc_8nqxgjaf_KYCldVrT15 .rsi-title::before, .cc_8nqxgjaf_KYCldVrT15 .rsi-pic, .cc_8nqxgjaf_KYCldVrT15 .rsi-img, .cc_8nqxgjaf_KYCldVrT15 .rs-cta, .cc_8nqxgjaf_KYCldVrT15 .rs-cta::after, .cc_8nqxgjaf_KYCldVrT15 .rs-cta svg {
    transition: none;
  }
}
