.section-page {
  --section-gutter: clamp(16px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  height: auto;
  overflow: auto;
  color: #f7fbff;
}

.section-main { position: relative; z-index: 2; flex: 1; }
.stage[hidden] { display: none; }
.section-hero { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; align-items: center; padding: 92px var(--section-gutter) 24px; }
.section-panel {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(24px, 5vw, 72px);
  background: #020b12ed;
  border: 1px solid #eff7ff40;
  border-radius: 18px;
}
[data-enter] .section-panel { animation: section-enter .32s ease-out both; }
@keyframes section-enter { from { opacity: 0; transform: translateY(8px); } }
.section-site, .section-summary { margin: 0; color: #c5d2dc; }
.section-site { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.section-panel h1 {
  margin: 10px 0 14px;
  font-family: 'Homepage Sans', sans-serif;
  font-size: clamp(36px, 7vw, 80px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.section-summary { font-size: clamp(15px, 1.8vw, 19px); line-height: 1.6; }
.section-details, .section-tracks { margin: 26px 0 0; padding: 0; }
.section-details div, .section-tracks li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid #ffffff30;
  line-height: 1.5;
}
.section-details dd { margin: 0; }
.section-details dd, .section-tracks li span + span { color: #c5d2dc; text-align: right; }
.section-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.section-gallery a { overflow: hidden; border-radius: 6px; transition: transform .2s ease; }
.section-gallery a:hover { transform: translateY(-2px); }
.section-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .2s ease; }
.section-gallery a:hover img { transform: scale(1.03); }
.section-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; color: inherit; text-underline-offset: 4px; }
.section-motion { display: flex; justify-content: flex-end; width: min(100%, 900px); margin: 18px auto 0; }
.section-motion button { min-height: 44px; padding: 0 14px; color: inherit; background: #020b12ed; border: 1px solid #eff7ff40; border-radius: 6px; cursor: pointer; }
.section-motion button:hover { border-color: #eff7ff; }
@media (max-width: 420px) {
  .section-tracks li { grid-template-columns: 1fr; gap: 2px; }
  .section-tracks li span + span { text-align: left; }
}

@media (max-width: 750px), (max-width: 950px) and (max-height: 500px) {
  .section-hero {
    align-content: start;
    grid-template-rows: auto auto;
    padding: calc(var(--phone-top) + 64px) max(var(--phone-gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--phone-gutter), env(safe-area-inset-left));
  }
  .section-panel { padding: clamp(16px, 5vw, 28px); border-radius: 14px; }
  .section-panel h1 { font-size: clamp(32px, 8vw, 48px); }
  .section-tracks li { overflow-wrap: anywhere; }
  .section-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section-gallery a:first-child { grid-column: 1 / -1; }
  .section-gallery a:first-child img { aspect-ratio: 4 / 3; }
}

@media (orientation: landscape) and (max-height: 500px) and (min-width: 540px) and (max-width: 950px) {
  .section-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-gallery a:first-child { grid-column: auto; }
  .section-gallery a:first-child img { aspect-ratio: 1; }
}
