.hero-edition {
  --wall: #152226;
  --brass: #f0cf90;
  --wall-ink: #fff6e7;
  --wall-muted: #e1d0be;
  --frame-ink: #fff9e9;
  color: var(--wall-ink);
  background: var(--wall);
}
.hero-edition .hero-wall {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--wall);
  border-bottom: 1px solid #9e785654;
}
.hero-edition .hero-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(ellipse at 16% 66%, #3858587a, transparent 58%),
              linear-gradient(112deg, #24252d, #182e2e 50%, #211e27);
}
.hero-edition .hero-panorama {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  overflow: hidden;
  opacity: 1;
}
.hero-edition .hero-panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
.hero-edition .hero-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111d232e, transparent 39%, transparent 70%, #14212752),
              linear-gradient(0deg, #14202580, transparent 20%);
}
.hero-edition .hero-sparks { display: none; }
.hero-edition .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: 7%;
  width: min(85%, 1330px);
  min-height: 0;
  padding-block: clamp(35px, 5.1vh, 62px) clamp(24px, 3.4vh, 42px);
}
.hero-edition .opening {
  width: 100%;
  padding: 0 0 clamp(22px, 3.7vw, 52px);
  align-self: center;
  translate: none;
}
.hero-edition .summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--wall-muted);
  font: 500 .94rem/1.7 Interface, sans-serif;
}
.hero-edition .summary i { width: 18px; height: 1px; background: #c49a6f; }
.hero-edition .opening h1 {
  margin: 5px 0 20px;
  color: var(--wall-ink);
  font: 700 clamp(68px, 6.2vw, 105px)/1.38 QuoteRuqaa, Book, serif;
  letter-spacing: normal;
  text-shadow: 0 2px 14px #160f17a3;
}
.hero-edition .opening h1 em {
  display: block;
  color: var(--brass);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: inherit;
}
.hero-edition .opening h1 em::before { content: none; }
.hero-edition .opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hero-edition .opening-actions .primary,
.hero-edition .opening-actions .gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 19px;
  min-height: 46px;
  border-radius: 6px;
  font: 700 1rem/1.5 Interface, sans-serif;
  text-decoration: none;
}
.hero-edition .opening-actions .primary {
  color: #372329;
  border: 1px solid #ffdea0;
  background: linear-gradient(115deg, #e7bf80, #f4d79e);
  box-shadow: 0 4px 16px #160d1744;
}
.hero-edition .opening-actions .primary:hover { background: #ffe0a4; }
.hero-edition .opening-actions .gallery-link {
  color: var(--wall-ink);
  background: #281b22d9;
  border: 1px solid #c8a5827f;
}
.hero-edition .opening-actions .gallery-link:hover { border-color: #eac99b; }
.hero-edition .opening-actions svg { width: 18px; height: 18px; }
.hero-edition .hero-links {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 6px;
}
.hero-edition .hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 500 .94rem/1.5 Interface, sans-serif;
  color: var(--wall-muted);
  text-decoration: underline;
  text-decoration-color: #aa896a;
  text-underline-offset: 5px;
}
.hero-edition .hero-links a:hover { color: #fff; }
.hero-edition .hero-links i { width: 1px; height: 13px; background: #91745d; }

.hero-edition .showcase {
  --art-width: clamp(234px, min(25vw, 33.8svh), 319px);
  --verse-size: clamp(17px, 1.45vw, 23px);
  position: relative;
  display: grid;
  justify-items: center;
  justify-self: center;
  align-content: center;
  align-items: center;
  direction: rtl;
  gap: 0;
  width: min(100%, 510px);
  height: auto;
  max-width: none;
  margin: 0;
  isolation: isolate;
  translate: none;
}
.hero-edition .deck-stage {
  --glass-x: 0;
  --glass-y: 0;
  --glass-press: 0;
  --glass-sheen-x: calc(29% + var(--glass-x) * 33%);
  --glass-sheen-y: calc(12% + var(--glass-y) * 16%);
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 16px 0 42px;
  perspective: 970px;
  perspective-origin: 49% 53%;
}
.hero-edition .deck-stage::before,
.hero-edition .deck-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero-edition .deck-stage::before {
  inset: -10% -12% 0;
  background: radial-gradient(ellipse at 47% 44%, var(--curator-light), transparent 67%);
  opacity: .35;
}
.hero-edition .deck-stage::after {
  left: 50%;
  bottom: 3px;
  width: min(72%, calc(var(--art-width) * 1.16));
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 52% 82%, #ebd9ae63, #a9dfdd22 25%, transparent 53%),
              radial-gradient(ellipse, #070812e6 8%, #0b0913bd 42%, transparent 72%);
  filter: blur(3px);
  transform: translateX(calc(-50% - var(--glass-x) * 9px));
}
.hero-edition .deck-hover {
  position: relative;
  width: var(--art-width);
  transform-style: preserve-3d;
  transform: translate3d(0,-7px,0);
}
.hero-edition .feature-entry {
  position: relative;
  width: 100%;
  touch-action: pan-y;
  transform-style: preserve-3d;
  transform-origin: 50% 53%;
  transform: rotateX(calc(3deg - var(--glass-y) * 10deg))
             rotateY(calc(-6deg + var(--glass-x) * 14deg))
             rotateZ(calc(-1.8deg + var(--glass-x) * 1deg))
             translateZ(calc(-6px * var(--glass-press)));
}
.hero-edition .feature-entry::before,
.hero-edition .deck-back {
  position: absolute;
  pointer-events: none;
  border-radius: 14px;
}
.hero-edition .feature-entry::before {
  content: "";
  inset: 5% 1% 1%;
  transform: translate3d(-7%, 0, -37px) rotate(-4.3deg);
  border: 1px solid #e5e6d18f;
  background: linear-gradient(130deg, #a3d4d653, #30414c99 27%, #692d3c40 61%, #9cb0ad81);
  box-shadow: inset 1px 1px 1px #efffefad, inset -1px -1px 1px #eac99578, 2px 3px 1px #29353e;
}
.hero-edition .deck-back {
  inset: 3.3% .4% 3%;
  overflow: hidden;
  padding: 5px;
  transform: translate3d(6.8%, -.4%, -18px) rotate(5.5deg) scale(.97);
  border: 1px solid #f1e3b4b5;
  background: linear-gradient(135deg, #b4cbccd9, #302a37 35%, #a99075c9);
  box-shadow: inset 0 0 2px 1px #e4f8f9ad, 1px 3px 1px #41474b, 0 9px 22px #100d1755;
}
.hero-edition .deck-back img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.hero-edition .feature-plaque {
  --crystal-edge: linear-gradient(126deg,#f9f1d6 1%,#a3d8dacc 13%,#9ba7aa50 32%,#c0a4be77 54%,#e3d1a3cb 74%,#c3e5e7 90%,#819492);
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 4px clamp(9px, .85vw, 14px) 4px;
  border: 1px solid #b6ced19c;
  border-radius: 14px;
  color: var(--frame-ink);
  background: linear-gradient(145deg, #435a67c7, #192831d9 43%, #2a2434d9 78%, #4a5856bc);
  box-shadow: inset 0 1px 1px #eaffffe8, inset 2px 0 3px #d9fbff65, inset -2px -2px 2px #c7c5a77a,
              1px 2px 0 #9fb1ae, 2px 4px 0 #485966, 3px 5px 0 #28282e, 0 12px 24px #080c1690;
  transform: translateZ(11px);
  transform-origin: center 71%;
}
.hero-edition .feature-plaque::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  border-radius: 12px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px) saturate(1.15);
  backdrop-filter: blur(6px) saturate(1.15);
  background: radial-gradient(ellipse 70% 35% at var(--glass-sheen-x) var(--glass-sheen-y), #d6fbff55, transparent 80%),
              linear-gradient(calc(121deg + var(--glass-x) * 14deg), transparent 11%, #d7ffff1f 20%, #f5ffff3c 21%, #fff2d014 24%, transparent 39%, #879ab017 74%, transparent 77%);
}
@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .hero-edition .feature-plaque::after {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: var(--crystal-edge);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}
.hero-edition .crystal-frieze {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(35px, 3.3vw, 50px);
}
.hero-edition .crystal-frieze img {
  display: block;
  width: 94%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px #07131ec9);
}
.hero-edition .feature-plaque .spot-art {
  position: relative;
  inset: auto;
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: 0;
  padding: 0;
  border: 1px solid #d5d3bd;
  border-radius: 4px;
  background: #252326;
  box-shadow: 0 0 0 2px #11202bc7, 0 1px 0 3px #d7e7e536;
  cursor: zoom-in;
}
.hero-edition .feature-plaque .spot-art > img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}
.hero-edition .spot-art::after { display: none; }
.hero-edition #feature-art:disabled,
.hero-edition #feature-verse:disabled { opacity: 1; }
.hero-edition .spot-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
  min-height: calc(2.8 * var(--verse-size) + 25px);
  padding: 6px 2px 2px;
  color: var(--frame-ink);
  background: transparent;
  text-align: center;
  text-shadow: 0 1px 3px #0a111ceb;
}
.hero-edition .spot-caption .spot-title { text-align: center; }
.hero-edition .spot-caption strong {
  display: block;
  padding: 0;
  color: var(--frame-ink);
  font: 700 var(--verse-size)/1.4 Book, serif;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero-edition .spot-title:hover strong { color: #ffe3a7; }
.hero-edition .spot-credit {
  color: #e5d7c4;
  font: 500 .875rem/1.55 Interface, sans-serif;
}
.hero-edition .spot-credit a { text-decoration-color: #c8c7ba; }

.hero-edition .deck-navigation {
  --dock-paper: #30232df0;
  width: min(100%, 421px);
  padding: 8px 10px 9px;
  border: 1px solid #b8966d57;
  border-radius: 9px;
  background: var(--dock-paper);
  box-shadow: 0 4px 16px #0f091124;
}
.hero-edition .deck-index,
.hero-edition .deck-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.hero-edition .deck-index {
  margin: 0 4px 4px;
  color: #f0dfc6;
  font: 500 .875rem/1.5 Interface, sans-serif;
}
.hero-edition #spot-count {
  color: #ead3a7;
  font-variant-numeric: tabular-nums;
}
.hero-edition .feature-picks {
  display: flex;
  align-items: center;
  gap: 1px;
}
.hero-edition .feature-picks button {
  display: grid;
  place-items: center;
  width: clamp(28px, 2.37vw, 38px);
  height: 44px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
}
.hero-edition .feature-picks button img {
  display: block;
  width: 100%;
  max-height: 37px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1px;
  opacity: .78;
}
.hero-edition .feature-picks button[aria-pressed="true"] {
  border-color: var(--brass);
  background: #b2936242;
}
.hero-edition .feature-picks button:is(:hover, [aria-pressed="true"]) img { opacity: 1; }
.hero-edition .spot-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: auto;
  margin: 0;
  padding: 0;
}
.hero-edition .spot-switch button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f8ecd7;
}
.hero-edition .spot-switch button::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid #b7936959;
  pointer-events: none;
}
.hero-edition .spot-switch #spot-play::before { border-color: #d4ad706b; background: #b98e4d1a; }
.hero-edition .spot-switch button:hover::before { background: #f3d8aa28; border-color: #f3d8aa8f; }
/* A short edge-light response accompanies the press on touch displays. */
.hero-edition .deck-stage[data-contact="true"] .crystal-frieze img {
  filter: drop-shadow(0 0 2px #e7f5e8bb) drop-shadow(0 1px 1px #07131e);
}
.hero-edition .spot-switch button:active::before,
.hero-edition .feature-picks button:active {
  border-color: #eef5d9;
  box-shadow: inset 0 0 5px #e2f6ed5c, 0 0 7px #ead3a04a;
}
.hero-edition .spot-switch button:disabled { opacity: .58; }
.hero-edition .spot-switch button svg {
  position: relative;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-edition .spot-switch .magnetic-face { display: grid; place-items: center; min-width: 0; }
.hero-edition #spot-play[data-paused="true"] .deck-pause-icon,
.hero-edition #spot-play:not([data-paused="true"]) .deck-play-icon { display: none; }
.hero-edition .deck-sr-only {
  position: absolute; width: 1px; height: 1px; min-width: 0;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hero-edition :focus-visible { outline: 2px solid #ffe4a6; outline-offset: 3px; }
.hero-edition .feature-plaque :focus-visible { outline: 2px solid #fff2a6; outline-offset: 1px; }
.motion-on .hero.hero-edition .opening,
.motion-on .hero.hero-edition .showcase { translate: none; }
@keyframes deck-levitate {
  0%, 100% { transform: translate3d(-2px, -3px, 0) rotateZ(-.35deg); }
  50% { transform: translate3d(3px, -17px, 5px) rotateZ(.9deg); }
}
@keyframes floating-shadow {
  0%, 100% { scale: 1 .98; opacity: .93; }
  50% { scale: .83 .7; opacity: .63; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-on .hero-edition .deck-hover,
  .motion-on .hero-edition .deck-stage::after {
    animation: deck-levitate 5.4s ease-in-out infinite;
    animation-play-state: paused;
  }
  .motion-on .hero-edition .deck-stage::after {
    animation-name: floating-shadow;
    transform-origin: left center;
  }
  .motion-on .hero-edition .showcase[data-playing="true"] .deck-hover,
  .motion-on .hero-edition .showcase[data-playing="true"] .deck-stage::after { animation-play-state: running; }
}
html.motion-calm .hero-edition .deck-tilt { transform: rotateY(-3deg) rotateZ(-1deg); }
@media (prefers-reduced-motion: reduce) {
  .hero-edition .deck-tilt { transform: rotateY(-3deg) rotateZ(-1deg); }
}
@media (max-width: 1040px) {
  .hero-edition .hero-inner { width: 88%; gap: 6%; }
  .hero-edition .opening h1 { font-size: clamp(59px, 7.7vw, 82px); }
  .hero-edition .showcase { --art-width: clamp(218px, 27vw, 273px); }
  .hero-edition .deck-navigation { max-width: 368px; }
}
@media (max-width: 750px) and (min-width: 641px) {
  .hero-edition .hero-inner { width: 93%; gap: 3%; }
  .hero-edition .opening-actions { align-items: flex-start; gap: 7px; }
  .hero-edition .opening-actions .primary, .hero-edition .opening-actions .gallery-link { padding-inline: 10px; }
  .hero-edition .feature-picks button { width: 25px; }
}
@media (max-width: 640px) {
  .hero.hero-edition .hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100% - 30px, 500px);
    min-height: 0;
    padding-block: 17px 23px;
    align-content: start;
  }
  .hero-edition .hero-panorama {
    inset: 0 auto auto 0;
    width: 100%;
    height: clamp(240px, 61vw, 312px);
    mask-image: linear-gradient(to bottom, #000 66%, transparent 100%);
  }
  .hero-edition .hero-panorama img { object-position: left 50%; }
  .hero-edition .hero-panorama::after {
    background: linear-gradient(to left, #142127ac, #1421274d 30%, transparent 65%);
  }
  .hero.hero-edition .opening {
    grid-column: 1;
    align-self: start;
    padding: 0;
  }
  .hero-edition .summary { font-size: .875rem; gap: 9px; }
  .hero-edition .opening h1 {
    margin: 6px 0 11px;
    font-size: clamp(41px, 9.8vw, 57px);
    line-height: 1.33;
  }
  .hero-edition .opening-actions { gap: 7px; }
  .hero-edition .opening-actions .primary, .hero-edition .opening-actions .gallery-link {
    min-height: 44px;
    padding: 6px 13px;
    font-size: .94rem;
  }
  .hero-edition .hero-links { gap: 12px; padding-top: 1px; }
  .hero-edition .hero-links a { min-height: 35px; font-size: .875rem; }
  .hero.hero-edition .showcase {
    --art-width: clamp(193px, min(61vw, 29.5svh), 258px);
    --verse-size: clamp(16px, 4.3vw, 20px);
    grid-column: 1;
    justify-self: center;
    width: min(100%, 395px);
    height: auto;
    margin: 0;
  }
  .hero-edition .deck-stage { padding-block: 14px 31px; }
  .hero-edition .crystal-frieze { height: 35px; }
  .hero-edition .deck-stage::before { inset: -10% 0 -7%; }
  .hero-edition .spot-caption { min-height: calc(2.8 * var(--verse-size) + 25px); padding-block: 4px 0; gap: 1px; }
  .hero-edition .spot-credit { font-size: .83rem; }
  .hero-edition .deck-navigation { width: 100%; padding: 5px 8px 6px; }
  .hero-edition .deck-index { margin-bottom: 0; }
  .hero-edition .feature-picks button { width: clamp(25px, 7.7vw, 35px); }
  .hero-edition .spot-switch button { width: 39px; }
}
@media (max-width: 359px) {
  .hero.hero-edition .hero-inner { width: calc(100% - 24px); }
  .hero-edition .feature-picks { gap: 0; }
  .hero-edition .feature-picks button { width: 24px; }
  .hero-edition .deck-navigation { padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-edition .hero-panorama img { transform: none; transition: none; }
}

/* Stage light, sampled from the six original paintings. */
@property --curator-light {
  syntax: "<color>";
  inherits: true;
  initial-value: #bc8255;
}
.hero-edition[data-feature-id] { transition: --curator-light 850ms ease; }
.hero-edition[data-feature-id="w45-0001"] { --curator-light: #bc8255; }
.hero-edition[data-feature-id="w45-0002"] { --curator-light: #8e9b68; }
.hero-edition[data-feature-id="w45-0019"] { --curator-light: #a58baf; }
.hero-edition[data-feature-id="w45-0065"] { --curator-light: #709d9b; }
.hero-edition[data-feature-id="w45-0007"] { --curator-light: #9b92b5; }
.hero-edition[data-feature-id="w45-0013"] { --curator-light: #7a9cbd; }
html.motion-calm .hero-edition[data-feature-id] { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-edition[data-feature-id] { transition: none; }
}
