/* RapidDrama — candy-crystal glass studio landing
   Differentiated layout: floating dock nav + crystal sky + phone cascade + studio doors */

:root {
  --pink: #ff4d8d;
  --pink-soft: #ff8fb8;
  --lavender: #c4b5fd;
  --mint: #5eead4;
  --mint-deep: #2dd4bf;
  --peach: #fdba74;
  --coral: #fb7185;
  --ink: #2d1b4e;
  --ink-soft: #5b4578;
  --muted: #7c6b94;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.65);
  --blur: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --dock-h: 76px;
  --shadow-soft: 0 12px 40px rgba(255, 77, 141, 0.18);
  --shadow-float: 0 20px 50px rgba(45, 27, 78, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  background: #ffe8f3;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + 28px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
}

.cursor-pointer {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ========== Crystal sky atmosphere ========== */
.crystal-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.crystal-sky__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 182, 214, 0.85), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(196, 181, 253, 0.7), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 80%, rgba(94, 234, 212, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(253, 186, 116, 0.4), transparent 50%),
    linear-gradient(165deg, #ffe4f0 0%, #f0e7ff 42%, #e8f9f6 78%, #ffe8d6 100%);
}

.crystal-sky__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: orb-drift 14s ease-in-out infinite;
}

.crystal-sky__orb--a {
  width: 140px;
  height: 140px;
  top: 8%;
  right: 18%;
  background: radial-gradient(circle, #ffe566 0%, rgba(255, 229, 102, 0) 70%);
}

.crystal-sky__orb--b {
  width: 90px;
  height: 90px;
  top: 22%;
  right: 32%;
  background: radial-gradient(circle, #ffb4d4 0%, rgba(255, 180, 212, 0) 70%);
  animation-delay: -4s;
}

.crystal-sky__orb--c {
  width: 70px;
  height: 70px;
  bottom: 28%;
  left: 12%;
  background: radial-gradient(circle, #a5f3fc 0%, rgba(165, 243, 252, 0) 70%);
  animation-delay: -7s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.08);
  }
}

.crystal-facet {
  position: absolute;
  width: 120px;
  height: 180px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.45), rgba(244, 114, 182, 0.35), rgba(45, 212, 191, 0.25));
  clip-path: polygon(50% 0%, 100% 28%, 82% 100%, 18% 100%, 0% 28%);
  opacity: 0.35;
  filter: blur(0.5px);
  animation: facet-float 18s ease-in-out infinite;
}

.crystal-facet--1 {
  left: -2%;
  bottom: 8%;
  width: 160px;
  height: 240px;
}
.crystal-facet--2 {
  right: 4%;
  bottom: 12%;
  width: 140px;
  height: 210px;
  animation-delay: -3s;
  opacity: 0.28;
}
.crystal-facet--3 {
  left: 18%;
  top: 35%;
  width: 70px;
  height: 110px;
  animation-delay: -6s;
  opacity: 0.22;
}
.crystal-facet--4 {
  right: 22%;
  top: 48%;
  width: 90px;
  height: 140px;
  animation-delay: -9s;
  opacity: 0.2;
}
.crystal-facet--5 {
  left: 55%;
  bottom: 5%;
  width: 100px;
  height: 150px;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes facet-float {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

.crystal-sky__shimmer span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: twinkle 3.2s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.2);
  }
}

/* ========== Brand chip (compact floating header) ========== */
.brand-chip {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  width: min(520px, calc(100% - 28px));
  justify-content: space-between;
}

.brand-chip.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 32px rgba(255, 77, 141, 0.22);
}

.brand-chip__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.brand-chip__logo img {
  border-radius: 10px;
}

.brand-chip__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #ff7eb3);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 6px 18px rgba(255, 77, 141, 0.35);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.brand-chip__cta:hover {
  filter: brightness(1.06);
}

.brand-chip__cta:active {
  transform: scale(0.96);
}

.brand-chip__cta svg {
  width: 16px;
  height: 16px;
}

.brand-chip__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.brand-chip__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-drawer {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 79;
  width: min(520px, calc(100% - 28px));
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: var(--shadow-float);
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer a,
.nav-drawer button {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
  transition: background 0.2s;
}

.nav-drawer a:hover {
  background: rgba(255, 77, 141, 0.1);
}

/* ========== Floating dock ========== */
.dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255, 240, 248, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(255, 77, 141, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  width: min(420px, calc(100% - 24px));
  justify-content: space-around;
}

.dock__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.dock__item svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
}

.dock__glow {
  position: absolute;
  inset: 2px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.dock__item.is-active,
.dock__item:hover {
  color: var(--pink);
}

.dock__item.is-active .dock__glow {
  opacity: 1;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: scale(0.97);
}

.btn--clay {
  background: linear-gradient(160deg, #ff6b9d 0%, #ff4d8d 45%, #f43f7a 100%);
  color: #fff;
  border: 3px solid rgba(94, 234, 212, 0.85);
  box-shadow:
    0 10px 28px rgba(255, 77, 141, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.btn--clay:hover {
  filter: brightness(1.05);
  box-shadow:
    0 12px 32px rgba(255, 77, 141, 0.42),
    0 0 24px rgba(94, 234, 212, 0.35);
}

.btn--glass {
  background: var(--glass-strong);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-float);
}

.btn--glass:hover {
  background: #fff;
}

.btn--pink {
  background: linear-gradient(135deg, var(--pink), #ff7eb3);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 77, 141, 0.35);
}

.btn--pink:hover {
  filter: brightness(1.05);
}

/* ========== Hero ========== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: min(100vh, 920px);
  padding: clamp(6.5rem, 12vw, 8rem) clamp(1.25rem, 4vw, 4rem) 4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.75rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero__eyebrow img {
  border-radius: 8px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--ink) 20%, var(--pink) 55%, #7c3aed 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero__tagline {
  margin: 1rem 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__bonds {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
}

.bond-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 10px currentColor;
}

.bond-dot--fire {
  background: var(--coral);
  color: var(--coral);
}
.bond-dot--mint {
  background: var(--mint-deep);
  color: var(--mint-deep);
}
.bond-dot--bloom {
  background: var(--pink);
  color: var(--pink);
}

/* Phone pair — two screenshots, slightly larger */
.hero__phones {
  position: relative;
  min-height: 480px;
  height: 500px;
  max-height: 540px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.phone {
  position: absolute;
  margin: 0;
  width: min(200px, 42%);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255, 77, 141, 0.08);
  transition: transform 0.4s var(--ease);
}

.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 1024;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.phone--back {
  left: 6%;
  bottom: 4%;
  transform: rotate(-8deg);
  opacity: 0.92;
  z-index: 1;
}

.phone--front {
  right: 4%;
  left: auto;
  bottom: 0;
  transform: rotate(4deg);
  width: min(220px, 46%);
  z-index: 2;
  box-shadow: 0 24px 60px rgba(45, 27, 78, 0.18), 0 0 40px rgba(255, 77, 141, 0.15);
  animation: phone-bob 5.5s ease-in-out infinite;
}

.phone__badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--pink);
  box-shadow: 0 4px 14px rgba(45, 27, 78, 0.1);
}

@keyframes phone-bob {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-10px);
  }
}

.hero__phones:hover .phone--back {
  transform: rotate(-10deg) translateY(-4px);
}
.hero__phones:hover .phone--front {
  transform: rotate(5deg) translateY(-2px);
}

/* ========== Stages deck (app-like catalog) ========== */
.stages {
  padding: 2.5rem clamp(1rem, 3vw, 2.5rem) 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.studio__intro,
.peek__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.studio__intro h2,
.peek__head h2,
.download__glass h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.studio__intro p,
.peek__head p,
.download__glass p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.stages__deck {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 36px;
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stages__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.1rem;
}

.stages__titles h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.stages__titles p {
  margin: 0.35rem 0 0;
  max-width: 22rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.stages__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  max-width: 340px;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 2px rgba(45, 27, 78, 0.04);
  color: var(--muted);
}

.stages__search svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #d4a017;
}

.stages__search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.stages__search input::placeholder {
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: rgba(255, 240, 248, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.chip:hover {
  color: var(--pink);
}

.chip.is-active {
  background: linear-gradient(135deg, var(--pink), #ff7eb3);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 77, 141, 0.35);
}

/* Featured continue strip */
.stage-spotlight {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem 1.1rem;
  align-items: center;
  margin-bottom: 1.1rem;
  padding: 0.7rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(255, 77, 141, 0.1);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.stage-spotlight.is-hidden {
  display: none;
}

.stage-spotlight__poster {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fce7f3;
  width: 96px;
  flex-shrink: 0;
}

.stage-spotlight__poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 1024;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.stage-spotlight__kicker {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.stage-spotlight__copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--ink);
}

.stage-spotlight__copy > p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 36rem;
}

.stage-spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.stage-spotlight__meta li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-soft);
  background: rgba(255, 232, 244, 0.9);
}

.stage-spotlight .btn {
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
}

/* Compact 2-column poster grid — full shot, smaller display */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.stage-card {
  display: flex;
  flex-direction: column;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(45, 27, 78, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.25s;
}

.stage-card.is-hidden {
  display: none;
}

.stage-card:nth-child(even) {
  transform: translateY(10px);
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(255, 77, 141, 0.18);
}

.stage-card:nth-child(even):hover {
  transform: translateY(4px);
}

.stage-card__art {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #fce7f3, #ede9fe);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.stage-card__art img {
  width: auto;
  height: 240px;
  max-width: 100%;
  aspect-ratio: 473 / 1024;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.stage-card__body {
  padding: 0.55rem 0.25rem 0.15rem;
}

.stage-card__body h3 {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.stage-card__body p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.stage-card__art img,
.stage-spotlight__poster img,
.phone img,
.peek__shot img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.stages__empty {
  margin: 1.5rem 0 0.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.stages__empty[hidden] {
  display: none !important;
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 27, 78, 0.15);
}

.tag--fire {
  background: linear-gradient(135deg, #fb7185, #f43f5e);
}
.tag--bloom {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}
.tag--hearth {
  background: linear-gradient(135deg, #fb923c, #f97316);
}
.tag--star {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

/* ========== Studio doors ========== */
.studio {
  padding: 3.5rem clamp(1.25rem, 4vw, 4rem);
  max-width: 1180px;
  margin: 0 auto;
}

.doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.door {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.door::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--pink), var(--mint), var(--lavender));
  opacity: 0.85;
}

.door:hover {
  transform: translateY(-8px);
}

.door__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 77, 141, 0.15), rgba(94, 234, 212, 0.2));
  color: var(--pink);
}

.door__icon svg {
  width: 24px;
  height: 24px;
}

.door h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.door p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
  min-height: 4.2em;
}

.meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(45, 27, 78, 0.08);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.meter__fill {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint-deep), #a7f3d0, var(--pink-soft));
}

.meter__fill--pink {
  background: linear-gradient(90deg, var(--pink), #fda4af);
}
.meter__fill--mint {
  background: linear-gradient(90deg, #2dd4bf, #99f6e4);
}
.meter__fill--peach {
  background: linear-gradient(90deg, #fb923c, #fdba74);
}

.door__meta {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
}

/* ========== Peek runway ========== */
.peek {
  padding: 2rem 0 3rem;
}

.peek__runway {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.peek__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  animation: runway 28s linear infinite;
}

.peek__shot {
  margin: 0;
  width: 140px;
  flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-float);
  background: #fff;
}

.peek__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 473 / 1024;
  object-fit: contain;
  object-position: top center;
  display: block;
}

@keyframes runway {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.peek__runway:hover .peek__track {
  animation-play-state: paused;
}

/* ========== Download ========== */
.download {
  padding: 2rem clamp(1.25rem, 4vw, 4rem) 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.download__glass {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
}

.play-orb {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
}

.play-orb__ring {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 5px solid var(--mint);
  background: linear-gradient(160deg, #ff6b9d, #ff3d7a);
  box-shadow:
    0 12px 32px rgba(255, 77, 141, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}

.play-orb__core {
  position: relative;
  z-index: 1;
  color: #fff;
  display: grid;
  place-items: center;
}

.play-orb__core svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.play-orb:hover .play-orb__ring {
  filter: brightness(1.06);
  box-shadow:
    0 14px 36px rgba(255, 77, 141, 0.45),
    0 0 28px rgba(94, 234, 212, 0.45);
}

.play-orb:active {
  transform: scale(0.95);
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}

/* ========== Footer ========== */
.footer {
  padding: 2rem clamp(1.25rem, 4vw, 4rem) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__brand img {
  border-radius: 8px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer__links a {
  color: var(--ink-soft);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--pink);
}

.footer__copy {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ========== Modal ========== */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 27, 78, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow-float);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--ink-soft);
  transition: background 0.2s;
}

.modal__close:hover {
  background: rgba(255, 77, 141, 0.1);
}

.modal__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 77, 141, 0.15), rgba(94, 234, 212, 0.2));
  color: var(--pink);
}

.modal__icon svg {
  width: 28px;
  height: 28px;
}

.modal__panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.modal__panel p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    padding-top: 6rem;
  }

  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta,
  .hero__bonds {
    justify-content: center;
  }

  .hero__phones {
    height: 460px;
    min-height: 440px;
    max-height: 480px;
    margin-top: 0.5rem;
  }

  .doors {
    grid-template-columns: repeat(2, 1fr);
  }

  .stage-spotlight {
    grid-template-columns: 88px 1fr;
  }

  .stage-spotlight__poster {
    width: 88px;
  }

  .stage-card:nth-child(even) {
    transform: translateY(8px);
  }
}

@media (max-width: 640px) {
  .brand-chip__cta span {
    display: none;
  }

  .brand-chip__burger {
    display: flex;
  }

  .hero__phones {
    height: 360px;
    min-height: 340px;
  }

  .phone--back {
    width: min(140px, 38%);
  }

  .phone--front {
    width: min(156px, 42%);
  }

  .doors {
    grid-template-columns: 1fr;
  }

  .door p {
    min-height: 0;
  }

  .stages__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .stages__search {
    max-width: none;
  }

  .stage-spotlight {
    grid-template-columns: 72px 1fr;
  }

  .stage-spotlight__poster {
    width: 72px;
  }

  .stage-spotlight__copy > p {
    display: none;
  }

  .stage-grid {
    max-width: none;
  }

  .stage-card__art img {
    height: 200px;
  }

  .stage-card:nth-child(even) {
    transform: none;
  }

  .stage-card:nth-child(even):hover {
    transform: translateY(-4px);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  .dock__item {
    padding: 8px 10px;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

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

  .crystal-sky__orb,
  .crystal-facet,
  .crystal-sky__shimmer span,
  .phone--front,
  .peek__track {
    animation: none !important;
  }

  .door,
  .stage-card,
  .btn,
  .dock__item,
  .chip {
    transition: none !important;
  }

  .stage-card:nth-child(even) {
    transform: none;
  }
}
