/* ═══════════════════════════════════════════════════════════════
   LOVE RECORD — the wedding as a dreamy pastel vinyl album
═══════════════════════════════════════════════════════════════ */
:root {
    --cream: #fbf5ea;
    --paper: #fffaf2;
    --rose: #e8a8b0;
    --rose-deep: #d98f96;
    --rose-soft: #f8dfe1;
    --sage: #a9bfa0;
    --sage-deep: #7f9c78;
    --sage-soft: #e3ecdd;
    --butter: #f6dc8f;
    --butter-soft: #fbefc9;
    --lilac: #cdb9ea;
    --lilac-deep: #a58bd6;
    --lilac-soft: #ece4f7;
    --plum: #4a2545;
    --plum-soft: #7a4d73;
    --ink-mute: #9a7f95;
    --display: 'Playfair Display', Georgia, serif;
    --script: 'Pinyon Script', cursive;
    --mono: 'DM Mono', ui-monospace, monospace;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow: 0 18px 40px -18px rgba(74, 37, 69, .35);
    --shadow-soft: 0 10px 26px -14px rgba(74, 37, 69, .28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--plum);
    background-color: #f3e6ee;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(205, 185, 234, .55), transparent 40%),
        radial-gradient(circle at 88% 70%, rgba(246, 220, 143, .45), transparent 42%),
        radial-gradient(circle at 70% 8%, rgba(232, 168, 176, .45), transparent 38%),
        repeating-radial-gradient(circle at 50% 50%, rgba(74, 37, 69, .025) 0 2px, transparent 2px 9px);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; height: 100vh; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
.script { font-family: var(--script); font-weight: 400; }

/* ════════════════════════════
   VINYL (shared)
════════════════════════════ */
.vinyl {
    position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%;
    container-type: inline-size;
    filter: drop-shadow(0 18px 26px rgba(74, 37, 69, .28));
}
.vinyl-disc {
    position: absolute; inset: 0; border-radius: 50%; display: block;
    background:
        radial-gradient(circle, transparent 0 39%, rgba(74, 37, 69, .16) 39.4% 39.8%, transparent 40.2% 57%, rgba(74, 37, 69, .13) 57.3% 57.7%, transparent 58% 74%, rgba(74, 37, 69, .12) 74.3% 74.7%, transparent 75%),
        repeating-radial-gradient(circle, rgba(74, 37, 69, .09) 0 .5px, transparent .5px 2.4px),
        radial-gradient(circle, transparent 0 96%, rgba(74, 37, 69, .28) 97%, rgba(255, 255, 255, .5) 98.4%, transparent 99.5%),
        conic-gradient(from 20deg, #e9bccb, #d2bfee, #bfdad2, #f2dfa6, #ebb6c2, #cbb8ec, #c3dccf, #e9bccb);
    will-change: transform;
}
.vinyl-sheen {
    position: absolute; inset: 0; border-radius: 50%; display: block; pointer-events: none;
    background:
        conic-gradient(from -20deg, transparent 0 6%, rgba(255, 255, 255, .75) 11%, transparent 17% 48%, rgba(255, 255, 255, .6) 56%, transparent 63%),
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .45), transparent 42%);
    mix-blend-mode: soft-light;
    -webkit-mask: radial-gradient(circle, transparent 0 19%, #000 20%);
    mask: radial-gradient(circle, transparent 0 19%, #000 20%);
}
.vinyl-sheen::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from -20deg, transparent 0 8%, rgba(255, 255, 255, .35) 11%, transparent 14% 52%, rgba(255, 255, 255, .28) 56%, transparent 60%);
}
.vinyl-label {
    position: absolute; left: 50%; top: 50%; width: 38%; height: 38%; translate: -50% -50%;
    border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 0 5%;
    background:
        radial-gradient(circle, transparent 0 60%, rgba(74, 37, 69, .1) 61% 62%, transparent 63%),
        radial-gradient(circle at 40% 35%, #fffaf0, #fbe9c7 70%, #f4d89a);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
    color: var(--plum);
}
.vinyl-label .vl-top { font-size: 2.3cqw; letter-spacing: .18em; color: var(--rose-deep); }
.vinyl-label b {
    font-family: var(--display); font-style: italic; font-weight: 600; line-height: 1.1;
    font-size: 4.2cqw; max-width: 100%; overflow-wrap: anywhere;
    margin: 1.2cqw 0 1cqw;
}
.vinyl-label b i { color: var(--rose-deep); font-weight: 500; }
.vinyl-label .vl-date { font-size: 2.2cqw; letter-spacing: .12em; color: var(--plum-soft); }
.vinyl-label .vl-hole {
    position: absolute; left: 50%; top: 50%; width: 7%; height: 7%; translate: -50% -50%;
    border-radius: 50%; background: #3c1f38; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
    opacity: 0;   /* the spindle hole sits behind the text — keep it subtle */
}

/* ════════════════════════════
   COVER
════════════════════════════ */
.intro {
    position: fixed; inset: 0; z-index: 2000; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 28px 16px 34px;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .16) 0 14px, transparent 14px 28px),
        linear-gradient(170deg, #e6dbf6 0%, #f7dbe0 48%, #fbecc9 100%);
    transition: opacity .7s ease, transform .9s ease;
}
.intro.s5 { opacity: 0; transform: scale(1.06); pointer-events: none; }
.intro.gone { display: none; }

.intro-bg { position: absolute; inset: 0; pointer-events: none; }
.ib-note { position: absolute; width: 26px; height: 26px; color: rgba(122, 77, 115, .28); animation: ibFloat 7s ease-in-out infinite; }
.ib-note svg { width: 100%; height: 100%; }
.ib-note.n1 { left: 9%; top: 14%; }
.ib-note.n2 { right: 12%; top: 22%; width: 20px; height: 20px; animation-delay: -2s; color: rgba(217, 143, 150, .45); }
.ib-note.n3 { left: 14%; bottom: 18%; width: 18px; height: 18px; animation-delay: -4s; color: rgba(217, 143, 150, .5); }
.ib-note.n4 { right: 9%; bottom: 26%; animation-delay: -1s; color: rgba(127, 156, 120, .4); }
.ib-note.n5 { right: 30%; top: 7%; width: 16px; height: 16px; animation-delay: -3s; color: rgba(165, 139, 214, .5); }
@keyframes ibFloat { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

.intro-label {
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--plum-soft);
    background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8);
    padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
    transition: opacity .4s;
}

.deck {
    --S: min(68vw, 300px);
    --R: calc(var(--S) * .92);
    position: relative; flex: none;
    width: calc(var(--R) * 1.34); height: calc(var(--R) * 1.16);
    display: grid; place-items: center;
}

/* turntable */
.turntable {
    position: absolute; inset: 0; border-radius: 26px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .7), transparent 45%),
        linear-gradient(160deg, #fbf0de, #f1dfc5);
    border: 2.5px solid var(--plum);
    box-shadow: 0 6px 0 #e3cdb0, 0 6px 0 2.5px var(--plum), 0 26px 40px -16px rgba(74, 37, 69, .45);
    opacity: 0; transform: scale(.86) translateY(20px);
    transition: opacity .6s ease, transform .8s cubic-bezier(.34, 1.4, .64, 1);
}
.tt-platter {
    position: absolute; width: calc(var(--R) * 1.05); aspect-ratio: 1; border-radius: 50%;
    left: 45%; top: 50%; translate: -50% -50%;
    background: radial-gradient(circle, #f6d7da 0 30%, #eec3c8 31% 100%);
    border: 2.5px solid var(--plum);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .5);
}
.tt-arm {
    position: absolute; right: 3%; top: 4%; width: calc(var(--R) * .36); height: calc(var(--R) * .9);
    transform-origin: 70% 11%; transform: rotate(0deg);
    transition: transform 1s cubic-bezier(.45, 0, .2, 1);
    z-index: 5;
}
.tt-knob { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--lilac); border: 2px solid var(--plum); bottom: 7%; }
.tt-knob.k1 { right: 6%; } .tt-knob.k2 { right: 14%; background: var(--butter); }
.tt-led { position: absolute; left: 5%; bottom: 7%; width: 8px; height: 8px; border-radius: 50%; background: #d8c8c4; border: 1.5px solid var(--plum); transition: background .3s, box-shadow .3s; }
.tt-speed { position: absolute; left: calc(5% + 14px); bottom: calc(7% - 3px); font-size: 10px; color: var(--plum-soft); letter-spacing: .1em; }

/* record */
.c-record {
    position: absolute; width: var(--R); aspect-ratio: 1; left: 50%; top: 50%;
    margin-left: calc(var(--R) / -2); margin-top: calc(var(--R) / -2);
    transform: translateX(13%);
    transition: transform .9s cubic-bezier(.5, 0, .2, 1);
    z-index: 2;
}
.c-record-flip { width: 100%; height: 100%; transform-style: preserve-3d; }

/* sleeve */
.sleeve {
    position: absolute; width: var(--S); aspect-ratio: 1; left: 50%; top: 50%;
    margin-left: calc(var(--S) / -2); margin-top: calc(var(--S) / -2);
    transform: translateX(-9%);
    border-radius: 6px; overflow: visible; z-index: 3;
    background: #fbf1e3;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 40px -14px rgba(74, 37, 69, .45), 0 2px 6px rgba(74, 37, 69, .15);
    transition: transform .9s cubic-bezier(.5, 0, .2, 1), opacity .7s ease;
    container-type: inline-size;
}
.sleeve-art { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 6px; }
.sleeve-text {
    position: absolute; left: 0; right: 0; bottom: 6.5%; text-align: center; padding: 0 8%;
}
.st-side { display: none; }
.st-names {
    font-family: var(--display); font-weight: 600; font-style: italic; color: var(--plum);
    font-size: 8.6cqw; line-height: 1.05; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-names em { color: var(--rose-deep); font-weight: 500; }
.st-sub { font-size: 7cqw; color: var(--rose-deep); line-height: 1; margin-top: .5cqw; }
.shrink {
    position: absolute; inset: 0; border-radius: 6px; pointer-events: none; overflow: hidden;
    background: linear-gradient(200deg, rgba(255, 255, 255, .18), transparent 40%);
}
/* moving shine: a 220% gradient sheet translated (compositor-only) instead of animating background-position */
.shrink::before {
    content: ''; position: absolute; left: 0; top: 0; width: 220%; height: 220%;
    background: linear-gradient(125deg, transparent 0 28%, rgba(255, 255, 255, .45) 32%, transparent 38% 64%, rgba(255, 255, 255, .25) 67%, transparent 71%);
    transform: translate(-54.5455%, -54.5455%);
    animation: shrinkShine 5s ease-in-out infinite;
}
.shrink::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
@keyframes shrinkShine { 0%, 100% { transform: translate(-54.5455%, -54.5455%); } 50% { transform: translate(0, 0); } }
.sticker-limited {
    position: absolute; width: 27%; aspect-ratio: 1; right: -7%; top: -7%;
    transform: rotate(14deg); filter: drop-shadow(0 4px 6px rgba(74, 37, 69, .25));
    animation: stickerSpin 22s linear infinite;
}
@keyframes stickerSpin { to { transform: rotate(374deg); } }

/* "for" sticker on the shrink-wrap */
.for-sticker {
    position: relative; z-index: 4; margin-top: -12px;
    width: min(80vw, 300px); text-align: center;
    background: #fffdf7; border-radius: 4px; padding: 14px 18px 12px;
    transform: rotate(-2.5deg);
    box-shadow: 0 10px 22px -10px rgba(74, 37, 69, .4), 0 0 0 1px rgba(74, 37, 69, .06);
    background-image: repeating-linear-gradient(0deg, transparent 0 21px, rgba(217, 143, 150, .18) 21px 22px);
    transition: opacity .4s, transform .5s;
}
.fs-tape {
    position: absolute; left: 50%; top: -9px; width: 70px; height: 18px; translate: -50% 0; rotate: 3deg;
    background: rgba(246, 220, 143, .75); border-left: 2px dotted rgba(255, 255, 255, .7); border-right: 2px dotted rgba(255, 255, 255, .7);
}
.fs-label { display: block; font-size: 11px; color: var(--ink-mute); letter-spacing: .02em; }
.fs-name { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--plum); overflow-wrap: anywhere; margin-top: 2px; }

.btn-play {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; cursor: pointer; text-decoration: none;
    font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .02em;
    color: #fff; padding: 14px 26px 14px 28px; border-radius: 100px;
    background: linear-gradient(135deg, #8f5f88 0%, var(--plum) 100%);
    box-shadow: 0 10px 22px -8px rgba(74, 37, 69, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s, box-shadow .2s;
}
.btn-play:hover { transform: translateY(-2px); }
.btn-play:active { transform: translateY(1px) scale(.98); }
.btn-play svg { flex: none; }
.btn-play.small { padding: 11px 20px; font-size: 14px; }
.btn-play.full { width: 100%; }
.btn-play.sent { background: linear-gradient(135deg, var(--sage), var(--sage-deep)); }
.btn-play:disabled { opacity: .85; cursor: default; }
#openBtn { position: relative; margin-top: 26px; box-shadow: 0 10px 22px -8px rgba(74, 37, 69, .55); }
/* breathing halo: static ring whose opacity animates (was an animated box-shadow spread) */
#openBtn::after {
    content: ''; position: absolute; inset: -6px; border-radius: inherit; pointer-events: none;
    border: 6px solid rgba(165, 139, 214, .45); opacity: 0;
    animation: btnBreath 2.4s ease-in-out infinite;
}
@keyframes btnBreath { 0%, 50%, 100% { opacity: 0; } 25%, 75% { opacity: .5; } }

/* opening sequence */
.intro.s1 .intro-label, .intro.s1 .for-sticker, .intro.s1 #openBtn { opacity: 0; pointer-events: none; }
.intro.s1 .for-sticker { transform: rotate(-8deg) translateY(30px); }
.intro.s1 .c-record { transform: translateX(52%); }
.intro.s1 .sleeve { transform: translateX(-24%) rotate(-3deg); }
.intro.s2 .sleeve { transform: translate(-150%, 8%) rotate(-16deg); opacity: 0; }
.intro.s2 .turntable { opacity: 1; transform: none; }
.intro.s2 .c-record { transform: translateX(-6.7%); transition-duration: 1s; }
.intro.s2 .c-record-flip { animation: recFlip 1s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes recFlip {
    0% { transform: rotateY(0) scale(1); }
    50% { transform: rotateY(90deg) scale(1.12) translateY(-12px); }
    100% { transform: rotateY(0) scale(1); }
}
.intro.s3 .tt-arm { transform: rotate(24deg); }
.intro.s4 .c-disc { animation: spin 1.8s linear infinite; }
.intro.s4 .tt-led { background: #9fd39a; box-shadow: 0 0 8px #9fd39a; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════
   MUSIC BUTTON
════════════════════════════ */
.music-toggle-btn {
    position: fixed; top: calc(16px + env(safe-area-inset-top)); right: 16px; z-index: 1001;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: #fffaf2; color: var(--plum); border: 2px solid var(--rose);
    box-shadow: 0 6px 16px rgba(74, 37, 69, .18);
    transition: transform .2s;
}
.music-toggle-btn svg { width: 20px; height: 20px; }
.music-toggle-btn:hover { transform: scale(1.08); }
.music-toggle-btn::after {
    content: ''; position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
    border: 5px solid rgba(217, 143, 150, .5); opacity: 0;
}
.music-toggle-btn.playing::after { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 50%, 100% { opacity: 0; } 25%, 75% { opacity: .5; } }

/* ════════════════════════════
   ALBUM LAYOUT
════════════════════════════ */
.album {
    position: relative; max-width: 520px; margin: 0 auto; overflow: hidden;
    background: var(--cream);
    box-shadow: 0 0 0 1px rgba(74, 37, 69, .05), 0 30px 80px -30px rgba(74, 37, 69, .35);
}
.paper {
    background-color: var(--paper);
    background-image: radial-gradient(rgba(74, 37, 69, .045) 1px, transparent 1.2px);
    background-size: 14px 14px;
}
section { position: relative; padding: 72px 22px; }

.sec-head { text-align: center; margin-bottom: 30px; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-deep);
}
.kicker::before, .kicker::after { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.sec-title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 7.6vw, 32px); line-height: 1.15; margin-top: 10px; color: var(--plum); }
.sec-title em { font-style: italic; font-weight: 500; color: var(--rose-deep); }
.sec-sub { font-size: 14.5px; color: var(--plum-soft); margin: 12px auto 0; max-width: 340px; }
.sec-sub.small { font-size: 13px; color: var(--ink-mute); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ════════════════════════════
   HERO — NOW PLAYING
════════════════════════════ */
.hero {
    min-height: 100vh; min-height: 100svh; padding: 86px 22px 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .85), transparent 55%),
        linear-gradient(180deg, #ebe1f7 0%, #f8e2e4 55%, var(--cream) 100%);
    overflow: hidden;
}
.hero-glow {
    position: absolute; left: 50%; top: 40%; width: 140%; aspect-ratio: 1; translate: -50% -50%;
    background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .35) 0 6deg, transparent 6deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 0 20%, transparent 62%);
    mask: radial-gradient(circle, #000 0 20%, transparent 62%);
    animation: glowSpin 60s linear infinite; pointer-events: none;
}
@keyframes glowSpin { to { rotate: 360deg; } }
.notes-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.fnote { position: absolute; top: 46%; width: 22px; height: 22px; animation: noteUp 4.2s ease-out forwards; opacity: 0; }
@keyframes noteUp {
    0% { opacity: 0; transform: translate(0, 0) scale(.5) rotate(0); }
    15% { opacity: .95; }
    100% { opacity: 0; transform: translate(var(--dx), -260px) scale(1.15) rotate(var(--rot)); }
}

.now-playing {
    position: relative; z-index: 2;
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--plum);
    background: rgba(255, 255, 255, .7); border: 1px solid #fff; border-radius: 100px; padding: 7px 16px;
    box-shadow: var(--shadow-soft);
    opacity: 0; transform: translateY(-10px); transition: opacity .7s .2s, transform .7s .2s;
}
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { display: block; width: 3px; height: 100%; transform: scaleY(.4); transform-origin: 50% 100%; border-radius: 2px; background: var(--rose-deep); }
body.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; background: var(--lilac-deep); }
.eq i:nth-child(3) { animation-delay: -.6s !important; background: var(--sage-deep); }
.eq i:nth-child(4) { animation-delay: -.15s !important; background: #e6b84a; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.hero-deck {
    position: relative; z-index: 2; width: min(74vw, 330px); margin: 30px 0 14px;
    opacity: 0; transform: scale(.7) rotate(-30deg);
    transition: opacity .9s, transform 1.3s cubic-bezier(.34, 1.3, .64, 1);
}
.hero-vinyl { display: block; width: 100%; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; -webkit-tap-highlight-color: transparent; }
.hero-vinyl:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 6px; }
.hero-arm {
    position: absolute; right: -15%; top: -6%; width: 32%; height: 80%;
    transform-origin: 70% 11%; transform: rotate(-6deg);
    transition: transform .9s cubic-bezier(.45, 0, .2, 1);
    pointer-events: none;
}
body.is-playing .hero-arm { transform: rotate(18deg); }
.tap-hint { display: block; margin-top: 16px; font-size: 10.5px; letter-spacing: .2em; color: var(--ink-mute); text-transform: uppercase; }

.hero-text { position: relative; z-index: 2; opacity: 0; transform: translateY(20px); transition: opacity .9s .5s, transform .9s .5s; }
.hero-kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--rose-deep); }
.hero-title {
    font-family: var(--display); font-weight: 600; font-size: clamp(36px, 11vw, 54px); line-height: 1.04;
    margin: 8px 0 6px; color: var(--plum); overflow-wrap: anywhere;
}
.hero-title em { display: block; font-family: var(--display); font-style: italic; font-weight: 400; color: var(--rose-deep); font-size: .62em; line-height: 1; margin: 0; }
.hero-artist { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--plum-soft); }
.hero-meta {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 16px;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-soft);
    padding: 8px 14px; border-top: 1px dashed rgba(122, 77, 115, .35); border-bottom: 1px dashed rgba(122, 77, 115, .35);
}
.hero-meta i { font-style: normal; color: var(--rose); }

body.opened .now-playing, body.opened .hero-text { opacity: 1; transform: none; }
body.opened .hero-deck { opacity: 1; transform: none; }

/* ════════════════════════════
   LINER NOTES
════════════════════════════ */
.booklet {
    position: relative; background: #fff; border-radius: 18px; padding: 26px 20px 20px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(74, 37, 69, .05);
}
.booklet::before {
    content: ''; position: absolute; inset: 8px; border-radius: 12px; pointer-events: none;
    border: 1px dashed rgba(217, 143, 150, .45);
}
.credit { display: flex; align-items: center; gap: 18px; position: relative; }
.credit.flip { flex-direction: row-reverse; text-align: right; }
.polaroid {
    flex: none; width: 112px; background: #fff; padding: 8px 8px 4px; border-radius: 3px;
    box-shadow: 0 10px 20px -8px rgba(74, 37, 69, .35), 0 0 0 1px rgba(74, 37, 69, .06);
    transform: rotate(-5deg);
}
.credit.flip .polaroid { transform: rotate(5deg); }
.pol-photo {
    position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
    background: linear-gradient(150deg, var(--lilac) 0%, var(--sage-soft) 100%);
}
.p-bride .pol-photo { background: linear-gradient(150deg, var(--rose) 0%, var(--butter-soft) 100%); }
.pol-photo span { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 54px; color: #fff; text-shadow: 0 3px 10px rgba(74, 37, 69, .22); line-height: 1; }
.pol-flower { position: absolute; width: 38px; height: 38px; right: -8px; bottom: -8px; fill: rgba(255, 255, 255, .8); }
.pol-cap { text-align: center; font-size: 20px; color: var(--plum-soft); line-height: 1.4; }
.credit-body { min-width: 0; flex: 1; }
.credit-role {
    display: inline-block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--rose-deep); background: var(--rose-soft); padding: 3px 10px; border-radius: 100px;
}
.credit-name { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.15; margin: 8px 0 6px; overflow-wrap: anywhere; }
.credit-parents { font-size: 13.5px; color: var(--plum-soft); line-height: 1.55; }
.credit-parents b { color: var(--plum); font-weight: 600; }
.booklet-fold {
    position: relative; margin: 22px -20px; height: 1px;
    background: repeating-linear-gradient(90deg, rgba(74, 37, 69, .25) 0 6px, transparent 6px 11px);
}
.booklet-fold span {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%;
    width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center;
    box-shadow: 0 0 0 1px rgba(217, 143, 150, .4);
}
.booklet-fold svg { width: 16px; height: 16px; color: var(--rose-deep); }
.credits-small {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; padding-top: 16px;
    border-top: 1px solid rgba(74, 37, 69, .08);
}
.credits-small dt { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.credits-small dd { font-family: var(--sans); font-size: 13px; color: var(--plum); font-weight: 500; line-height: 1.35; margin-top: 2px; }

/* lyrics */
.lyrics {
    margin-top: 34px; border-radius: 22px; padding: 22px 22px 20px;
    background: linear-gradient(160deg, var(--lilac-soft), #f9e6e8 70%, var(--butter-soft));
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.lyrics-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lyrics-head .mono { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--lilac-deep); }
.lyrics-eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; }
.lyrics-eq i { width: 3px; height: 100%; transform: scaleY(.4); transform-origin: 50% 100%; background: var(--lilac-deep); border-radius: 2px; }
body.is-playing .lyrics-eq i { animation: eq 1.1s ease-in-out infinite; }
.lyrics-eq i:nth-child(2) { animation-delay: -.4s !important; }
.lyrics-eq i:nth-child(3) { animation-delay: -.7s !important; }
.ly-line {
    font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.5;
    color: rgba(74, 37, 69, .28); margin: 4px 0;
    transition: color .5s, transform .5s;
    transform-origin: left center;
}
.ly-line.sung { color: rgba(74, 37, 69, .72); }
.ly-line.active {
    color: var(--plum);
    background: linear-gradient(90deg, var(--rose-deep), var(--lilac-deep));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    transform: scale(1.03);
}
.ly-credit { margin-top: 12px; font-size: 11.5px; letter-spacing: .14em; color: var(--rose-deep); text-transform: uppercase; }

/* ════════════════════════════
   COUNTDOWN PLAYER
════════════════════════════ */
.player-sec { background: linear-gradient(180deg, var(--cream), #f6ecf4); }
.player {
    background: #fff; border-radius: 28px; padding: 20px 20px 22px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(74, 37, 69, .05);
}
.player-top { display: flex; align-items: center; gap: 14px; }
.player-art {
    flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden;
    box-shadow: 0 8px 16px -8px rgba(74, 37, 69, .45);
}
.player-art svg { width: 100%; height: 100%; display: block; }
.player-info { flex: 1; min-width: 0; }
.player-title { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; }
.player-artist { font-size: 13.5px; color: var(--plum-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-album { font-size: 10.5px; letter-spacing: .14em; color: var(--ink-mute); }
.player-heart { flex: none; width: 24px; height: 24px; color: var(--rose-deep); animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }

.track { margin-top: 20px; }
.track-bar { position: relative; height: 6px; border-radius: 6px; background: #f1e5ec; }
.track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 3%; border-radius: 6px; background: linear-gradient(90deg, var(--rose), var(--lilac-deep)); transition: width 1s linear; }
.track-knob {
    position: absolute; top: 50%; left: 3%; width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%;
    background: #fff; border: 3px solid var(--lilac-deep); box-shadow: 0 3px 8px rgba(74, 37, 69, .25);
    transition: left 1s linear;
}
.track-times { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--ink-mute); letter-spacing: .06em; }

.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.cd-box { text-align: center; border-radius: 16px; padding: 12px 4px 10px; background: var(--lilac-soft); }
.cd-box:nth-child(2) { background: var(--rose-soft); }
.cd-box:nth-child(3) { background: var(--sage-soft); }
.cd-box:nth-child(4) { background: var(--butter-soft); }
.cd-box b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum-soft); }

.controls { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 0 4px; }
.ctl {
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: transparent;
    display: grid; place-items: center; color: var(--plum); transition: transform .15s, color .2s, background .2s;
}
.ctl svg { width: 22px; height: 22px; }
.ctl.small svg { width: 18px; height: 18px; }
.ctl.small { color: var(--ink-mute); }
.ctl.small.active { color: var(--rose-deep); }
.ctl:active { transform: scale(.9); }
.ctl.big {
    width: 62px; height: 62px; color: #fff;
    background: linear-gradient(140deg, #9a6a92, var(--plum));
    box-shadow: 0 10px 20px -8px rgba(74, 37, 69, .6);
}
.ctl.big svg { width: 26px; height: 26px; }
.ctl.big .i-pause { display: none; }
body.is-playing .ctl.big .i-play { display: none; }
body.is-playing .ctl.big .i-pause { display: block; }

/* ════════════════════════════
   TRACKLIST
════════════════════════════ */
.tracklist {
    background: #fff; border-radius: 24px; padding: 8px 8px 10px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(74, 37, 69, .05);
}
.tl-head { display: flex; align-items: center; gap: 14px; padding: 14px 14px 16px; border-bottom: 1px solid rgba(74, 37, 69, .08); }
.tl-mini-vinyl {
    flex: none; width: 46px; height: 46px; border-radius: 50%;
    background:
        radial-gradient(circle, #fbe9c7 0 22%, transparent 23%),
        repeating-radial-gradient(circle, rgba(74, 37, 69, .12) 0 .6px, transparent .6px 2.4px),
        conic-gradient(#e9bccb, #d2bfee, #bfdad2, #f2dfa6, #e9bccb);
}
body.is-playing .tl-mini-vinyl { animation: spin 4s linear infinite; }
.tl-album { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 19px; line-height: 1.2; }
.tl-meta { font-size: 11px; letter-spacing: .1em; color: var(--ink-mute); text-transform: uppercase; }

.track-row { border-radius: 16px; transition: background .3s; }
.track-row + .track-row { margin-top: 2px; }
.track-row.open { background: linear-gradient(135deg, #fbf3f7, #f6f1fb); }
.tr-main {
    width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
    display: grid; grid-template-columns: 38px 1fr auto 18px; align-items: center; gap: 10px;
    padding: 14px 12px;
}
.tr-main.static { cursor: default; grid-template-columns: 38px 1fr auto; }
.tr-no { display: grid; place-items: center; height: 28px; font-size: 14px; color: var(--ink-mute); }
.tr-no .eq { display: none; height: 14px; }
.track-row.playing .tr-no b { display: none; }
.track-row.playing .tr-no .eq { display: inline-flex; }
.tr-no svg { width: 18px; height: 18px; color: var(--rose-deep); }
.tr-title { min-width: 0; }
.tr-title b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.track-row.playing .tr-title b { color: var(--rose-deep); }
.tr-title small { display: block; font-size: 12.5px; color: var(--plum-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-dur { font-size: 12px; color: var(--plum-soft); letter-spacing: .02em; }
.tr-chev { width: 18px; height: 18px; color: var(--ink-mute); transition: transform .35s; }
.track-row.open .tr-chev { transform: rotate(180deg); }
.tr-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.track-row.open .tr-detail { grid-template-rows: 1fr; }
.tr-detail-inner { overflow: hidden; padding: 0 14px 0 60px; }
.track-row.open .tr-detail-inner { padding-bottom: 16px; }
.tr-detail dl { display: grid; gap: 8px; margin-bottom: 14px; }
.tr-detail dt { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.tr-detail dd { font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.btn-soft {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    border: 1.5px dashed var(--rose); background: #fff; color: var(--rose-deep);
    font-weight: 700; font-size: 13.5px; padding: 10px 16px; border-radius: 100px;
    transition: background .2s, transform .15s;
}
.btn-soft:hover { background: var(--rose-soft); }
.btn-soft:active { transform: scale(.97); }
.track-row.bonus { border-top: 1px dashed rgba(74, 37, 69, .1); border-radius: 0 0 16px 16px; margin-top: 6px; }
.track-row.bonus .tr-title b { font-style: italic; color: var(--plum-soft); }
.track-row.bonus .tr-dur { font-size: 20px; color: var(--rose-deep); }

/* ════════════════════════════
   LOCATION — GIG POSTER
════════════════════════════ */
.gig-sec { background: linear-gradient(180deg, #f6ecf4, var(--cream)); }
.gig { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(74, 37, 69, .05); }
.gig-poster {
    position: relative; overflow: hidden; text-align: center; padding: 30px 20px 26px;
    background: linear-gradient(180deg, var(--butter-soft), #f9dcc9);
}
.gig-burst {
    position: absolute; left: 50%; bottom: -60%; width: 180%; aspect-ratio: 1; translate: -50% 0;
    background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 7deg, transparent 7deg 14deg);
    -webkit-mask: radial-gradient(circle, #000 0 30%, transparent 70%);
    mask: radial-gradient(circle, #000 0 30%, transparent 70%);
    animation: glowSpin 80s linear infinite;
}
.gig-poster > *:not(.gig-burst) { position: relative; }
.gig-live { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--rose-deep); }
.gig-venue { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 8px 0; overflow-wrap: anywhere; }
.gig-date { font-family: var(--display); font-style: italic; font-size: 16px; color: var(--plum-soft); }
.gig-doors {
    display: inline-block; margin-top: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--plum); color: #fff; padding: 5px 12px; border-radius: 4px; transform: rotate(-2deg);
}
.gig-body { padding: 18px 18px 20px; text-align: center; }
.leaflet-map { height: 230px; border-radius: 16px; overflow: hidden; z-index: 1; border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(74, 37, 69, .1); }
.map-embed-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 170px;
    border-radius: 16px; background: var(--lilac-soft); color: var(--plum-soft); text-decoration: none; font-size: 14px;
}
.gig-address { font-size: 14px; color: var(--plum-soft); margin: 14px auto 16px; max-width: 320px; }
.gig-body .btn-play { margin-top: 2px; }
.gig-body > .btn-play:first-child { margin-top: 0; }
.lr-pin span {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; rotate: -45deg;
    background: linear-gradient(135deg, var(--rose), var(--lilac-deep)); border: 3px solid #fff;
    box-shadow: 0 6px 12px rgba(74, 37, 69, .35);
}
.lr-pin i { rotate: 45deg; font-style: normal; color: #fff; font-weight: 700; font-size: 16px; }
.gig-stub {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 18px 20px 18px; background: var(--rose-soft);
}
.gig-stub::before {
    content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 12px;
    background: radial-gradient(circle at 6px 6px, var(--cream) 0 5px, transparent 5.5px) 0 0 / 16px 12px repeat-x;
}
.gig-stub > div { min-width: 0; }
.gig-stub .mono { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); }
.gig-stub b { display: block; font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.gig-barcode {
    flex: none; width: 74px; height: 38px;
    background: repeating-linear-gradient(90deg, var(--plum) 0 2px, transparent 2px 4px, var(--plum) 4px 5px, transparent 5px 8px, var(--plum) 8px 11px, transparent 11px 13px);
    opacity: .8;
}

/* ════════════════════════════
   GALLERY — RECORD CRATE
════════════════════════════ */
.crate-sec { padding-left: 0; padding-right: 0; }
.crate-sec .sec-head { padding: 0 22px; }
.crate {
    display: flex; gap: 0; overflow-x: auto; overflow-y: visible;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 40px 19% 22px; scrollbar-width: none;
}
.crate::-webkit-scrollbar { display: none; }
.crate-card {
    position: relative; flex: 0 0 62%; scroll-snap-align: center; cursor: pointer;
    margin: 0 -2%; will-change: transform; transform-origin: 50% 60%;
}
.cc-record {
    position: absolute; left: 8%; top: -12%; width: 84%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
    background:
        radial-gradient(circle, #fbe9c7 0 18%, rgba(74, 37, 69, .15) 18.5% 19%, transparent 19.5%),
        repeating-radial-gradient(circle, rgba(74, 37, 69, .1) 0 .6px, transparent .6px 2.6px),
        conic-gradient(#e9bccb, #d2bfee, #bfdad2, #f2dfa6, #e9bccb);
    transition: transform .5s cubic-bezier(.34, 1.3, .64, 1);
}
.crate-card.front .cc-record { transform: translateY(-14%) rotate(40deg); }
.cc-cover {
    position: relative; z-index: 1; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #fff;
    box-shadow: 0 18px 30px -14px rgba(74, 37, 69, .5), 0 0 0 1px rgba(74, 37, 69, .06);
}
.cc-cover::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(125deg, transparent 0 40%, rgba(255, 255, 255, .3) 46%, transparent 54%);
}
.cc-cover img { width: 100%; height: 100%; object-fit: cover; }
.crate-card figcaption { text-align: center; margin-top: 12px; font-size: 11px; letter-spacing: .2em; color: var(--ink-mute); opacity: .4; transition: opacity .3s; }
.crate-card.front figcaption { opacity: 1; }
.placeholder .cc-cover { display: flex; align-items: flex-start; justify-content: center; }
.cc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-sun { fill: rgba(255, 255, 255, .7); }
.cc-hill { fill: rgba(255, 255, 255, .45); }
.cc-fl { fill: #fff; } .cc-fl2 { fill: rgba(255, 255, 255, .8); }
.cc-title { position: relative; margin-top: 16%; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; color: var(--plum); }
.placeholder.c1 .cc-cover { background: linear-gradient(170deg, var(--lilac), var(--rose-soft)); }
.placeholder.c2 .cc-cover { background: linear-gradient(170deg, var(--rose), var(--butter-soft)); }
.placeholder.c3 .cc-cover { background: linear-gradient(170deg, var(--sage), var(--butter-soft)); }
.placeholder.c4 .cc-cover { background: linear-gradient(170deg, var(--butter), var(--rose-soft)); }
.placeholder.c5 .cc-cover { background: linear-gradient(170deg, #c9def0, var(--lilac-soft)); }
.crate-dots { display: flex; justify-content: center; gap: 7px; margin-top: 4px; }
.crate-dots i { width: 7px; height: 7px; border-radius: 100px; background: rgba(74, 37, 69, .18); cursor: pointer; transition: width .3s, background .3s; }
.crate-dots i.on { width: 22px; background: var(--rose-deep); }

.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; background: rgba(60, 31, 56, .92); opacity: 0; transition: opacity .3s; }
.lb-img-wrap { max-width: 92vw; max-height: 80vh; background: #fff; padding: 10px; border-radius: 6px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.lb-img-wrap img { max-width: calc(92vw - 20px); max-height: calc(80vh - 20px); object-fit: contain; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; cursor: pointer; background: rgba(255, 255, 255, .15); color: #fff; border-radius: 50%; width: 44px; height: 44px; font-size: 22px; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; font-size: 18px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; font-size: 30px; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; font-size: 30px; }
.lb-counter { position: absolute; bottom: 22px; color: #fff; font-size: 12px; letter-spacing: .14em; }

/* gift partial blends into the album */
.gift-wrap { background: var(--cream); }
.gift-wrap #gift-section { background: transparent !important; }

/* ════════════════════════════
   RSVP — JUKEBOX
════════════════════════════ */
.rsvp-sec { background: linear-gradient(180deg, var(--cream), #f5ecf6 60%, var(--cream)); }
.jukebox { position: relative; filter: drop-shadow(0 22px 30px rgba(74, 37, 69, .22)); }
.jb-arch {
    position: relative; height: 150px; border-radius: 200px 200px 0 0; overflow: hidden;
    background: linear-gradient(180deg, var(--rose) 0%, var(--lilac) 100%);
    border: 3px solid var(--plum); border-bottom: 0;
}
.jb-arch::before {
    content: ''; position: absolute; inset: 14px 14px 0; border-radius: 200px 200px 0 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 8px, transparent 8px 16px);
    border: 2px solid rgba(255, 255, 255, .6); border-bottom: 0;
}
.jb-lights {
    position: absolute; left: 0; right: 0; top: 18px; display: flex; justify-content: center; gap: 14px;
}
.jb-lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 8px var(--butter); animation: blink 1.6s ease-in-out infinite; }
.jb-lights i:nth-child(odd) { animation-delay: -.8s; background: #fff; box-shadow: 0 0 8px #fff; }
.jukebox.dropped .jb-lights i { animation-duration: .4s; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.jb-window {
    position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 62%; height: 84px;
    border-radius: 80px 80px 0 0; background: rgba(255, 250, 242, .92); border: 2.5px solid var(--plum); border-bottom: 0;
    display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding-bottom: 6px; overflow: hidden;
}
.jb-rec {
    width: 54px; height: 54px; border-radius: 50%; translate: 0 26%;
    background:
        radial-gradient(circle, #fbe9c7 0 20%, transparent 21%),
        repeating-radial-gradient(circle, rgba(74, 37, 69, .14) 0 .6px, transparent .6px 2.4px),
        conic-gradient(#e9bccb, #d2bfee, #bfdad2, #f2dfa6, #e9bccb);
}
.jb-rec:nth-child(2) { translate: 0 10%; }
body.is-playing .jb-rec:nth-child(2) { animation: spin 3s linear infinite; }
.jb-form {
    background: #fffaf2; border: 3px solid var(--plum); border-top: 0; border-radius: 0 0 26px 26px;
    padding: 22px 20px 22px;
    background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(205, 185, 234, .22) 27px 28px);
}
.jb-card-title { text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 14px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 6px; }
.field input[type=text], .field textarea {
    width: 100%; border: 1.5px solid #ead9e6; background: #fff; border-radius: 14px;
    font: 15px/1.5 var(--sans); color: var(--plum); padding: 12px 14px; outline: none; resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #bca8b8; }
.field input:focus, .field textarea:focus { border-color: var(--lilac-deep); box-shadow: 0 0 0 4px rgba(165, 139, 214, .18); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.key input { position: absolute; opacity: 0; pointer-events: none; }
.key span {
    display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; text-align: center;
    background: #fff; border: 1.5px solid #ead9e6; border-radius: 14px; padding: 9px 4px 10px;
    font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--plum-soft);
    box-shadow: 0 3px 0 #ead9e6; transition: all .18s;
}
.key b { font-size: 11px; font-weight: 500; color: var(--rose-deep); letter-spacing: .08em; }
.key input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); box-shadow: 0 1px 0 var(--plum); transform: translateY(2px); }
.key input:checked + span b { color: var(--butter); }
.key input:focus-visible + span { outline: 3px solid var(--lilac-deep); outline-offset: 2px; }

/* fan mail — cassette tapes */
.fan-head { text-align: center; margin: 46px 0 18px; }
.fan-head h3 { font-size: 44px; line-height: 1; color: var(--rose-deep); }
.fan-head p { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 4px; }
.wishes-list { display: grid; gap: 14px; }
.wish-item {
    border-radius: 16px; padding: 10px 10px 0; background: var(--lilac);
    box-shadow: 0 10px 18px -12px rgba(74, 37, 69, .45), inset 0 0 0 2px rgba(255, 255, 255, .35);
}
.wish-item:nth-child(4n+2) { background: var(--rose); }
.wish-item:nth-child(4n+3) { background: var(--sage); }
.wish-item:nth-child(4n+4) { background: var(--butter); }
.wish-item.new { animation: tapeIn .6s cubic-bezier(.34, 1.4, .64, 1); }
@keyframes tapeIn { from { opacity: 0; transform: translateY(-16px) scale(.95); } to { opacity: 1; transform: none; } }
.tape-label {
    background: #fffdf8; border-radius: 9px; padding: 12px 14px 10px;
    border-top: 5px solid rgba(217, 143, 150, .25);
}
.wish-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wish-avatar {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: var(--plum); color: #fff; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 13px; text-transform: uppercase;
}
.wish-name { font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
.wish-badge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.wish-badge.hadir { background: var(--sage-soft); color: #4f7a49; }
.wish-badge.tidak { background: var(--rose-soft); color: #c0566a; }
.wish-badge.ragu { background: var(--butter-soft); color: #a07a1e; }
.wish-message { font-family: var(--display); font-style: italic; font-size: 15.5px; line-height: 24px; margin-top: 8px; overflow-wrap: anywhere; }
.wish-time { display: block; text-align: right; font-size: 10.5px; color: var(--ink-mute); margin-top: 4px; }
.tape-reels {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 40px;
    margin: 0 14%; position: relative;
}
.tape-reels::before {
    content: ''; position: absolute; left: -10%; right: -10%; bottom: 0; height: 14px;
    background: rgba(255, 255, 255, .25); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}
.tape-reels i {
    width: 24px; height: 24px; border-radius: 50%; background: #fffdf8;
    border: 5px dotted var(--plum-soft); position: relative;
}
body.is-playing .tape-reels i { animation: spin 2.4s linear infinite; }
.tape-reels span { width: 54px; height: 16px; border-radius: 4px; background: rgba(74, 37, 69, .55); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25); }
.wish-empty { text-align: center; padding: 26px 18px; border-radius: 18px; background: #fff; border: 1.5px dashed var(--rose); color: var(--plum-soft); font-size: 14px; }
.we-vinyl {
    display: block; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%;
    background: radial-gradient(circle, #fbe9c7 0 22%, transparent 23%), conic-gradient(#e9bccb, #d2bfee, #bfdad2, #f2dfa6, #e9bccb);
}

/* ════════════════════════════
   FOOTER — SIDE B
════════════════════════════ */
.footer {
    position: relative; text-align: center; padding: 66px 26px 40px;
    background: linear-gradient(180deg, var(--cream) 0%, #efe4f6 55%, #f8dfe2 100%);
}
.footer-vinyl { width: 150px; margin: 0 auto 18px; }
.footer-sideb { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--plum-soft); }
.footer-forever { font-size: 54px; line-height: 1.1; color: var(--rose-deep); margin: 2px 0 10px; }
.footer-copy { font-size: 14px; color: var(--plum-soft); max-width: 340px; margin: 0 auto; }
.footer-names { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.2; margin: 20px 0 6px; overflow-wrap: anywhere; }
.footer-names em { font-style: italic; font-weight: 500; color: var(--rose-deep); }
.footer-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.footer-credit { margin-top: 28px; font-size: 12px; color: var(--ink-mute); }
body.has-qr .footer { padding-bottom: 110px; }

/* ════════════════════════════
   RESPONSIVE / MOTION
════════════════════════════ */
@media (min-width: 560px) {
    .album { margin: 24px auto; border-radius: 28px; }
    .hero { min-height: 92vh; }
}
@media (max-width: 360px) {
    .sec-title { font-size: 28px; }
    .polaroid { width: 96px; }
    .credit-name { font-size: 22px; }
    .cd-box b { font-size: 22px; }
    .tr-detail-inner { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
