.cw-exhibition {
  --exhibit-paper: #fff8e9;
  --exhibit-border: rgb(105 71 48 / 23%);
  display: grid;
  grid-template:
    "head stage" 1fr
    "outro stage" 1fr / minmax(240px, .82fr) minmax(0, 1.68fr);
  gap: 25px clamp(24px, 4vw, 64px);
  align-items: start;
}

.cw-exhibition-head {
  grid-area: head;
  align-self: end;
  container-type: inline-size;
}

.cw-world .cw-exhibition-head h2 {
  font-size: clamp(27px, 3.2vw, 52px);
  font-size: clamp(28px, 12.7cqi, 56px);
}

.cw-exhibition-head h2 > span {
  display: block;
  white-space: nowrap;
}

.cw-world .cw-exhibition-head .cw-exhibition-title-first {
  color: inherit;
}

.cw-exhibition-count {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 18px 0 0;
  color: #245e57;
  font-size: 13px;
  font-weight: 700;
}

.cw-exhibition-count strong {
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1;
}

.cw-exhibition-stage {
  grid-area: stage;
  min-width: 0;
}

.cw-exhibition-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-exhibition-track[hidden],
.cw-exhibition-controls[hidden],
.cw-exhibition-controls button[hidden] {
  display: none;
}

.cw-exhibition-item {
  --exhibit-accent: #80503d;
  --exhibit-height: clamp(320px, 36vw, 520px);
  min-width: 0;
  padding-top: 52px;
}

.cw-exhibition-item:nth-child(2) {
  --exhibit-accent: #22665e;
  --exhibit-height: clamp(285px, 32vw, 460px);
  padding-top: 23px;
}

.cw-exhibition-item:nth-child(3) {
  --exhibit-accent: #395981;
  --exhibit-height: clamp(250px, 28vw, 405px);
  padding-top: 0;
}

.cw-exhibition .cw-exhibition-link {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.cw-exhibition-art {
  position: relative;
  display: grid;
  place-items: end center;
  width: 100%;
  height: var(--exhibit-height);
  isolation: isolate;
}

.cw-exhibition-art::before {
  position: absolute;
  z-index: -1;
  right: 11%;
  bottom: -8px;
  left: 11%;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(97 65 39 / 23%), transparent 66%);
  content: "";
}

.cw-exhibition-art .gl-standing {
  height: 100%;
  filter: drop-shadow(6px 7px 5px rgb(80 50 30 / 13%));
  transform-origin: 40% 100%;
}

.cw-exhibition-lineups[data-flag-awaiting-entry] .gl-standing {
  opacity: 0;
}

.cw-exhibition-sign {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
  justify-items: center;
  padding: 9px clamp(10px, 1.2vw, 18px);
  border-top: 2px solid var(--exhibit-accent);
  border-bottom: 1px solid var(--exhibit-border);
  border-radius: 2px 2px 9px 9px;
  background: var(--exhibit-paper);
  line-height: 1.5;
}

.cw-exhibition-sign small {
  color: var(--exhibit-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
}

.cw-exhibition-sign strong {
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 650;
}

.cw-exhibition-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 16px;
}

.cw-exhibition-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #9e765f;
  border-radius: 100px;
  background: var(--exhibit-paper);
  color: var(--cw-ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cw-exhibition-controls .cw-exhibition-play {
  padding: 0;
}

.cw-exhibition-resume-icon,
.cw-exhibition-play[data-paused] .cw-exhibition-pause-icon {
  display: none;
}

.cw-exhibition-play[data-paused] .cw-exhibition-resume-icon {
  display: block;
}

.cw-exhibition-position {
  min-width: 3ch;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.cw-exhibition-outro {
  grid-area: outro;
}

.cw-exhibition-outro .cw-lead {
  margin-top: 0;
}

.cw-design .cw-exhibition-outro .cw-button {
  margin-top: 16px;
}

.cw-world .cw-autumn-window {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  margin-top: clamp(60px, 9vw, 120px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cw-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cw-autumn-picture {
  --autumn-wood-light: #f3d5a7;
  --autumn-wood: #cb9361;
  --autumn-wood-dark: #8d5537;
  position: relative;
  display: block;
  padding: clamp(7px, 1.35vw, 18px);
  border: 1px solid #a56d48;
  border-radius: 48% 48% 17px 17px / 27% 27% 17px 17px;
  background: linear-gradient(145deg, var(--autumn-wood-light), #e5b887 44%, var(--autumn-wood) 88%);
  box-shadow: inset 0 0 0 2px rgb(255 246 216 / 60%), 0 10px 19px rgb(103 65 42 / 19%);
}

.cw-autumn-picture .cw-season-picture {
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgb(111 63 39 / 70%), 0 3px 6px rgb(80 44 28 / 35%);
  transform: none;
}

.cw-autumn-picture::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  left: -5px;
  height: clamp(8px, 1vw, 14px);
  border: 1px solid #a56d48;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(var(--autumn-wood-light), var(--autumn-wood) 45%, var(--autumn-wood-dark));
  box-shadow: 0 4px 0 rgb(103 65 42 / 12%);
  content: "";
  pointer-events: none;
}

.cw-autumn-copy {
  display: grid;
  justify-items: start;
  gap: clamp(10px, 1.5vw, 19px);
  padding: 8px 12px 8px 0;
}

.cw-autumn-date {
  padding-bottom: 4px;
  border-bottom: 1px solid #c38762;
  color: #89482e;
  font: 700 13px Georgia, serif;
  letter-spacing: .15em;
}

.cw-autumn-copy strong {
  font-family: "Yu Mincho", serif;
  font-size: clamp(24px, 3.15vw, 43px);
  line-height: 1.42;
  letter-spacing: .025em;
}

.cw-autumn-link {
  color: #76422e;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 750;
}

@media (max-width: 760px) {
  .cw-exhibition {
    grid-template: "head" "stage" "outro" / minmax(0, 1fr);
    gap: 14px;
    width: 100%;
  }

  .cw-exhibition-head,
  .cw-exhibition-outro {
    padding-inline: 7%;
  }

  .cw-world .cw-exhibition-head h2 {
    font-size: clamp(30px, 8.5vw, 46px);
  }

  .cw-exhibition-count {
    margin-top: 8px;
  }

  .cw-exhibition-count strong {
    font-size: 23px;
  }

  .cw-exhibition-track {
    --exhibit-gap: 14px;
    display: flex;
    gap: var(--exhibit-gap);
    overflow-x: auto;
    padding: 5px 7%;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 7%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cw-exhibition-track::after {
    flex: 0 0 calc(33% - var(--exhibit-gap));
    content: "";
  }

  .cw-exhibition-track .cw-exhibition-item {
    --exhibit-height: clamp(245px, 40svh, 365px);
    flex: 0 0 67%;
    padding-top: 0;
    scroll-snap-align: start;
  }

  .cw-exhibition-art {
    border-radius: 46% 46% 18px 18px / 21% 21% 18px 18px;
    background: radial-gradient(ellipse at 50% 68%, rgb(255 250 233 / 86%), rgb(255 250 233 / 40%) 63%, transparent 80%);
  }

  .cw-exhibition-controls {
    margin-top: 6px;
  }

  .cw-exhibition-sign strong {
    font-size: 13px;
  }

  .cw-exhibition-outro {
    margin-top: 10px;
    text-align: center;
  }

  .cw-world .cw-autumn-window {
    grid-template-columns: 1fr;
    gap: 19px;
    margin-top: 48px;
  }

  .cw-autumn-copy {
    gap: 8px;
    padding: 8px 4px 6px;
  }
}
