.brand-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  margin: 0 8vw 1.5rem;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-accommodation {
  display: grid;
  grid-template-columns: minmax(0, calc((100% - 2rem) / 3)) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 0 8vw clamp(2rem, 3vw, 3rem);
}
.story-accommodation .stays {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  padding: 0;
  min-width: 0;
}
.story-accommodation .stay-card { min-width: 0; }

/* The tilted diamond sits in a break in the open-bottom gold frame. */
.story-accommodation .stay-card {
  --stay-fill: #fff;
  position: relative;
  border-top: 0;
  background-color: transparent;
  background-image:
    url("assets/stay-corner-frame.svg"),
    linear-gradient(#e7aa60, #e7aa60),
    linear-gradient(#e7aa60, #e7aa60),
    linear-gradient(#e7aa60, #e7aa60),
    linear-gradient(135deg, transparent 25.5px, var(--stay-fill) 26px);
  background-size: 36px 36px, calc(100% - 36px) 2px, 2px calc(100% - 36px), 2px 100%, 100% 100%;
  background-position: left top, right top, left bottom, right top, left top;
  background-repeat: no-repeat;
}
.story-accommodation .stay-card.tiny { --stay-fill: var(--sky); }
.story-accommodation .stay-card.together { --stay-fill: var(--ink); }
.story-accommodation .stay-card { scroll-margin-top: 94px; }
.story-accommodation .stay-card.stay-tour-focus {
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(255,196,77,.9), 0 0 28px 9px rgba(255,196,77,.68);
  transition: box-shadow .2s ease;
}
.story-accommodation .stay-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 38px;
  height: 38px;
  background: url("assets/stay-corner-diamond.svg") center / contain no-repeat;
  pointer-events: none;
}
.story-accommodation .stay-book-link {
  position: absolute;
  z-index: 2;
  top: 3.65rem;
  right: 1.75rem;
  width: 3.6rem;
  margin: 0;
  color: #111;
  font: 500 .61rem/1.2 "DM Sans", sans-serif;
  text-align: center;
  text-decoration: none;
}
.story-accommodation .stay-book-link:hover,
.story-accommodation .stay-book-link:focus-visible { text-decoration: underline; }
.story-accommodation .stay-card.together .stay-book-link { color: #fff; }
@media (max-width: 900px) {
  .story-accommodation .stay-book-link { top: 2.85rem; right: 1.25rem; width: 3.1rem; font-size: .57rem; }
}

.story-disclosure { min-width: 0; flex: 1; }
.story-disclosure summary {
  display: block;
  position: relative;
  padding-right: 2rem;
  list-style: none;
  cursor: pointer;
}
.story-disclosure summary::-webkit-details-marker { display: none; }
.story-disclosure summary h3 { margin: 0; }
.story-disclosure summary::after {
  content: "";
  position: absolute;
  right: .4rem;
  top: .3rem;
  width: .85rem;
  height: .85rem;
  border-right: 4px solid #ffc44d;
  border-bottom: 4px solid #ffc44d;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.story-disclosure[open] summary::after { transform: rotate(225deg); }
.story-disclosure summary:focus-visible { outline: 2px solid #ffc44d; outline-offset: 4px; }
.story-disclosure p { margin-top: .7rem; }

.brand-story article {
  min-height: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.brand-story .story-location {
  background: #0d5158;
  color: #fff;
}

.story-top {
  width: 3.2rem;
  flex: 0 0 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-symbol {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.brand-story h3 {
  max-width: 24ch;
  margin: 0 0 .45rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.15rem, 1.45vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.brand-story p {
  max-width: 46ch;
  margin: 0;
  font-size: .9rem;
  line-height: 1.48;
  opacity: .78;
}

.story-location p {
  opacity: .82;
}

.story-image {
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .brand-story {
    grid-template-columns: 1fr;
    margin: 0 6vw 1rem;
  }

  .story-accommodation {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 6vw 2rem;
  }

  .story-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
  }

  .brand-story article {
    padding: 1rem 1.2rem;
    gap: .8rem;
  }

  .story-top {
    width: 2.25rem;
    flex-basis: 2.25rem;
  }

  .story-symbol {
    width: 2.25rem;
    height: 2.25rem;
  }

  .brand-story h3,
  .brand-story p {
    max-width: 32ch;
  }

  .story-image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-disclosure summary::after { transition: none; }
}
