:root {
  --bg: #f7eef3;
  --surface: #fffafc;
  --ink: #2a1230;
  --muted: #6d5873;
  --rose: #c42b6a;
  --rose-soft: #f3c9dc;
  --sun: #f4b63f;
  --line: #e6d3de;
  --radius: 28px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1e0f24;
    --surface: #2a1632;
    --ink: #fbeef5;
    --muted: #c3a9cb;
    --rose: #ff6fa5;
    --rose-soft: #5a2750;
    --line: #432a4d;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 100svh;
  padding-block: 3rem;
}
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 5.9rem); text-wrap: balance; }
.heart { color: var(--rose); display: inline-block; animation: beat 2.4s ease-in-out infinite; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 30ch; margin: 1.5rem 0 2rem; }
.jump { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.5rem;
  border-radius: 999px; background: var(--rose); color: #fff; font-weight: 600;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--rose); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--rose); }
@media (prefers-color-scheme: dark) { .btn:not(.btn-ghost) { color: #2a1230; } }

.portrait { margin: 0; justify-self: center; width: min(100%, 440px); position: relative; }
.portrait::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  background: var(--sun); z-index: 0;
}
.arch {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 50% 50% var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--rose-soft), var(--surface));
  animation: reveal 1.4s cubic-bezier(.2,.7,.2,1) both;
}
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sections */
.block { padding-block: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.block-head { margin-bottom: 2rem; max-width: 36rem; }
.block-head h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
.block-head p { color: var(--muted); margin: .75rem 0 0; }

/* Player */
.player {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.disc {
  width: clamp(130px, 22vw, 220px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, transparent 0 28%, rgba(255,255,255,.08) 28.5% 29%, transparent 29.5% 44%, rgba(255,255,255,.07) 44.5% 45%, transparent 45.5%),
    conic-gradient(from 20deg, #2a1230, #4a1d4f, #2a1230, #3b1741, #2a1230);
  box-shadow: 0 18px 40px -18px rgba(42,18,48,.6);
  animation: spin 7s linear infinite; animation-play-state: paused;
}
.disc span {
  width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--rose); color: #fff; font-size: clamp(.9rem, 2.4vw, 1.5rem);
}
.player.playing .disc { animation-play-state: running; }

.controls { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.play {
  flex: none; width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rose); color: #fff; display: grid; place-items: center;
  transition: transform .2s;
}
.play:hover { transform: scale(1.06); }
.play:active { transform: scale(.96); }
.play .i-pause, .player.playing .i-play { display: none; }
.player.playing .i-pause { display: block; }
@media (prefers-color-scheme: dark) { .play { color: #2a1230; } }

.track { flex: 1; min-width: 0; }
.times { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: .35rem; }
#seek {
  --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(to right, var(--rose) var(--p), var(--line) var(--p));
}
#seek::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--rose); border: 4px solid var(--surface); box-shadow: 0 0 0 1px var(--rose); }
#seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--rose); border: 3px solid var(--surface); }

/* Video */
.stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #1b0d20; box-shadow: 0 30px 60px -30px rgba(42,18,48,.55); }
.stage video { display: block; width: 100%; max-height: 80vh; background: #1b0d20; }
.big-play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--rose); display: grid; place-items: center; cursor: pointer;
  padding-left: 4px; transition: transform .2s;
}
.big-play:hover { transform: scale(1.08); }
.big-play[hidden] { display: none; }

.foot { text-align: center; padding: 3rem 1rem 4rem; font-family: var(--serif); font-size: 1.5rem; color: var(--muted); }
.foot p { margin: 0; }

/* Motion */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } }
@keyframes reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heart, .arch { animation: none; }
  .disc { animation-duration: 0s; }
}

/* Mobile */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 2.5rem 3rem; }
  .portrait { order: -1; width: min(78%, 340px); margin-right: 16px; }
  .player { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .controls { width: 100%; }
}