/* Original hero layout is authoritative. Only the added emblem is positioned. */
.logo-placement .placement-emblem {
  position: absolute;
  z-index: 2;
  width: 184px;
  height: 174px;
  margin: 0;
  pointer-events: none;
  isolation: isolate;
}
.placement-top .placement-emblem {
  right: clamp(20px, 1.8vw, 36px);
  top: 100px;
  width: clamp(148px, 13.75vw, 208px);
  height: auto;
  aspect-ratio: 1800 / 1670;
}
.placement-top .scene-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* Width drives the desktop composition; changing window height must not make
   the photograph, header or category cards jump to a different proportion. */
@media (min-width: 801px) {
  .placement-top .site-header { min-height: 88px; }
  .placement-top .hero.shell {
    min-height: clamp(535px, 41.8vw, 700px);
    padding-top: 122px;
    padding-bottom: 38px;
  }
  .placement-top .hero-copy > p {
    font-size: clamp(15px, 1.17vw, 17px);
    margin-top: 17px;
  }
  .placement-top .worlds { padding-top: 22px; }
  .placement-top .world-image > img { height: clamp(110px, 8.6vw, 165px); }
  .placement-top .world-label { padding: 10px 17px 12px; }
  .placement-top .world-label > span { font-size: clamp(27px, 2.12vw, 31px); }
  .placement-top .world-label > small { font-size: clamp(12px, .95vw, 14px); }
}
.placement-bottom .placement-emblem { left: max(360px, calc((100vw - 1320px) / 2 + 360px)); top: 350px; width: 192px; height: 178px; }
.placement-emblem::before,
.placement-emblem::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px;
  background: url("black-matte.svg") center / contain no-repeat;
  filter: blur(12px);
  opacity: .82;
  pointer-events: none;
}
.placement-emblem::after { inset: -3px; filter: blur(8px); opacity: .58; }
.logo-placement .placement-emblem > img,
.logo-placement .placement-emblem > canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.placement-emblem canvas { opacity: 0; }
.placement-emblem[data-renderer="webgl"] canvas { opacity: 1; }
.placement-emblem [hidden] { display: none !important; }
.placement-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 801px) and (max-width: 1120px) {
  .placement-top .plane-stage > img,
  .placement-top .scene-photo > img { object-position: 100% 50%; }
  .placement-bottom .placement-emblem { left: 345px; top: 365px; width: 168px; height: 157px; }
}
@media (min-width: 1500px) {
  .placement-bottom .placement-emblem { top: 405px; }
}
@media (max-width: 800px) {
  .logo-placement .placement-emblem { width: 95px; height: 91px; }
  .placement-top .placement-emblem {
    top: 16px;
    bottom: auto;
    right: clamp(12px, 2.5vw, 20px);
    width: clamp(124px, 26vw, 176px);
    height: auto;
  }
  /* Keep the desktop's one-scene hierarchy on a narrow display: copy left,
     aircraft right, emblem above it, with the three portals still in a row. */
  .placement-top .hero.shell {
    position: relative;
    min-height: clamp(440px, 65vw, 510px);
    padding: 34px 24px 32px;
    isolation: isolate;
  }
  .placement-top .hero-copy { width: 47vw; max-width: 360px; padding: 0; z-index: 3; }
  .placement-top .hero h1 { font-size: clamp(40px, 6vw, 46px); line-height: 1.03; }
  .placement-top .hero-copy > p { font-size: 15px; max-width: 335px; margin-top: 18px; }
  .placement-top .hero-copy .button { margin-top: 20px; }
  .placement-top .plane-stage { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 0; }
  .placement-top .plane-stage > img,
  .placement-top .scene-photo > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
  .placement-top .plane-stage::after {
    display: block;
    background: linear-gradient(90deg, #f4e3baf5 0%, #f4e3bae8 24%, #f4e3babc 42%, #f4e3ba38 64%, #f4e3ba00 80%);
  }
  .placement-top .plane-stage figcaption { position: absolute; right: 12px; bottom: 9px; padding: 4px 6px; font-size: 10px; background: #fff5deed; width: auto; }
  .placement-bottom .placement-emblem { top: auto; bottom: 35px; left: 16px; }
  .placement-top .world-image > img { height: auto; aspect-ratio: 1.3; object-fit: cover; }
  .placement-top .world-image .image-origin { position: absolute; left: 4px; bottom: 4px; max-width: calc(100% - 8px); min-height: 0; padding: 2px 4px; font-size: 10px; line-height: 1.25; }
  .placement-top .world-label { min-height: 138px; padding: 10px 8px 32px; }
  .placement-top .world-label > span { font-size: clamp(18px, 5.6vw, 23px); }
  .placement-top .world-label > small { font-size: clamp(11px, 2.7vw, 13px); }
  .placement-top .world-label > svg { position: absolute; right: 9px; bottom: 10px; top: auto; margin: 0; }
  .placement-emblem::before { inset: -4px; filter: blur(4px); }
  .placement-emblem::after { inset: -1px; filter: blur(2px); }
}
@media (max-width: 599px) {
  .placement-top { --phone-emblem-width: clamp(112px, 35vw, 156px); }
  .placement-top .hero.shell { min-height: clamp(410px, 105vw, 480px); padding: 22px 18px 30px; }
  .placement-top .hero-copy { width: 62vw; max-width: 350px; }
  .placement-top .hero h1 {
    font-size: clamp(28px, 8.7vw, 46px);
    max-width: min(100%, calc(100vw - var(--phone-emblem-width) - 58px));
    min-height: calc(var(--phone-emblem-width) * 1670 / 1800 - 10px);
  }
  .placement-top .hero-copy > p { font-size: clamp(14px, 3.55vw, 16px); max-width: min(100%, 230px); line-height: 1.5; margin-top: 15px; }
  .placement-top .hero-copy .button { min-height: 48px; padding: 11px 15px; margin-top: 18px; gap: 20px; font-size: 13px; }
  .placement-top .plane-stage > img,
  .placement-top .scene-photo > img { object-position: 50% 65%; }
  .placement-top .placement-emblem { top: 12px; width: var(--phone-emblem-width); }
}
@media (max-width: 350px) {
  .placement-top .hero h1 { font-size: 26px; }
}
