.case-intro {
  min-height: 60svh;
  padding: 10svh 24px 4svh;
}

.light-wrap {
  width: min(84%, 1520px);
  margin-inline: auto;
}

main figure { margin: 0; }
main figure.light-wrap { margin-inline: auto; }
main :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
}

.light-opening {
  scroll-margin-top: 78px;
}

.light-opening-image { position: relative; background: #e5d8c5; }

.light-wordmark-preview:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.light-wordmark-preview button {
  border: 1px solid #cfc2ad;
  border-radius: 2px;
  padding: 7px 11px;
  background: #fff;
  color: #51432f;
  font: inherit;
  cursor: pointer;
}

.light-wordmark-preview button[aria-pressed="true"] { background: #eee7da; border-color: #968365; }
.light-wordmark-preview button:focus-visible { outline: 2px solid #695439; outline-offset: 2px; }
.light-wordmark-preview .light-wordmark-replay { margin-inline-start: auto; }

.light-opening-image[data-wordmark="shadow"]::before {
  content: "";
  position: absolute;
  inset: 0 40% 0 0;
  background: linear-gradient(145deg, transparent 28%, #fff4dc9c 44%, transparent 59%);
  background-size: 100% 210%;
  background-position: 0 var(--wall-light, 0%);
  opacity: var(--wall-light-opacity, 0);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, #000 64%, transparent);
  mask-image: linear-gradient(90deg, #000 64%, transparent);
  pointer-events: none;
}

main .light-wordmark {
  position: absolute;
  top: 50%;
  left: 9%;
  display: grid;
  justify-items: center;
  gap: .19em;
  transform: translateY(-50%);
  color: #665023;
  font-size: clamp(30px, 4.5vw, 78px);
  white-space: nowrap;
}

.light-opening-image[data-wordmark="engraving"] .light-wordmark {
  font-size: clamp(32px, 4.78vw, 83px);
}

.light-wordmark-name {
  font: 400 1em/1.08 "Iowan Old Style", Baskerville, "Times New Roman", serif;
  letter-spacing: -.04em;
}

.light-wordmark-amp {
  margin-inline: .08em;
  font: 400 .9em/1 "Times New Roman", Georgia, serif;
  letter-spacing: 0;
}

.light-wordmark-caption {
  font: 500 max(9px, .31em)/1.2 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.light-wordmark[data-relief] { color: transparent; }

.light-wordmark canvas {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

main .light-wordmark { z-index: 1; }

.light-film-section { margin-top: clamp(90px, 11vw, 170px); }
.light-film-heading { width: min(100%, 854px); margin: 0 auto 28px; }
main .light-film {
  width: min(100%, 854px);
  margin-inline: auto;
  scroll-margin-top: 88px;
}
.light-film-stage { position: relative; background: #695747; }
.light-film-stage video { aspect-ratio: 854 / 480; object-fit: contain; }
.light-film figcaption { margin-top: 14px; color: #58514a; }

.light-chapter { margin-top: clamp(96px, 12vw, 185px); }
.light-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(10px, 1.7vw, 30px);
  row-gap: clamp(24px, 5vw, 84px);
}
.light-grid + .light-grid { margin-top: clamp(44px, 7vw, 110px); }
.light-note .light-index {
  margin: 0 0 14px;
  color: #675b50;
  font: 400 13px/1.3 var(--sans);
}
.light-note h2, .light-finale h2 {
  margin: 0 0 22px;
  font: 400 clamp(30px, 3.3vw, 58px)/1.05 var(--serif);
}
.light-note p:not(.light-index) {
  max-width: 28ch;
  margin: 0;
  font: 400 clamp(16px, 1.5vw, 21px)/1.5 var(--sans);
}

.light-daylight .light-note { grid-area: 1 / 1 / 2 / 5; align-self: end; }
.light-freckles { grid-area: 1 / 6 / 3 / 13; }
.light-curtain { grid-area: 2 / 1 / 3 / 6; align-self: end; }
.light-materials .light-window { grid-column: 1 / 9; }
.light-materials .light-note { grid-column: 10 / -1; align-self: center; }
.light-clay { grid-column: 2 / 9; }
.light-shadow { grid-column: 10 / -1; margin-top: clamp(24px, 5vw, 84px); }

.light-glass-portrait { grid-area: 1 / 1 / 2 / 9; }
.light-glass .light-note { grid-area: 1 / 10 / 2 / 13; align-self: center; }
.light-colour { grid-area: 2 / 8 / 3 / 13; }
.light-detail .light-ice { grid-column: 1 / 6; }
.light-detail .light-pleats { grid-column: 7 / 13; margin-top: clamp(32px, 8vw, 120px); }

.light-arches { grid-area: 1 / 1 / 2 / 8; }
.light-city .light-note { grid-area: 1 / 9 / 2 / 13; align-self: center; }
.light-finale { margin-top: clamp(100px, 13vw, 190px); }
.light-finale h2 { margin: 0 auto 42px; text-align: center; }
.light-finale .light-brass { width: min(76%, 854px); margin-inline: auto; }

@media (max-width: 760px) {
  .case-intro { min-height: 50svh; padding: 84px 18px 32px; }
  .light-wrap { width: 88%; }
  .light-opening-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 80% center;
  }
  main .light-wordmark { left: 6%; top: 47%; font-size: clamp(22px, 6.3vw, 46px); }
  .light-opening-image[data-wordmark="engraving"] .light-wordmark {
    left: 5%;
    top: 46%;
    font-size: clamp(23px, 6.58vw, 49px);
  }
  .light-wordmark-preview .light-wordmark-replay { margin-inline-start: 0; }
  .light-chapter, .light-film-section { margin-top: 80px; }
  .light-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 32px; }
  .light-daylight .light-note { grid-area: 1 / 1 / 2 / -1; }
  .light-freckles { grid-area: 2 / 1 / 3 / -1; }
  .light-curtain { grid-area: 3 / 1 / 4 / -1; }
  .light-curtain img { aspect-ratio: auto; object-fit: contain; }
  .light-materials .light-note { grid-area: 1 / 1 / 2 / -1; }
  .light-materials .light-window { grid-area: 2 / 1 / 3 / -1; }
  .light-clay { grid-column: 1 / -1; }
  .light-shadow { grid-column: 3 / -1; margin-top: 0; }
  .light-glass .light-note { grid-area: 1 / 1 / 2 / -1; }
  .light-glass-portrait { grid-area: 2 / 1 / 3 / -1; }
  .light-colour { grid-area: 3 / 3 / 4 / -1; }
  .light-detail .light-ice { grid-column: 1 / 5; }
  .light-detail .light-pleats { grid-column: 2 / -1; margin-top: 12px; }
  .light-city .light-note { grid-area: 1 / 1 / 2 / -1; }
  .light-arches { grid-area: 2 / 1 / 3 / -1; }
  .light-finale { margin-top: 80px; }
  .light-finale h2 { margin-bottom: 32px; }
  .light-finale .light-brass { width: 100%; }
}

.project-music-toggle .sound-label { opacity: 1; }
