.scene-window {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #101820;
  color: #fff;
}

.scene-window::backdrop {
  background: rgba(4, 12, 18, .82);
  backdrop-filter: blur(5px);
  animation: scene-window-backdrop-in .28s ease-out both;
}

.scene-window[open] {
  animation: scene-window-in .32s cubic-bezier(.2, .7, .2, 1) both;
}

.scene-window__page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-color: rgba(255, 255, 255, .36) rgba(9, 17, 22, .32);
  scrollbar-width: thin;
}

.scene-window__topbar {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 5vw, 76px) 18px;
  pointer-events: none;
}

.scene-window__brand,
.scene-window__counter {
  margin: 0;
  color: rgba(255, 255, 255, .95);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .38);
}

.scene-window__counter {
  margin-left: auto;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
}

.scene-window__close {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 50%;
  background: rgba(12, 20, 27, .24);
  color: #fff;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.scene-window__close span {
  margin-top: -3px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.scene-window__close:hover {
  border-color: #fff;
  background: #fff;
  color: #162b3b;
}

.scene-window__close:focus-visible,
.scene-window__scroll-link:focus-visible,
.scene-window__detail-link:focus-visible,
.scene-window__return:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.scene-window__hero {
  position: relative;
  display: flex;
  min-height: 620px;
  min-height: 100vh;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #122b3f;
}

.scene-window__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  animation: scene-window-image-in .7s cubic-bezier(.2, .7, .2, 1) both;
}

.scene-window__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 18, 30, .54), rgba(4, 18, 30, .08) 76%), linear-gradient(0deg, rgba(4, 15, 24, .82), transparent 82%);
}

.scene-window__hero-copy {
  box-sizing: border-box;
  width: min(1280px, calc(100% - clamp(40px, 12vw, 184px)));
  margin: 0 auto;
  padding: 168px 0 clamp(64px, 9vh, 112px);
}

.scene-window__eyebrow:empty {
  display: none;
}

.scene-window__eyebrow {
  margin: 0 0 16px;
  color: #f0b5b5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  line-height: 1.5;
}

.scene-window__hero h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--font-brand, "Source Han Serif SC", "Noto Serif SC", serif);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .32);
}

.scene-window__headline {
  margin: 22px 0 8px;
  color: #fff;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .36);
}

.scene-window__summary {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .36);
}

.scene-window__scroll-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 600 13px/1.4 var(--font-sans, sans-serif);
  cursor: pointer;
}

.scene-window__scroll-link span {
  color: #f0b5b5;
  font-size: 18px;
  transition: transform .2s ease;
}

.scene-window__scroll-link:hover span {
  transform: translateY(4px);
}

.scene-window__details {
  background: #f5f4f1;
  color: #142b42;
  scroll-margin-top: 0;
}

.scene-window__details-inner {
  box-sizing: border-box;
  display: grid;
  width: min(1280px, calc(100% - clamp(40px, 12vw, 184px)));
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 9vw, 140px);
  margin-inline: auto;
  padding: clamp(76px, 10vw, 132px) 0;
}

.scene-window__eyebrow--dark {
  color: #9d4249;
}

.scene-window__details-heading h3 {
  margin: 0;
  color: #142b42;
  font-family: var(--font-brand, "Source Han Serif SC", "Noto Serif SC", serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.2;
}

.scene-window__focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scene-window__focus-list li {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid rgba(20, 43, 66, .16);
  color: #1b3347;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.scene-window__focus-list li:first-child {
  border-top: 1px solid rgba(20, 43, 66, .16);
}

.scene-window__focus-number {
  color: #aa454b;
  font: 500 11px/1.4 var(--font-sans, sans-serif);
  letter-spacing: .14em;
}

.scene-window__footer {
  box-sizing: border-box;
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px clamp(24px, 8vw, 112px) calc(44px + env(safe-area-inset-bottom));
  background: #142534;
  color: #fff;
}

.scene-window__footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.7;
}

.scene-window__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.scene-window__detail-link,
.scene-window__return {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 2px;
  background: transparent;
  color: #fff;
  font: 600 13px/1.4 var(--font-sans, sans-serif);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.scene-window__detail-link:hover,
.scene-window__return:hover {
  border-color: #fff;
  background: #fff;
  color: #142534;
}

.scene-window__detail-link span {
  color: #f0b5b5;
  font-size: 17px;
}

@keyframes scene-window-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scene-window-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scene-window-image-in {
  from { opacity: .75; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1.025); }
}

@media (max-width: 720px) {
  .scene-window__topbar {
    gap: 10px;
    padding: max(14px, env(safe-area-inset-top)) 18px 12px;
  }

  .scene-window__brand {
    font-size: 12px;
  }

  .scene-window__close {
    width: 42px;
    height: 42px;
  }

  .scene-window__hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .scene-window__shade {
    background: linear-gradient(0deg, rgba(4, 15, 24, .88), rgba(4, 15, 24, .12) 84%), linear-gradient(90deg, rgba(4, 18, 30, .25), transparent 100%);
  }

  .scene-window__hero-copy {
    width: calc(100% - 40px);
    padding: 132px 0 max(48px, calc(env(safe-area-inset-bottom) + 36px));
  }

  .scene-window__hero h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .scene-window__headline {
    margin-top: 17px;
    font-size: 17px;
  }

  .scene-window__summary {
    font-size: 13px;
  }

  .scene-window__scroll-link {
    margin-top: 20px;
  }

  .scene-window__details-inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 0 72px;
  }

  .scene-window__details-heading h3 {
    font-size: 36px;
  }

  .scene-window__focus-list li {
    min-height: 68px;
    gap: 18px;
    font-size: 16px;
  }

  .scene-window__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    padding: 42px 20px calc(32px + env(safe-area-inset-bottom));
  }

  .scene-window__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .scene-window__detail-link,
  .scene-window__return {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-window[open],
  .scene-window::backdrop,
  .scene-window__image {
    animation: none;
  }

  .scene-window__page {
    scroll-behavior: auto;
  }

  .scene-window__close,
  .scene-window__scroll-link span,
  .scene-window__detail-link,
  .scene-window__return {
    transition: none;
  }
}
