/*
 * Template "Now Playing" (Pernikahan): a luxury vinyl album release.
 * Colors from the variant (x-inv.head):
 *   --inv-primary    the album color (oxblood, plum, midnight…): cards, gradients, buttons on paper
 *   --inv-accent     gold: labels, digits, buttons on deep sections
 *   --inv-background the deepest tone (cover, page ground)
 *   --inv-shade      the deep section color
 *   --inv-text       cream text on deep sections
 *   --inv-paper      the liner-note cream;  --inv-ink: text on paper;  --inv-muted: secondary text on paper
 * Inside each section --inv-text is set to that section's text color for the shared x-inv components.
 */

:root {
    --inv-primary: #6e1b2e;
    --inv-accent: #d6aa5c;
    --inv-background: #1b070d;
    --inv-shade: #3b0d19;
    --inv-text: #f7ecd9;
    --inv-paper: #f4e8d4;
    --inv-ink: #2c1216;
    --inv-muted: #6b4540;
    --inv-radius: 4px;

    --np-col: min(100vw, 480px);
    --np-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --np-script: 'Pinyon Script', 'Snell Roundhand', cursive;
    --np-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* fixed copies of the variant colors (--inv-text is re-set per section) */
    --np-cream: var(--inv-text);
    --np-gold: var(--inv-accent);
    --np-wine: var(--inv-primary);
    --np-deep: var(--inv-background);
    --np-shade: var(--inv-shade);
    --np-paper: var(--inv-paper);
    --np-ink: var(--inv-ink);
    --np-muted: var(--inv-muted);
    --np-gold-hi: color-mix(in srgb, var(--inv-accent) 70%, #fff8e6);
    --np-gold-lo: color-mix(in srgb, var(--inv-accent) 78%, #000);
    --np-gold-grad: linear-gradient(135deg, var(--np-gold-hi), var(--np-gold) 45%, var(--np-gold-lo));
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
p, h1, h2, h3, figure, blockquote, dl, dd, ol { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }

body.np-body {
    min-height: 100vh;
    background: var(--np-deep);
    color: var(--np-cream);
    font: 400 16px/1.6 var(--np-serif);
    -webkit-font-smoothing: antialiased;
}

.np-preview {
    position: fixed; top: 0; left: 50%; z-index: 60; transform: translateX(-50%);
    padding: .3rem .9rem; border-radius: 0 0 6px 6px; white-space: nowrap;
    background: var(--np-gold); color: var(--np-deep); font: 600 .72rem/1.4 var(--np-sans);
}

/* ---------- wide screens: the blurred album art around the column ---------- */
.np-ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--np-deep); }
.np-ambient::before {
    content: ''; position: absolute; inset: -10%;
    background: var(--np-photo, radial-gradient(circle at 30% 20%, var(--np-wine), transparent 60%)) center / cover no-repeat;
    filter: blur(70px) saturate(1.2); opacity: .45; transform: scale(1.15);
}
.np-ambient::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--np-wine) 45%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--np-deep) 35%, transparent), var(--np-deep) 95%);
}

/* ---------- shared bits ---------- */
.np-art-empty {
    display: flex; align-items: center; justify-content: center; gap: .12em; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--np-gold) 30%, transparent), transparent 55%),
        linear-gradient(150deg, var(--np-wine), var(--np-shade) 70%, var(--np-deep));
    color: var(--np-gold); font: 400 clamp(3rem, 16vw, 5rem)/1 var(--np-serif); font-style: italic;
}
.np-art-empty span + span::before { content: '&'; margin-right: .12em; font-size: .5em; vertical-align: middle; opacity: .8; }

/* still audio waveform (a mask, so it takes the current color) */
.np-wave {
    display: block; width: 9.5rem; height: 1.25rem; margin: 1rem 0;
    background: currentColor; opacity: .55;
    -webkit-mask: var(--np-img-wave) center / contain no-repeat; mask: var(--np-img-wave) center / contain no-repeat;
}
.np-wave--gold { color: var(--np-gold); opacity: .85; }

/* equalizer bars: they move only while the music plays */
.np-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.np-eq i { display: block; width: 2px; height: 45%; border-radius: 1px; background: var(--np-gold); }
.np-eq i:nth-child(2) { height: 85%; }
.np-eq i:nth-child(3) { height: 60%; }
.np-body:has(.inv-music__button--playing) .np-eq i { animation: np-eq .9s ease-in-out infinite alternate; }
.np-body:has(.inv-music__button--playing) .np-eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .7s; }
.np-body:has(.inv-music__button--playing) .np-eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
@keyframes np-eq { from { height: 25%; } to { height: 100%; } }

/* ---------- the vinyl record (CSS) ---------- */
.np-vinyl { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; container-type: inline-size; }
.np-vinyl__disc {
    position: absolute; inset: 0; border-radius: 50%;
    background:
        /* the lead-out and track gaps: slightly brighter rings */
        radial-gradient(circle, transparent 0 34.6%, rgb(255 255 255 / .1) 35%, transparent 35.6%,
            transparent 51.4%, rgb(255 255 255 / .07) 52%, transparent 52.8%,
            transparent 68.2%, rgb(255 255 255 / .07) 68.8%, transparent 69.6%,
            transparent 96%, rgb(255 255 255 / .12) 97%, transparent 98.5%),
        /* fine grooves */
        repeating-radial-gradient(circle, #18141a 0 1px, #221d23 1.4px 2.2px),
        #17131a;
    box-shadow: 0 22px 40px -14px rgb(0 0 0 / .75), 0 0 0 1px rgb(0 0 0 / .5);
}
.np-vinyl__label {
    position: absolute; inset: 32%; display: grid; place-content: center; justify-items: center; gap: 2cqw; border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--np-gold) 22%, transparent), transparent 55%),
        radial-gradient(circle, var(--np-wine) 55%, color-mix(in srgb, var(--np-wine) 70%, #000));
    box-shadow: inset 0 0 0 .7cqw color-mix(in srgb, var(--np-gold) 75%, transparent), inset 0 0 0 1.6cqw color-mix(in srgb, var(--np-wine) 80%, #000);
    color: var(--np-gold); text-align: center;
}
.np-vinyl__label[style] { background: var(--np-photo) center / cover no-repeat; }
.np-vinyl__label::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 5cqw; height: 5cqw; margin: -2.5cqw 0 0 -2.5cqw; border-radius: 50%;
    background: var(--np-deep); box-shadow: 0 0 0 .5cqw color-mix(in srgb, var(--np-gold) 60%, transparent);
}
.np-vinyl__side, .np-vinyl__year { font: 600 2.6cqw/1 var(--np-sans); letter-spacing: .2em; text-transform: uppercase; }
.np-vinyl__side { margin-bottom: 4cqw; }
.np-vinyl__year { margin-top: 4cqw; }
/* the initials sit either side of the spindle hole */
.np-vinyl__mono { display: flex; gap: 8cqw; font: italic 400 7.5cqw/1 var(--np-serif); }
/* the light reflection stays still while the disc turns underneath it */
.np-vinyl__shine {
    position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 20deg, transparent 0 6%, rgb(255 255 255 / .16) 11%, transparent 17% 49%, rgb(255 255 255 / .11) 60%, transparent 67%);
    -webkit-mask: radial-gradient(circle, transparent 0 32%, #000 32.5%); mask: radial-gradient(circle, transparent 0 32%, #000 32.5%);
}
@keyframes np-spin { to { transform: rotate(360deg); } }
.np-body:has(.inv-music__button--playing) .np-vinyl__disc,
.np-body:has(.inv-music__button--playing) .np-mini__disc { animation: np-spin 9s linear infinite; }

/* sleeve + record: the record peeks out of the sleeve to the right */
.np-record {
    --s: 250px;
    position: relative; flex: none; width: calc(var(--s) * 1.3); height: var(--s); margin-inline: auto;
}
.np-record__vinyl { position: absolute; top: calc(var(--s) * .03); left: calc(var(--s) * .03); width: calc(var(--s) * .94); transform: translateX(calc(var(--s) * .33)); }
.np-record__sleeve {
    position: absolute; inset: 0 auto 0 0; width: var(--s); overflow: hidden; border-radius: 3px; isolation: isolate;
    background: var(--np-shade);
    box-shadow: 0 30px 60px -18px rgb(0 0 0 / .8), 14px 0 30px -14px rgb(0 0 0 / .65), 0 0 0 1px rgb(255 255 255 / .08);
}
.np-record__sleeve img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* print grain and a gold hairline inside the sleeve */
.np-record__sleeve::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: var(--np-img-grain) center / 120px; mix-blend-mode: soft-light; opacity: .22;
}
.np-record__sleeve::after {
    content: ''; position: absolute; inset: 8px; z-index: 1; pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--np-gold) 65%, transparent);
}
.np-record__tag {
    position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: .3rem;
    padding: .28rem .55rem; background: color-mix(in srgb, var(--np-deep) 70%, transparent);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: var(--np-gold); font: italic 400 .9rem/1 var(--np-serif); letter-spacing: .06em;
}
.np-record__tag span + span::before { content: '&'; margin-right: .3rem; font-size: .8em; }

/* ---------- section types ---------- */
.np-sec { position: relative; isolation: isolate; padding: 4.5rem 1.5rem; }

.np-deep {
    --inv-text: var(--np-cream);
    --np-hl: var(--np-gold);
    --np-soft: color-mix(in srgb, var(--np-cream) 84%, transparent);
    --np-line: color-mix(in srgb, var(--np-gold) 35%, transparent);
    --np-btn-bg: var(--np-gold-grad);
    --np-btn-fg: var(--np-deep);
    color: var(--np-cream);
    background:
        radial-gradient(120% 60% at 15% 0%, color-mix(in srgb, var(--np-wine) 80%, transparent), transparent 70%),
        linear-gradient(180deg, var(--np-shade), var(--np-deep));
}
.np-deep::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--np-img-grain) center / 160px; mix-blend-mode: soft-light; opacity: .2;
}
.np-paper {
    --inv-text: var(--np-ink);
    --np-hl: var(--np-wine);
    --np-soft: color-mix(in srgb, var(--np-ink) 86%, transparent);
    --np-line: color-mix(in srgb, var(--np-wine) 28%, transparent);
    --np-btn-bg: linear-gradient(135deg, color-mix(in srgb, var(--np-wine) 85%, #fff), var(--np-wine) 55%, color-mix(in srgb, var(--np-wine) 80%, #000));
    --np-btn-fg: var(--np-paper);
    color: var(--np-ink);
    background: var(--np-paper);
}
.np-paper::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--np-img-paper) center / 420px; mix-blend-mode: soft-light; opacity: .9;
}

/* a client photo behind a section (bgphoto partial) */
.np-bgphoto { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.np-bgphoto img { position: absolute; inset: -40px 0; width: 100%; height: calc(100% + 80px); object-fit: cover; }
.np-bgphoto::after { content: ''; position: absolute; inset: 0; }
.np-bgphoto--paper { background: var(--np-paper); }
.np-bgphoto--paper img { opacity: .34; filter: saturate(.55) sepia(.25); mix-blend-mode: multiply; }
.np-bgphoto--paper::after {
    background: linear-gradient(180deg, var(--np-paper) 0%, color-mix(in srgb, var(--np-paper) 55%, transparent) 30%, color-mix(in srgb, var(--np-paper) 70%, transparent) 70%, var(--np-paper) 100%);
}
.np-bgphoto--deep { background: linear-gradient(160deg, var(--np-wine), var(--np-shade) 55%, var(--np-deep)); }
.np-bgphoto--deep img { opacity: .5; filter: saturate(.85); }
.np-bgphoto--deep::after {
    background:
        linear-gradient(180deg, var(--np-deep) 0%, color-mix(in srgb, var(--np-wine) 62%, transparent) 38%, color-mix(in srgb, var(--np-shade) 78%, transparent) 70%, var(--np-deep) 100%);
}
/* sections with a photo keep the photo visible (no flat section gradient on top) */
.np-deep:has(> .np-bgphoto) { background: var(--np-deep); }

/* section heading: track number + label, serif title with one italic word */
.np-main { counter-reset: np-track; }
.np-sec { counter-increment: np-track; }
.np-head { margin-bottom: 2rem; }
.np-kicker {
    display: flex; align-items: center; gap: .1rem;
    font: 600 .72rem/1.3 var(--np-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--np-hl);
}
.np-kicker__no::before { content: counter(np-track, decimal-leading-zero); letter-spacing: .08em; }
.np-kicker__no::after { content: ''; display: inline-block; width: 1.75rem; height: 1px; margin: 0 .7rem; vertical-align: middle; background: currentColor; opacity: .7; }
.np-title { margin-top: .55rem; font: 400 clamp(2rem, 9vw, 2.45rem)/1.08 var(--np-serif); letter-spacing: -.015em; text-wrap: balance; }
.np-title em { font-style: italic; color: var(--np-hl); }
.np-head--center, .np-notes .np-head, .np-release .np-head, .np-photos .np-head, .np-save .np-head { text-align: center; }
.np-notes .np-kicker, .np-release .np-kicker, .np-photos .np-kicker, .np-save .np-kicker { justify-content: center; }

/* ---------- cover: the now-playing screen ---------- */
.np-cover {
    position: fixed; top: 0; bottom: 0; left: 50%; z-index: 30; width: var(--np-col); transform: translateX(-50%);
    display: flex; flex-direction: column; justify-content: space-between; gap: clamp(.55rem, 1.9svh, 1.15rem);
    padding: calc(1.15rem + env(safe-area-inset-top)) 1.5rem calc(1.4rem + env(safe-area-inset-bottom));
    overflow: hidden; isolation: isolate;
    background: var(--np-deep); color: var(--np-cream);
}
.np-cover__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.np-cover__bg::before {
    content: ''; position: absolute; inset: -15%;
    background: var(--np-photo, linear-gradient(160deg, var(--np-wine), var(--np-shade))) center / cover no-repeat;
    filter: blur(44px) saturate(1.25); opacity: .6; transform: scale(1.08);
}
.np-cover__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--np-wine) 55%, transparent) 0%,
            color-mix(in srgb, var(--np-shade) 70%, transparent) 42%,
            var(--np-deep) 82%);
}

.np-cover__top { text-align: center; }
.np-cover__label { font: 500 .66rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-cover__guest { margin-top: .2rem; font: 500 1.02rem/1.3 var(--np-serif); overflow-wrap: anywhere; text-wrap: balance; }

.np-record--cover { --s: min(66vw, 42svh, 310px); }
html.inv-anim .np-record--cover .np-record__vinyl { animation: np-slide-out 1.5s cubic-bezier(.25, .8, .25, 1) .45s both; }
@keyframes np-slide-out {
    from { transform: translateX(0) rotate(-110deg); }
    to { transform: translateX(calc(var(--s) * .33)) rotate(0); }
}

.np-cover__track { display: flex; align-items: flex-end; gap: 1rem; }
.np-cover__names { flex: 1; min-width: 0; }
.np-cover__artist { font: 500 .7rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-cover__title { margin-top: .1rem; font: 400 clamp(2.4rem, 11.5vw, 3rem)/1.12 var(--np-script); color: var(--np-cream); overflow-wrap: anywhere; }
.np-cover__title span, .np-hero__title span, .np-outro__names span { margin: 0 .05em; font: italic 400 .62em/1 var(--np-serif); color: var(--np-gold); vertical-align: .1em; }
.np-cover__heart { flex: none; margin-bottom: .55rem; color: var(--np-gold); }

.np-bar { position: relative; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--np-cream) 22%, transparent); }
.np-bar__fill {
    position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: inherit; background: var(--np-gold-grad);
}
.np-bar__fill::after {
    content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
    border-radius: 50%; background: var(--np-gold-hi); box-shadow: 0 0 0 4px color-mix(in srgb, var(--np-gold) 22%, transparent);
}
html.inv-anim .np-bar__fill { animation: np-fill 2s cubic-bezier(.2, .7, .2, 1) .8s both; }
@keyframes np-fill { from { width: 0; } to { width: 38%; } }
.np-cover__times {
    display: flex; justify-content: space-between; gap: 1rem; margin-top: .55rem;
    font: 500 .74rem/1.3 var(--np-sans); letter-spacing: .06em; color: color-mix(in srgb, var(--np-cream) 82%, transparent); font-variant-numeric: tabular-nums;
}

.np-cover__controls { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.np-ctrl { flex: none; color: var(--np-cream); opacity: .9; }
.np-ctrl--sm { opacity: .7; }
.np-play {
    flex: none; gap: .5rem; padding: .95rem 1.4rem; border-radius: 999px;
    background: var(--np-gold-grad); color: var(--np-deep);
    font: 600 .8rem/1 var(--np-sans); letter-spacing: .16em; text-transform: uppercase;
    box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--np-gold) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .35);
}

.np-cover__lyric {
    padding: .8rem 1rem .85rem; border-left: 1px solid var(--np-gold);
    background: linear-gradient(90deg, color-mix(in srgb, var(--np-wine) 45%, transparent), transparent);
}
.np-cover__lyric-label { display: block; margin-bottom: .2rem; font: 600 .62rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-cover__lyric p { font: italic 400 .92rem/1.5 var(--np-serif); color: color-mix(in srgb, var(--np-cream) 92%, transparent); }

/* room for the preview ribbon */
.np-preview ~ .np-cover, .np-preview ~ .np-app .np-hero { padding-top: calc(2.4rem + env(safe-area-inset-top)); }

.np-cover--leave { transition: transform .6s cubic-bezier(.6, 0, .4, 1), opacity .6s ease; }
.np-cover--gone { transform: translateX(-50%) translateY(100%); opacity: 0; }

/* short screens: the sleeve shrinks first, then the spacing and type */
@media (max-height: 760px) {
    .np-record--cover { --s: min(62vw, 37svh, 300px); }
    .np-cover__title { font-size: clamp(2.2rem, 10.5vw, 2.7rem); }
    .np-cover__lyric p { font-size: .86rem; line-height: 1.45; }
}
@media (max-height: 680px) {
    .np-cover { padding-top: calc(.85rem + env(safe-area-inset-top)); padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
    .np-record--cover { --s: min(58vw, 33svh, 300px); }
    .np-cover__title { font-size: clamp(2rem, 9.5vw, 2.4rem); line-height: 1.08; }
    .np-play { padding: .85rem 1.2rem; }
    .np-cover__lyric { padding: .55rem .85rem .6rem; }
    .np-cover__lyric p { font-size: .8rem; line-height: 1.4; }
}
@media (max-height: 600px) {
    .np-record--cover { --s: min(52vw, 28svh, 300px); }
    .np-cover__guest { font-size: .94rem; }
    .np-cover__title { font-size: 1.95rem; }
    .np-cover__times { margin-top: .35rem; }
    .np-cover__lyric-label { display: none; }
    .np-cover__lyric p { font-size: .76rem; line-height: 1.36; }
}

/* ---------- app column ---------- */
.np-app {
    position: relative; z-index: 1; width: var(--np-col); min-height: 100vh; margin: 0 auto;
    background: var(--np-deep); overflow-x: clip;
    box-shadow: 0 0 80px rgb(0 0 0 / .5);
}

/* album header */
.np-hero { position: relative; isolation: isolate; padding: calc(2rem + env(safe-area-inset-top)) 1.5rem 4rem; text-align: center; }
.np-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.np-hero__bg::before {
    content: ''; position: absolute; inset: -20%;
    background: var(--np-photo, linear-gradient(160deg, var(--np-wine), var(--np-shade))) center / cover no-repeat;
    filter: blur(48px) saturate(1.25); opacity: .55;
}
.np-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--np-wine) 50%, transparent), color-mix(in srgb, var(--np-shade) 70%, transparent) 50%, var(--np-deep));
}
.np-hero__label { display: flex; justify-content: center; gap: .6rem; font: 500 .68rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-record--hero { --s: min(66vw, 300px); margin-top: 1.8rem; margin-bottom: 2.2rem; }
.np-hero__artist { font: 500 .72rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-hero__title { margin-top: .25rem; font: 400 clamp(2.9rem, 14vw, 3.6rem)/1.1 var(--np-script); overflow-wrap: anywhere; }
.np-hero__meta { margin-top: .45rem; font: 400 .82rem/1.4 var(--np-sans); letter-spacing: .08em; color: color-mix(in srgb, var(--np-cream) 80%, transparent); }
.np-hero__actions { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 1.4rem; }
.np-icon-btn {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    color: var(--np-cream); text-decoration: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 45%, transparent);
}
.np-bigplay {
    display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
    background: var(--np-gold-grad); color: var(--np-deep); text-decoration: none;
    box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--np-gold) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .35);
    transition: transform .2s ease;
}
.np-bigplay:hover { transform: scale(1.05); }
.np-bigplay svg { margin-left: 3px; }

.np-main { position: relative; z-index: 1; }

/* ---------- opening: liner notes + lyric card ---------- */
.np-notes__body { text-align: center; }
.np-arabic { margin-bottom: 1.1rem; font-family: 'Amiri', 'Traditional Arabic', serif; font-size: 1.85rem; line-height: 1.7; color: var(--np-wine); }
.np-notes__greeting { font: italic 400 1.3rem/1.4 var(--np-serif); color: var(--np-wine); }
.np-notes__message { margin-top: .8rem; color: var(--np-soft); }

.np-lyric {
    position: relative; overflow: hidden; margin-top: 2.6rem; padding: 2rem 1.6rem 1.8rem;
    background: linear-gradient(155deg, var(--np-wine), var(--np-shade) 75%);
    color: var(--np-cream); box-shadow: 0 24px 44px -24px rgb(0 0 0 / .65);
}
/* a gold hairline frame + a record edge peeking in at the corner */
.np-lyric::before { content: ''; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb, var(--np-gold) 45%, transparent); pointer-events: none; }
.np-lyric::after {
    content: ''; position: absolute; right: -4.5rem; top: -4.5rem; width: 9.5rem; height: 9.5rem; border-radius: 50%; z-index: 0;
    background:
        radial-gradient(circle, color-mix(in srgb, var(--np-gold) 85%, transparent) 0 2px, var(--np-wine) 3px 30%, transparent 31%),
        repeating-radial-gradient(circle, #19141a 0 1px, #241e25 1.4px 2.2px);
    opacity: .85;
}
.np-lyric > * { position: relative; z-index: 1; }
.np-lyric__label { display: flex; align-items: center; gap: .45rem; font: 600 .66rem/1.3 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold); }
.np-lyric .np-wave { color: var(--np-gold); opacity: .7; margin: .8rem 0 1rem; }
.np-lyric blockquote { font: italic 400 1.2rem/1.6 var(--np-serif); }
.np-lyric figcaption { margin-top: 1rem; font: 600 .7rem/1.3 var(--np-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--np-gold); }

/* ---------- couple: artists + credits ---------- */
.np-artist { display: grid; }
.np-artist__portrait {
    position: relative; width: 80%; aspect-ratio: 4 / 5;
    background: linear-gradient(150deg, var(--np-wine), var(--np-shade));
}
.np-artist--bride .np-artist__portrait { justify-self: end; }
.np-artist__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the bottom of the portrait darkens so the gold script name stays readable over it */
.np-artist__portrait::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--np-deep) 85%, transparent)); pointer-events: none; }
.np-artist__portrait::before {
    content: ''; position: absolute; inset: 12px -12px -12px 12px; z-index: -1;
    border: 1px solid color-mix(in srgb, var(--np-gold) 55%, transparent);
}
.np-artist--bride .np-artist__portrait::before { inset: 12px 12px -12px -12px; }
.np-artist__initial { position: absolute; inset: 0; display: grid; place-items: center; color: var(--np-gold); font: italic 400 7rem/1 var(--np-serif); }
.np-artist__role {
    position: absolute; top: 0; bottom: 0; left: calc(100% + 1.1rem); display: flex; align-items: center;
    writing-mode: vertical-rl; font: 600 .64rem/1 var(--np-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--np-gold);
}
.np-artist--bride .np-artist__role { left: auto; right: calc(100% + 1.1rem); transform: rotate(180deg); }
.np-artist__body { position: relative; margin-top: -2.4rem; padding-left: 1rem; }
.np-artist--bride .np-artist__body { padding: 0 1rem 0 0; text-align: right; }
.np-artist__nick { font: 400 clamp(3.2rem, 15vw, 3.9rem)/1.1 var(--np-script); color: var(--np-gold); text-shadow: 0 2px 18px rgb(0 0 0 / .5); overflow-wrap: anywhere; }
.np-artist__name { margin-top: .4rem; font: 500 1.3rem/1.3 var(--np-serif); }
.np-credits { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--np-line); }
.np-artist--bride .np-credits { margin-left: auto; }
.np-credits dt { font: 600 .66rem/1.4 var(--np-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--np-gold); }
.np-credits dd { margin-top: .2rem; font: 400 1rem/1.4 var(--np-serif); color: var(--np-soft); }
.np-follow {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; padding: .5rem 1rem; border-radius: 999px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 60%, transparent);
    font: 500 .78rem/1 var(--np-sans); letter-spacing: .06em; text-decoration: none; color: var(--np-cream);
}
.np-artists__and { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 2.2rem; color: var(--np-gold); }
.np-artists__and::before, .np-artists__and::after { content: ''; flex: 1; height: 1px; background: var(--np-line); }
.np-artists__and span { font: italic 400 2.6rem/1 var(--np-serif); }

/* ---------- countdown: release date ---------- */
.np-release { text-align: center; padding-block: 5rem; }
.np-release__date { display: inline-flex; align-items: center; gap: 1rem; text-align: left; }
.np-release__day { font: 300 5.6rem/.9 var(--np-serif); color: var(--np-gold); font-variant-numeric: lining-nums; }
.np-release__rest { display: grid; gap: .3rem; padding-left: 1rem; border-left: 1px solid var(--np-line); }
.np-release__rest span:first-child { font: italic 400 1.45rem/1.15 var(--np-serif); }
.np-release__rest span:last-child { font: 500 .72rem/1.4 var(--np-sans); letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--np-cream) 85%, transparent); }
.np-release .np-wave { margin: 1.6rem auto 1.4rem; }
.inv-countdown { gap: .5rem; }
.inv-countdown__item {
    flex: 1; min-width: 0; padding: .9rem .2rem .75rem; border-radius: 2px;
    background: color-mix(in srgb, var(--np-deep) 45%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 45%, transparent);
}
.inv-countdown__value { font: 400 2.1rem/1.05 var(--np-serif); color: var(--np-gold); font-variant-numeric: tabular-nums lining-nums; }
.inv-countdown__label { margin-top: .3rem; font: 500 .62rem/1.3 var(--np-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--np-cream); opacity: .85; }
.inv-countdown__done { text-align: center; font-style: italic; }
.inv-countdown__actions { margin-top: 1.3rem; }
.inv-countdown__actions .inv-button { padding: .65rem 1.1rem; font-size: .74rem; }

/* ---------- buttons (each section sets --np-btn-*) ---------- */
.inv-button {
    background: var(--np-btn-bg, var(--np-gold-grad)); color: var(--np-btn-fg, var(--np-deep));
    font: 600 .78rem/1.2 var(--np-sans); letter-spacing: .14em; text-transform: uppercase; border-radius: 999px;
}
.inv-button--outline { background: transparent; color: var(--inv-text); box-shadow: inset 0 0 0 1px var(--np-line, currentColor); }
.np-deep .inv-button--outline { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 60%, transparent); }

/* ---------- events: back-cover tracklist ---------- */
.np-back {
    position: relative; padding: 1.6rem 1.3rem 1.4rem;
    background: color-mix(in srgb, var(--np-paper) 70%, #fff);
    box-shadow: 0 0 0 1px var(--np-line), 0 20px 40px -30px color-mix(in srgb, var(--np-ink) 60%, transparent);
}
.np-back::before { content: ''; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--np-wine) 14%, transparent); pointer-events: none; }
.np-back__side {
    display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem;
    font: 600 .7rem/1 var(--np-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--np-wine);
}
.np-back__side::after { content: ''; flex: 1; height: 1px; background: var(--np-line); }
.np-tracklist + .np-back__side { margin-top: 2rem; }
.np-tracklist { list-style: none; padding: 0; display: grid; gap: 1.8rem; }
.np-track__row { display: flex; align-items: baseline; gap: .6rem; }
.np-track__no { flex: none; width: 1.9rem; font: 600 .82rem/1 var(--np-sans); letter-spacing: .06em; color: var(--np-wine); }
.np-track__name { font: 500 1.4rem/1.2 var(--np-serif); min-width: 0; }
.np-track__lead { flex: 1; min-width: 1rem; border-bottom: 1px dotted color-mix(in srgb, var(--np-ink) 45%, transparent); transform: translateY(-.3rem); }
.np-track__time { flex: none; font: 500 1rem/1 var(--np-sans); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--np-wine); }
.np-track__body { margin: .9rem 0 0 2.5rem; }
.np-track__photo { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; }
.np-track__details { display: grid; gap: .75rem; }
.np-track__details dt { font: 600 .64rem/1.3 var(--np-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--np-muted); }
.np-track__details dd { margin-top: .15rem; font: 400 1rem/1.45 var(--np-serif); }
.np-track__details strong { display: block; font-weight: 600; }
.np-track__address { display: block; font-size: .93rem; color: var(--np-soft); }
.np-track .inv-maps { margin-top: 1.1rem; }
.inv-maps .inv-button { width: 100%; padding: .8rem 1rem; }
.np-back__foot {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem;
    border-top: 1px solid var(--np-line);
}
.np-back__foot p { font: 400 .74rem/1.5 var(--np-sans); letter-spacing: .04em; color: var(--np-muted); }
.np-barcode { flex: none; display: grid; justify-items: center; gap: .25rem; font: 500 .6rem/1 var(--np-sans); letter-spacing: .14em; color: var(--np-ink); }
.np-barcode__bars {
    display: block; width: 5.6rem; height: 1.7rem;
    background: repeating-linear-gradient(90deg, var(--np-ink) 0 1px, transparent 1px 3px, var(--np-ink) 3px 5px, transparent 5px 6px, var(--np-ink) 6px 7px, transparent 7px 10px, var(--np-ink) 10px 13px, transparent 13px 14px);
}

/* ---------- love story: the lyric sheet ---------- */
.np-verses { display: grid; gap: 2.6rem; }
.np-verse { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: .6rem; }
.np-verse__no { font: italic 300 2.6rem/1 var(--np-serif); color: var(--np-gold); }
.np-verse__tag { font: 600 .66rem/1.4 var(--np-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--np-gold); }
.np-verse__title { margin-top: .3rem; font: italic 400 1.55rem/1.2 var(--np-serif); }
.np-verse__story { margin-top: .5rem; color: var(--np-soft); }
.np-verse__photo {
    grid-column: 1 / -1; display: block; width: calc(100% - 12px); aspect-ratio: 4 / 3; margin-top: 1.3rem; object-fit: cover;
    box-shadow: 12px 12px 0 -1px var(--np-deep), 12px 12px 0 0 color-mix(in srgb, var(--np-gold) 55%, transparent);
}
.np-verse:nth-child(even) .np-verse__photo { justify-self: end; box-shadow: -12px 12px 0 -1px var(--np-deep), -12px 12px 0 0 color-mix(in srgb, var(--np-gold) 55%, transparent); }

/* ---------- gallery: the photo booklet ---------- */
.inv-gallery { gap: 6px; }
.inv-gallery__item { border-radius: 0; }
.inv-gallery__item:nth-child(3n+1), .inv-gallery__item:nth-child(3n+2):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* ---------- live streaming ---------- */
.np-live__card {
    position: relative; display: grid; gap: .45rem; padding: 1.6rem 1.4rem; text-decoration: none;
    background: linear-gradient(150deg, color-mix(in srgb, var(--np-wine) 70%, transparent), color-mix(in srgb, var(--np-deep) 60%, transparent));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 45%, transparent);
}
.np-live__badge {
    justify-self: start; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px;
    background: color-mix(in srgb, var(--np-deep) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 50%, transparent);
    font: 600 .64rem/1 var(--np-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--np-gold);
}
.np-live__dot { width: 6px; height: 6px; border-radius: 50%; background: #ff5a6e; }
.np-live__title { margin-top: .4rem; font: 400 1.5rem/1.2 var(--np-serif); }
.np-live__text { color: var(--np-soft); }
.np-live__note { font: 500 .82rem/1.4 var(--np-sans); letter-spacing: .04em; color: var(--np-gold); }
.np-live__cta {
    justify-self: start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .7rem 1.2rem; border-radius: 999px;
    background: var(--np-gold-grad); color: var(--np-deep); font: 600 .74rem/1 var(--np-sans); letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- gift ---------- */
.np-support__text { margin-bottom: 1.3rem; color: var(--np-soft); }
.inv-gift__accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.inv-gift__account:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inv-gift__account, .inv-gift__address {
    min-width: 0; padding: 1rem .9rem; border-radius: 2px;
    background: color-mix(in srgb, var(--np-paper) 55%, #fff); box-shadow: inset 0 0 0 1px var(--np-line);
}
.inv-gift__account + .inv-gift__account { margin-top: 0; }
.inv-gift__accounts + .inv-gift__address { margin-top: .7rem; }
.inv-gift__bank { margin: 0 0 .45rem; font: 600 .64rem/1.3 var(--np-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--np-wine); }
.inv-gift__logo { height: 1.5rem; padding: .2rem .45rem; border-radius: .3rem; }
.inv-gift__logo img { max-width: 5rem; }
.inv-gift__number { margin: 0; font: 500 1.05rem/1.25 var(--np-sans); letter-spacing: .05em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.inv-gift__holder { margin: .2rem 0 .6rem; font: 500 .62rem/1.35 var(--np-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--np-muted); overflow-wrap: anywhere; }
.inv-gift__address .inv-gift__holder { font: 600 .95rem/1.4 var(--np-serif); letter-spacing: 0; text-transform: none; color: var(--np-ink); }
.inv-gift__address p:not([class]) { margin: 0 0 .75rem; font-size: .95rem; }
.inv-gift__account .inv-button, .inv-gift__address .inv-button { padding: .45rem .8rem; font-size: .62rem; }

/* ---------- forms ---------- */
.np-panel {
    padding: 1.5rem 1.25rem; border-radius: 2px;
    background: color-mix(in srgb, var(--np-deep) 55%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 35%, transparent);
}
.np-form .inv-form { font-family: var(--np-sans); }
.np-form .inv-form label, .np-form .inv-form__choices legend { font: 500 .78rem/1.4 var(--np-sans); letter-spacing: .06em; color: var(--np-soft); }
.np-form .inv-form input:not([type=radio]):not([type=checkbox]), .np-form .inv-form select, .np-form .inv-form textarea {
    border: 1px solid color-mix(in srgb, var(--inv-text) 22%, transparent); border-radius: 2px;
    background: color-mix(in srgb, var(--inv-text) 6%, transparent); color: var(--inv-text); font: 400 1rem/1.4 var(--np-serif);
}
.np-paper .np-form .inv-form input:not([type=radio]):not([type=checkbox]), .np-paper .np-form .inv-form select, .np-paper .np-form .inv-form textarea {
    background: color-mix(in srgb, #fff 55%, transparent);
}
.np-form .inv-form input::placeholder, .np-form .inv-form textarea::placeholder { color: color-mix(in srgb, var(--inv-text) 55%, transparent); }
.np-form .inv-form input:focus, .np-form .inv-form select:focus, .np-form .inv-form textarea:focus { outline: 2px solid var(--np-hl); outline-offset: 0; border-color: transparent; }
.np-form .inv-form input[type=radio] { accent-color: var(--np-hl); }
.np-form .inv-form select option { background: var(--np-paper); color: var(--np-ink); }
.np-form .inv-form .inv-button { width: 100%; padding: .95rem 1rem; }
.inv-form__notice { background: color-mix(in srgb, var(--np-hl) 16%, transparent); font-family: var(--np-sans); }

/* ---------- wishes: comments ---------- */
.np-comments .inv-wishes { --inv-wishes-height: 20rem; }
.inv-wishes__list { gap: 0; margin-top: 1.4rem; }
.inv-wish { padding: .85rem .2rem .85rem 0; border-radius: 0; background: none; border-top: 1px solid var(--np-line); }
.inv-wish__name { font: 600 .98rem/1.35 var(--np-serif); color: var(--np-hl); }
.inv-wish__message { color: var(--np-soft); font-size: .95rem; line-height: 1.5; }
.inv-wish__time { color: var(--np-muted); opacity: 1; font: 400 .7rem/1.3 var(--np-sans); letter-spacing: .04em; }
.inv-wish__reply { border-left-color: var(--np-hl); background: color-mix(in srgb, var(--np-hl) 8%, transparent); }
.np-form .inv-wishes__more { width: auto; color: var(--np-hl); border-color: var(--np-line); }

/* ---------- closing: the end card ---------- */
.np-outro { padding: 0 0 2rem; text-align: center; background: var(--np-deep); }
.np-outro__photo { position: relative; height: min(84svh, 720px); overflow: hidden; background: linear-gradient(180deg, var(--np-wine), var(--np-deep)); }
.np-outro__photo img { position: absolute; inset: -40px 0; width: 100%; height: calc(100% + 80px); object-fit: cover; object-position: center 30%; }
.np-outro__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--np-deep) 35%, transparent) 0%,
        transparent 18%,
        color-mix(in srgb, var(--np-wine) 25%, transparent) 45%,
        color-mix(in srgb, var(--np-deep) 82%, transparent) 72%,
        var(--np-deep) 96%);
}
.np-outro__body { position: relative; margin-top: calc(min(84svh, 720px) * -.36); padding: 0 1.5rem; }
/* without a photo: a short glow of the album color instead of the photo */
.np-outro--plain .np-outro__photo { height: 9rem; background: radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--np-wine) 85%, transparent), transparent 75%); }
.np-outro--plain .np-outro__body { margin-top: -3rem; }
.np-kicker--plain { justify-content: center; }
.np-outro__title { margin-top: .5rem; font: 400 clamp(2.1rem, 10vw, 2.6rem)/1.1 var(--np-serif); text-wrap: balance; text-shadow: 0 2px 20px rgb(0 0 0 / .4); }
.np-outro__title em { color: var(--np-gold); }
.np-outro__message { margin-top: 1rem; color: var(--np-soft); }
.np-outro .np-wave { margin: 1.6rem auto 1.2rem; }
.np-outro__sign { font: 500 .7rem/1.4 var(--np-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--np-gold); }
.np-outro__names { margin-top: .2rem; font: 400 clamp(2.6rem, 12vw, 3.2rem)/1.15 var(--np-script); }
.np-outro__vinyl { width: 7.5rem; margin: 1.8rem auto 0; }
.np-outro__credits { margin-top: 1.3rem; font: 400 .74rem/1.5 var(--np-sans); letter-spacing: .06em; color: color-mix(in srgb, var(--np-cream) 75%, transparent); }

/* end of the page: QR + branding, clear of the mini player */
.np-end { padding: .5rem 1.5rem calc(5.6rem + env(safe-area-inset-bottom)); background: var(--np-deep); }
.np-branding { color: color-mix(in srgb, var(--np-cream) 70%, transparent); opacity: 1; font-family: var(--np-sans); }
.inv-checkin { color: #1a1a1a; }

/* ---------- mini player ---------- */
.np-mini {
    position: fixed; bottom: calc(.5rem + env(safe-area-inset-bottom)); left: 50%; z-index: 20;
    width: calc(var(--np-col) - 1rem); transform: translateX(-50%);
    display: flex; align-items: center; gap: .7rem; padding: .45rem .75rem .45rem .45rem; border-radius: 6px;
    background: color-mix(in srgb, var(--np-deep) 84%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px -8px rgb(0 0 0 / .65), inset 0 0 0 1px color-mix(in srgb, var(--np-gold) 30%, transparent);
    overflow: hidden; color: var(--np-cream);
}
.np-mini--player { padding-right: 3.9rem; }
.np-mini__disc {
    position: relative; flex: none; width: 2.7rem; height: 2.7rem; border-radius: 50%;
    background: repeating-radial-gradient(circle, #18141a 0 1px, #241e25 1.4px 2.2px);
    box-shadow: 0 0 0 1px rgb(0 0 0 / .5);
}
.np-mini__label {
    position: absolute; inset: 27%; display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: var(--np-photo, var(--np-wine)) center / cover no-repeat; color: var(--np-gold); font: italic 400 .5rem/1 var(--np-serif);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--np-gold) 70%, transparent);
}
.np-mini__text { flex: 1; min-width: 0; display: grid; }
.np-mini__title, .np-mini__artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-mini__title { font: 500 .98rem/1.3 var(--np-serif); }
.np-mini__artist { display: flex; align-items: center; gap: .45rem; font: 500 .66rem/1.4 var(--np-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--np-gold); }
.np-mini__artist .np-eq { flex: none; }
.np-mini__like { flex: none; display: grid; place-items: center; color: var(--np-cream); }
.np-mini__progress { position: absolute; left: .45rem; right: .45rem; bottom: 0; height: 2px; background: color-mix(in srgb, var(--np-cream) 18%, transparent); }
.np-mini__progress span { display: block; height: 100%; width: 30%; background: var(--np-gold-grad); }
/* the progress follows the scroll where the browser supports it */
@supports (animation-timeline: scroll()) {
    .np-mini__progress span { width: 100%; transform-origin: left; animation: np-progress linear both; animation-timeline: scroll(root); }
    @keyframes np-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* the music button is the mini player's play button, inside the column */
.np-body .inv-music { right: max(1.05rem, calc(50vw - 240px + 1.05rem)); bottom: calc(.5rem + .45rem + env(safe-area-inset-bottom)); }
.np-body .inv-music__space { display: none; }
.np-body .inv-music__button {
    width: 2.7rem; height: 2.7rem; background: var(--np-gold-grad); color: var(--np-deep);
    font-size: .95rem; font-weight: 700; box-shadow: none;
}
.np-body .inv-music__button--playing { animation: none; }
.np-body .inv-autoscroll { box-shadow: 0 6px 16px rgb(0 0 0 / .45); font-family: var(--np-sans); color: var(--np-wine); border-color: color-mix(in srgb, var(--np-wine) 35%, transparent); }
.np-body .inv-autoscroll--running { background: var(--np-wine); color: var(--np-cream); box-shadow: 0 0 0 3px color-mix(in srgb, var(--np-gold) 55%, transparent); }
/* nothing of the player shows on the now-playing screen itself */
html:not(.inv-opened) .np-body .inv-music { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .np-vinyl__disc, .np-mini__disc, .np-eq i, .np-bar__fill, .np-record__vinyl { animation: none !important; }
    .np-mini__progress span { animation: none; transform: none; width: 30%; }
}

/* ---------- intro scene "Jarum Turun" (scene.json + sections/_scene; the intro lives in <body>, outside the page) ---------- */
/* the blurred album art, the sleeve slides in, the record slides out of it and keeps turning, the tonearm drops the needle */
.np-scene-ambient { position: absolute; inset: 0; overflow: hidden; }
.np-scene-ambient::before {
    content: ''; position: absolute; inset: -8%;
    background: var(--np-photo, radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--np-gold) 25%, transparent), transparent 60%)) center / cover no-repeat;
    filter: blur(30px) saturate(1.3); opacity: .75;
}
.np-scene-ambient::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--np-wine) 45%, transparent) 0%, color-mix(in srgb, var(--np-shade) 65%, transparent) 50%, var(--np-deep) 88%);
}
.np-scene-top {
    display: flex; align-items: center; gap: .55rem; height: 100%; margin: 0; padding-left: 6vw;
    font: 500 .66rem/1 var(--np-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--np-gold);
}
.np-scene-top .np-eq i { animation: np-eq .9s ease-in-out infinite alternate; }
.np-scene-top .np-eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .7s; }
.np-scene-top .np-eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.np-scene-sleeve {
    position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; isolation: isolate;
    background: var(--np-shade);
    box-shadow: 0 30px 60px -18px rgb(0 0 0 / .8), 14px 0 30px -14px rgb(0 0 0 / .65), 0 0 0 1px rgb(255 255 255 / .08);
}
.np-scene-sleeve::before { content: ''; position: absolute; inset: 0; background: var(--np-photo, none) center / cover no-repeat; }
.np-scene-sleeve::after { content: ''; position: absolute; inset: 7px; border: 1px solid color-mix(in srgb, var(--np-gold) 65%, transparent); }
.np-scene-sleeve .np-art-empty { position: absolute; inset: 0; font-size: 17vw; }
.np-scene-vinyl { width: 100%; }
/* after sliding out the record keeps turning at about the speed it came out with (the shine stays still) */
.inv-intro.is-playing .np-scene-vinyl .np-vinyl__disc { animation: np-spin 6s linear 4.8s infinite; }
.inv-scene__art > svg.np-scene-arm { height: auto; aspect-ratio: 1; overflow: visible; color: var(--np-gold-hi); filter: drop-shadow(0 6px 8px rgb(0 0 0 / .5)); }
.np-scene-scrub { display: grid; align-content: end; gap: .55rem; height: 100%; color: var(--np-cream); }
.np-scene-controls { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; padding-inline: .2rem; }
.np-scene-controls svg { opacity: .9; }
.np-scene-play { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; background: var(--np-gold-grad); color: var(--np-deep); box-shadow: 0 10px 24px -8px rgb(0 0 0 / .6); }
.np-scene-wave { position: relative; display: block; height: 2.1rem; }
.np-scene-wave, .np-scene-wave i {
    -webkit-mask: var(--np-img-wave) center / 100% 100% no-repeat; mask: var(--np-img-wave) center / 100% 100% no-repeat;
}
.np-scene-wave { background: color-mix(in srgb, var(--np-cream) 26%, transparent); }
.np-scene-wave i { position: absolute; inset: 0; background: var(--np-gold-grad); clip-path: inset(0 100% 0 0); }
.inv-intro.is-playing .np-scene-wave i { animation: np-scene-play 3.4s cubic-bezier(.3, .5, .4, 1) 4.4s forwards; }
@keyframes np-scene-play { to { clip-path: inset(0 58% 0 0); } }
.np-scene-times {
    display: flex; justify-content: space-between; gap: 1rem; margin: 0;
    font: 500 .74rem/1.3 var(--np-sans); letter-spacing: .06em; color: color-mix(in srgb, var(--np-cream) 82%, transparent); font-variant-numeric: tabular-nums;
}
/* the card: the song title of the player screen, no frosted cloud */
body.np-body .inv-scene__card {
    top: max(61%, calc(13% + 60vw + 5.6rem)); aspect-ratio: auto; padding: .8rem .4rem; -webkit-mask: none; mask: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent;
}
body.np-body .inv-scene__card .inv-intro__label { margin-bottom: .35rem; font-family: var(--np-sans); font-weight: 500; letter-spacing: .26em; color: var(--np-gold); }
body.np-body .inv-scene__card .inv-intro__names { font-family: var(--np-script); font-weight: 400; font-size: clamp(2.4rem, 11.5vw, 3.2rem); line-height: 1.15; color: var(--np-cream); text-shadow: 0 4px 24px rgb(0 0 0 / .45); }
body.np-body .inv-scene__card .inv-intro__rule { background: var(--np-gold-grad); }
body.np-body .inv-scene__card .inv-intro__date { font-family: var(--np-serif); font-style: italic; letter-spacing: .04em; color: color-mix(in srgb, var(--np-cream) 86%, transparent); }
body.np-body .inv-intro--scene .inv-intro__skip { background: color-mix(in srgb, var(--np-deep) 60%, transparent); border-color: color-mix(in srgb, var(--np-gold) 45%, transparent); color: var(--np-cream); font-family: var(--np-sans); }
@media (prefers-reduced-motion: reduce) {
    .np-scene-top .np-eq i { animation: none; }
    .inv-intro.is-playing .np-scene-wave i { animation: none; clip-path: inset(0 58% 0 0); }
}
