:root {
  --bg: #854445;
  --bg-soft: #5d2b30;
  --surface: rgba(58, 20, 28, 0.84);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.12);
  --text: #fff4f8;
  --muted: #ddb8c8;
  --accent: #f93689;
  --accent-soft: #35d1e7;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(249, 54, 137, 0.16), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(53, 209, 231, 0.1), transparent 20%),
    linear-gradient(180deg, #8a4748 0%, #5b2c31 42%, #2b1218 100%);
  animation: page-fade-in 720ms ease-out both;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prototype {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-overlay,
.details-overlay,
.grid-stage {
  display: flex;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0 0 50% 0;
  min-height: auto;
  z-index: 3;
  pointer-events: auto;
  align-items: center;
}

.details-overlay {
  position: absolute;
  inset: 50% 0 0 0;
  min-height: auto;
  z-index: 2;
  pointer-events: auto;
  align-items: center;
}

.hero-stack {
  width: min(100%, 960px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-align: center;
}

.hero-logo {
  width: min(74vw, 760px);
  max-width: 100%;
  height: auto;
}

.hero-date,
.hero-collab-line {
  margin: 0;
  font-family: "League Spartan", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 0.95;
  text-wrap: balance;
  text-shadow:
    -2px -2px 0 rgba(0, 0, 0, 0.9),
    2px -2px 0 rgba(0, 0, 0, 0.9),
    -2px 2px 0 rgba(0, 0, 0, 0.9),
    2px 2px 0 rgba(0, 0, 0, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-date {
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  letter-spacing: 0.06em;
}

.hero-collab-line {
  font-size: clamp(2.2rem, 5.4vw, 4.8rem);
  letter-spacing: 0.04em;
}

.grid-stage {
  min-height: 100vh;
  overflow: hidden;
}

.details-grid {
  width: min(100%, 1200px);
  min-height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  align-content: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.details-card {
  height: 100%;
  padding: 1.1rem 1.2rem;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.details-label,
.details-value,
.lineup-list {
  font-family: "League Spartan", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  line-height: 1.15;
  text-shadow:
    -2px -2px 0 rgba(0, 0, 0, 0.9),
    2px -2px 0 rgba(0, 0, 0, 0.9),
    -2px 2px 0 rgba(0, 0, 0, 0.9),
    2px 2px 0 rgba(0, 0, 0, 0.9),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.details-label {
  margin-bottom: 0.3rem;
  font-size: clamp(0.82rem, 1.55vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details-value {
  margin-bottom: 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  line-height: 1.05;
}

.details-link {
  color: inherit;
  text-decoration: none;
}

.lineup-list {
  padding-left: 1.1rem;
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  line-height: 1.15;
}

.lineup-list li + li {
  margin-top: 0.45rem;
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: 100vw;
  height: 100vh;
}

.flyer-panel {
  overflow: hidden;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.panel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus-x, 50%) var(--focus-y, 50%);
  transform: translate(0, 0) scale(var(--zoom, 1));
  transform-origin: center;
  animation: panel-settle 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel-flower-mask {
  --focus-x: 48%;
  --focus-y: 34%;
  --zoom: 1.5;
  --zoom-start: 1.82;
  --enter-x: 26px;
  --enter-y: 0px;
}

.panel-dj-booth {
  --focus-x: 53%;
  --focus-y: 34%;
  --zoom: 1.32;
  --zoom-start: 1.62;
  --enter-x: -24px;
  --enter-y: 0px;
}

.panel-flower-mask-right {
  --focus-x: 50%;
  --focus-y: 42%;
  --zoom: 1.28;
  --zoom-start: 1.58;
  --enter-x: 0px;
  --enter-y: 28px;
}

.panel-tiled-room {
  --focus-x: 52%;
  --focus-y: 38%;
  --zoom: 1.32;
  --zoom-start: 1.64;
  --enter-x: 0px;
  --enter-y: -28px;
}

.panel-fire-mask {
  --focus-x: 54%;
  --focus-y: 36%;
  --zoom: 1.28;
  --zoom-start: 1.6;
  --enter-x: 24px;
  --enter-y: 0px;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes panel-settle {
  from {
    transform: translate(var(--enter-x, 0px), var(--enter-y, 0px)) scale(var(--zoom-start, 1));
  }

  to {
    transform: translate(0, 0) scale(var(--zoom, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .panel-image {
    animation: none;
  }

  .panel-image {
    transform: translate(0, 0) scale(var(--zoom, 1));
  }
}

@media (max-width: 760px) {
  .prototype {
    min-height: 100vh;
  }

  .hero-stack {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: clamp(1.5rem, 7vh, 3.5rem) 1rem 1rem;
    gap: 0.45rem;
  }

  .hero-logo {
    width: min(82vw, 460px);
  }

  .hero-date {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  .hero-collab-line {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  .hero-overlay {
    inset: 0;
    align-items: flex-start;
  }

  .details-overlay {
    inset: 0;
    align-items: flex-end;
  }

  .details-grid {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: auto;
    gap: 0.9rem;
    padding: 1.1rem 1rem max(1.15rem, env(safe-area-inset-bottom));
  }

  .details-card {
    padding: 1rem 1rem 1.05rem;
    text-align: center;
  }

  .details-label {
    margin-bottom: 0.45rem;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    line-height: 1.1;
  }

  .details-value {
    margin-bottom: 1.1rem;
    font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    line-height: 1.15;
  }

  .lineup-list {
    padding-left: 0;
    list-style: none;
    font-size: clamp(1.12rem, 5vw, 1.48rem);
    line-height: 1.25;
  }

  .lineup-list li + li {
    margin-top: 0.35rem;
  }

  .flyer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100vw;
    min-height: 568px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .panel-image {
    height: 100%;
  }

  .flyer-panel:first-child,
  .flyer-panel:nth-child(4) {
    display: none;
  }
}
