:root {
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ink: #f3f3f3;
  --finale: #0e1822;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #000;
  color: var(--ink);
}

body {
  min-height: 100vh;
}

.page {
  width: min(100%, 440px);
  margin-inline: auto;
  background: #000;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.hero,
.scene {
  position: relative;
}

.hit {
  position: absolute;
  border-radius: 16px;
}

.hit-spotify {
  left: 12%;
  top: 74%;
  width: 36%;
  height: 16%;
}

.hit-youtube {
  left: 50%;
  top: 74%;
  width: 38%;
  height: 16%;
}

.hit-acousti {
  left: 14%;
  top: 0.4%;
  width: 72%;
  height: 36%;
}

.hit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.card {
  display: block;
}

.card img {
  transition: filter 0.6s var(--ease), transform 0.7s var(--ease);
}

.card:hover img,
.card:focus-visible img {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.card.is-static {
  cursor: default;
}

.card.is-static:hover img {
  filter: none;
  transform: none;
}

.card:focus-visible {
  outline: none;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% * 556 / 804);
  height: 46px;
  margin: 6px auto 20px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-family: "Commissioner", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.cta:hover,
.cta:focus-visible {
  background: transparent;
  border-color: #fff;
}

.cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(108px);
  transition:
    opacity 1.55s var(--ease),
    transform 1.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.push {
  position: fixed;
  z-index: 45;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  width: min(calc(100% - 36px), 340px);
  gap: 10px;
  padding: 11px 14px 11px 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(38, 38, 40, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 24px));
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
  cursor: pointer;
}

.push.is-in {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.intro {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
}

.intro img {
  width: min(100vw, 440px);
  height: 100dvh;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
  animation: intro-in 0.7s var(--ease) both;
}

body.is-opening {
  overflow: hidden;
}

body.is-leaving .intro img {
  animation: intro-out 0.65s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

body.is-leaving .intro {
  animation: intro-fade 0.65s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

.push-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #1c3a2e;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1;
}

.push-copy {
  min-width: 0;
  flex: 1;
}

.push-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.push-app,
.push-time {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.push-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.push-text strong {
  font-weight: 600;
}

@keyframes intro-in {
  from {
    opacity: 0;
    transform: scale(1.045);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes intro-out {
  from {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: scale(1.14);
    filter: blur(2px);
  }
}

@keyframes intro-fade {
  to {
    opacity: 0;
  }
}

.talk {
  position: fixed;
  z-index: 28;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: min(286px, calc(100vw - 78px));
  opacity: 0;
  pointer-events: none;
  transform: translateX(36px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.75s var(--ease);
}

.talk.is-in {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.talk-close {
  align-self: flex-end;
  width: 22px;
  height: 22px;
  margin: 0 4px 6px 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 22, 0.72);
  color: rgba(255, 255, 255, 0.82);
  font: 15px/22px "Segoe UI", sans-serif;
  cursor: pointer;
}

.talk-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 8px;
}

.talk-bubble {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 18px 18px 6px 18px;
  background: rgba(22, 22, 24, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-family: "Commissioner", "Segoe UI", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.talk-bubble p {
  margin: 0;
}

.talk-bubble[hidden] {
  display: none;
}

.talk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-family: "Commissioner", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.talk-btn:hover,
.talk-btn:focus-visible {
  background: #ececec;
}

.talk-btn:focus-visible,
.talk-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.talk-follow {
  display: none;
}

.talk-follow.is-in {
  display: flex;
}

.talk-photo {
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 16%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none !important;
  }

  body {
    overflow: auto !important;
  }

  .hero,
  .reveal,
  .card img,
  .cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .push {
    animation: none !important;
    transition: none !important;
    transform: translate(-50%, 0) !important;
  }

  .push:not(.is-in) {
    opacity: 0 !important;
  }

  .talk {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .talk:not(.is-in) {
    opacity: 0 !important;
  }
}
