:root {
  --page-bg: #090909;
  --panel-bg: #1f1c13;
  --gold: #ffda62;
  --soft-gold: #f4c943;
  --text: #f7f4ea;
  --muted: #a8a8a8;
  --mobile-width: 430px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 218, 98, 0.1), transparent 28rem),
    var(--page-bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

.page-shell {
  width: min(100%, var(--mobile-width));
  margin: 0 auto;
  background: #090909;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.48);
}

.poster-section {
  position: relative;
  background: #090909;
}

.poster-image {
  width: 100%;
  height: auto;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 388 / 706;
  margin: 0 auto;
  overflow: hidden;
  background: #120b08 url("assets/block1_bg.png") center / cover no-repeat;
  color: #fff;
  container-type: inline-size;
  animation: heroVisualFloat 7s ease-in-out infinite;
}

.hero p,
.hero h1 {
  margin: 0;
  text-transform: uppercase;
}

.hero-date,
.hero-venue,
.hero-title-art,
.hero-intro {
  position: absolute;
}

.hero-date {
  top: calc(24 / 706 * 100%);
  left: calc(20 / 388 * 100%);
  width: calc(65 / 388 * 100%);
  height: calc(50 / 706 * 100%);
  color: #fff;
  text-align: center;
}

.hero-date-day,
.hero-time {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: calc(24 / 388 * 100cqw);
  font-weight: 400;
  line-height: calc(32 / 388 * 100cqw);
  letter-spacing: -0.03em;
}

.hero-date-year,
.hero-place,
.hero-intro-copy {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.hero-date-year {
  font-size: calc(12 / 388 * 100cqw);
  line-height: calc(18 / 388 * 100cqw);
  letter-spacing: -0.03em;
}

.hero-venue {
  top: calc(24 / 706 * 100%);
  left: calc(257 / 388 * 100%);
  width: calc(111 / 388 * 100%);
  height: calc(68 / 706 * 100%);
  color: #fff;
  text-align: center;
}

.hero-place {
  font-size: calc(12 / 388 * 100cqw);
  line-height: calc(18 / 388 * 100cqw);
  letter-spacing: -0.03em;
}

.hero-title-art {
  top: calc(364 / 706 * 100%);
  left: calc(24 / 388 * 100%);
  width: calc(340 / 388 * 100%);
  height: calc(180 / 706 * 100%);
  object-fit: contain;
}

.hero-intro {
  top: calc(555 / 706 * 100%);
  left: 0;
  width: 100%;
  height: calc(86 / 706 * 100%);
  padding: 0 calc(24 / 388 * 100%);
  text-align: center;
}

.hero .hero-intro-copy {
  color: #fff;
  font-size: calc(14 / 388 * 100cqw);
  line-height: calc(21 / 388 * 100cqw);
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  margin-top: calc(12 / 388 * 100cqw);
  color: #ffd76c;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: calc(32 / 388 * 100cqw);
  font-weight: 400;
  line-height: calc(40 / 388 * 100cqw);
  letter-spacing: -0.03em;
  text-align: center;
}

.message-block {
  position: relative;
  width: min(100%, 388px);
  height: auto;
  aspect-ratio: 388 / 874;
  margin: 34px auto 0;
  overflow: hidden;
  background: #090909;
  color: #fff;
  container-type: inline-size;
}

.message-block h2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(18 / 388 * 100cqw);
  margin: 0;
  color: #b9b9b9;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: calc(12 / 388 * 100cqw);
  font-weight: 400;
  line-height: calc(18 / 388 * 100cqw);
  letter-spacing: 0;
  text-align: center;
}

.message-arrow {
  position: absolute;
  top: calc(21.57 / 874 * 100%);
  left: 50%;
  width: calc(10.51 / 388 * 100%);
  height: calc(4.01 / 874 * 100%);
  transform: translateX(-50%);
}

.message-avatar {
  position: absolute;
  left: calc(20 / 388 * 100%);
  width: calc(56 / 388 * 100%);
  height: calc(56 / 874 * 100%);
  border: 1px solid #ffd76c;
  border-radius: 50%;
  object-fit: cover;
}

.message-avatar-first {
  top: calc(45 / 874 * 100%);
}

.message-avatar-second {
  top: calc(587 / 874 * 100%);
}

.message-bubble {
  position: absolute;
  top: calc(45 / 874 * 100%);
  left: calc(88 / 388 * 100%);
  width: calc(280 / 388 * 100%);
  height: calc(502 / 874 * 100%);
  padding: calc(20 / 388 * 100cqw);
  border-radius: 0 calc(32 / 388 * 100cqw) calc(32 / 388 * 100cqw)
    calc(32 / 388 * 100cqw);
  background: #221e13;
  color: #fff;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: calc(14 / 388 * 100cqw);
  font-weight: 400;
  line-height: calc(21 / 388 * 100cqw);
  letter-spacing: 0;
}

.message-bubble p {
  width: 100%;
  max-width: calc(240 / 388 * 100cqw);
  margin: 0 0 calc(16 / 388 * 100cqw);
  padding: 0;
  text-indent: 0;
}

.message-bubble p:has(+ .message-continuation) {
  margin-bottom: 0;
}

.message-bubble .message-continuation {
  margin-top: 0;
  padding-top: 0;
  text-indent: 0;
}

.message-bubble p:last-child {
  margin-bottom: 0;
}

.message-bubble strong {
  font-weight: 700;
  font-synthesis-weight: none;
}

.video-preview {
  position: absolute;
  top: calc(587 / 874 * 100%);
  left: calc(88 / 388 * 100%);
  width: calc(280 / 388 * 100%);
  height: calc(271 / 874 * 100%);
  padding: 0;
  border: 1px solid #ffd76c;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  --video-progress: 0;
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: conic-gradient(
    #ffd76c calc(var(--video-progress) * 1%),
    rgba(255, 215, 108, 0.18) 0
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #000 calc(100% - 4px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #000 calc(100% - 4px)
  );
}

.video-preview.is-active::after {
  opacity: 1;
}

.video-preview::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: calc(22 / 388 * 100cqw) solid transparent;
  border-bottom: calc(22 / 388 * 100cqw) solid transparent;
  border-left: calc(34 / 388 * 100cqw) solid #fff;
  transform: translate(-42%, -50%);
  pointer-events: none;
  transition: opacity 160ms ease;
}

.video-preview-image,
.video-preview-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.video-preview-image,
.video-preview-video {
  transition: opacity 160ms ease;
}

.video-preview.is-active .video-preview-image {
  opacity: 0;
}

.video-preview.is-playing::before {
  opacity: 0;
}

.video-preview.is-active .video-preview-video {
  opacity: 1;
  visibility: visible;
}

.video-preview-video::-webkit-media-controls {
  display: none !important;
}

.video-preview:focus-visible {
  outline: 3px solid #ffd76c;
  outline-offset: 5px;
}

.details {
  display: flex;
  justify-content: center;
  width: min(100%, 388px);
  margin: 0 auto;
  padding: 84px 20px 40px;
  background: #090909;
}

.ticket {
  position: relative;
  width: min(100%, 348px);
  height: auto;
  aspect-ratio: 348 / 640;
  overflow: hidden;
  background: #090909;
  color: #fff;
  container-type: inline-size;
}

.ticket-frame {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  display: block;
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
}

.ticket-frame-top {
  top: 0;
  height: calc(185 / 640 * 100%);
}

.ticket-frame-bottom {
  top: calc(185 / 640 * 100%);
  height: calc(455 / 640 * 100%);
}

.ticket-group,
.ticket-address {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 calc(16 / 348 * 100%);
  text-align: center;
  z-index: 1;
}

.ticket p {
  margin: 0;
  text-transform: uppercase;
}

.ticket-label {
  color: #ffd76c;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: calc(12 / 348 * 100cqw);
  font-weight: 400;
  line-height: calc(18 / 348 * 100cqw);
  letter-spacing: -0.03em;
}

.ticket-price {
  top: calc(26 / 640 * 100%);
}

.ticket-price-value {
  color: #ffd76c;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: calc(72 / 348 * 100cqw);
  font-weight: 400;
  line-height: calc(80 / 348 * 100cqw);
  letter-spacing: -0.03em;
}

.ticket .ticket-note {
  color: #b9b9b9;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: calc(12 / 348 * 100cqw);
  font-weight: 400;
  line-height: calc(18 / 348 * 100cqw);
  letter-spacing: 0;
  text-transform: none;
}

.ticket-date {
  top: calc(234 / 640 * 100%);
}

.ticket-time {
  top: calc(312 / 640 * 100%);
}

.ticket-place {
  top: calc(390 / 640 * 100%);
}

.ticket-language {
  top: calc(526 / 640 * 100%);
}

.ticket-value {
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: calc(32 / 348 * 100cqw);
  font-weight: 400;
  line-height: calc(40 / 348 * 100cqw);
  letter-spacing: -0.03em;
}

.desktop-place-break {
  display: none;
}

.ticket-address {
  top: calc(488 / 640 * 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 / 348 * 100cqw);
  color: #b9b9b9;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: calc(12 / 348 * 100cqw);
  font-weight: 400;
  line-height: calc(18 / 348 * 100cqw);
  letter-spacing: 0;
  text-decoration: underline;
}

.ticket-address-icon {
  width: calc(16 / 348 * 100cqw);
  height: calc(20 / 348 * 100cqw);
  flex: 0 0 auto;
}

.ticket-address:focus-visible {
  outline: 3px solid #ffd76c;
  outline-offset: 4px;
}

.closing {
  display: grid;
  justify-items: center;
  gap: 30px;
  width: min(100%, 388px);
  margin: 0 auto;
  padding: 34px 22px 64px;
  background: #090909;
}

.closing-title {
  width: min(100%, 388px);
  height: 21px;
  margin: 0;
  color: #676767;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.03em;
  text-align: center;
}

.map-button {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: #15130d;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(255, 218, 98, 0.2);
}

.map-button:focus-visible,
.map-button:hover {
  background: #fff0a3;
  border-color: #fff0a3;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 1000ms ease-out,
    transform 1000ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(60px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroVisualFloat {
  0%,
  100% {
    background-position: center calc(50% - 3px);
  }

  50% {
    background-position: center calc(50% + 3px);
  }
}

@media (min-width: 700px) {
  body {
    padding: 32px 0;
  }

  .page-shell {
    border: 1px solid rgba(255, 218, 98, 0.22);
    border-radius: 28px;
  }
}

@media (max-width: 1023px) {
  .page-shell {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .page-shell {
    width: min(100%, 1376px);
  }

  .hero {
    width: 100%;
    max-width: 1376px;
    height: 820px;
    aspect-ratio: auto;
    background-color: #090909;
    background-image: url("assets/hero-desktop-bg.png");
    background-position: right top;
    background-size: 617px 820px;
    background-repeat: no-repeat;
    animation-name: heroDesktopVisualFloat;
  }

  .hero-date {
    top: 100px;
    left: 64px;
    width: 128px;
    height: auto;
    text-align: left;
  }

  .hero-venue {
    top: 100px;
    left: 226px;
    width: 360px;
    height: auto;
    text-align: left;
  }

  .hero-date-day,
  .hero-time {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-date-year,
  .hero-place {
    font-size: 14px;
    line-height: 21px;
  }

  .hero-place {
    white-space: nowrap;
  }

  .hero-title-art {
    top: 265px;
    left: 64px;
    width: 468px;
    height: 248px;
  }

  .hero-intro {
    top: 593px;
    left: 64px;
    width: 388px;
    height: auto;
    padding: 0;
    text-align: left;
  }

  .hero .hero-intro-copy {
    font-size: 18px;
    line-height: 26px;
    text-align: left;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: 48px;
    line-height: 56px;
    text-align: left;
  }

  .message-block {
    display: grid;
    grid-template-columns: 72px 558px;
    column-gap: 16px;
    align-items: start;
    width: 646px;
    max-width: calc(100% - 48px);
    height: auto;
    aspect-ratio: auto;
    margin: 64px auto 0;
    overflow: visible;
  }

  .message-block h2 {
    position: static;
    grid-column: 1 / -1;
    height: 21px;
    font-size: 14px;
    line-height: 21px;
  }

  .message-arrow {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    width: 11px;
    height: 4px;
    margin-top: 6px;
    margin-bottom: 37px;
    transform: none;
  }

  .message-avatar {
    position: static;
    border: 1px solid #ffd76c;
  }

  .message-avatar-first {
    grid-column: 1;
    width: 72px;
    height: 72px;
  }

  .message-bubble {
    position: static;
    grid-column: 2;
    width: 558px;
    height: auto;
    min-height: 0;
    padding: 20px;
    border-radius: 0 32px 32px 32px;
    font-size: 16px;
    line-height: 24px;
  }

  .message-bubble p {
    max-width: none;
    margin-bottom: 18px;
  }

  .message-bubble p:has(+ .message-continuation) {
    margin-bottom: 0;
  }

  .message-avatar-second {
    grid-column: 1;
    width: 69px;
    height: 69px;
    margin-top: 28px;
  }

  .video-preview {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 2;
    width: 406px;
    height: 392px;
    margin-top: 28px;
  }

  .details {
    width: min(100%, 1376px);
    padding: 96px 24px 48px;
  }

  .ticket {
    width: 982px;
    max-width: 100%;
    height: 352px;
    aspect-ratio: auto;
    background: #090909;
    transition:
      transform 240ms ease,
      filter 240ms ease;
  }

  .ticket-frame-top {
    content: url("assets/block3_desktop-left.png");
    top: 0;
    left: 0;
    width: 284px;
    height: 352px;
  }

  .ticket-frame-bottom {
    content: url("assets/block3_desktop-right.png");
    top: 0;
    left: 284px;
    width: 698px;
    height: 352px;
  }

  .ticket-group,
  .ticket-address {
    padding: 0;
  }

  .ticket-label {
    font-size: 14px;
    line-height: 21px;
  }

  .ticket-price {
    top: 84px;
    left: 0;
    width: 284px;
  }

  .ticket-price-value {
    font-size: 88px;
    line-height: 96px;
  }

  .ticket .ticket-note {
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
  }

  .ticket-value {
    font-size: 44px;
    line-height: 52px;
  }

  .ticket-date {
    top: 26px;
    left: 350px;
    width: 250px;
    text-align: left;
  }

  .ticket-time {
    top: 26px;
    left: 700px;
    width: 180px;
    text-align: left;
  }

  .ticket-place {
    top: 150px;
    left: 350px;
    width: 370px;
    text-align: left;
  }

  .desktop-place-break {
    display: block;
  }

  .ticket-place .ticket-label,
  .ticket-language .ticket-label {
    display: block;
    transform: translateY(-4px);
  }

  .ticket-language {
    top: 150px;
    left: 700px;
    width: 235px;
    text-align: left;
  }

  .ticket-address {
    top: 292px;
    left: 350px;
    width: 370px;
    justify-content: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
  }

  .ticket-address-icon {
    width: 13px;
    height: 16px;
  }

  .closing {
    width: min(100%, 1376px);
    padding-top: 42px;
  }

  .closing-title {
    width: 100%;
    height: 32px;
    font-size: 24px;
    line-height: 32px;
  }
}

@keyframes heroDesktopVisualFloat {
  0%,
  100% {
    background-position: right 0 top -3px;
  }

  50% {
    background-position: right 0 top 3px;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .ticket:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 12px 24px rgba(255, 215, 108, 0.16));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .ticket {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
