.night-guide {
  background: #241a2a;
  color: #2c1f2b;
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
.guide-cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #f8c494;
  padding: clamp(23px, 3.5vw, 56px);
  min-height: 210px;
}
.guide-cover h2 {
  position: relative;
  z-index: 1;
  width: max-content;
  margin: 0;
  transform: rotate(-5deg);
  font: 400 clamp(52px, 7vw, 108px)/1 Anton, sans-serif;
  text-shadow: 1px 1px #f8c494;
  scroll-margin-block: 100px;
}
.guide-cover h2 span {display:block;text-transform:uppercase}
.guide-cover h2 em {
  display:block;
  margin: -.09em -.05em 0 .17em;
  color: #92264c;
  font: 400 1em/.85 Yellowtail, cursive;
}
.guide-coast {
  position: absolute;
  inset: 25% 0 0;
  background: url(./assets/ocean-drive.webp) center 59% / cover;
  clip-path: polygon(0 84%, 100% 3%, 100% 100%, 0 100%);
}
.guide-pages {
  background: #fff0d9;
  padding: 4px clamp(20px, 4vw, 63px);
  box-shadow: inset 0 5px 12px -12px #57263a;
}
.guide-pages details + details {border-top: 1px solid #d0b7a3}
.guide-pages summary {
  list-style: none;
  cursor: pointer;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  font: 520 clamp(17px,1.55vw,25px)/1.22 Onest,sans-serif;
}
.guide-pages summary::-webkit-details-marker {display:none}
.guide-pages summary::after {
  content: "";
  flex: 0 0 10px;
  height:10px;
  border: solid #943a54;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.guide-pages details[open] summary::after {transform:rotate(225deg)}
.guide-pages details p {
  margin: -2px 24px 22px 0;
  max-width: 50ch;
  font: 390 clamp(15px,1.15vw,18px)/1.55 Onest,sans-serif;
}
@media(min-width:760px) {
  .guide-grid {grid-template-columns: .87fr 1.13fr}
  .guide-cover {min-height:360px}
  .guide-coast {inset:5% 0 0;clip-path:polygon(0 87%,100% 35%,100% 100%,0 100%)}
  .guide-pages {display:flex;flex-direction:column;justify-content:center;padding-block:24px;box-shadow:inset 14px 0 20px -24px #57263a}
}
@media(prefers-reduced-motion:no-preference) {
  .guide-pages summary::after {transition:transform .22s cubic-bezier(.2,.8,.2,1)}
}
.mobile-nav .menu-chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.menu-chapters a {
  display: flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.18;
  font-size: 14px;
  border-top: 1px solid #514456;
}
.menu-chapters a:hover {color: #ffbdac}
.statement-link {
  display:inline-flex;align-items:center;min-height:44px;
  color:#713550;text-decoration:underline;text-underline-offset:4px;
  font-size:14px;font-weight:540;
}

/* The sleeve travels out of its envelope as the collection enters the frame. */
.paint-shop .chapter-title {
  font: 400 clamp(48px,6.6vw,100px)/1.03 Anton,sans-serif;
  letter-spacing:-.023em;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion:no-preference) {
    .sleeve, .guide-cover, .release-pack {view-timeline-name: --print-entry}
    .sleeve-insert {animation: sleeve-pull both;animation-timeline: --print-entry;animation-range:entry 5% cover 54%}
    .guide-coast {animation: guide-unfold both;animation-timeline: --print-entry;animation-range:entry 0% cover 45%}
    .release-pack .release-case {animation: case-slide both;animation-timeline: --print-entry;animation-range:entry 0% cover 48%}
  }
}
@keyframes sleeve-pull {from{transform:translate(9%,7%) rotate(4deg)}to{transform:translate(0) rotate(0)}}
@keyframes guide-unfold {from{transform:translateY(12%)}to{transform:translateY(0)}}
@keyframes case-slide {from{transform:translate(-11%,12%) rotate(-18deg)}to{transform:rotate(-12deg)}}
.receipt-links {display:flex;gap:0 18px;flex-wrap:wrap}
.receipt-links [hidden] {display:none}
