/* V5: requested local artwork swaps and page refinements only.
   The approved arcade raster and top-left brand stay untouched. */

.prize-clearance {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.home-prize-art {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.home-prize-art > .original-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.home-hh-hd { left: 29.066986%; top: 46.439958%; width: 9.569378%; height: 12.859724%; }
.home-psp-hd { left: 39.294258%; top: 50.903294%; width: 10.825359%; height: 8.714134%; }
.home-card-hd { left: 60.107656%; top: 48.884166%; width: 11.244019%; height: 10.733263%; }
.card-hd { object-fit: contain; }
.identity-item .card-hd { transform: rotate(-4deg) scale(1.08); }
.identity-specimen > .card-hd { width: 100%; transform: none; }

/* The claw assembly drops as one piece; a fine cable extends to its rail. */
.moving-claw::before {
  content: '';
  position: absolute;
  left: 49%;
  bottom: 99%;
  width: 2.8%;
  height: var(--claw-drop-px, 0px);
  background: linear-gradient(90deg, #382d1a, #d0c49a 48%, #60553e 77%, #171816);
  box-shadow: 1px 0 1px #0008;
  pointer-events: none;
}
.hotspot[data-claw-prize][aria-busy='true'] { outline: 1px solid #ffe68a70; background: #ffe36a0a; }

/* The project directory opens on its filters, not an oversized title block. */
.collection-page .collection-controls { margin-top: 24px; }
.world-feature h2.world-feature-wordmark { margin: 32px 0 23px; width: min(100%, 330px); font-size: inherit; }
.world-feature-wordmark > a { display: block; padding-top: 8px; }
.world-feature-wordmark .heaven-wordmark { filter: drop-shadow(0 4px 8px #0007); }

/* Keep the large cabinet, raise it, and draw the entry app closer to its title. */
.heaven-page .heaven-heading { padding-top: 30px; align-items: flex-start; }
.heaven-page .heaven-heading > div { max-width: 550px; position: relative; z-index: 2; }
.heaven-page .project-heading h1.heaven-signature {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(31px, 3.55vw, 51px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-transform: none;
  margin-bottom: 13px;
}
.heaven-signature a { color: #f4f0e3; text-decoration: none; text-shadow: 0 2px 13px #c4d7f714; }
.heaven-signature a:hover { color: #fff8ca; }
.heaven-signature a:focus-visible,
.ddr-marquee:focus-visible { outline: 2px solid #f2d16a; outline-offset: 5px; }
.heaven-page .heaven-exhibit { margin-top: -110px; padding-top: 0; }
.heaven-page .heaven-entry { margin-top: 133px; }
.heaven-entry h2 { font-size: 32px; line-height: 1.12; letter-spacing: .025em; }
.heaven-entry > p { font-size: 14px; line-height: 1.65; }
.heaven-entry .text-link { font-size: 10px; line-height: 1.7; }
.heaven-entry .world-address { font-size: 10px; color: #9a9da3; }
.heaven-page .ddr-exhibit { position: relative; }
.ddr-site-link {
  position: relative;
  z-index: 4;
  display: table;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 5px;
  padding: 8px 12px;
  color: #85df97;
  font: 11px/1.4 var(--mono);
  letter-spacing: .055em;
  text-decoration: none;
  border-bottom: 1px solid #8acb852e;
}
.ddr-site-link:hover { color: #b9ffbf; border-color: #8acb85; }
.ddr-site-link span { margin-left: 5px; }
.ddr-marquee { pointer-events: auto; cursor: pointer; text-decoration: none; }
.ddr-marquee:hover .heaven-wordmark { filter: drop-shadow(0 0 8px #dbe0ff55); }
.ddr-marquee:focus-visible { outline-offset: -6px; }

/* Two personal portraits, the maker on the left and mascot on the right. */
.about-gallery-hero {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, .8fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.about-gallery-hero .about-intro h1 { font-size: clamp(52px, 5vw, 79px); }
.about-gallery-hero .about-intro .large-copy { font-size: 16px; }
.about-gallery-hero .about-intro > p:not(.overline):not(.large-copy):not(.about-alias) { font-size: 14px; }
.about-gallery-hero .about-intro .action { font-size: 9px; padding: 14px 17px; gap: 15px; }
.about-gallery-hero .about-alias { font-size: 9px; letter-spacing: .035em; }
.about-gallery-hero .about-portrait {
  margin: 0;
  padding: 17px 17px 16px;
  background: linear-gradient(135deg, #322f24, #171a17 48%, #141613);
  border: 1px solid #77705b;
  box-shadow: inset 0 0 0 4px #151613, inset 0 0 0 5px #66604d44, 7px 10px 0 #171c16, 0 22px 40px #0008;
}
.about-gallery-hero .yung-portrait { transform: rotate(-2deg); }
.about-gallery-hero .devilman-portrait { transform: rotate(2deg); }
.about-gallery-hero .about-portrait > .original-art {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  clip-path: none;
  object-fit: contain;
  border: 1px solid #777260;
}
.about-gallery-hero .portrait-label { font-size: 7px; letter-spacing: .04em; padding-bottom: 11px; margin-bottom: 13px; }
.portrait-name { color: #ed7669; text-align: center; font: 600 clamp(10px, 1vw, 14px)/1.5 var(--mono); letter-spacing: .035em; padding-top: 17px; }
.portrait-name span { color: #f2d16a; }
.about-gallery-hero .portrait-caption { font-size: 7px; line-height: 1.6; }

@media (max-width: 1100px) {
  .heaven-page .project-heading h1.heaven-signature { font-size: 35px; }
  .heaven-page .heaven-heading > div { max-width: 430px; }
  .heaven-page .heaven-exhibit { margin-top: -90px; }
  .heaven-page .heaven-entry { margin-top: 115px; }
  .heaven-entry h2 { font-size: 28px; }
  .heaven-entry > p { font-size: 13px; }
  .heaven-entry .text-link { font-size: 9px; }
  .about-gallery-hero { grid-template-columns: minmax(0,.75fr) minmax(0,1.4fr) minmax(0,.75fr); gap: 24px; }
  .about-gallery-hero .about-portrait { padding: 14px; }
  .about-gallery-hero .about-intro h1 { font-size: 60px; }
}
@media (max-width: 850px) {
  .heaven-page .heaven-heading > div { max-width: 100%; }
  .heaven-page .heaven-exhibit { margin-top: 8px; }
  .heaven-page .heaven-entry { margin-top: 30px; }
  .about-gallery-hero { grid-template-columns: 1fr 1fr; gap: 42px; }
  .about-gallery-hero .about-intro { grid-column: 1 / -1; grid-row: 1; }
  .about-gallery-hero .about-intro h1 { font-size: 77px; }
  .about-gallery-hero .about-portrait { max-width: 285px; padding: 20px; }
  .portrait-name { font-size: 13px; }
}
@media (max-width: 600px) {
  .collection-page .collection-controls { margin-top: 13px; }
  .world-feature h2.world-feature-wordmark { width: min(100%, 280px); margin: 24px 0 22px; }
  .heaven-page .project-heading h1.heaven-signature { font-size: clamp(25px, 7.7vw, 40px); line-height: 1.3; }
  .heaven-page .heaven-heading { padding-top: 26px; }
  .heaven-page .heaven-exhibit { margin-top: 20px; }
  .heaven-page .heaven-entry { margin: 0 auto 23px; }
  .heaven-entry h2 { font-size: 27px; }
  .heaven-entry > p { font-size: 13px; }
  .heaven-entry .text-link { font-size: 9px; }
  .ddr-site-link { font-size: 10px; margin-bottom: 2px; }
  .about-gallery-hero { gap: 26px 18px; }
  .about-gallery-hero .about-intro h1 { font-size: 72px; }
  .about-gallery-hero .about-portrait { max-width: 260px; padding: 12px 10px; }
  .about-gallery-hero .portrait-label { font-size: 6px; letter-spacing: 0; }
  .about-gallery-hero .portrait-caption { font-size: 6px; letter-spacing: 0; }
  .portrait-name { font-size: 9px; letter-spacing: 0; padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ddr-marquee .heaven-wordmark { transition: none; }
}
