@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --paper: #f8efec;
  --paper-deep: #f1dfdc;
  --ink: #352a35;
  --muted: #806b76;
  --rose: #b96d79;
  --rose-deep: #8f4858;
  --plum: #543b57;
  --line: rgba(84, 59, 87, 0.16);
  --white-glass: rgba(255, 251, 248, 0.66);
  --shadow: 0 30px 80px rgba(109, 61, 78, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 5%, rgba(226, 171, 179, 0.28), transparent 28rem),
    radial-gradient(circle at 100% 74%, rgba(202, 170, 201, 0.18), transparent 32rem),
    linear-gradient(135deg, #fbf3ef 0%, #f8efec 46%, #f5e9e5 100%);
}

.page-shell::before {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(143, 72, 88, 0.11);
  border-radius: 30px;
  content: '';
  pointer-events: none;
}

.glow { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.glow-one { width: 21rem; height: 21rem; top: 13rem; right: -8rem; background: rgba(224, 158, 167, 0.16); }
.glow-two { width: 15rem; height: 15rem; bottom: 4rem; left: -6rem; background: rgba(155, 123, 164, 0.13); }

.site-header, main, .site-footer { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding-inline: 5.5rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-top: 3.4rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.72rem; color: var(--plum); text-decoration: none; font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.wordmark-mark { display: grid; width: 2rem; height: 2rem; place-items: center; color: #fff7f3; background: var(--rose-deep); border-radius: 50% 50% 50% 10%; font-family: Georgia, serif; font-size: 1.25rem; transform: rotate(-12deg); box-shadow: 0 7px 16px rgba(143, 72, 88, 0.22); }
.header-note { color: var(--muted); font-size: 0.71rem; letter-spacing: 0.16em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); align-items: center; gap: 4rem; min-height: 570px; padding-block: 5.7rem 4.4rem; }
.hero-copy { padding-block: 1rem; }
.eyebrow, .small-label, .caption-kicker { color: var(--rose-deep); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.9rem; }
.eyebrow-line { width: 2.1rem; height: 1px; background: var(--rose); }
h1 { max-width: 760px; margin: 0; color: var(--plum); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(3rem, 5.45vw, 5.55rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.99; }
h1 em { color: var(--rose-deep); font-weight: 500; }
.intro { max-width: 425px; margin: 2rem 0 0; color: var(--muted); font-size: 1.03rem; line-height: 1.72; }

.music-scene { position: relative; width: min(100%, 350px); min-height: 385px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.album-art { position: relative; z-index: 1; width: min(100%, 264px); aspect-ratio: 1; overflow: hidden; border: 7px solid rgba(255, 250, 246, 0.62); border-radius: 50%; background: #312a47; box-shadow: 0 24px 60px rgba(91, 55, 78, 0.2), inset 0 0 0 1px rgba(255,255,255,0.18); transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.album-sky { position: absolute; inset: 0; background: linear-gradient(160deg, #252c5a 0%, #5d456c 52%, #c2727d 100%); }
.album-sun { position: absolute; top: 22%; left: 21%; width: 37%; aspect-ratio: 1; border-radius: 50%; background: #f5d19d; box-shadow: 0 0 26px rgba(255, 222, 164, 0.72); }
.album-art::after { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.1), transparent 40%); content: ''; }
.pyramid { position: absolute; bottom: 0; width: 0; height: 0; border-left: 105px solid transparent; border-right: 105px solid transparent; border-bottom: 150px solid #302b4b; filter: drop-shadow(8px 0 0 rgba(25, 23, 45, 0.12)); }
.pyramid-back { left: -40px; border-left-width: 88px; border-right-width: 88px; border-bottom-width: 117px; border-bottom-color: #45365c; opacity: 0.85; }
.pyramid-front { right: -44px; border-bottom-color: #292540; }
.pyramid-front::before { position: absolute; top: 0; left: -6px; width: 1px; height: 152px; background: rgba(247, 207, 151, 0.35); content: ''; transform: rotate(35deg); transform-origin: top; }
.album-stars { position: absolute; top: 12%; right: 9%; z-index: 2; color: rgba(255, 230, 183, 0.8); font-size: 0.65rem; letter-spacing: 0.35em; }
.album-label { position: absolute; right: 17%; bottom: 10%; z-index: 2; color: rgba(255,255,255,0.62); font-family: 'Playfair Display', Georgia, serif; font-size: 4.7rem; font-style: italic; line-height: 1; }
.music-caption { display: flex; flex-direction: column; align-items: center; gap: 0.12rem; margin-top: 1.25rem; }
.music-caption strong { color: var(--plum); font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.music-caption > span:last-child { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
.caption-kicker { font-size: 0.6rem; }
.scene-orbit { position: absolute; border: 1px solid rgba(185, 109, 121, 0.23); border-radius: 50%; transform: rotate(-32deg); }
.orbit-one { width: 318px; height: 125px; }
.orbit-two { width: 350px; height: 184px; border-color: rgba(84, 59, 87, 0.12); transform: rotate(33deg); }

.player-card { padding: 2.1rem 2.35rem 1.55rem; border: 1px solid rgba(143, 72, 88, 0.13); border-radius: 23px; background: var(--white-glass); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.player-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.small-label { margin: 0 0 0.6rem; font-size: 0.61rem; }
.player-heading h2 { margin: 0; color: var(--plum); font-family: 'Playfair Display', Georgia, serif; font-size: 1.65rem; font-weight: 500; letter-spacing: -0.03em; }
.sound-symbol { display: flex; align-items: center; gap: 4px; height: 2rem; padding-top: 0.5rem; }
.sound-symbol span { display: block; width: 3px; border-radius: 99px; background: var(--rose); animation: sound 1.1s ease-in-out infinite alternate; }
.sound-symbol span:nth-child(1) { height: 0.55rem; animation-delay: -0.6s; }
.sound-symbol span:nth-child(2) { height: 1.15rem; animation-delay: -0.25s; }
.sound-symbol span:nth-child(3) { height: 0.78rem; animation-delay: -0.8s; }
.sound-symbol span:nth-child(4) { height: 1.35rem; animation-delay: -0.1s; }
.player-controls { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.75rem; }
.play-button { display: grid; flex: 0 0 auto; width: 3.45rem; height: 3.45rem; place-items: center; border: 0; border-radius: 50%; color: #fff9f5; background: var(--rose-deep); box-shadow: 0 8px 18px rgba(143, 72, 88, 0.25); transition: transform .2s ease, background .2s ease; }
.play-button:hover { background: var(--plum); transform: scale(1.05); }
.play-button:focus-visible, .heart-button:focus-visible, input:focus-visible { outline: 3px solid rgba(143, 72, 88, 0.35); outline-offset: 3px; }
.play-icon { margin-left: 0.14rem; font-size: 0.86rem; }
.pause-icon { display: none; font-size: 0.95rem; letter-spacing: -0.1em; }
.play-button.is-playing .play-icon { display: none; }
.play-button.is-playing .pause-icon { display: inline; }
.track-progress { flex: 1; min-width: 0; }
.time-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--muted); font-size: 0.68rem; font-variant-numeric: tabular-nums; }
input[type='range'] { display: block; width: 100%; height: 4px; margin: 0; accent-color: var(--rose-deep); cursor: pointer; }
.volume-control { display: flex; align-items: center; gap: 0.45rem; width: 116px; }
.volume-control input { width: 82px; }
.volume-icon { color: var(--rose-deep); font-size: 1.2rem; transform: rotate(90deg); }
.player-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.player-footer p { margin: 0; color: var(--muted); font-size: 0.76rem; }
.track-duration { color: var(--rose-deep); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }

.closing-note { display: flex; flex-direction: column; align-items: center; padding: 5.7rem 1rem 5rem; text-align: center; }
.closing-heart { color: var(--rose); font-size: 1.7rem; animation: heartbeat 2.2s ease-in-out infinite; }
.closing-note p { margin: 1rem 0 1.45rem; color: var(--plum); font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.28; }
.heart-button { padding: 0.68rem 1.1rem; border: 1px solid rgba(143, 72, 88, 0.22); border-radius: 100px; color: var(--rose-deep); background: rgba(255, 250, 246, 0.38); font-size: 0.72rem; letter-spacing: 0.07em; transition: all .2s ease; }
.heart-button:hover, .heart-button.is-loved { color: #fff8f5; border-color: var(--rose-deep); background: var(--rose-deep); }
.heart-button span { margin-right: 0.35rem; font-size: 1rem; vertical-align: -0.05em; }
.site-footer { display: flex; justify-content: center; gap: 0.7rem; padding-bottom: 2.6rem; color: rgba(128, 107, 118, 0.76); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-dot { color: var(--rose); }
.petals { position: absolute; inset: 0; pointer-events: none; }
.petal { position: absolute; color: rgba(185, 109, 121, 0.5); font-family: Georgia, serif; font-size: 1.1rem; animation: drift 8s ease-in-out infinite; }
.petal-a { top: 24%; left: 7%; animation-delay: -2s; }
.petal-b { top: 42%; right: 7%; font-size: 1.8rem; animation-delay: -5s; }
.petal-c { bottom: 30%; left: 15%; animation-delay: -6s; }
.petal-d { top: 14%; right: 25%; font-size: 1.55rem; animation-delay: -1s; }
.petal-e { bottom: 12%; right: 14%; animation-delay: -4s; }
.heart-rain { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.floating-heart { position: absolute; color: rgba(185, 109, 121, 0.34); font-family: Georgia, serif; font-size: 1.2rem; animation: heartFloat 10s ease-in-out infinite; }
.heart-one { top: 18%; left: 3%; animation-delay: -1s; }
.heart-two { top: 32%; right: 4%; font-size: 0.8rem; animation-delay: -5s; }
.heart-three { top: 57%; left: 8%; font-size: 1.65rem; animation-delay: -7s; }
.heart-four { top: 71%; right: 9%; animation-delay: -3s; }
.heart-five { top: 84%; left: 24%; font-size: 0.75rem; animation-delay: -8s; }
.heart-six { top: 91%; right: 26%; font-size: 1.55rem; animation-delay: -4s; }
.heart-seven { top: 46%; left: 48%; font-size: 0.75rem; animation-delay: -6s; }
.heart-eight { top: 10%; right: 38%; font-size: 0.8rem; animation-delay: -2s; }

@keyframes float { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); opacity: .35; } 50% { transform: translate(10px, -16px) rotate(15deg); opacity: .78; } }
@keyframes heartFloat { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-5deg); opacity: .2; } 50% { transform: translate3d(12px, -20px, 0) rotate(8deg); opacity: .72; } }
@keyframes heartbeat { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.15); } }
@keyframes sound { from { transform: scaleY(.65); opacity: .5; } to { transform: scaleY(1.1); opacity: 1; } }

@media (max-width: 820px) {
  .site-header, main, .site-footer { padding-inline: 2.2rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.8rem 3.6rem; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .intro { margin-inline: auto; }
  .music-scene { min-height: 350px; }
}

@media (max-width: 560px) {
  .page-shell::before { inset: 0.65rem; border-radius: 18px; }
  .site-header { padding-top: 2rem; }
  .header-note { display: none; }
  .site-header, main, .site-footer { padding-inline: 1.55rem; }
  .hero { min-height: auto; padding-block: 4rem 3rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .intro { font-size: 0.92rem; }
  .music-scene { min-height: 325px; }
  .album-art { width: 225px; }
  .orbit-one { width: 275px; height: 105px; }
  .orbit-two { width: 300px; height: 157px; }
  .player-card { padding: 1.55rem 1.2rem 1.25rem; border-radius: 18px; }
  .player-heading h2 { font-size: 1.4rem; }
  .player-controls { gap: 0.75rem; }
  .volume-control { width: 32px; }
  .volume-control input { display: none; }
  .player-footer { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
  .closing-note { padding-block: 4.5rem 4rem; }
  .desktop-break { display: none; }
  .site-footer { font-size: 0.54rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
