:root {
  /* dark walnut */
  --bg: #120F0B; --panel: #1C1712; --strip: #0B0907;
  --text: #EFE6D2; --muted: #A99F8C; --small: #857B6A;
  --gold: #D7A86E;          /* sand: buttons, labels, logos */
  --accent: #E9CC9C;        /* wheat: subtitles, links, the logo's "Dreams" */
  --star: #8C7553;          /* muted gold for the ✦ dividers */
  --line: rgba(239,230,210,.11);
  --max: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--bg); color: var(--text); font: 400 19px/29px 'Crimson Pro', Georgia, serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-color: rgba(233,204,156,.4); text-underline-offset: 3px; }
a:hover { color: #F4DDB4; }
h2, .lbl, .btn, .nav a, .brand { font-family: 'Cinzel', Georgia, serif; font-weight: 500; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: 1px; margin: 6px 0 0; }
h3 { font-family: 'Cinzel', Georgia, serif; font-weight: 500; letter-spacing: .5px; }
.lbl { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin: 0; }
.sub { font-style: italic; color: var(--accent); font-size: 28px; line-height: 1.2; margin: 6px 0 0; }
.lead { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.stars { text-align: center; color: var(--star); letter-spacing: 14px; font-size: 14px; margin: 56px 0; }
.btn { display: inline-block; background: var(--gold); color: #1C1712; border: 1px solid var(--gold); border-radius: 4px; padding: 14px 34px; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: filter .2s; }
.btn:hover { filter: brightness(1.08); color: #1C1712; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.small { padding: 9px 18px; font-size: 12px; }

/* ── background textures (body.tx-…): a fixed layer behind the content, blended softly into the walnut */
html { background-color: #120F0B; }
html:has(body.tx-paper-warm) { background-color: #16110B; }
body { background: transparent; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; mix-blend-mode: soft-light; opacity: 0; }
/* fine: a barely-there film grain */
body.tx-fine::before { opacity: .22; background-image: url("images/fx/fx1.webp"); }
/* paper: soft mottling with a whisper of grain, like heavy watercolour paper */
body.tx-paper::before { opacity: .35; background-image: url("images/fx/fx1.webp"), url("images/fx/fx2.webp"); background-blend-mode: overlay; }
/* fibre: long faint fibres, like handmade paper */
body.tx-fibre::before { opacity: .3; background-image: url("images/fx/fx1.webp"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .25' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); background-blend-mode: overlay; }
/* wood: a very faint walnut grain running down the page */
body.tx-wood::before { opacity: .32; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0025 .045' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); background-size: 900px 900px; }
/* wash: large soft watercolour washes of light and shade */
body.tx-wash::before { opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035' numOctaves='4' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); background-size: 1400px 1400px; }
/* paper variations */
body.tx-paper-soft::before { opacity: .2; background-image: url("images/fx/fx1.webp"), url("images/fx/fx2.webp"); background-blend-mode: overlay; }
body.tx-paper-deep::before { opacity: .55; background-image: url("images/fx/fx1.webp"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='6' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); background-blend-mode: overlay; background-size: 300px, 900px; }
body.tx-paper-warm::before { opacity: .4; background-image: url("images/fx/fx1.webp"), url("images/fx/fx2.webp"); background-blend-mode: overlay; }
body.tx-paper-warm { --bg: #16110B; }
body.tx-paper-warm::after { background: radial-gradient(80vw 70vh at 50% 35%, rgba(222,160,90,.09), transparent 70%), radial-gradient(140vw 120vh at 50% 50%, transparent 55%, rgba(0,0,0,.4) 100%); }
body.tx-paper-cold::before { opacity: .4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.06' numOctaves='3' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='gamma' exponent='1.6'/%3E%3CfeFuncG type='gamma' exponent='1.6'/%3E%3CfeFuncB type='gamma' exponent='1.6'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"), url("images/fx/fx2.webp"); background-blend-mode: overlay; }
body.tx-paper-laid::before { opacity: .4; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 90px), url("images/fx/fx1.webp"), url("images/fx/fx2.webp"); }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(80vw 70vh at 50% 35%, rgba(215,168,110,.045), transparent 70%), radial-gradient(140vw 120vh at 50% 50%, transparent 55%, rgba(0,0,0,.35) 100%); }

/* ── nav */
.nav { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 36px); }
.brand { display: flex; align-items: baseline; gap: .45em; color: var(--text); text-decoration: none; line-height: 1; }
.brand .bn { font-family: 'Bodoni Moda', Didot, serif; font-weight: 500; font-size: 15px; letter-spacing: .3em; }
.brand .bd { font-family: 'Pinyon Script', cursive; font-size: 30px; color: var(--accent); letter-spacing: 0; text-transform: none; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 28px); }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ── hero */
.hero { position: relative; height: min(52vh, 470px); min-height: 280px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 50%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.82) 55%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.22) 84%, rgba(0,0,0,.06) 94%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 38%, rgba(0,0,0,.82) 55%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.22) 84%, rgba(0,0,0,.06) 94%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,9,7,.85) 0%, rgba(11,9,7,.35) 22%, rgba(11,9,7,0) 45%); }
.hero-over { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: 92px; text-align: center; }
.logo { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 500; }
.logo .n { font-family: 'Bodoni Moda', Didot, serif; font-size: clamp(26px, 4.6vw, 52px); letter-spacing: .34em; margin-right: -.34em; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.logo .d { font-family: 'Pinyon Script', cursive; font-weight: 400; font-size: clamp(64px, 10.5vw, 124px); margin-top: -.08em; color: var(--accent); text-shadow: 0 0 30px rgba(233,204,156,.28), 0 2px 18px rgba(0,0,0,.5); }

/* ── hero options (body.hero-…) */
.hero-cap { display: none; }
body:not(.hero-logo) .hero-over { display: none; }
body:not(.hero-logo) .brand .bn { font-size: 17px; }
body:not(.hero-logo) .brand .bd { font-size: 36px; }
/* caption: a small museum-style label on the painting */
.hero-caption .hero-cap { display: block; position: absolute; z-index: 2; left: clamp(16px, 4vw, 36px); bottom: 96px; margin: 0; font-size: 16px; color: var(--muted); letter-spacing: .3px; }
.hero-caption .hero-cap em { color: var(--accent); }
/* banner: a shorter strip of the painting so the music starts sooner */
.hero-banner .hero { height: min(34vh, 300px); min-height: 220px; }
/* framed: the painting sits in the page like a framed work rather than edge to edge */
.hero-framed .hero { display: flex; flex-direction: column; height: auto; min-height: 0; padding: 104px clamp(16px, 4vw, 40px) 0; overflow: visible; }
.hero-framed .hero img { max-width: 1040px; height: auto; aspect-ratio: 7/5; margin: 0 auto; box-shadow: 0 24px 60px rgba(0,0,0,.6); outline: 1px solid rgba(215,168,110,.35); outline-offset: 10px; }
.hero-framed .hero::after { display: none; }
.hero-framed .hero-cap { order: 2; display: block; text-align: center; margin: 26px 0 0; font-size: 16px; color: var(--muted); }
.hero-framed .hero-cap em { color: var(--accent); }
.hero-framed .nav { background: none; }

/* design options box (only while choosing) */
.design-picker { position: fixed; z-index: 50; right: 14px; bottom: 14px; background: rgba(11,9,7,.88); border: 1px solid rgba(215,168,110,.3); padding: 10px 14px; font-size: 14px; line-height: 22px; color: var(--small); max-width: calc(100vw - 28px); }
.design-picker b { font-family: 'Cinzel', serif; font-weight: 500; color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.design-picker a { color: var(--muted); }
.design-picker a[aria-current] { color: var(--gold); text-decoration: none; }

/* ── latest album */
.feature { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.feature .cover { aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.feature h2 { font-size: 34px; }
.feature .lead { margin: 16px 0 24px; }
.logos { display: flex; gap: 22px; align-items: center; margin-top: 6px; }
.logo-link { color: var(--gold); display: inline-flex; transition: color .2s, transform .2s; }
.logo-link svg { width: 40px; height: 40px; fill: currentColor; }
.logo-link:hover { color: #EBC48F; transform: translateY(-2px); }
.logos.small { gap: 18px; margin: 0; }
.logos.small svg { width: 28px; height: 28px; }
.more { margin-top: 22px; background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 17px; cursor: pointer; border-bottom: 1px solid rgba(233,204,156,.4); }

/* ── sections */
.block { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.head { text-align: center; margin-bottom: 30px; }
.head .lead { max-width: 640px; margin: 14px auto 0; }
.aw-switch { text-align: center; color: var(--small); font-size: 14px; margin: -14px 0 22px; }
.aw-switch a { color: var(--muted); }
.aw-switch a[aria-current] { color: var(--gold); text-decoration: none; }

/* ── album widget: shelf */
.aw button { font: inherit; color: inherit; cursor: pointer; }
.aw-shelf { display: flex; align-items: center; gap: 14px; overflow-x: auto; padding: 14px 10px 20px; margin-bottom: 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.3) transparent; }
.aw-shelf button { flex: 0 0 96px; padding: 0; border: 0; background: none; scroll-snap-align: center; transform: scale(.96); filter: brightness(.58) saturate(.85); transition: transform .45s ease, filter .45s ease; }
.aw-shelf button:hover { filter: brightness(.8) saturate(.95); }
.aw-shelf button[aria-selected] { transform: scale(1.05); filter: none; }
.aw-shelf button img { border-radius: 8px; transition: box-shadow .45s ease; }
.aw-shelf button[aria-selected] img { box-shadow: 0 8px 22px rgba(0,0,0,.55), 0 0 22px rgba(233,204,156,.12); }
.aw-shelf img { width: 96px; height: 96px; object-fit: cover; }

/* ── album widget: stage with a soft colour smudge from the cover */
.aw-stage { position: relative; padding: 40px 10px 20px; transition: opacity .22s ease, transform .22s ease; }
.aw-stage.fading { opacity: 0; transform: translateY(6px); }
.aw-smudge { position: absolute; left: 4%; top: 0; width: 60%; height: 90%; background-size: cover; background-position: center; filter: blur(70px) saturate(1.1); opacity: .22; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); pointer-events: none; transition: background-image .6s; }
.aw-detail { position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: start; }

/* the cover: a little stack of papers you can turn through */
.stack-wrap { position: relative; display: flex; align-items: center; gap: 12px; }
.stack { position: relative; flex: 1; aspect-ratio: 1; perspective: 1400px; }
.paper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 16px 34px rgba(0,0,0,.55); transform-origin: left center; transition: transform .35s ease, opacity .35s ease, filter .35s; }
.paper.p0 { z-index: 4; cursor: pointer; }
.paper.p1 { z-index: 3; transform: translate(10px, -8px) rotate(2.2deg); filter: brightness(.55); }
.paper.p2 { z-index: 2; transform: translate(18px, -15px) rotate(4deg); filter: brightness(.38); }
.paper.p3 { z-index: 1; transform: translate(24px, -20px) rotate(5.5deg); filter: brightness(.25); }
.paper.out-left { transform: rotateY(-75deg) translateX(-12%); opacity: 0; }
.paper.out-right { transform-origin: right center; transform: rotateY(75deg) translateX(12%); opacity: 0; }
.paper.in { animation: paperIn .35s ease; }
@keyframes paperIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.turn { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(215,168,110,.45); background: rgba(11,9,7,.4); color: var(--gold) !important; font-size: 24px !important; line-height: 1; transition: background .2s, border-color .2s; }
.turn:hover { background: rgba(215,168,110,.12); border-color: var(--gold); }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; padding: 0; }
.dots button[aria-current] { background: var(--gold); }

.aw-title { font-size: 28px; line-height: 1.25; letter-spacing: 1px; margin: 0; }
.aw-info .sub { font-size: 26px; margin-top: 8px; animation: awIn .4s ease; }
@keyframes awIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.aw-text { margin-top: 22px; }
.aw-text p { font-size: 18px; line-height: 28px; margin: 0 0 14px; }
.aw-style { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); animation: awIn .4s ease; }
.aw-style .lbl { margin-bottom: 8px; }
.aw-note { font-style: italic; color: var(--accent); }
.aw-listen { display: flex; align-items: center; gap: 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* paintings inside the album widget */
.aw-painting { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.aw-painting img { width: 150px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.aw-painting h4 { font-family: 'Cinzel', serif; font-weight: 500; font-size: 19px; letter-spacing: .5px; margin: 4px 0 6px; }
.aw-painting p:not(.lbl) { font-size: 16px; line-height: 25px; color: var(--muted); margin: 0 0 12px; }
.dots .dot-painting { border-radius: 2px; transform: rotate(45deg); }
.paintings-block #paintings, .paintings-page #paintings, .paintings-block .stars-paintings, .paintings-page .stars-paintings,
.paintings-block .nav a[href="#paintings"], .paintings-page .nav a[href="#paintings"] { display: none; }
@media (max-width: 520px) { .aw-painting { grid-template-columns: 1fr; } .aw-painting img { width: 100%; max-width: 260px; } }

/* backdrop mode: the 4:3 painting behind the album */
.aw-stage.gallery { padding: 0; min-height: 700px; display: flex; flex-direction: column; overflow: hidden; border-radius: 2px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.gx-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(7px) brightness(.36) saturate(.9); transform: scale(1.06); transition: filter 1.2s ease, transform 1.5s ease; }
.no-painting .gx-bg { filter: blur(40px) brightness(.3) saturate(1.1); transform: scale(1.3); }
.gx-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,7,.55) 0%, rgba(11,9,7,.25) 45%, rgba(11,9,7,.7) 100%); transition: opacity 1.2s ease; }
/* top: the game */
.gx-game { position: relative; padding: 44px 48px 26px; max-height: 420px; transition: opacity .6s ease, max-height .9s ease, padding .9s ease; }
.gx-game .aw-title { font-size: 30px; }
.gx-sub { font-family: 'Crimson Pro', serif; font-style: italic; color: var(--accent); font-size: 22px; letter-spacing: 0; }
.gx-game .aw-text { margin-top: 14px; max-height: 300px; overflow: auto; padding-right: 12px; column-width: 380px; column-gap: 40px; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.3) transparent; }
.gx-game .aw-text p { break-inside: avoid; }
/* bottom: the versions */
.gx-versions { position: relative; margin-top: auto; background: linear-gradient(180deg, rgba(11,9,7,.35), rgba(11,9,7,.7)); border-top: 1px solid rgba(239,230,210,.12); }
.gx-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 40px 0; }
.gx-tabs button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 12px; font-family: 'Cinzel', serif !important; font-size: 13px; letter-spacing: 1.5px; color: var(--muted); }
.gx-tabs button:hover { color: var(--text); }
.gx-tabs button[aria-selected] { color: var(--gold); border-bottom-color: var(--gold); }
.gx-tabs button:last-child:not(:first-child) { margin-left: auto; }
.no-painting .gx-tabs button:last-child { margin-left: 0; }
.gx-ver { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; padding: 22px 48px 30px; animation: awIn .45s ease; }
.gx-cover { width: 190px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 14px 30px rgba(0,0,0,.6); }
.gx-ver .sub { margin-top: 0; font-size: 26px; }
.gx-style p { font-size: 17px; line-height: 26px; color: var(--muted); margin: 10px 0 0; }
.gx-ver .aw-listen { margin-top: 18px; padding-top: 14px; border-top-color: rgba(239,230,210,.14); }
/* the painting tab: the game text steps aside, the album art is gone, the backdrop comes to life */
.gallery.focus .gx-bg { filter: none; transform: scale(1); }
.gallery.focus .gx-shade { opacity: 0; }
.gallery.focus .gx-game { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; pointer-events: none; }
.gallery.focus .gx-versions { background: linear-gradient(180deg, transparent, rgba(11,9,7,.55)); border-top-color: transparent; }
.gx-caption { margin: 0 48px 26px auto; margin-top: 380px; max-width: 440px; background: rgba(11,9,7,.74); backdrop-filter: blur(6px); padding: 22px 26px; animation: awIn .8s ease .6s both; }
.gx-caption h3 { margin: 4px 0 8px; font-size: 22px; }
.gx-caption p:not(.lbl) { font-size: 16px; line-height: 25px; color: var(--muted); margin: 0 0 12px; }
@media (max-width: 820px) {
  .aw-stage.gallery { min-height: 0; }
  .gx-game { padding: 28px 22px 18px; max-height: none; }
  .gx-game .aw-text { max-height: 260px; column-width: auto; }
  .gx-tabs { padding: 8px 12px 0; }
  .gx-tabs button:last-child:not(:first-child) { margin-left: 0; }
  .gx-ver { grid-template-columns: 1fr; padding: 18px 22px 24px; }
  .gx-cover { width: 160px; }
  .gx-caption { margin: 52vw 14px 14px; }
}

/* cards mode: painting behind; the game card on the left, the version card mirrored on the right; tabs on top */
#albums { container-type: inline-size; }
.aw-stage.cards { padding: 0; height: calc(100cqw * .582); transition: height .6s cubic-bezier(.6,0,.3,1); overflow: clip;   /* clip: never scrolls inside, even when a button gets focus */ border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.cx-fill { position: absolute; left: 0; top: 0; width: 100%; height: 75cqw; background-size: cover; background-position: center; }   /* always the full 4:3 painting; the frame crops it */
.aw-stage.cards.on-painting { height: 75cqw; }
.cx-fill.soft { filter: blur(46px) brightness(.45) saturate(1.15); transform: scale(1.25); }
.cards::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11,9,7,.75) 0%, rgba(11,9,7,.35) 14%, transparent 24%, transparent 85%, rgba(11,9,7,.4) 100%); }
.cx-top { position: absolute; z-index: 4; top: 0; left: 0; right: 0; padding: 24px 32px 0; }
.cx-top .cx-title { margin: 0 0 6px !important; padding: 0 10px; font-size: 26px; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.cx-top .t-series, .cx-top .t-name { display: inline; }
.cx-top .t-series::after { content: ' · '; color: var(--muted); }
.cards .gx-tabs { position: relative; z-index: 4; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2px; padding: 0; background: none; border: 0; scrollbar-width: none; }
.cards .gx-tabs button { white-space: nowrap; font-size: 12px; letter-spacing: 1.2px; padding: 8px 10px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.cards .gx-tabs button:last-child:not(:first-child) { margin-left: 0; }
.cards .gx-tabs .tab-painting { margin-left: auto !important; }
.cx-game, .cx-card { position: absolute; z-index: 2; top: 116px; bottom: 32px; width: min(422px, 44%); display: flex; flex-direction: column; background: rgba(11,9,7,.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 24px 28px; border-radius: 6px; }
.cx-card { left: 32px; width: min(460px, 46%); transition: opacity .3s ease, transform .3s ease; }
.cx-card.wide { inset: 0; width: auto; border-radius: 6px; transform: translateY(0); transition: transform .6s cubic-bezier(.6,0,.3,1); background: rgba(11,9,7,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 44px; align-items: start; padding: 86px 48px 26px; }
.cx-card.wide .cx-thumb { width: 430px; height: 430px; flex: none; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.cx-body { display: flex; flex-direction: column; height: 430px; min-height: 0; justify-content: flex-start; }
.cx-card.wide .cx-head { display: block; }
.cx-card.wide .cx-title { font-family: 'Cinzel', Georgia, serif !important; font-style: normal !important; font-weight: 500 !important; color: var(--text) !important; letter-spacing: 1px !important; font-size: 30px; line-height: 1.2; margin: 0 !important; }
.cx-card.wide .cx-title .t-name { color: var(--accent); }
.cx-card.wide .cx-title .t-series { font-size: 20px; color: var(--muted); letter-spacing: 1.5px; margin-bottom: 4px; }
.cx-under { margin: 10px 0 0; font-style: italic; color: var(--accent); font-size: 26px; line-height: 1.2; }
.cx-card.wide .cx-text { flex: 0 1 auto; margin-top: 20px; }
.cx-card.wide .cx-act.logos { justify-content: flex-start; gap: 30px; margin-top: 22px; }
.cx-card.side { left: auto; right: 32px; width: min(470px, 48%); top: auto; max-height: calc(100% - 100px); }
.cx-brief p { color: var(--text); opacity: .86; }
.cx-style { margin-top: 4px; }
.cx-pname { font-family: 'Crimson Pro', serif !important; font-style: italic; font-weight: 400 !important; color: var(--accent); font-size: 26px !important; letter-spacing: 0 !important; margin: 4px 0 0 !important; }
.cx-title { margin: 0 0 16px !important; font-size: 22px; line-height: 1.25; }
.cx-head h3.cx-title { color: var(--text); }
.cx-game h3, .cx-card h3 { margin: 0 0 4px; font-size: 22px; line-height: 1.25; }
.cx-game .gx-sub, .cx-card .gx-sub { font-size: 18px; }
.t-series, .t-name { display: block; }
.t-name { color: var(--accent); }
.cx-head { display: flex; gap: 20px; align-items: flex-end; }
.cx-thumb { width: 190px; height: 190px; flex: 0 0 190px; object-fit: cover; border-radius: 6px; box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.cx-head h3 { color: var(--accent); font-family: 'Crimson Pro', serif; font-style: italic; font-weight: 400; font-size: 25px; letter-spacing: 0; }
.cx-text { flex: 1; overflow: auto; margin-top: 12px; padding-right: 8px; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.3) transparent; }
.cx-text p { font-size: 16.5px; line-height: 25px; color: var(--muted); margin: 0 0 12px; }
.cx-text .aw-note { color: var(--accent); }
.cx-act { margin-top: 16px; }
.badge { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); text-decoration: none; padding: 6px 0; transition: color .2s, transform .2s; }
.badge:hover { color: #EBC48F; transform: translateY(-1px); }
.badge svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
.badge span { font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 600; font-size: 16px; letter-spacing: -.2px; line-height: 1; }
.badge-apple svg { width: 19px; height: 19px; margin-top: -3px; }
.badge-apple span { font-size: 17px; letter-spacing: -.3px; }
.cx-act.logos { display: flex; justify-content: space-evenly; align-items: center; gap: 12px; flex-wrap: wrap; }
.cx-card > *, .cx-under, .cx-text, .cx-act { transition: opacity .5s ease, transform .5s ease; }
.aw-stage.cards.swapping .cx-card > .cx-cover, .aw-stage.cards.swapping .cx-under, .aw-stage.cards.swapping .cx-text, .aw-stage.cards.swapping .cx-act, .aw-stage.cards.swapping .cx-card.side > * { opacity: 0; transform: translateY(6px); }
.aw-stage.cards.swapping.cross .cx-card { opacity: 0; }
.aw-stage.cards.tabfade .cx-card > *, .aw-stage.cards.tabfade .cx-under, .aw-stage.cards.tabfade .cx-text, .aw-stage.cards.tabfade .cx-act { transition: opacity 1s ease, transform 1s ease; }
.aw-stage.cards.swapping.cross .cx-card > *, .aw-stage.cards.swapping.cross .cx-under, .aw-stage.cards.swapping.cross .cx-text, .aw-stage.cards.swapping.cross .cx-act { transform: none; }
@media (max-width: 820px) {
  .aw-stage.cards { height: auto; padding: 0 12px 14px; display: flex; flex-direction: column; }
  .cx-top { order: 0; } .cx-card { order: 1; } .cx-game { order: 2; }
  .cx-top { position: relative; padding: 20px 4px 4px; }
  .cx-top .cx-title { font-size: 22px; }
  .cx-game, .cx-card { position: relative; top: auto; bottom: auto; left: auto; right: auto; width: auto; max-height: 70vh; margin-top: 12px; }
  .cards.on-painting { padding-top: 64vw; }
  .cards.on-painting .cx-game { display: none; }
  .cx-card.wide { display: block; }
  .cx-card.wide .cx-thumb { width: 100%; height: auto; aspect-ratio: 1; max-width: 340px; margin-bottom: 16px; }
}

/* rolling the card up (to the painting) and down again (back to the music) */
.cx-card.wide.rolled { transform: translateY(-101%); }
.cx-card.side { transition: opacity .8s ease .1s, transform .8s ease .1s; }
.aw-stage.cards.swapping.cross .cx-card.side { transform: translateY(10px); }
.cx-card.side.leaving { opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; }
.cx-card.wide.slowfade > *, .cx-card.wide.slowfade .cx-under, .cx-card.wide.slowfade .cx-text, .cx-card.wide.slowfade .cx-act { transition: opacity .55s ease .2s, transform .55s ease .2s; }
.cx-card.wide.arriving > * { opacity: 0; transform: translateY(8px); }

/* painting card as a full-width strip along the bottom (body.pc-strip) */
.pc-strip .cx-card.side { left: 32px; right: 32px; bottom: 28px; width: auto; max-height: 32%; display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 32px; align-items: start; padding: 20px 26px; }
.pc-strip .cx-card.side > .lbl { grid-column: 1; grid-row: 1; }
.pc-strip .cx-card.side > .cx-pname { grid-column: 1; grid-row: 2; }
.pc-strip .cx-card.side > .cx-text { grid-column: 2; grid-row: 1 / 3; margin-top: 0; max-height: 100%; }
.pc-strip .cx-card.side > .cx-act { grid-column: 3; grid-row: 1 / 3; align-self: center; margin-top: 0; }
@media (max-width: 820px) { .pc-strip .cx-card.side { display: block; max-height: none; } }

/* painting card: folds open to show the story */
.cx-card.side { max-height: none !important; padding: 0; overflow: hidden; }
.cx-toggle { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 20px 26px 18px; cursor: pointer; color: inherit; font: inherit; }
.cx-toggle .lbl { display: block; }
.cx-toggle .cx-pname { display: block; font-family: 'Crimson Pro', serif; font-style: italic; color: var(--accent); font-size: 26px; line-height: 1.2; margin-top: 4px; }
.cx-toggle { position: relative; padding-right: 60px; }
.cx-chevron { position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; color: var(--muted); transition: color .3s; }
.cx-chevron::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -75%) rotate(45deg); transition: transform .5s ease; }   /* open: points down = collapse */
.cx-card.side:not(.open) .cx-chevron::after { transform: translate(-50%, -25%) rotate(225deg); }   /* folded: points up = expand */
.cx-toggle:hover .cx-chevron { color: var(--gold); }
.cx-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s cubic-bezier(.6,0,.3,1); }
.cx-more > div { overflow: hidden; padding: 0 26px; opacity: 0; transition: opacity .6s ease, padding .8s ease; }
.cx-card.side.open .cx-more { grid-template-rows: 1fr; }
.cx-card.side.open .cx-more > div { opacity: 1; padding-bottom: 22px; transition: opacity .8s ease .25s, padding .8s ease; }
.cx-card.side .cx-text { max-height: none; overflow: visible; margin-top: 0; padding-right: 0; }

/* listen link styles (body.lb-…) */
.badge .full { display: none; }
.badge-others { gap: 4px; }
.badge-others i { font-style: normal; font-size: 20px; line-height: 1; transform: translateY(-1px); }
.badge-others span { font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 500; font-size: 15px; opacity: .85; }
/* engraved caps: no icons, small capitals in the page's serif, separated by thin rules */
.lb-caps .badge svg, .lb-caps .badge span:not(.full):not(.olabel) { display: none; }
.lb-caps .badge .full, .lb-caps .badge-others .olabel { display: inline; font-family: 'Cinzel', Georgia, serif; font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; opacity: 1; }
.lb-caps .badge-others span { display: inline; }
.lb-caps .cx-act.logos { gap: 0 !important; }
.lb-caps .cx-act.logos .badge + .badge::before { content: ""; width: 1px; height: 14px; background: rgba(215,168,110,.4); margin: 0 18px; }
/* brand colours: official icon colours, cream names */
.lb-brand .badge { color: var(--text); }
.lb-brand .badge-spotify svg { fill: #1ED760; }
.lb-brand .badge-apple svg { fill: #FA2D48; }
.lb-brand .badge-apple .full, .lb-brand .badge-spotify .full { display: inline; font-family: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 600; font-size: 16px; }
.lb-brand .badge span:not(.full):not(.olabel) { display: none; }
.lb-brand .badge-others { color: var(--muted); }
/* icons + caption: larger cream icons with a tiny caption underneath */
.lb-stacked .badge { flex-direction: column; gap: 6px; color: var(--text); }
.lb-stacked .badge svg { width: 30px; height: 30px; }
.lb-stacked .badge-apple svg { width: 28px; height: 28px; margin: 0; }
.lb-stacked .badge span:not(.full):not(.olabel) { display: none; }
.lb-stacked .badge .full, .lb-stacked .badge-others .olabel { display: block; font-family: 'Cinzel', Georgia, serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.lb-stacked .badge-others { justify-content: flex-end; }
.lb-stacked .badge-others i { font-size: 26px; height: 30px; display: grid; place-items: center; }
/* sand buttons: filled like "Buy a print" */
.lb-buttons .badge { background: var(--gold); color: #1C1712; padding: 9px 16px 9px 12px; border-radius: 4px; }
.lb-buttons .badge:hover { color: #1C1712; filter: brightness(1.08); transform: none; }
.lb-buttons .badge-others { background: none; color: var(--gold); padding: 9px 6px; }
/* hairline buttons: thin sand outline, square corners */
.lb-outline .badge { border: 1px solid rgba(215,168,110,.55); padding: 8px 16px 8px 12px; border-radius: 3px; }
.lb-outline .badge:hover { border-color: var(--gold); background: rgba(215,168,110,.07); transform: none; }
.lb-outline .badge-others { border: 0; padding: 8px 4px; }

/* preview player */
.cx-player { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.pl-play { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(215,168,110,.55); background: none; color: var(--gold); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.pl-play:hover { border-color: var(--gold); background: rgba(215,168,110,.08); }
.pl-play i { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.is-playing .pl-play i { width: 9px; height: 11px; border: 0; margin: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pl-now { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pl-title { min-height: 1.3em; font-size: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.is-playing .pl-title { color: var(--text); font-style: normal; }
.pl-bar { height: 1px; background: rgba(239,230,210,.16); position: relative; }
.pl-bar i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 0; background: var(--gold); transition: width .25s linear; }
.pl-list { background: none; border: 0; color: var(--muted); cursor: pointer; font-family: 'Cinzel', Georgia, serif !important; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 0; }
.pl-list:hover, .pl-list.on { color: var(--gold); }
.cx-tracks { list-style: none; margin: 12px 0 0; padding: 0 8px 0 0; overflow: auto; flex: 1; min-height: 0; counter-reset: tr; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.3) transparent; }
.cx-tracks li { counter-increment: tr; border-top: 1px solid rgba(239,230,210,.08); }
.cx-tracks button { display: flex; gap: 12px; width: 100%; text-align: left; background: none; border: 0; padding: 7px 2px; color: var(--muted); font: inherit; font-size: 16px; line-height: 1.3; cursor: pointer; }
.cx-tracks button::before { content: counter(tr); min-width: 20px; color: var(--small); font-size: 13px; padding-top: 2px; }
.cx-tracks button:hover { color: var(--text); }
.cx-tracks li.now button { color: var(--gold); }
.cx-tracks button::after { content: ""; margin-left: auto; align-self: center; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; opacity: 0; transition: opacity .2s; }
.cx-tracks button:hover::after, .cx-tracks li.now button::after { opacity: .9; }
.cx-tracks li.now button::before { color: var(--gold); }

/* tracks over the cover (body.tk-…) */
.cx-cover { position: relative; width: 430px; height: 430px; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.cx-cover .cx-thumb { box-shadow: none !important; transition: filter .5s ease, transform .6s ease; }
.cx-cover .cx-tracks { position: absolute; margin: 0; padding: 18px 20px; background: rgba(11,9,7,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.cx-cover .cx-tracks li:first-child { border-top: 0; }
/* panel: the whole cover */
.tk-panel .cx-cover .cx-tracks { inset: 0; transform: scale(.98); }
.tk-panel .tracks-open .cx-cover .cx-tracks { opacity: 1; transform: none; pointer-events: auto; }
.tk-panel .tracks-open .cx-thumb { filter: blur(2px) brightness(.6); transform: scale(1.04); }
/* half: the lower half, the art stays visible above */
.tk-half .cx-cover .cx-tracks { left: 0; right: 0; bottom: 0; height: 55%; transform: translateY(16px); background: linear-gradient(180deg, rgba(11,9,7,.55), rgba(11,9,7,.85)); padding-top: 14px; }
.tk-half .tracks-open .cx-cover .cx-tracks { opacity: 1; transform: none; pointer-events: auto; }
/* hover: appears whenever the cover is hovered */
.tk-hover .cx-cover .cx-tracks { inset: 0; }
.tk-hover .cx-cover:hover .cx-tracks { opacity: 1; pointer-events: auto; }
.tk-hover .cx-cover:hover .cx-thumb { filter: blur(2px) brightness(.6); }
.tk-hover .pl-list { display: none; }
/* lighter hover versions: the art stays visible; on touch screens a tap on the cover (or TRACKS) opens them */
.tk-veil .cx-cover .cx-tracks, .tk-glass .cx-cover .cx-tracks, .tk-rise .cx-cover .cx-tracks, .tk-side .cx-cover .cx-tracks { backdrop-filter: none; -webkit-backdrop-filter: none; }
.tk-veil .cx-tracks button, .tk-rise .cx-tracks button, .tk-side .cx-tracks button { color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.tk-veil .cx-tracks li, .tk-rise .cx-tracks li, .tk-side .cx-tracks li { border-top-color: rgba(239,230,210,.14); }
/* veil: a soft shadow over the whole cover */
.tk-veil .cx-cover .cx-tracks { inset: 0; background: rgba(11,9,7,.38); }
/* glass: a light frosted pane, the art shows through */
.tk-glass .cx-cover .cx-tracks { inset: 18px; border-radius: 6px; background: rgba(239,230,210,.1); backdrop-filter: blur(6px) saturate(1.1); -webkit-backdrop-filter: blur(6px) saturate(1.1); border: 1px solid rgba(239,230,210,.18); }
.tk-glass .cx-tracks button { color: var(--text); text-shadow: 0 1px 6px rgba(0,0,0,.7); }
/* rise: the list rises from the bottom over a gradient, the top of the art is untouched */
.tk-rise .cx-cover .cx-tracks { left: 0; right: 0; bottom: 0; top: 30%; background: linear-gradient(180deg, transparent, rgba(11,9,7,.55) 30%, rgba(11,9,7,.7)); padding-top: 60px; transform: translateY(24px); }
/* side: the list slides in from the left over a sideways gradient */
.tk-side .cx-cover .cx-tracks { top: 0; bottom: 0; left: 0; width: 72%; background: linear-gradient(90deg, rgba(11,9,7,.72), rgba(11,9,7,.45) 70%, transparent); transform: translateX(-20px); }
.tk-veil .cx-cover:hover .cx-tracks, .tk-glass .cx-cover:hover .cx-tracks, .tk-rise .cx-cover:hover .cx-tracks, .tk-side .cx-cover:hover .cx-tracks,
.tk-hover .tracks-open .cx-cover .cx-tracks, .tk-veil .tracks-open .cx-cover .cx-tracks, .tk-glass .tracks-open .cx-cover .cx-tracks, .tk-rise .tracks-open .cx-cover .cx-tracks, .tk-side .tracks-open .cx-cover .cx-tracks { opacity: 1; pointer-events: auto; transform: none; }
.tk-veil .pl-list, .tk-glass .pl-list, .tk-rise .pl-list, .tk-side .pl-list { display: none; }
.tk-glass .cx-cover:hover .cx-thumb, .tk-glass .tracks-open .cx-thumb { transform: scale(1.03); }
/* touch screens: no hover, so the TRACKS button comes back and a tap on the cover toggles the list */
@media (hover: none) {
  .tk-hover .pl-list, .tk-veil .pl-list, .tk-glass .pl-list, .tk-rise .pl-list, .tk-side .pl-list { display: inline-block; }
  .tk-hover .cx-cover:hover .cx-tracks, .tk-veil .cx-cover:hover .cx-tracks, .tk-glass .cx-cover:hover .cx-tracks, .tk-rise .cx-cover:hover .cx-tracks, .tk-side .cx-cover:hover .cx-tracks { opacity: 0; pointer-events: none; }
  .tk-hover .tracks-open .cx-cover .cx-tracks, .tk-veil .tracks-open .cx-cover .cx-tracks, .tk-glass .tracks-open .cx-cover .cx-tracks, .tk-rise .tracks-open .cx-cover .cx-tracks, .tk-side .tracks-open .cx-cover .cx-tracks { opacity: 1; pointer-events: auto; }
}
/* cover: play controls live on the cover, the list opens over it */
.tk-cover .cx-cover .cx-tracks { inset: 0 0 64px 0; padding-bottom: 8px; }
.tk-cover .tracks-open .cx-cover .cx-tracks { opacity: 1; pointer-events: auto; }
.tk-cover .tracks-open .cx-thumb { filter: blur(2px) brightness(.55); }
.cx-player.on-cover { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 18px; gap: 12px; background: linear-gradient(180deg, transparent, rgba(11,9,7,.85) 45%); }
.cx-player.on-cover .pl-play { background: rgba(11,9,7,.5); }
.cx-player.on-cover .pl-title { color: var(--text); font-style: normal; }

/* title colour options: game name / version undertitle */
.tc-a .cx-card.wide .cx-title .t-name { color: var(--text); }          .tc-a .cx-under { color: var(--accent); }
.tc-b .cx-card.wide .cx-title .t-name { color: var(--accent); }        .tc-b .cx-under { color: var(--gold); }
.tc-c .cx-card.wide .cx-title .t-name { color: var(--text); }          .tc-c .cx-under { color: var(--gold); }
.tc-d .cx-card.wide .cx-title .t-name { color: var(--text); }          .tc-d .cx-under { color: var(--muted); }
.tc-a .cx-card.wide .cx-title .t-series, .tc-b .cx-card.wide .cx-title .t-series, .tc-c .cx-card.wide .cx-title .t-series, .tc-d .cx-card.wide .cx-title .t-series { color: var(--small); }

/* ── listening styles / playlists */
.styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.style-card { background: var(--panel); padding: 28px 26px; text-align: center; }
.style-card h3 { margin: 0 0 4px; font-size: 20px; }
.style-card .use { color: var(--accent); font-style: italic; margin: 0 0 12px; }
.style-card p { font-size: 17px; line-height: 26px; color: var(--muted); margin: 0 0 18px; }
.pl { list-style: none; padding: 0; margin: 0; text-align: left; }
.pl li { border-top: 1px solid var(--line); padding: 10px 0; font-size: 17px; line-height: 24px; }
.pl-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 15px; margin-top: 2px; }
.pl-links a { text-decoration: none; border-bottom: 1px solid rgba(233,204,156,.35); }

/* ── paintings */
.paintings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.painting { text-align: center; }
.painting .frame { aspect-ratio: 1; overflow: hidden; background: var(--panel); }
.painting .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.painting:hover .frame img { transform: scale(1.03); }
.painting h3 { margin: 14px 0 0; font-size: 19px; }
.painting .game { color: var(--accent); font-style: italic; margin: 0; font-size: 16px; }
.painting .story { font-size: 16px; line-height: 25px; color: var(--muted); margin: 10px 0 14px; }

/* ── sheet music */
.sheet { max-width: 760px; text-align: center; }
.staff { display: flex; flex-direction: column; gap: 7px; margin: 0 auto 30px; max-width: 520px; }
.staff i { height: 1px; background: rgba(239,230,210,.18); }
.sheet .lead { max-width: 460px; margin: 12px auto 22px; }
.sheet .staff:last-child { margin: 34px auto 0; }

/* ── newsletter */
.signup { background: var(--panel); max-width: var(--max); margin: 64px auto 0; padding: 48px 40px; text-align: center; }
.signup form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.signup input { width: min(320px, 100%); padding: 13px 16px; border-radius: 4px; border: 1px solid rgba(239,230,210,.2); background: var(--bg); color: var(--text); font: inherit; font-size: 17px; }
.signup input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.fine { color: var(--small); font-size: 15px; margin: 12px 0 0; }

/* ── footer */
.foot { background: var(--strip); margin-top: 64px; padding: 34px 20px; text-align: center; color: var(--small); font-size: 15px; }
.foot p { margin: 6px 0; }
.foot .small { font-size: 13px; }
.socials { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.socials a { color: var(--muted); text-decoration: none; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.socials a:hover { color: var(--text); }

@media (max-width: 820px) {
  .feature, .aw-detail { grid-template-columns: 1fr; }
  .aw-detail { gap: 34px; }
  .stack-wrap { max-width: 440px; margin: 0 auto; }
  .aw-smudge { width: 100%; left: 0; height: 60%; }
  .styles, .paintings { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav nav { display: none; position: absolute; top: 58px; right: 16px; flex-direction: column; background: var(--strip); padding: 16px 22px; gap: 14px; }
  .nav nav.open { display: flex; }
  .block, .feature { padding: 0 22px; }
  .signup { padding: 40px 22px; }
}
@media (max-aspect-ratio: 3/4) { .hero img { object-position: var(--hero-pos-mobile, var(--hero-pos, 50% 50%)); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* the stereo: previous / play / next, the track name with "3 / 23", and the progress bar */
[class*="tk-stereo"] .cx-player { display: grid; align-items: center; column-gap: 10px; row-gap: 10px; }
[class*="tk-stereo"] .pl-prev, [class*="tk-stereo"] .pl-next { width: 30px; height: 30px; padding: 0; border: 0; background: none; color: var(--gold); opacity: .75; cursor: pointer; display: grid; place-items: center; transition: opacity .2s, transform .2s; }
[class*="tk-stereo"] .pl-prev:hover, [class*="tk-stereo"] .pl-next:hover { opacity: 1; }
[class*="tk-stereo"] .pl-prev:active, [class*="tk-stereo"] .pl-next:active { transform: scale(.9); }
[class*="tk-stereo"] .pl-prev svg, [class*="tk-stereo"] .pl-next svg { width: 15px; height: 15px; fill: currentColor; }
[class*="tk-stereo"] .pl-prev svg { transform: scaleX(-1); }
.pl-row { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.pl-row .pl-title { flex: 1; }
.pl-count { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .12em; color: var(--small, #8C7553); white-space: nowrap; }
.pl-prev { grid-area: prev; } .pl-play { grid-area: play; } .pl-next { grid-area: next; } .pl-now { grid-area: now; }
/* a: controls together on the left */
.tk-stereo-a .cx-player { grid-template-columns: auto auto auto minmax(0, 1fr); grid-template-areas: "prev play next now"; }
.tk-stereo-a .pl-now { margin-left: 8px; }
/* b: name and bar on top, controls centred underneath (like a deck) */
.tk-stereo-b .cx-player { grid-template-columns: 1fr auto auto auto 1fr; grid-template-areas: "now now now now now" ". prev play next ."; column-gap: 18px; }
/* c: play on the left, skip buttons on the right */
.tk-stereo-c .cx-player { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "play now prev next"; column-gap: 6px; }
.tk-stereo-c .pl-now { margin: 0 12px 0 8px; }

/* stereo polish: a round play button that never squashes, quieter skip buttons, name over a fine line */
[class*="tk-stereo"] .pl-play { width: 40px; height: 40px; flex: none; padding: 0; border-color: rgba(215,168,110,.6); }
[class*="tk-stereo"] .pl-play i { border-left-width: 10px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
[class*="tk-stereo"] .is-playing .pl-play i { width: 10px; height: 12px; border-left-width: 3px; border-right-width: 3px; margin: 0; }
[class*="tk-stereo"] .is-playing .pl-play { background: rgba(215,168,110,.08); border-color: var(--gold); }
.tk-stereo-c .cx-player { column-gap: 2px; }
.tk-stereo-c .pl-now { margin: 0 14px 0 14px; gap: 9px; }
.tk-stereo-c .pl-title { font-size: 17px; }
.tk-stereo-c .pl-prev, .tk-stereo-c .pl-next { width: 32px; height: 32px; border-radius: 50%; opacity: .7; transition: opacity .2s, background .2s, transform .2s; }
.tk-stereo-c .pl-prev:hover, .tk-stereo-c .pl-next:hover { opacity: 1; background: rgba(215,168,110,.08); }
.tk-stereo-c .pl-prev svg, .tk-stereo-c .pl-next svg { width: 13px; height: 13px; }

/* the player takes its colour from the cover on the tab (--tint, from tools/build_tints.py); sand without one */
.cx-player[style*="--tint"] .pl-play { color: var(--tint); border-color: color-mix(in srgb, var(--tint) 60%, transparent); }
.cx-player[style*="--tint"] .pl-play:hover, .cx-player[style*="--tint"].is-playing .pl-play { border-color: var(--tint); background: color-mix(in srgb, var(--tint) 10%, transparent); }
.cx-player[style*="--tint"] .pl-prev, .cx-player[style*="--tint"] .pl-next { color: var(--tint); }
.cx-player[style*="--tint"] .pl-prev:hover, .cx-player[style*="--tint"] .pl-next:hover { background: color-mix(in srgb, var(--tint) 10%, transparent); }
.cx-player[style*="--tint"] .pl-bar i { background: var(--tint); }

/* the stereo at the foot of the painting's story card (stays when the story is folded away) */
.cx-foot { padding: 14px 26px 18px; border-top: 1px solid rgba(239,230,210,.1); }
.cx-foot .cx-player { margin-top: 0; }
.cx-card.side.open .cx-more > div { padding-bottom: 20px; }

/* the stereo under the cover: a slightly smaller cover with the player beneath it, text column to the right */
@media (min-width: 821px) {
  .pp-cover .cx-card.wide { grid-template-columns: 380px minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 14px; column-gap: 48px; }
  .pp-cover .cx-card.wide .cx-cover, .pp-cover .cx-card.wide .cx-thumb { width: 380px; height: 380px; }
  .pp-cover .cx-card.wide > .cx-player { grid-column: 1; grid-row: 2; margin-top: 0; }
  .pp-cover .cx-card.wide .cx-body { grid-column: 2; grid-row: 1 / 3; height: 434px; }
}
@media (max-width: 820px) { .pp-cover .cx-card.wide > .cx-player { margin: 0 0 18px; max-width: 340px; } }
/* player under the cover: the listen links sit on the same line as the player */
@media (min-width: 821px) {
  .pp-cover .cx-card.wide .cx-act.logos { margin-top: auto; min-height: 40px; align-items: center; padding-top: 8px; box-sizing: border-box; }
  .pp-cover .cx-card.wide .cx-text { margin-bottom: 16px; }
}

/* a track name too long for the player's line glides to its end and back, with a pause at each side */
.pl-title > span { display: inline-block; white-space: nowrap; }
.pl-title.scrolls { text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent); }
.pl-title.scrolls > span { animation: plGlide 8s ease-in-out infinite alternate; }
@keyframes plGlide { 0%, 22% { transform: translateX(0); } 78%, 100% { transform: translateX(var(--shift, 0)); } }
@media (prefers-reduced-motion: reduce) { .pl-title.scrolls > span { animation: none; } }

/* the painting in its covered state, behind the album card (the building tool's sliders set these; defaults = the look so far) */
.cx-card.wide { background: rgba(11,9,7, var(--cv-dark, .8)); backdrop-filter: blur(var(--cv-blur, 14px)) brightness(var(--cv-exp, 1)) saturate(var(--cv-sat, 1)); -webkit-backdrop-filter: blur(var(--cv-blur, 14px)) brightness(var(--cv-exp, 1)) saturate(var(--cv-sat, 1)); }

/* page background (building tool sliders): --pg-dark 0.5 = the walnut #120F0B as it was (0 = twice as light, 1 = black); --pg-paper = how much paper grain shows */
html { background-color: rgb(calc(36 * (1 - var(--pg-dark, .5))) calc(30 * (1 - var(--pg-dark, .5))) calc(22 * (1 - var(--pg-dark, .5)))); }
body.tx-paper::before { opacity: var(--pg-paper, .35); }
/* the paper grain belongs to the page, not the screen: it covers the whole document and scrolls with it */
body { position: relative; }
body::before { position: absolute; }

/* about: your own words under the header picture */
.about { max-width: 720px; margin: 0 auto; padding: 8px 24px 6px; text-align: center; }
.about-text p { margin: 0 0 16px; color: var(--text); opacity: .86; font-size: 19px; line-height: 30px; }
.about-text p.note { font-size: 16px; line-height: 25px; color: var(--muted); opacity: 1; font-style: italic; margin-top: 22px; }

/* album text: the opening shows, "Read more" opens the card downwards to the whole text (no scrolling inside the card) */
.cx-readmore { display: none; align-self: flex-start; background: none; border: 0; padding: 4px 0 0; margin: 0; cursor: pointer; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); transition: color .2s; }
.cx-readmore:hover { color: #EBC48F; }
@media (min-width: 821px) {
  .cx-card.wide .cx-text { overflow: hidden; padding-right: 0; }
  .cx-card.wide.clipped .cx-readmore, .cx-card.wide.reading .cx-readmore { display: block; }
  .cx-card.wide.clipped:not(.reading) .cx-text { -webkit-mask-image: linear-gradient(#000 calc(100% - 54px), transparent); mask-image: linear-gradient(#000 calc(100% - 54px), transparent); }
  .pp-cover .cx-card.wide.clipped .cx-text, .pp-cover .cx-card.wide.reading .cx-text { margin-bottom: 4px; }
  .cx-card.wide.reading .cx-body, .pp-cover .cx-card.wide.reading .cx-body { height: auto; min-height: 434px; }
  .cx-card.wide.reading .cx-text { overflow: visible; flex: none; }
  .aw-stage.cards.reading .cx-fill { top: 0 !important; height: max(75cqw, 100%) !important; }   /* never smaller than the whole painting: so it doesn't re-crop (zoom) as the frame changes height */
  .tx-on .cx-card.wide:not(.reading) .cx-text { overflow: auto; -webkit-mask-image: none; mask-image: none; }   /* building tool: whole text reachable while editing */
}

/* the game's name on the shelf: four ways to try (Design options → Names on the shelf) */
.aw-shelf button { position: relative; }
.sh-name { position: absolute; pointer-events: none; opacity: 0; transition: opacity .3s ease, transform .3s ease; font-family: 'Cinzel', serif; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; line-height: 1.35; color: var(--text); text-align: center; }
.aw-shelf button:hover .sh-name, .aw-shelf button:focus-visible .sh-name { opacity: 1; transform: none; }
/* 1 under the cover: also stays on the chosen album, in sand */
.sn-under .aw-shelf { padding-bottom: 52px; }
.sn-under .sh-name { left: 50%; top: calc(100% + 9px); width: 132px; margin-left: -66px; transform: translateY(-3px); }
.sn-under .aw-shelf button[aria-selected] .sh-name { opacity: 1; transform: none; color: var(--gold); }
.sn-under .aw-shelf button:hover { z-index: 2; } .sn-under .aw-shelf:hover button[aria-selected]:not(:hover) .sh-name { opacity: 0; }
/* 2 on the cover: across the bottom of the picture */
.sn-over .sh-name { left: 0; right: 0; bottom: 0; padding: 22px 6px 7px; border-radius: 0 0 8px 8px; background: linear-gradient(transparent, rgba(11,9,7,.88)); font-size: 9px; transform: translateY(4px); }
.sn-over .aw-shelf button:hover { filter: none; }
/* 3 label above: a small plate, like the label next to a painting */
.sn-label .aw-shelf { padding-top: 46px; }
.sn-label .sh-name { left: 50%; bottom: calc(100% + 9px); transform: translate(-50%, 4px); white-space: nowrap; padding: 5px 10px; background: rgba(11,9,7,.92); border: 1px solid rgba(215,168,110,.45); color: var(--accent); z-index: 3; }
.sn-label .aw-shelf button:hover .sh-name { transform: translate(-50%, 0); }
.sn-label .aw-shelf button:hover { z-index: 3; }
/* 4 one line under the shelf: the album under the pointer, else the chosen one */
.sh-line { margin: -6px 0 14px; text-align: center; font-family: 'Cinzel', serif; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--gold); min-height: 18px; }
@media (hover: none) { .sn-under .aw-shelf:hover button[aria-selected]:not(:hover) .sh-name { opacity: 1; } }

/* full titles on the shelf: the series on its own, quieter line above the game's name */
.sh-name small { display: block; font-size: .88em; opacity: .7; letter-spacing: .1em; }
.sn-under .sh-name { width: 150px; margin-left: -75px; }
.sn-under .aw-shelf { padding-bottom: 60px; }
.sn-label .sh-name small { display: inline; font-size: 1em; opacity: .75; } .sn-label .sh-name small::after { content: ' – '; }
/* touch screens can't hover: every album keeps its name under its cover (narrower, so neighbours don't collide); the chosen one is in sand */
@media (hover: none) {
  .sn-under .sh-name, .sn-over .sh-name, .sn-label .sh-name { opacity: .8; transform: none; }
  .sn-under .sh-name { width: 106px; margin-left: -53px; font-size: 8.5px; letter-spacing: .08em; }
  .sn-under .aw-shelf { padding-bottom: 72px; }
  .sn-label .sh-name { position: absolute; top: calc(100% + 9px); bottom: auto; left: 50%; width: 106px; margin: 0; transform: translateX(-50%); white-space: normal; border: 0; background: none; padding: 0; font-size: 8.5px; color: var(--text); }
  .sn-label .aw-shelf { padding-top: 14px; padding-bottom: 72px; }
  .sn-label .sh-name small { display: block; } .sn-label .sh-name small::after { content: none; }
  .aw-shelf button[aria-selected] .sh-name { color: var(--gold); opacity: 1; }
}
/* the first and last names on the shelf line up with their cover's outer edge, so the shelf's edge doesn't cut them */
.sn-under .aw-shelf button:first-child .sh-name { left: 0; margin-left: 0; text-align: left; }
.sn-under .aw-shelf button:last-child .sh-name { left: auto; right: 0; margin-left: 0; text-align: right; }
/* the player's colour covers every part of it: the track name and the progress line too */
.cx-player[style*="--tint"] .pl-title { color: color-mix(in srgb, var(--tint) 78%, transparent); }
.cx-player[style*="--tint"].is-playing .pl-title { color: var(--tint); }
.cx-player[style*="--tint"] .pl-bar { background: color-mix(in srgb, var(--tint) 24%, transparent); }
/* shelf names stay readable: a soft dark haze right under the letters (no visible box) */
.sh-name { text-shadow: 0 0 6px rgba(11,9,7,.95), 0 1px 12px rgba(11,9,7,.85), 0 0 2px rgba(11,9,7,.9); }
.sn-under .sh-name { padding: 5px 8px 6px; margin-top: -5px; border-radius: 10px; background: radial-gradient(ellipse at center, rgba(11,9,7,.55) 0%, rgba(11,9,7,.3) 55%, transparent 78%); }
.sn-over .sh-name { padding-top: 30px; background: linear-gradient(transparent, rgba(11,9,7,.55) 38%, rgba(11,9,7,.9)); }
/* shelf covers grow a little under the pointer (the chosen one a touch more), easing in and out */
.aw-shelf button { transition: transform .5s cubic-bezier(.22,.7,.2,1), filter .45s ease; }
@media (hover: hover) {
  .aw-shelf button:hover { transform: scale(1.1); z-index: 2; }
  .aw-shelf button[aria-selected]:hover { transform: scale(1.14); }
}

/* "The story" tab: the game's story on a card over the painting, a bit wider than the painting's card so the text sits comfortably */
.cx-card.side.story { width: min(740px, 77%); }
.cx-card.side.story .cx-text p { font-size: 16px; line-height: 25px; margin-bottom: 11px; }
.cards .gx-tabs .tab-painting + button { margin-left: 0 !important; }

/* the composer line closes the text on every album card */
/* small print closing the card: set apart by a fine line, smaller and quieter than the text above */
.cx-credit p { color: var(--muted); font-style: italic; font-size: 14.5px; line-height: 21px; margin: 0 0 5px; opacity: .85; }
.cx-credit { margin-top: 0; }
.cx-text > .cx-credit:first-of-type, .cx-brief + .cx-credit, .cx-style + .cx-credit { margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(239,230,210,.1); }
.cx-credit + .cx-credit { margin-top: 0; padding-top: 0; border-top: 0; }
/* an opened text makes the card taller: the extra height goes below the player, so the cover and the player stay where they are */
@media (min-width: 821px) {
  .pp-cover .cx-card.wide { grid-template-rows: auto 1fr; }
  .pp-cover .cx-card.wide > .cx-player { align-self: start; }
}

/* no "Read more": a long text simply makes its card taller (see fitText in app.js) */
.cx-readmore { display: none !important; }
@media (min-width: 821px) { .cx-card.wide.clipped:not(.reading) .cx-text { -webkit-mask-image: none; mask-image: none; } }

/* the story card has no title under its label: a little less space before the text */
.cx-card.side.story .cx-toggle { padding-bottom: 12px; }

/* the story card has no fold-away arrow: its header is just the label */
.cx-toggle.static { cursor: default; padding-right: 26px; }

/* album card title in two lines instead of three (Design options → Card title) */
/* game + version: the series line ("The Legend of Zelda") is left out; the shelf still shows the full title */
.tl-name .cx-card.wide .cx-title .t-series { display: none; }
/* series and game on one line + version */
.tl-inline .cx-card.wide .cx-title .t-series, .tl-inline .cx-card.wide .cx-title .t-name { display: inline; }
.tl-inline .cx-card.wide .cx-title { font-size: 23px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-inline .cx-card.wide .cx-title .t-series { font-size: 12.5px; letter-spacing: 1px; margin: 0; }
.tl-inline .cx-card.wide .cx-title .t-series::after { content: ' · '; }
/* series + game: the version line is left out (the chosen tab already says it) */
.tl-noversion .cx-card.wide .cx-under { display: none; }
.tl-noversion .cx-card.wide .cx-text { margin-top: 16px; }

/* a story tab on an album without a painting: the cover itself fills the frame, sharp, with the story card on top */
.cx-fill.cover { background-position: center 30%; }

/* text colours from the artwork touch only the card's words: the listen links and buttons inside the card keep the site's sand */
.cx-card .cx-act { --gold: #D7A86E; --accent: #E9CC9C; --text: #EFE6D2; --muted: #A99F8C; --small: #857B6A; }
/* unselected tabs: a dimmed sand instead of grey, so the whole row reads as sand and the chosen tab is simply the brightest */
.cards .gx-tabs button { color: color-mix(in srgb, var(--gold) 62%, #6F6654); }
.cards .gx-tabs button:hover { color: var(--accent); }
.cards .gx-tabs button[aria-selected] { color: var(--gold); }

/* the short note under a section heading ("The music") */
.head-note { max-width: 720px; margin: 14px auto 0; }
.head-note p { margin: 0 0 10px; color: var(--muted); font-size: 16.5px; line-height: 26px; }
.head-note p.gear { font-size: 14px; line-height: 21px; font-style: italic; opacity: .85; margin: -2px 0 14px; }

/* the bio over the banner: left-aligned over the desk and shelves, clear of the boy on the right; it rides up into the
   picture's lower part, where the picture is already fading into the page. A soft dark haze keeps the words readable. */
@media (min-width: 821px) {
  .bio-over .about { position: relative; z-index: 2; max-width: none; margin: -232px 0 0; padding: 22px clamp(16px, 4vw, 36px) 12px; text-align: left; }
  .bio-over .about-text { max-width: min(560px, 44vw); }
  .bio-over .about::before { content: ""; position: absolute; z-index: -1; left: 0; top: -40px; bottom: -10px; width: min(820px, 64vw); pointer-events: none;
    background: radial-gradient(ellipse at 30% 50%, rgba(11,9,7,.74) 0%, rgba(11,9,7,.52) 45%, rgba(11,9,7,0) 74%); }
  .bio-over .about-text p { opacity: 1; color: var(--text); font-size: 18px; line-height: 28px; text-shadow: 0 1px 10px rgba(11,9,7,.9), 0 0 3px rgba(11,9,7,.7); }
  .bio-over .about-text p:last-child { margin-bottom: 0; }
}
/* centred paragraphs break into lines of even length, so no line is left with a single word or two */
.head-note p, .about-text p { text-wrap: balance; }

/* the bio leads straight into the music: a smaller gap and divider between them than between the page's other sections */
.about + .stars { margin: 26px 0 30px; }
.about-text p:last-child { margin-bottom: 0; }

/* the cover on the album card: square corners (the shelf thumbnails keep their rounding), with a few ways to present it */
.cx-card.wide .cx-cover, .cx-card.wide .cx-thumb { border-radius: 0; }
.cs-round .cx-card.wide .cx-cover, .cs-round .cx-card.wide .cx-thumb { border-radius: 6px; }
/* fine frame: one thin sand line a little way out, like a framed picture */
.cs-frame .cx-card.wide .cx-cover { outline: 1px solid rgba(215,168,110,.55); outline-offset: 7px; }
/* double line: two fine rules, as around an engraving */
.cs-double .cx-card.wide .cx-cover { outline: 1px solid rgba(215,168,110,.6); outline-offset: 4px; box-shadow: 0 0 0 9px rgba(11,9,7,.0), 0 0 0 10px rgba(215,168,110,.3), 0 18px 40px rgba(0,0,0,.6); }
/* mounted: a dark mount around the picture with a fine inner line, as in a museum frame */
.cs-mat .cx-card.wide .cx-cover { box-shadow: 0 0 0 1px rgba(215,168,110,.45), 0 0 0 11px #14100B, 0 0 0 12px rgba(239,230,210,.12), 0 20px 44px rgba(0,0,0,.65); }
/* photo corners: small sand corners holding the picture, as in an album */
.cs-corners .cx-card.wide .cx-cover { overflow: visible; }
.cs-corners .cx-card.wide .cx-cover::after { content: ""; position: absolute; inset: -7px; pointer-events: none; --c: rgba(215,168,110,.8);
  background:
    linear-gradient(var(--c), var(--c)) left top / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 22px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 22px no-repeat; }
/* print: the cover with a thin paper edge */
.cs-print .cx-card.wide .cx-cover { box-shadow: 0 0 0 4px var(--print, #7F7767), 0 0 0 5px rgba(0,0,0,.35), 0 16px 34px rgba(0,0,0,.6); }   /* subtle: a thin paper edge in the album's own soft colour, straight */
/* frames and mounts need a little room before the player underneath */
@media (min-width: 821px) { .cs-frame .cx-card.wide > .cx-player, .cs-double .cx-card.wide > .cx-player, .cs-mat .cx-card.wide > .cx-player, .cs-corners .cx-card.wide > .cx-player, .cs-print .cx-card.wide > .cx-player { margin-top: 8px; } }
/* the separate Paintings section is not shown: each painting lives on its album's "The painting" tab */
.paintings-cards #paintings, .paintings-cards .stars-paintings, .paintings-cards .nav a[href="#paintings"] { display: none; }

/* Playlists: the section is hidden until it has been designed (content.js still holds the playlists and their links) */
#playlists, .stars-playlists, .nav a[href="#playlists"] { display: none; }
/* story / painting tabs: the picture is dimmed gradually towards the top edge, so the tabs stay readable on bright artwork
   (darkest behind the tabs, gone by about a quarter of the way down; it sits under the cards and tabs) */
.aw-stage.cards::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 26%; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: linear-gradient(180deg, rgba(11,9,7, calc(.78 * var(--tf-s, 1))) 0%, rgba(11,9,7, calc(.55 * var(--tf-s, 1))) 30%, rgba(11,9,7, calc(.22 * var(--tf-s, 1))) 65%, rgba(11,9,7,0) 100%); }   /* --tf-s: building tools → top fade */
.aw-stage.cards.on-painting::before { opacity: 1; }

/* ── page background from the paintings (Design options → Page background); fixed behind everything, under the paper grain */
#bgArt { display: none; position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
#bgArt i { position: absolute; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.bga-haze #bgArt, .bga-ghost #bgArt, .bga-wash #bgArt, .bga-gallery #bgArt { display: block; }
/* haze: the album on screen as a deep, soft glow of colour filling the window */
.bga-haze #bgArt .a, .bga-haze #bgArt .b { inset: -12%; filter: blur(70px) saturate(1) brightness(.5); }
.bga-haze #bgArt .on { opacity: calc(.75 * (1 - var(--hz-dark, .35))); }   /* --hz-dark: building tools → background haze (0 = brightest, 1 = gone) */
/* ghost: the album's picture itself, very faint and dark, fading out towards every edge */
.bga-ghost #bgArt .a, .bga-ghost #bgArt .b { inset: 0; filter: blur(3px) saturate(.6) brightness(.55);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 0%, rgba(0,0,0,.5) 45%, transparent 78%); mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 0%, rgba(0,0,0,.5) 45%, transparent 78%); }
.bga-ghost #bgArt .on { opacity: .3; }
/* wash: three paintings blurred into clouds of colour, top left, middle right and bottom left */
.bga-wash #bgArt .w1, .bga-wash #bgArt .w2, .bga-wash #bgArt .w3 { width: 70vw; height: 70vh; filter: blur(90px) saturate(1.05) brightness(.5); opacity: .5; border-radius: 50%; }
.bga-wash #bgArt .w1 { left: -18vw; top: -12vh; } .bga-wash #bgArt .w2 { right: -20vw; top: 30vh; } .bga-wash #bgArt .w3 { left: -10vw; bottom: -22vh; }
/* gallery: a painting on each far side of the page, outside the content, as if hung on the wall in the dark */
.bga-gallery #bgArt .sl, .bga-gallery #bgArt .sr { top: 14vh; height: 72vh; width: calc((100vw - 1040px) / 2 + 40px); max-width: 520px; opacity: .22; filter: saturate(.7) brightness(.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent), linear-gradient(transparent, #000 25%, #000 75%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent), linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-composite: intersect; }
.bga-gallery #bgArt .sl { left: -40px; } .bga-gallery #bgArt .sr { right: -40px; }
@media (max-width: 1100px) { .bga-gallery #bgArt { display: none; } }
/* the background haze starts below the banner: behind the banner's fading lower edge the page's own walnut comes first,
   and the haze only appears where the banner has faded out */
:root { --page-bg: rgb(calc(36 * (1 - var(--pg-dark, .5))) calc(30 * (1 - var(--pg-dark, .5))) calc(22 * (1 - var(--pg-dark, .5)))); }
.bga-haze .hero, .bga-ghost .hero, .bga-wash .hero, .bga-gallery .hero { background: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg) 82%, transparent 100%); }

/* ── the haze marking out the sections (Design options → Haze sections; with Page background → haze) */
/* pools: a soft dark pool behind each block of text, so the words sit on calm ground and the haze glows between them */
.hs-pools .about, .hs-pools #music .head, .hs-pools #sheet-music, .hs-pools #newsletter { position: relative; }
.hs-pools .about::after, .hs-pools #music .head::after, .hs-pools #sheet-music::after, .hs-pools #newsletter::after {
  content: ""; position: absolute; z-index: -1; inset: -60px -14%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(9,7,5,.78) 0%, rgba(9,7,5,.5) 45%, rgba(9,7,5,0) 72%); }
/* bands: the music section stands in the haze; everything above and below it is veiled darker, with soft edges */
.hs-bands main { position: relative; }
.hs-bands .about, .hs-bands #sheet-music, .hs-bands #newsletter { position: relative; }
.hs-bands .about::after, .hs-bands #sheet-music::after, .hs-bands #newsletter::after {
  content: ""; position: absolute; z-index: -1; top: -80px; bottom: -80px; left: 50%; width: 100vw; margin-left: -50vw; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.62) 80px, rgba(9,7,5,.62) calc(100% - 80px), rgba(9,7,5,0)); }
/* halo: the album on screen glows softly behind its own card, so the card is the brightest place on the page */
.hs-halo #albums { position: relative; }
.hs-halo #albums::before { content: ""; position: absolute; z-index: -1; left: -14%; right: -14%; top: 4%; bottom: -8%; pointer-events: none;
  background: var(--cur-pic) center / cover; filter: blur(80px) saturate(1.1) brightness(.75); opacity: .55; border-radius: 50%; transition: background-image 1s ease; }
/* bands: the veil over the bio eases out slowly into the music section instead of over a short edge */
.hs-bands .about::after { bottom: -170px; background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.62) 80px, rgba(9,7,5,.62) calc(100% - 230px), rgba(9,7,5,.3) calc(100% - 115px), rgba(9,7,5,0)); }   /* between the short 80px edge and the long 380px one */

/* ── News: a short journal of the latest releases, newest first */
.news-list { max-width: 760px; margin: 0 auto; }
.news-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 26px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 4px; }
.news-item.no-pic { grid-template-columns: minmax(0, 1fr); }
.news-item.older { display: none; }
.news-list.all .news-item.older { display: grid; }
.ni-pic { padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.ni-pic img { width: 132px; height: 132px; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.5); transition: transform .4s ease, filter .4s ease; filter: brightness(.92); }
.ni-pic:hover img { transform: scale(1.03); filter: none; }
.ni-date { margin: 0 0 4px; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ni-title { margin: 0 0 8px; font-family: 'Cinzel', serif; font-weight: 500; font-size: 20px; letter-spacing: .5px; color: var(--text); }
.ni-text p { margin: 0 0 10px; color: var(--muted); font-size: 16.5px; line-height: 26px; }
.ni-links { margin: 6px 0 0; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--small); }
.ni-links a { color: var(--gold); text-decoration: none; } .ni-links a:hover { color: var(--accent); }
.news-more { display: block; margin: 18px auto 0; background: none; border: 1px solid rgba(215,168,110,.45); color: var(--gold); padding: 8px 18px; cursor: pointer;
  font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.news-more:hover { border-color: var(--gold); }
@media (max-width: 600px) { .news-item { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; } .ni-pic img { width: 88px; height: 88px; } }
/* haze sections → bands: News is veiled like the bio, so the music stays the lit part */
.hs-bands #news { position: relative; }
.hs-bands #news::after { content: ""; position: absolute; z-index: -1; top: -80px; bottom: -80px; left: 50%; width: 100vw; margin-left: -50vw; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.62) 80px, rgba(9,7,5,.62) calc(100% - 80px), rgba(9,7,5,0)); }

/* with News between the bio and the music, the bio's veil ends normally and News carries the slow fade into the music */
.hs-bands .about::after { bottom: -80px; background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.62) 80px, rgba(9,7,5,.62) calc(100% - 80px), rgba(9,7,5,0)); }
.hs-bands #news::after { bottom: -170px; background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.62) 80px, rgba(9,7,5,.62) calc(100% - 230px), rgba(9,7,5,.3) calc(100% - 115px), rgba(9,7,5,0)); }

/* news: "Listen on Spotify – Apple Music – All Platforms" */
.ni-links { margin-top: 12px; }
.ni-links .ni-sep { color: var(--small); margin: 0 4px; }

/* news layouts (Design options → News layout) */
.nl-large .news-list, .nl-alternate .news-list, .nl-feature .news-list { max-width: 900px; }
.nl-large .news-item, .nl-alternate .news-item { grid-template-columns: 280px minmax(0, 1fr); gap: 36px; padding: 34px 0; }
.nl-large .ni-pic img, .nl-alternate .ni-pic img { width: 280px; height: 280px; }
.nl-alternate .news-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 280px; }
.nl-alternate .news-item:nth-child(even) .ni-pic { order: 2; }
.nl-stacked .news-list { max-width: 620px; }
.nl-stacked .news-item { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px 0; text-align: center; }
.nl-stacked .ni-pic { justify-self: center; }
.nl-stacked .ni-pic img { width: 380px; height: 380px; max-width: 100%; }
.nl-stacked .ni-text p { text-wrap: pretty; }
.nl-feature .news-item:first-child { grid-template-columns: 400px minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
.nl-feature .news-item:first-child .ni-pic img { width: 400px; height: 400px; }
.nl-feature .news-item:first-child .ni-title { font-size: 26px; }
.nl-feature .news-item:not(:first-child) { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 16px 0; }
.nl-feature .news-item:not(:first-child) .ni-pic img { width: 96px; height: 96px; }
.nl-feature .news-item:not(:first-child) .ni-text { display: none; }
.nl-cards .news-list { max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.nl-cards .news-item { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; border-top: 0; align-content: start; }
.nl-cards .ni-pic img { width: 100%; height: auto; aspect-ratio: 1; }
.nl-cards .news-more { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .nl-large .news-item, .nl-alternate .news-item, .nl-alternate .news-item:nth-child(even), .nl-feature .news-item:first-child { grid-template-columns: minmax(0, 1fr); }
  .nl-alternate .news-item:nth-child(even) .ni-pic { order: 0; }
  .nl-large .ni-pic img, .nl-alternate .ni-pic img, .nl-feature .news-item:first-child .ni-pic img { width: 100%; height: auto; aspect-ratio: 1; }
  .nl-cards .news-list { grid-template-columns: 1fr; }
}

/* news: a soft glow of the newest item's picture behind the list, like the album card's */
.news-list { position: relative; z-index: 0; }   /* its own layer, so the glow sits above the dark band behind #news */
.news-list::before { content: ""; position: absolute; z-index: -1; left: -16%; right: -16%; top: -130px; bottom: -60px; pointer-events: none;   /* the whole section, heading too */
  background: var(--news-pic) center / cover; filter: blur(100px) saturate(1.1) brightness(1); opacity: .42; border-radius: 50%; }
.ni-title { font-size: 23px; }
.nl-feature .news-item:first-child .ni-title { font-size: 28px; }

/* the logo at the top left in different sizes (Design options → Logo size) */
.ls-xs { --bs: .75; } .ls-s { --bs: .88; } .ls-m { --bs: 1; } .ls-l { --bs: 1.2; } .ls-xl { --bs: 1.45; } .ls-xxl { --bs: 1.75; }
body:not(.hero-logo) .brand .bn { font-size: calc(17px * var(--bs, 1)); }
body:not(.hero-logo) .brand .bd { font-size: calc(36px * var(--bs, 1)); }
@media (max-width: 600px) { .ls-l, .ls-xl, .ls-xxl { --bs: 1.1; } }

/* banner: a top fade like the album card's (darkest at the very top, easing out), strength and length from the Banner sliders;
   the picture's focus point and zoom from the same panel */
.hero img { object-position: var(--bf-x, var(--hero-x, 50%)) var(--bf-y, var(--hero-y, 50%)); transform: scale(var(--bf-z, 1)); transform-origin: var(--bf-x, var(--hero-x, 50%)) var(--bf-y, var(--hero-y, 50%)); }
.hero::after { inset: 0 0 auto 0; height: var(--bf-h, 55%);
  background: linear-gradient(180deg, rgba(11,9,7, calc(.82 * var(--bf-s, 1))) 0%, rgba(11,9,7, calc(.6 * var(--bf-s, 1))) 30%, rgba(11,9,7, calc(.24 * var(--bf-s, 1))) 65%, rgba(11,9,7,0) 100%); }
/* the menu on the right: brighter, with a soft dark shadow so it reads on the picture */
.nav nav a { color: #EFE6D2; text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 14px rgba(0,0,0,.75); }
.nav nav a:hover { color: var(--accent); }
.brand { text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 0 18px rgba(0,0,0,.6); }
@media (max-aspect-ratio: 3/4) { .hero img { object-position: var(--hero-pos-mobile, 50% 50%); transform: none; } }

/* news pictures beside the text: where they sit against it (Design options → News picture height) */
.npa-top .ni-pic { align-self: start; }
.npa-title .ni-pic { align-self: start; margin-top: 36px; }   /* past the date line, so the picture's top meets the title */
.npa-center .ni-pic { align-self: center; }
.npa-bottom .ni-pic { align-self: end; }
.nl-stacked .ni-pic, .nl-cards .ni-pic { align-self: auto; margin-top: 0; }

/* ── sheet music (Design options → Sheet music) */
.sheet { max-width: 1000px; }
.sheet-lead { max-width: 560px; margin: 6px auto 30px; }
.sheet-lead p { color: var(--muted); }
.sh-all { margin: 30px 0 0; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.sh-all a, .sh-get, .sh-vid { color: var(--gold); text-decoration: none; } .sh-all a:hover, .sh-vid:hover { color: var(--accent); }
.sh-get { display: inline-block; border: 1px solid rgba(215,168,110,.55); padding: 9px 18px; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.sh-get:hover { border-color: var(--gold); background: rgba(215,168,110,.08); }
.sh-vid { margin-left: 14px; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
/* cards: the top of each first page, like paper on the desk */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 26px; text-align: left; }
.sc-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.sc-paper { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #f4efe4; box-shadow: 0 12px 26px rgba(0,0,0,.5); transition: transform .35s ease, box-shadow .35s ease; }
.sc-paper img { width: 100%; display: block; filter: sepia(.18) contrast(.95); }
.sc-card:hover .sc-paper { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.55); }
.sc-t { margin-top: 14px; font-family: 'Cinzel', serif; font-size: 17px; color: var(--text); }
.sc-g { margin: 2px 0 0; font-style: italic; color: var(--muted); font-size: 15.5px; }
.sc-m { margin: 4px 0 0; font-size: 14px; color: var(--small); }
.sc-card:hover .sc-t { color: var(--accent); }
/* programme: two groups, title … game … price on one line with a dotted leader */
.sl-programme { max-width: 720px; margin: 0 auto; text-align: left; }
.sp-group + .sp-group { margin-top: 34px; }
.sp-group h3 { margin: 0 0 12px; text-align: center; font-family: 'Cinzel', serif; font-weight: 500; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.sp-group ol { list-style: none; margin: 0; padding: 0; }
.sp-group a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; color: inherit; text-decoration: none; border-bottom: 1px solid rgba(239,230,210,.06); }
.sp-t { font-family: 'Cinzel', serif; font-size: 17px; color: var(--text); white-space: nowrap; }
.sp-g { font-style: italic; color: var(--muted); font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(215,168,110,.4); transform: translateY(-4px); }
.sp-p { color: var(--gold); font-size: 15.5px; }
.sp-group a:hover .sp-t { color: var(--accent); }
/* stand: one sheet large, the rest in a list */
.sl-stand { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; text-align: left; align-items: start; }
.ss-stand { display: grid; gap: 22px; }
.ss-page { display: block; background: #f4efe4; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.ss-page img { width: 100%; display: block; filter: sepia(.18) contrast(.95); }
.ss-info h3 { margin: 0; font-family: 'Cinzel', serif; font-weight: 500; font-size: 24px; color: var(--text); }
.ss-price { margin: 10px 0 14px; color: var(--gold); font-size: 18px; }
.ss-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ss-list button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 6px; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.ss-list button span { font-family: 'Cinzel', serif; font-size: 15px; color: var(--text); }
.ss-list button small { font-size: 13px; color: var(--small); white-space: nowrap; }
.ss-list button:hover span, .ss-list button[aria-current] span { color: var(--accent); }
.ss-list button[aria-current] { background: rgba(215,168,110,.07); }
.sl-stand .sh-all { grid-column: 1 / -1; text-align: center; }
@media (max-width: 760px) {
  .sl-stand { grid-template-columns: minmax(0, 1fr); }
  .sp-g { display: none; }
  .sc-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
}

/* sheet music on a stand: the rig around the large sheet (Design options → Sheet stand) */
.sl-stand { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.ss-side { display: grid; gap: 26px; }
.ss-info .sh-get { margin-top: 12px; }
.ss-rig { position: relative; padding: 0 0 10px; }
.ss-rig .ss-wood, .ss-rig .ss-ledge, .ss-rig .ss-pole, .ss-rig .ss-feet { display: none; }
.ss-n { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ss-n em { font-style: italic; font-family: 'Crimson Pro', Georgia, serif; font-size: 13.5px; color: var(--small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-list button { align-items: center; }
/* a music stand: the paper leans back a touch on a dark bronze ledge, one pole down to three feet */
.st-music { padding: 0 6% 150px; perspective: 1400px; }
.st-music .ss-page { transform: rotateX(7deg); transform-origin: 50% 100%; position: relative; z-index: 1; }
.st-music .ss-ledge { display: block; position: absolute; left: 3%; right: 3%; bottom: 136px; height: 16px; z-index: 2; border-radius: 2px;
  background: linear-gradient(180deg, #6b5236, #3d2c1b 55%, #241a10); box-shadow: 0 6px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,225,170,.25); }
.st-music .ss-pole { display: block; position: absolute; left: 50%; width: 10px; margin-left: -5px; bottom: 18px; height: 120px; background: linear-gradient(90deg, #241a10, #6b5236 45%, #2b1f13); }
.st-music .ss-feet { display: block; position: absolute; left: 50%; bottom: 8px; width: 46%; margin-left: -23%; height: 12px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #4a3824, #1c140c 70%); box-shadow: 0 8px 18px rgba(0,0,0,.6); }
.st-music::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 140px; width: 70%; margin-left: -35%; z-index: 0;   /* the stand's back plate peeking out */
  background: linear-gradient(180deg, #2b1f13, #3d2c1b); border-radius: 3px; transform: rotateX(7deg); transform-origin: 50% 100%; }
/* a piano's music rest: a walnut panel behind the paper with a ledge under it */
.st-piano { padding: 28px 7% 46px; }
.st-piano .ss-wood { display: block; position: absolute; inset: 0; border-radius: 4px; z-index: 0;
  background: repeating-linear-gradient(92deg, rgba(255,220,170,.035) 0 2px, transparent 2px 9px), linear-gradient(180deg, #3a2716, #24170c 70%, #1a1009);
  box-shadow: inset 0 0 40px rgba(0,0,0,.6), 0 20px 40px rgba(0,0,0,.5); }
.st-piano .ss-page { position: relative; z-index: 1; box-shadow: 0 10px 22px rgba(0,0,0,.55); }
.st-piano .ss-ledge { display: block; position: absolute; left: 0; right: 0; bottom: 20px; height: 18px; z-index: 2;
  background: linear-gradient(180deg, #5a3f25, #2e1e10); box-shadow: 0 -2px 0 rgba(255,220,170,.12) inset, 0 6px 12px rgba(0,0,0,.5); }
/* leaning back: the paper tilts away in perspective, resting on a thin ledge, with its shadow on the wall */
.st-lean { padding: 10px 4% 40px; perspective: 1100px; }
.st-lean .ss-page { transform: rotateX(16deg); transform-origin: 50% 100%; box-shadow: 0 40px 50px -20px rgba(0,0,0,.75); }
.st-lean .ss-ledge { display: block; position: absolute; left: 0; right: 0; bottom: 30px; height: 10px; border-radius: 2px;
  background: linear-gradient(180deg, #6b5236, #2b1f13); box-shadow: 0 8px 16px rgba(0,0,0,.6); }
@media (max-width: 760px) { .st-music { padding-bottom: 110px; } .st-music .ss-pole { height: 80px; } .st-music .ss-ledge { bottom: 96px; } .st-music::before { bottom: 100px; } }
/* the sheet's preview player */
.sh-player { display: flex; align-items: center; gap: 12px; margin-top: 16px; max-width: 360px; }
.sh-play { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(215,168,110,.6); background: none; color: var(--gold); cursor: pointer; display: grid; place-items: center; padding: 0; }
.sh-play:hover { border-color: var(--gold); background: rgba(215,168,110,.1); }
.sh-play svg { width: 18px; height: 18px; fill: currentColor; }
.sh-play .i-pause, .sh-player.on .sh-play .i-play { display: none; } .sh-player.on .sh-play .i-pause { display: inline; }
.sh-bar { flex: 1; height: 3px; background: rgba(239,230,210,.14); cursor: pointer; position: relative; }
.sh-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); }
.sh-rec { display: none; }
.ss-list li.playing .ss-n > span::after { content: " ♪"; color: var(--gold); }

/* sheet music, full width: the stand across the section, with the titles (a sideways scroller) and the chosen sheet's details laid over the paper */
.sl-stage { text-align: center; }
.sl-stage .ss-rig { max-width: 1000px; margin: 0 auto; }
.sl-stage .st-music { padding: 0 5% 190px; }
.sl-stage .st-music .ss-ledge { bottom: 176px; }
.sl-stage .st-music::before { bottom: 180px; }
.sl-stage .st-music .ss-pole { height: 158px; width: 12px; margin-left: -6px; }
.sl-stage .st-music .ss-feet { width: 34%; margin-left: -17%; }
.sl-stage .ss-page { overflow: hidden; }
.sl-stage .ss-page img { min-height: 520px; object-fit: cover; object-position: top; }
.ss-over { position: absolute; z-index: 3; top: 0; left: 5%; right: 5%; bottom: 190px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 26px 0 0; pointer-events: none; }
.st-music .ss-over { transform: rotateX(7deg); transform-origin: 50% 100%; }
.st-plain .ss-over, .st-lean .ss-over { bottom: 0; } .st-piano .ss-over { top: 28px; bottom: 46px; left: 7%; right: 7%; }
.ss-over > * { pointer-events: auto; }
.ss-over .ss-list { display: flex; gap: 2px; overflow-x: auto; max-width: 100%; border: 0; padding: 0 18px 8px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ss-over .ss-list li { flex: none; }
.ss-over .ss-list button { flex-direction: column; align-items: center; gap: 0; width: auto; padding: 8px 14px; border: 0; border-bottom: 2px solid transparent; background: none; }
.ss-over .ss-list button small { display: none; }
.ss-over .ss-n { align-items: center; }
.ss-over .ss-info { margin: auto 0; padding: 0 24px 30px; }
.ss-over .ss-info h3 { font-size: 34px; }
.ss-over .sh-player { margin: 18px auto 0; }
/* ink: the titles printed on the paper, the page itself pale behind them */
.ov-ink { background: linear-gradient(180deg, rgba(244,239,228,.93), rgba(244,239,228,.86) 70%, rgba(244,239,228,.7)); }
.ov-ink .ss-list button span, .ov-ink .ss-info h3 { color: #2a1f14; } .ov-ink .ss-n em, .ov-ink .sc-g, .ov-ink .sc-m { color: #6d5a44; }
.ov-ink .ss-list button:hover span { color: #8a5a22; } .ov-ink .ss-list button[aria-current] { border-bottom-color: #8a5a22; background: none; } .ov-ink .ss-list button[aria-current] span { color: #8a5a22; }
.ov-ink .sh-get { color: #6b4317; border-color: rgba(107,67,23,.55); } .ov-ink .sh-play { color: #6b4317; border-color: rgba(107,67,23,.6); }
.ov-ink .sh-bar { background: rgba(42,31,20,.15); } .ov-ink .sh-bar i { background: #8a5a22; }
.ov-ink .ss-list li.playing .ss-n > span::after { color: #8a5a22; }
/* dim: the page darkened, light text over it */
.ov-dim { background: linear-gradient(180deg, rgba(14,10,7,.82), rgba(14,10,7,.7)); }
.ov-dim .ss-list button[aria-current] { border-bottom-color: var(--gold); background: none; }
@media (max-width: 760px) { .sl-stage .st-music { padding-bottom: 110px; } .sl-stage .st-music .ss-ledge { bottom: 96px; } .sl-stage .st-music::before { bottom: 100px; } .sl-stage .st-music .ss-pole { height: 80px; } .ss-over { bottom: 110px; } .ss-over .ss-info h3 { font-size: 24px; } }

/* sheet music, one large + list: the player sits right under the sheet like a stand's ledge, the details below,
   and the list beside it scrolls so it's never taller than the sheet column */
.sl-stand { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.ss-left { display: flex; flex-direction: column; }
.st-player { padding: 0; }
.st-player .ss-page { box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.ss-playwrap { background: linear-gradient(180deg, #3d2c1b, #241a10); border-top: 1px solid rgba(255,225,170,.18); padding: 10px 14px; box-shadow: 0 10px 22px rgba(0,0,0,.55); }
.ss-playwrap .sh-player { margin: 0; max-width: none; }
.ss-playwrap .sh-play { width: 36px; height: 36px; }
.ss-playwrap:empty { display: none; }
.sl-stand .ss-info { margin-top: 22px; }
.sh-dl { margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.sh-dl a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(215,168,110,.4); } .sh-dl a:hover { color: var(--accent); border-color: var(--accent); }
.sl-stand .ss-side { position: relative; min-height: 320px; }
.sl-stand .ss-side .ss-list { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.4) transparent; }
@media (max-width: 760px) { .sl-stand .ss-side { min-height: 0; } .sl-stand .ss-side .ss-list { position: static; max-height: 380px; } }
.sheet-lead a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(215,168,110,.4); } .sheet-lead a:hover { color: var(--accent); border-color: var(--accent); }

/* sheet music: a soft glow of the sheet's recording cover behind the whole section, like the album card's */
.sheet-list { position: relative; z-index: 0; }
.sheet-list::before { content: ""; position: absolute; z-index: -1; left: -14%; right: -14%; top: -6%; bottom: -10%; pointer-events: none;
  background: var(--sheet-pic) center / cover; filter: blur(90px) saturate(1.1) brightness(.85); opacity: .5; border-radius: 50%; transition: background-image 1s ease; }
.sheet-list:not([style*="--sheet-pic"])::before { display: none; }

/* the sheet's paper (Design options → Sheet paper): layers over the printed page */
.ss-page { position: relative; overflow: hidden; }
.ss-page::before, .ss-page::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.pp-clean .ss-page::before, .pp-clean .ss-page::after { display: none; }
/* aged: warm tone, a fine grain and the edges browned */
.pp-aged .ss-page img, .pp-foxed .ss-page img, .pp-parchment .ss-page img, .pp-candle .ss-page img, .pp-aged .sc-paper img, .pp-foxed .sc-paper img, .pp-parchment .sc-paper img, .pp-candle .sc-paper img { filter: sepia(.38) contrast(.92) brightness(.97); mix-blend-mode: multiply; }
.pp-aged .ss-page, .pp-foxed .ss-page, .pp-parchment .ss-page, .pp-candle .ss-page { background: #efe4cb; }
.pp-aged .ss-page::before, .pp-foxed .ss-page::before, .pp-parchment .ss-page::before, .pp-candle .ss-page::before {
  background-image: url("images/fx/fx8.webp");
  opacity: .16; mix-blend-mode: multiply; }
.pp-aged .ss-page::after, .pp-foxed .ss-page::after { background: radial-gradient(130% 110% at 50% 45%, transparent 55%, rgba(120,78,30,.32) 85%, rgba(80,48,18,.55) 100%); }
/* parchment: deeper and blotchy, like old vellum */
.pp-parchment .ss-page { background: #e6d2a8; }
.pp-parchment .ss-page::after { background:
  radial-gradient(40% 30% at 22% 28%, rgba(150,100,40,.18), transparent 70%), radial-gradient(35% 28% at 78% 64%, rgba(140,90,35,.2), transparent 70%),
  radial-gradient(30% 22% at 60% 18%, rgba(255,240,200,.25), transparent 70%), radial-gradient(130% 110% at 50% 45%, transparent 50%, rgba(110,66,22,.45) 85%, rgba(70,40,12,.7) 100%); }
/* foxed: aged, plus the small brown spots old paper gets */
.pp-foxed .ss-page::after { background:
  radial-gradient(circle at 14% 22%, rgba(130,80,30,.35) 0 3px, transparent 6px), radial-gradient(circle at 82% 14%, rgba(130,80,30,.3) 0 2px, transparent 5px),
  radial-gradient(circle at 70% 78%, rgba(130,80,30,.3) 0 4px, transparent 8px), radial-gradient(circle at 33% 66%, rgba(130,80,30,.22) 0 2px, transparent 5px),
  radial-gradient(circle at 90% 52%, rgba(130,80,30,.25) 0 3px, transparent 7px), radial-gradient(circle at 48% 90%, rgba(130,80,30,.2) 0 5px, transparent 10px),
  radial-gradient(130% 110% at 50% 45%, transparent 55%, rgba(120,78,30,.32) 85%, rgba(80,48,18,.55) 100%); }
/* candlelight: warm light from the upper left, the far corner falling into shadow */
.pp-candle .ss-page::after { background: radial-gradient(90% 80% at 25% 20%, rgba(255,200,120,.18), transparent 60%), linear-gradient(135deg, transparent 45%, rgba(40,22,8,.45) 100%),
  radial-gradient(130% 110% at 40% 35%, transparent 55%, rgba(80,48,18,.5) 100%); }

/* the sheet's edges: worn and slightly torn (a mask with a rough outline; the shadow moves to a drop-shadow so it follows the edge) */
body:not(.pp-clean) .ss-page, body:not(.pp-clean) .sc-paper {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045 .06' numOctaves='4' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='14'/%3E%3C/filter%3E%3Crect x='8' y='8' width='584' height='584' fill='%23000' filter='url(%23t)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045 .06' numOctaves='4' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='14'/%3E%3C/filter%3E%3Crect x='8' y='8' width='584' height='584' fill='%23000' filter='url(%23t)'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; box-shadow: none; }
body:not(.pp-clean) .st-player { filter: drop-shadow(0 16px 26px rgba(0,0,0,.55)); }
body:not(.pp-clean) .ss-playwrap { box-shadow: none; margin-top: -4px; position: relative; }

/* paper edges (Design options → Paper edges): a mask with a rough outline per style */
body.pe-fine:not(.pp-clean) .ss-page, body.pe-fine:not(.pp-clean) .sc-paper { -webkit-mask-image: url("images/fx/fx7.png"); mask-image: url("images/fx/fx7.png"); }
body.pe-rough:not(.pp-clean) .ss-page, body.pe-rough:not(.pp-clean) .sc-paper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .025' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='16' y='16' width='568' height='568' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .025' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='16' y='16' width='568' height='568' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); }
body.pe-soft:not(.pp-clean) .ss-page, body.pe-soft:not(.pp-clean) .sc-paper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .01' numOctaves='2' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='10' y='10' width='580' height='580' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .01' numOctaves='2' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='10' y='10' width='580' height='580' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); }
body.pe-deckle:not(.pp-clean) .ss-page, body.pe-deckle:not(.pp-clean) .sc-paper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12 .14' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='12'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='8' y='8' width='584' height='584' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.12 .14' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='12'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='8' y='8' width='584' height='584' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); }
body.pe-corners:not(.pp-clean) .ss-page, body.pe-corners:not(.pp-clean) .sc-paper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .04' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3C/filter%3E%3Cpolygon filter='url%28%23t%29' points='44,10 569.6,10 590,30.4 590,556 556,590 27.0,590 10,573.0 10,44' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .04' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='16'/%3E%3C/filter%3E%3Cpolygon filter='url%28%23t%29' points='44,10 569.6,10 590,30.4 590,556 556,590 27.0,590 10,573.0 10,44' fill='%23000'/%3E%3C/svg%3E"); }
body.pe-burnt:not(.pp-clean) .ss-page, body.pe-burnt:not(.pp-clean) .sc-paper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022 .03' numOctaves='4' seed='19'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='16' y='16' width='568' height='568' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022 .03' numOctaves='4' seed='19'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30'/%3E%3C/filter%3E%3Cg filter='url%28%23t%29'%3E%3Crect x='16' y='16' width='568' height='568' fill='%23000'/%3E%3C/g%3E%3C/svg%3E"); }
body.pe-straight .ss-page, body.pe-straight .sc-paper { -webkit-mask-image: none; mask-image: none; }
/* burnt: the edge itself darkened, as if singed */
body.pe-burnt:not(.pp-clean) .ss-page::after { box-shadow: inset 0 0 34px 10px rgba(70,32,6,.8), inset 0 0 10px 4px rgba(25,10,0,.95);   /* above the printed page, so the edge reads as singed */
  background: radial-gradient(120% 105% at 50% 45%, transparent 58%, rgba(110,55,12,.4) 85%, rgba(35,14,2,.75) 100%); }
.ss-ver { font-family: 'Cinzel', serif; font-size: .62em; letter-spacing: .04em; color: var(--muted); text-transform: none; white-space: nowrap; }

/* wear on the paper itself (Design options → Paper wear): one more layer over the printed page */
.ss-wear { position: absolute; inset: 0; pointer-events: none; z-index: 1; mix-blend-mode: multiply; }
.pw-none .ss-wear { display: none; }
/* smudged by hands: soft grey-brown thumb marks near the corners where pages are turned */
.pw-smudges .ss-wear { background:
  radial-gradient(9% 6% at 88% 90%, rgba(80,62,44,.32), transparent 70%), radial-gradient(7% 5% at 92% 84%, rgba(80,62,44,.22), transparent 70%),
  radial-gradient(10% 7% at 9% 88%, rgba(80,62,44,.25), transparent 70%), radial-gradient(14% 9% at 50% 8%, rgba(90,70,50,.12), transparent 70%),
  radial-gradient(22% 16% at 70% 40%, rgba(90,70,50,.08), transparent 70%); }
/* water stains: tide-mark rings with darker rims */
.pw-water .ss-wear { background:
  radial-gradient(circle at 74% 30%, transparent 0 13%, rgba(140,100,50,.28) 14%, rgba(140,100,50,.08) 16%, transparent 19%),
  radial-gradient(circle at 74% 30%, rgba(170,130,70,.10) 0 13%, transparent 13.5%),
  radial-gradient(ellipse 22% 15% at 22% 76%, transparent 0 80%, rgba(140,100,50,.25) 88%, transparent 100%),
  radial-gradient(ellipse 22% 15% at 22% 76%, rgba(170,130,70,.09) 0 80%, transparent 81%); }
/* sun-bleached: one side faded pale, the ink there washed out, a yellowed band where it was covered */
.pw-bleached .ss-wear { mix-blend-mode: screen; background: linear-gradient(105deg, rgba(255,250,235,.55) 0%, rgba(255,250,235,.3) 30%, transparent 60%); }
.pw-bleached .ss-page::after { box-shadow: inset -40px 0 50px -20px rgba(170,120,40,.35); }
/* coffee ring: a cup set down on the music, plus a few drips */
.pw-coffee .ss-wear { background:
  radial-gradient(circle at 80% 72%, transparent 0 15.2%, rgba(110,62,20,.42) 15.6%, rgba(110,62,20,.12) 16.6%, transparent 18%),
  radial-gradient(circle at 80% 72%, rgba(140,85,30,.10) 0 15%, transparent 15.3%),
  radial-gradient(circle at 63% 86%, rgba(110,62,20,.35) 0 .8%, transparent 1.6%), radial-gradient(circle at 58% 60%, rgba(110,62,20,.3) 0 .6%, transparent 1.3%),
  radial-gradient(ellipse 2% 1.2% at 90% 50%, rgba(110,62,20,.3), transparent 100%); }
/* folded and creased: a fold across the middle each way, a light ridge beside a shadow */
.pw-creased .ss-wear { mix-blend-mode: normal; background:
  linear-gradient(90deg, transparent calc(50% - 6px), rgba(60,40,20,.16) calc(50% - 1px), rgba(255,255,245,.35) calc(50% + 1px), transparent calc(50% + 6px)),
  linear-gradient(180deg, transparent calc(48% - 6px), rgba(60,40,20,.16) calc(48% - 1px), rgba(255,255,245,.35) calc(48% + 1px), transparent calc(48% + 6px)),
  linear-gradient(90deg, rgba(60,40,20,.05), transparent 50%, rgba(60,40,20,.06)); }
/* grimy, mottled: blotchy dirt all over */
.pw-grime .ss-wear { opacity: .55;
  background-image: url("images/fx/fx9.webp");
  background-size: cover; }
.ss-list .ss-ver { font-size: .78em; }
.ss-list li.playing .ss-n > span::after { content: none; } .ss-list li.playing .ss-n > span > .ss-ver::after { content: " ♪"; color: var(--gold); }

/* the sheet list's spacing (Design options → Sheet list spacing) */
.ld-cozy .sl-stand .ss-list button { padding: 7px 6px; }
.ld-compact .sl-stand .ss-list button, .ld-nolines .sl-stand .ss-list button { padding: 4px 6px; }
.ld-compact .sl-stand .ss-n em, .ld-nolines .sl-stand .ss-n em, .ld-oneline .sl-stand .ss-n em { font-size: 12.5px; }
.ld-nolines .sl-stand .ss-list, .ld-nolines .sl-stand .ss-list button { border: 0; }
.ld-nolines .sl-stand .ss-list button { border-left: 2px solid transparent; padding-left: 10px; }
.ld-nolines .sl-stand .ss-list button[aria-current] { border-left-color: var(--gold); }
.ld-oneline .sl-stand .ss-list button { padding: 5px 6px; }
.ld-oneline .sl-stand .ss-n { flex-direction: row; align-items: baseline; gap: 8px; }
.ld-oneline .sl-stand .ss-n > span { white-space: nowrap; flex: none; }
.ld-oneline .sl-stand .ss-n em { flex: 1; min-width: 0; }
/* compact list keeps the normal type sizes */
.ld-compact .sl-stand .ss-n em { font-size: 13.5px; }
/* the list fades out at the bottom, where it scrolls on */
.sl-stand .ss-side .ss-list { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); padding-bottom: 50px; }
/* the details under the sheet's title: game and composer in small spaced capitals, the download line in plain text */
.ss-meta { margin: 8px 0 0; font-family: 'Cinzel', serif; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--small); }
.ss-meta span { color: var(--gold); margin: 0 4px; }
.sl-stand .ss-info h3 { line-height: 1.25; }
.sh-dl { margin-top: 14px; font-size: 17px; font-style: normal; color: var(--muted); }
/* "Download this sheet at …": the same Cinzel as the labels around it, as written (Cinzel's small letters are small capitals) */
.sh-dl { font-family: 'Cinzel', serif; font-size: 13.5px; letter-spacing: .05em; text-transform: none; color: var(--muted); }
.sh-dl { font-size: 16.5px; }
/* game (and composer) lines a size up: under the sheet's title and in the list */
.ss-meta { font-size: 13.5px; }
.ss-n em, .ld-compact .sl-stand .ss-n em { font-size: 15px; }
/* the song information under the sheet, tighter */
.sl-stand .ss-info { margin-top: 14px; }
.sl-stand .ss-info h3 { line-height: 1.15; }
.sl-stand .ss-meta { margin-top: 3px; }
.sl-stand .sh-dl { margin-top: 6px; }


/* the sheet list's type on the album card (Design options → Card type): Cinzel as written, the version smaller and quieter */
.rc-player .pl-title, .rc-player .is-playing .pl-title, .rc-player .cx-player.on-cover .pl-title { font-family: 'Cinzel', serif; font-style: normal; font-size: 15px; letter-spacing: .02em; }
.rc-player .pl-ver { font-size: .78em; color: var(--muted); }
.rc-under .cx-under { font-family: 'Cinzel', serif; font-style: normal; font-size: 19px; letter-spacing: .04em; margin-top: 8px; }
.rc-tabs .gx-tabs button, .rc-tabs.cards .gx-tabs button, .rc-tabs .cards .gx-tabs button { font-size: 14px; letter-spacing: .02em; }
.rc-tabs .gx-tabs button, .rc-tabs.cards .gx-tabs button, .rc-tabs .cards .gx-tabs button { font-size: 13px; }

/* how the album card gives way to the painting (Design options → Painting reveal). "rolled" = hidden, the painting showing.
   Each one runs backwards when you go back to a music tab. */
body:not(.rv-up):not(.rv-drop) .cx-card.wide.rolled { transform: none; }
/* split: a gap opens across the middle and the card parts upwards and downwards */
.rv-split .cx-card.wide { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 50%, 100% 50%, 100% 50%, 0 50%, 0 50%); transition: clip-path 1.1s cubic-bezier(.65,0,.3,1); }
.rv-split .cx-card.wide.rolled { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 0 -1%, 100% -1%, 100% 101%, 0 101%, 0 -1%); }
/* doors: the same from the middle, opening to the sides */
.rv-doors .cx-card.wide { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0, 50% 0, 50% 100%, 50% 100%, 50% 0); transition: clip-path 1.1s cubic-bezier(.65,0,.3,1); }
.rv-doors .cx-card.wide.rolled { clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0, -1% 0, 101% 0, 101% 100%, -1% 100%, -1% 0); }
/* iris: the card closes in to a shrinking circle in the middle */
.rv-iris .cx-card.wide { clip-path: circle(80% at 50% 50%); transition: clip-path 1.1s cubic-bezier(.65,0,.3,1); }
.rv-iris .cx-card.wide.rolled { clip-path: circle(0% at 50% 50%); }
/* dissolve: the card fades away while its blur thins out */
.rv-dissolve .cx-card.wide { clip-path: none; transition: opacity 1.1s ease, backdrop-filter 1.1s ease, -webkit-backdrop-filter 1.1s ease; }
.rv-dissolve .cx-card.wide.rolled { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
/* wipe: a slanted edge sweeps across from left to right */
.rv-wipe .cx-card.wide { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path 1.1s cubic-bezier(.65,0,.3,1); }
.rv-wipe .cx-card.wide.rolled { clip-path: polygon(100% 0, 130% 0, 130% 100%, 100% 100%); }
/* lift: the card rises towards you and fades, like a sheet of glass taken away */
.rv-lift .cx-card.wide { clip-path: none; transition: transform 1.1s cubic-bezier(.4,0,.2,1), opacity 1.1s ease; }
.rv-lift .cx-card.wide.rolled { transform: scale(1.08); opacity: 0; }
/* drop: the card falls away downwards */
.rv-drop .cx-card.wide { clip-path: none; }
.rv-drop .cx-card.wide.rolled { transform: translateY(101%); }
.rv-up .cx-card.wide { clip-path: none; }

/* the track name keeps the same type whether paused or playing (only its colour brightens when playing) */
.pl-title, .is-playing .pl-title, .cx-player.on-cover .pl-title { font-style: normal; }

/* a small visualizer in the players (Design options → Player visualizer); it moves only while that player plays */
.pl-viz, .pl-wave { display: none; }
.vz-bars .pl-viz, .vz-dots .pl-viz { display: inline-flex; flex: none; align-items: flex-end; gap: 2px; height: 12px; margin-left: 2px; opacity: .75; }
.pl-viz i { display: block; width: 2px; height: 2px; border-radius: 1px; background: var(--tint, var(--gold)); transition: height .12s linear; }
.vz-dots .pl-viz { align-items: center; gap: 3px; }
.vz-dots .pl-viz i { width: 3px; height: 3px; border-radius: 50%; transition: transform .15s linear, opacity .15s linear; }
.vz-wave .pl-wave, .vz-spectrum .pl-wave { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; pointer-events: none; opacity: .7; }
.vz-wave .pl-now, .vz-spectrum .pl-now { position: relative; }
.vz-wave .pl-bar, .vz-spectrum .pl-bar { opacity: .55; }
.vz-glow .is-playing .pl-play { animation: plGlow 1.6s ease-in-out infinite; }
@keyframes plGlow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tint, #d7a86e) 0%, transparent); } 50% { box-shadow: 0 0 14px 2px color-mix(in srgb, var(--tint, #d7a86e) 45%, transparent); } }
@media (prefers-reduced-motion: reduce) { .vz-glow .is-playing .pl-play { animation: none; } }
.rv-drop .cx-card.wide { transition: transform 1.1s cubic-bezier(.6,0,.3,1); }

/* player: previous/next sit on the title's line (with the visualizer), the playback line runs underneath all of them */
.tk-stereo-c .cx-player { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "play row prev next" "play bar bar bar"; row-gap: 3px; column-gap: 2px; }
.tk-stereo-c .pl-now { display: contents; }
.tk-stereo-c .pl-row { grid-area: row; align-self: center; margin: 0 10px 0 14px; min-width: 0; }
.tk-stereo-c .pl-prev, .tk-stereo-c .pl-next { align-self: center; }
.tk-stereo-c .pl-bar { grid-area: bar; align-self: start; margin: 0 6px 0 14px; }
.tk-stereo-c .pl-play { grid-area: play; align-self: center; }
.tk-stereo-c .pl-wave { position: static; grid-area: bar; align-self: end; width: calc(100% - 20px); margin: -13px 6px 0 14px; }

/* to the painting: it clears up gradually (de-blurs and brightens) as the card goes, instead of appearing at the end */
.cx-fill.veiled { filter: blur(var(--cv-blur, 14px)) brightness(calc(1 - var(--cv-dark, .8) * .8)) saturate(var(--cv-sat, 1)); transition: none !important; }
.cx-fill.unveil { animation: ndUnveil .9s linear both; }
/* blur reads as "still blurry" until it's almost gone, so most of it goes early; the light comes up alongside */
@keyframes ndUnveil {
  0%   { filter: blur(var(--cv-blur, 14px)) brightness(calc(1 - var(--cv-dark, .8) * .8)) saturate(var(--cv-sat, 1)); }
  20%  { filter: blur(calc(var(--cv-blur, 14px) * .45)) brightness(calc(1 - var(--cv-dark, .8) * .55)) saturate(calc(var(--cv-sat, 1) * .5 + .5)); }
  45%  { filter: blur(calc(var(--cv-blur, 14px) * .18)) brightness(calc(1 - var(--cv-dark, .8) * .3)) saturate(1); }
  70%  { filter: blur(calc(var(--cv-blur, 14px) * .06)) brightness(calc(1 - var(--cv-dark, .8) * .1)) saturate(1); }
  100% { filter: blur(0px) brightness(1) saturate(1); }
}
@media (prefers-reduced-motion: reduce) { .cx-fill.unveil { animation: none; } }
.rv-lift .cx-card.wide { transition: transform .75s cubic-bezier(.4,0,.2,1), opacity .6s ease; }
.cx-fill.unveil { transition: transform .9s cubic-bezier(.3,0,.2,1), background-position .9s cubic-bezier(.3,0,.2,1); }
/* the sheet list: no ♪ after the sheet that's playing */
.ss-list li.playing .ss-n > span > .ss-ver::after, .ss-list li.playing .ss-n > span::after { content: none !important; }

/* the player under the sheet, like the album card's: play | the piece – its version (+ tiny bars) | previous/next, then the line, then the composer */
.ss-playwrap { padding: 12px 14px 12px; }
.sh-pl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "play row prev next" "play bar bar bar" "play comp comp comp"; column-gap: 2px; row-gap: 3px; align-items: center; }
.sh-pl .pl-play { grid-area: play; width: 40px; height: 40px; }
.sh-pl.is-playing .pl-play { background: rgba(215,168,110,.08); border-color: var(--gold); }
.sh-pl.is-playing .pl-play i { width: 10px; height: 12px; border: 0; margin: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sh-pl .pl-play:disabled { opacity: .35; cursor: default; }
.sh-row { grid-area: row; display: flex; align-items: baseline; gap: 10px; min-width: 0; margin: 0 10px 0 14px; }
.sh-row .pl-title { flex: 0 1 auto; min-width: 0; font-size: 17px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.sh-pl .pl-ver { font-size: .82em; color: var(--muted); }
.sh-pl .pl-viz { display: inline-flex; flex: none; align-items: flex-end; gap: 2px; height: 12px; opacity: .75; }
.sh-pl .pl-viz i { display: block; width: 2px; height: 2px; border-radius: 1px; background: var(--gold); transition: height .12s linear; }
.sh-pl .pl-prev { grid-area: prev; } .sh-pl .pl-next { grid-area: next; }
.sh-pl .pl-prev, .sh-pl .pl-next { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--gold); opacity: .7; cursor: pointer; display: grid; place-items: center; }
.sh-pl .pl-prev:hover, .sh-pl .pl-next:hover { opacity: 1; background: rgba(215,168,110,.08); }
.sh-pl .pl-prev svg, .sh-pl .pl-next svg { width: 13px; height: 13px; fill: currentColor; } .sh-pl .pl-prev svg { transform: scaleX(-1); }
.sh-pl .sh-bar { grid-area: bar; margin: 0 6px 0 14px; height: 1px; background: rgba(239,230,210,.16); }
.sh-pl .sh-bar i { top: -.5px; height: 2px; }
.sh-comp { grid-area: comp; margin: 4px 0 0 14px; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--small); }
/* "Download this sheet at …": centred under the sheet, with fine lines running out to both sides */
.sl-stand .ss-info { margin-top: 18px; }
.sl-stand .sh-dl { display: flex; align-items: center; gap: 16px; margin: 0; text-align: center; }
.sl-stand .sh-dl::before, .sl-stand .sh-dl::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(215,168,110,.45)); }
.sl-stand .sh-dl::after { background: linear-gradient(90deg, rgba(215,168,110,.45), transparent); }
.sl-stand .sh-dl > span { flex: none; }
/* switching sheets: a quick fade */
.ss-page { transition: opacity .18s ease; }
.ss-page.sh-out { opacity: 0; }   /* 100 → 0 → 100: out, swap, back in (no overlap) */
/* the line under "Sheet Music" on one line (wraps only on narrow screens) */
.sheet-lead { max-width: none; }
.sheet-lead p { text-wrap: nowrap; }
@media (max-width: 760px) { .sheet-lead p { text-wrap: balance; } }
/* the sheet's player: no wooden block, just sitting on the page's own background under the sheet */
.ss-playwrap, body:not(.pp-clean) .ss-playwrap { background: none; border: 0; box-shadow: none; padding: 14px 0 0; margin-top: 0; }

/* sheet music lined up with the album card above: the same outer edges as the card's contents (the card is 960 wide with 48px inside it),
   and the same gap between the two columns */
.sheet-list.sl-stand { max-width: 864px; margin-left: auto; margin-right: auto; column-gap: 48px; }
/* …and the same columns: the sheet exactly as wide as the album cover (380px), the list where the album text starts */
@media (min-width: 821px) { .sheet-list.sl-stand { grid-template-columns: 380px minmax(0, 1fr); } }

/* the divider between picture and text sits exactly on the page's centre line, in both the album card and the sheet music:
   picture column ends 24px left of centre, text column starts 24px right of it (the 48px gap straddles the middle) */
@media (min-width: 821px) {
  .pp-cover .cx-card.wide { padding-left: calc(50% - 404px); padding-right: calc(50% - 432px); }   /* 404 = 380 picture + 24; 432 = the text column's old right edge */
  .sheet-list.sl-stand { max-width: none; margin-left: calc(50% - 404px); margin-right: calc(50% - 432px); }
}
/* the picture grows back out to the card's left margin: 408px wide (from 432px left of centre to 24px left of it) */
@media (min-width: 821px) {
  .pp-cover .cx-card.wide { padding-left: calc(50% - 432px); grid-template-columns: 408px minmax(0, 1fr); }
  .pp-cover .cx-card.wide .cx-cover, .pp-cover .cx-card.wide .cx-thumb { width: 408px; height: 408px; }
  .pp-cover .cx-card.wide .cx-body { height: 462px; }
  .sheet-list.sl-stand { margin-left: calc(50% - 432px); grid-template-columns: 408px minmax(0, 1fr); }
}

/* the sheet music spans the album card's full width: the sheet from its left edge, the list to its right edge,
   the gap between them on the page centre (no card of its own) */
@media (min-width: 821px) {
  .sheet-list.sl-stand { --cw: min(960px, 100vw - 40px);
    width: var(--cw); max-width: none; margin-left: calc(50% - var(--cw) / 2); margin-right: 0; box-sizing: border-box; padding: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
}
/* "Download this sheet at …": exactly as wide as the sheet (the script sizes the letters to fit) */
.sl-stand .sh-dl { display: block; white-space: nowrap; text-align: center; }
.sl-stand .sh-dl::before, .sl-stand .sh-dl::after { content: none; }

/* album card "open" (Design options → Album card on music tabs): on the music tabs there's no card and no painting behind,
   just the cover and the text laid out like the sheet music (cover from the left edge, text to the right edge, the gap on the
   centre line). The painting and story tabs keep the full painting with their card over it. */
@media (min-width: 821px) {
  .ac-open .aw-stage.cards { --cov: calc((100cqw - 48px) / 2); }
  .ac-open .aw-stage.cards:not(.on-painting) { height: calc(var(--cov) + 166px); background: none; box-shadow: none; }
  .ac-open .aw-stage.cards:not(.on-painting) .cx-fill { opacity: 0; }
  .ac-open .aw-stage.cards .cx-fill { transition: opacity .6s ease, transform .9s cubic-bezier(.3,0,.2,1), background-position .9s cubic-bezier(.3,0,.2,1); }
  .ac-open .aw-stage.cards:not(.on-painting)::before, .ac-open .cards:not(.on-painting)::before { opacity: 0; }
  .ac-open .aw-stage.cards:not(.on-painting) .cx-top { padding-left: 0; padding-right: 0; }
  .ac-open.pp-cover .aw-stage.cards .cx-card.wide { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0;
    padding-left: 0; padding-right: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .ac-open.pp-cover .aw-stage.cards .cx-card.wide .cx-cover, .ac-open.pp-cover .aw-stage.cards .cx-card.wide .cx-thumb { width: var(--cov); height: var(--cov); }
  .ac-open.pp-cover .aw-stage.cards .cx-card.wide .cx-body { height: calc(var(--cov) + 54px); }   /* (the card itself, whatever the frame does: so nothing resizes while it fades) */
}
/* open layout, to the painting: the cover, text and player fade away (the tabs stay) while the painting slowly fades up from the background */
@media (min-width: 821px) {
  .ac-open .aw-stage.cards .cx-fill { transition: opacity 1s ease, transform .9s cubic-bezier(.3,0,.2,1), background-position .9s cubic-bezier(.3,0,.2,1); }
  .ac-open .cx-card.wide, .ac-open.rv-lift .cx-card.wide { clip-path: none; transition: opacity .45s ease; }
  .ac-open .cx-card.wide.rolled { transform: none !important; opacity: 0; }
}
/* open layout: the tabs keep the painting tab's place (32px in) on every tab */
@media (min-width: 821px) { .ac-open .aw-stage.cards .cx-top, .ac-open .aw-stage.cards:not(.on-painting) .cx-top { padding-left: 32px; padding-right: 32px; } }

/* dark card layout: the painting under the card at half strength on the music tabs; it comes up to full on the painting and story tabs */
.ac-card .aw-stage.cards:not(.on-painting) .cx-fill { opacity: .5; }
.ac-card .aw-stage.cards .cx-fill { transition: opacity .7s ease, transform .9s cubic-bezier(.3,0,.2,1), background-position .9s cubic-bezier(.3,0,.2,1); }

/* the glows dim themselves for bright pictures (the script measures each picture and sets these) */
.hs-halo #albums::before { filter: blur(80px) saturate(1.1) brightness(var(--halo-b, .6)); }
.sheet-list::before { filter: blur(90px) saturate(1.1) brightness(var(--sheet-b, .7)); }
.news-list::before { filter: blur(100px) saturate(1.1) brightness(var(--news-b, .8)); }

/* scrollbars inside the page (album shelf, sheet list): thin, sand on a transparent track, in every browser (Safari ignores scrollbar-color in older versions, so the -webkit- rules too) */
.aw-shelf, .ss-list { scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.35) transparent; }
/* Safari: it has no scrollbar-color, and any scrollbar-width switches off the -webkit- styling below (leaving a plain white bar), so it gets neither */
@supports not (scrollbar-color: auto) { .aw-shelf, .ss-list, .sl-stand .ss-side .ss-list, .pls-d { scrollbar-width: auto; } }
.cards .gx-tabs::-webkit-scrollbar { display: none; }
.aw-shelf::-webkit-scrollbar, .ss-list::-webkit-scrollbar { height: 6px; width: 6px; background: transparent; }
.aw-shelf::-webkit-scrollbar-track, .ss-list::-webkit-scrollbar-track { background: transparent; }
.aw-shelf::-webkit-scrollbar-thumb, .ss-list::-webkit-scrollbar-thumb { background: rgba(215,168,110,.35); border-radius: 3px; }
.aw-shelf::-webkit-scrollbar-thumb:hover, .ss-list::-webkit-scrollbar-thumb:hover { background: rgba(215,168,110,.6); }
@media (min-width: 761px) { .sheet-lead p { white-space: nowrap; } }   /* (older Safari doesn't know text-wrap) */

/* newsletter: no panel; laid out like the other sections (heading, line under it), the field as a fine sand underline
   and the button as the site's outlined gold button */
.signup { background: none; padding: 30px 20px 10px; }
.signup .lead { margin: 14px auto 26px; }
.signup form { gap: 18px; align-items: flex-end; margin-top: 0; }
.signup input { width: min(340px, 100%); padding: 10px 4px; border: 0; border-bottom: 1px solid rgba(215,168,110,.45); border-radius: 0; background: transparent; color: var(--text); text-align: center; font-size: 18px; }
.signup input::placeholder { color: var(--small); }
.signup input:focus { outline: none; border-bottom-color: var(--gold); }
.signup .btn { background: none; color: var(--gold); border: 1px solid rgba(215,168,110,.55); border-radius: 0; padding: 11px 26px; font-size: 12px; letter-spacing: .16em; transition: border-color .2s, background .2s, color .2s; }
.signup .btn:hover { border-color: var(--gold); background: rgba(215,168,110,.08); filter: none; }
/* Design options: a title bar that folds the panel away */
.dp-toggle { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 0; margin: 0 0 4px; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.dp-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; opacity: .7; }
.design-picker.folded > div { display: none; }
.design-picker.folded .dp-toggle { margin: 0; }
.design-picker.folded .dp-chev { transform: rotate(-135deg) translateY(-2px); }

/* newsletter: a soft cloud bank rises behind it, lit by a warm glow of the album on screen (the band veil is replaced here) */
#newsletter { position: relative; isolation: isolate; }
.hs-bands #newsletter::after, #newsletter::after { content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -170px; bottom: -420px; left: 50%; width: 100vw; margin-left: -50vw;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(232,190,120,.16), transparent 70%),
    radial-gradient(90% 70% at 50% 60%, rgba(215,168,110,.07), transparent 75%),
    linear-gradient(180deg, rgba(40,30,20,.0), rgba(40,30,20,.35) 200px, rgba(30,22,15,.55));
  -webkit-mask: url("images/fx/fx11.png") top / 100% 300px no-repeat, linear-gradient(#000, #000) 0 290px / 100% 100% no-repeat;
  mask: url("images/fx/fx11.png") top / 100% 300px no-repeat, linear-gradient(#000, #000) 0 290px / 100% 100% no-repeat; }
/* the album's colours, very softly, inside the cloud */
#newsletter::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -60px; height: 520px; left: 50%; width: 900px; margin-left: -450px;
  background: var(--cur-pic) center / cover; filter: blur(110px) saturate(1.1) brightness(var(--halo-b, .6)); opacity: .32; border-radius: 50%; }
.foot { background: none; position: relative; }
/* …and below the newsletter everything fades to black for the info bar at the bottom */
.hs-bands #newsletter::after, #newsletter::after { bottom: -160px; }
.foot { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85) 45%, #000); padding-top: 90px; margin-top: 30px; }
body { padding-bottom: 0; }
html { background-color: #000; }
/* newsletter centred between the sheet music above and the links below (about 121px each side) */
.signup { margin-top: 85px; }
.foot { padding-top: 69px; }

/* ── section dividers (Design options → Section dividers): the .stars elements between sections, drawn in different ways */
body:not(.dvd-stars) .stars { font-size: 0; letter-spacing: 0; color: transparent; position: relative; height: 40px; }   /* (display untouched: hidden dividers stay hidden) */
body:not(.dvd-stars) .stars::before, body:not(.dvd-stars) .stars::after { content: ""; display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
/* minimal: a fine gold hairline that fades out at both ends */
.dvd-line .stars::before { width: min(520px, 70%); height: 1px; background: linear-gradient(90deg, transparent, rgba(215,168,110,.55), transparent); }
/* minimal: hairline with a small diamond in the middle */
.dvd-diamond .stars::before { width: min(560px, 74%); height: 1px; background: linear-gradient(90deg, transparent, rgba(215,168,110,.5) 30%, rgba(215,168,110,.5) 46%, transparent 46%, transparent 54%, rgba(215,168,110,.5) 54%, rgba(215,168,110,.5) 70%, transparent); }
.dvd-diamond .stars::after { width: 7px; height: 7px; border: 1px solid rgba(215,168,110,.8); transform: translate(-50%, -50%) rotate(45deg); }
/* minimal: three fine dots */
.dvd-dots .stars::before { width: 60px; height: 4px; background: radial-gradient(circle, rgba(215,168,110,.8) 1.6px, transparent 2.2px) 0 0 / 20px 4px repeat-x; }
/* minimal: nothing but space and a soft shadow band */
.dvd-space .stars { height: 70px; }
.dvd-space .stars::before { width: 100vw; height: 70px; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.28), transparent 70%); }
/* artsy: a calligraphic flourish */
.dvd-flourish .stars::before { width: 320px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 40'%3E%3Cg fill='none' stroke='%23D7A86E' stroke-width='1.2' stroke-linecap='round' opacity='.85'%3E%0A%3Cpath d='M10 20 H118'/%3E%3Cpath d='M310 20 H202'/%3E%0A%3Cpath d='M118 20 C132 20 138 8 150 10 C158 11 158 22 151 23 C145 24 143 17 148 16'/%3E%0A%3Cpath d='M202 20 C188 20 182 8 170 10 C162 11 162 22 169 23 C175 24 177 17 172 16'/%3E%0A%3Cpath d='M118 20 C132 20 138 32 150 30 C156 29 157 24 154 22'/%3E%3Cpath d='M202 20 C188 20 182 32 170 30 C164 29 163 24 166 22'/%3E%0A%3C/g%3E%3Cpath d='M160 13 L165 20 L160 27 L155 20 Z' fill='%23D7A86E' opacity='.9'/%3E%3C/svg%3E") center / contain no-repeat; }
/* artsy: one dry ink brush stroke */
.dvd-brush .stars::before { width: min(600px, 80%); height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 24' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .2' numOctaves='2' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='3'/%3E%3C/filter%3E%0A%3Cpath filter='url%28%23r%29' fill='%23D7A86E' opacity='.55' d='M8 13 C80 9 160 8 250 10 C340 12 430 9 520 10 C560 10 585 11 594 12 C580 14 540 15 470 15 C380 16 290 15 200 16 C120 17 60 16 8 13 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* artsy: a sound wave that swells in the middle */
.dvd-wave .stars::before { width: min(400px, 70%); height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 30'%3E%3Cpath fill='none' stroke='%23D7A86E' stroke-width='1.2' opacity='.8' d='M0 15 Q5 17.0 10 15 Q15 12.372327234177241 20 15 Q25 18.251475720321846 30 15 Q35 11.132437089152758 40 15 Q45 19.47213595499958 50 15 Q55 9.938532541079281 60 15 Q65 20.631923997916374 70 15 Q75 8.82001148227241 80 15 Q85 21.702282018339787 90 15 Q95 7.804415613358531 100 15 Q105 22.65685424949238 110 15 Q115 6.916752275199752 120 15 Q125 23.47213595499958 130 15 Q135 6.178878685167263 140 15 Q145 24.128052193506942 150 15 Q155 5.608963739909706 160 15 Q165 24.60845213036123 170 15 Q175 5.2210406368185875 180 15 Q185 24.901506724761102 190 15 Q195 5.024661330134975 200 15 Q205 25.0 210 15 Q215 5.024661330134975 220 15 Q225 24.901506724761102 230 15 Q235 5.2210406368185875 240 15 Q245 24.60845213036123 250 15 Q255 5.608963739909704 260 15 Q265 24.128052193506942 270 15 Q275 6.178878685167263 280 15 Q285 23.47213595499958 290 15 Q295 6.916752275199752 300 15 Q305 22.65685424949238 310 15 Q315 7.80441561335853 320 15 Q325 21.702282018339787 330 15 Q335 8.820011482272406 340 15 Q345 20.631923997916374 350 15 Q355 9.938532541079278 360 15 Q365 19.47213595499958 370 15 Q375 11.132437089152756 380 15 Q385 18.25147572032185 390 15 Q395 12.37232723417724 400 15'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
/* artsy: a short stave with three notes */
.dvd-staff .stars::before { width: 300px; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 36'%3E%3Cg stroke='%23D7A86E' stroke-width='.8' opacity='.55'%3E%3Cline x1='0' x2='300' y1='6' y2='6'/%3E%3Cline x1='0' x2='300' y1='12' y2='12'/%3E%3Cline x1='0' x2='300' y1='18' y2='18'/%3E%3Cline x1='0' x2='300' y1='24' y2='24'/%3E%3Cline x1='0' x2='300' y1='30' y2='30'/%3E%3C/g%3E%0A%3Cg fill='%23D7A86E' opacity='.9'%3E%3Cellipse cx='118' cy='21' rx='4' ry='3' transform='rotate%28-20 118 21%29'/%3E%3Cline x1='121.5' y1='20' x2='121.5' y2='4' stroke='%23D7A86E' stroke-width='1.1'/%3E%0A%3Cellipse cx='150' cy='15' rx='4' ry='3' transform='rotate%28-20 150 15%29'/%3E%3Cline x1='153.5' y1='14' x2='153.5' y2='-1' stroke='%23D7A86E' stroke-width='1.1'/%3E%0A%3Cellipse cx='182' cy='18' rx='4' ry='3' transform='rotate%28-20 182 18%29'/%3E%3Cline x1='185.5' y1='17' x2='185.5' y2='2' stroke='%23D7A86E' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
/* artsy: a strip of old paper, torn along both edges, across the page */
.dvd-torn .stars { height: 56px; }
.dvd-torn .stars::before { width: 100vw; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.5'/%3E%3C/svg%3E"), linear-gradient(180deg, #4a3a27, #3a2d1e); background-blend-mode: multiply; opacity: .55;
  -webkit-mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; }
/* artsy: the page ripped through: a ragged dark gap with a pale torn lip */
.dvd-rip .stars { height: 50px; }
.dvd-rip .stars::before { width: 100vw; height: 36px; background: #050403;
  box-shadow: 0 0 0 1px rgba(215,168,110,.25);
  -webkit-mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; }
.dvd-rip .stars::after { width: 100vw; height: 40px; background: rgba(230,205,160,.12);
  -webkit-mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; z-index: -1; }
/* artsy: a scrap of torn paper with a wax-seal dot, like a note pinned between the sections */
.dvd-scrap .stars { height: 60px; }
.dvd-scrap .stars::before { width: 180px; height: 34px; transform: translate(-50%, -50%) rotate(-2deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.5'/%3E%3C/svg%3E"), linear-gradient(180deg, #e9dcc0, #d8c49c); background-blend-mode: multiply; opacity: .78;
  -webkit-mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; mask: url("images/fx/fx4.png") top / 100% 50% no-repeat, url("images/fx/fx5.png") bottom / 100% 50% no-repeat; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
.dvd-scrap .stars::after { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9a066, #7a5226 70%); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
/* (paper dividers a bit bigger, so the tearing reads) */
.dvd-torn .stars { height: 84px; } .dvd-torn .stars::before { height: 70px; opacity: .7; background-color: #5a4630; }
.dvd-rip .stars { height: 70px; } .dvd-rip .stars::before { height: 48px; } .dvd-rip .stars::after { height: 54px; background: rgba(230,205,160,.18); }
.dvd-scrap .stars { height: 80px; } .dvd-scrap .stars::before { width: 240px; height: 50px; }

/* ── the site as a tall old book (Design options → Pages): each section is a sheet of old paper lying over the next one,
   its bottom edge torn away (or worn) to reveal the page below. The paper is a layer the script puts behind each section. */
.pg-paper { display: none; }
body[class*="pgs-"]:not(.pgs-none) .pg-paper { display: block; position: absolute; z-index: -2; pointer-events: none; left: 50%; width: 100vw; margin-left: -50vw; top: -70px; bottom: -96px; }
body[class*="pgs-"]:not(.pgs-none) .pg-sec { position: relative; }
body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-1 { z-index: 6; } body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-2 { z-index: 5; } body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-3 { z-index: 4; }
body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-4 { z-index: 3; } body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-5 { z-index: 2; }
body[class*="pgs-"]:not(.pgs-none) .about .pg-paper { top: -560px; }   /* the first page starts behind the banner picture */
body[class*="pgs-"]:not(.pgs-none) #newsletter .pg-paper { bottom: -260px; }
body[class*="pgs-"]:not(.pgs-none) .stars:not(.keep) { visibility: hidden; height: 0; margin: 70px 0; }
/* the paper itself: grain and soft mottling over a tone that steps a little per page, so each sheet reads as a different paper */
.pg-paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='5' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .33  0 0 0 0 .2  0 0 0 -1.4 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 320px 320px, 900px 900px; background-blend-mode: multiply, normal; }
.pg-1 .pg-paper { background-color: #2b2219; } .pg-2 .pg-paper { background-color: #251d15; } .pg-3 .pg-paper { background-color: #2a2017; }
.pg-4 .pg-paper { background-color: #231b14; } .pg-5 .pg-paper { background-color: #282018; }
/* each page casts a shadow onto the one below it, just under the torn edge */
body[class*="pgs-"]:not(.pgs-none) .pg-paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); }
.pg-1 .pg-paper::before { display: none; }
/* the veils and glows of the sections stay above the paper; the band veils are dropped (the paper does that job) */
body[class*="pgs-"]:not(.pgs-none).hs-bands .about::after, body[class*="pgs-"]:not(.pgs-none).hs-bands #news::after, body[class*="pgs-"]:not(.pgs-none).hs-bands #sheet-music::after { display: none; }
/* torn: a ragged, irregular tear along the bottom of each page */
.pgs-torn .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-torn .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-torn .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-torn .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-torn .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
/* ripped: big, wandering rips (a page pulled out in a hurry) */
.pgs-ripped .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
.pgs-ripped .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='17'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='17'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
.pgs-ripped .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='33'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='33'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
.pgs-ripped .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='47'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='47'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
.pgs-ripped .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='61'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 87px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006 .05' numOctaves='5' seed='61'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='60' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 90px no-repeat; }
/* deckle: the soft, feathered edge of handmade paper (no tear) */
.pgs-deckle .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='2'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; }
.pgs-deckle .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='9'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='9'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; }
.pgs-deckle .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='14'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='14'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; }
.pgs-deckle .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='23'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='23'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; }
.pgs-deckle .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='31'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 25px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 40' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='.35' stop-color='%23000'/%3E%3Cstop offset='.65' stop-color='%23000' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='t' x='-2%25' y='-50%25' width='104%25' height='200%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.25 .4' numOctaves='3' seed='31'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='10' yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Crect x='-20' y='0' width='1640' height='40' fill='url%28%23g%29' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 28px no-repeat; }
/* slanted: each page torn off at an angle */
.pgs-slant .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='4'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
.pgs-slant .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='12'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='12'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
.pgs-slant .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='19'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='19'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
.pgs-slant .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='28'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='28'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
.pgs-slant .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='36'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 117px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 140' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-30%25' width='104%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .08' numOctaves='4' seed='36'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='30' yChannelSelector='G'/%3E%3C/filter%3E%3Cpolygon points='-40,-40 1640,-40 1640,30 -40,110' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
/* burnt: torn, and the tear singed dark with a faint ember glow */
.pgs-burnt .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-burnt .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-burnt .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-burnt .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-burnt .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-burnt .pg-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(20,8,2,.7) 70%, rgba(120,50,10,.5)); }
/* stacked: torn, and each page slightly narrower than the one below and a little rotated, like loose sheets in a pile */
.pgs-stack .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-stack .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-stack .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-stack .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-stack .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-stack .pg-paper { width: min(100vw, 1180px); margin-left: calc(min(100vw, 1180px) / -2); box-shadow: 0 0 40px rgba(0,0,0,.5); }
.pgs-stack .pg-2 .pg-paper { transform: rotate(-.35deg); } .pgs-stack .pg-3 .pg-paper { transform: rotate(.3deg); } .pgs-stack .pg-4 .pg-paper { transform: rotate(-.25deg); }
.pgs-stack .pg-1 .pg-paper { width: 100vw; margin-left: -50vw; transform: none; }
/* parchment: torn, on warmer and lighter (but still dark) parchment */
.pgs-parch .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-parch .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-parch .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-parch .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-parch .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 57px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-60%25' width='104%25' height='220%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='4' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-40' y='-80' width='1680' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.pgs-parch .pg-1 .pg-paper { background-color: #3a2c1c; } .pgs-parch .pg-2 .pg-paper { background-color: #33271a; } .pgs-parch .pg-3 .pg-paper { background-color: #3b2d1d; }
.pgs-parch .pg-4 .pg-paper { background-color: #312518; } .pgs-parch .pg-5 .pg-paper { background-color: #382a1b; }
body[class*="pgs-"]:not(.pgs-none) .pg-sec:not(.pg-1) .pg-paper { top: -170px; }   /* each page reaches well up under the one above, so its torn gaps show this page */
body[class*="pgs-"]:not(.pgs-none) .pg-paper::before { top: 100px; }   /* the shadow of the page above falls where its edge is */

/* (pages, round two) gentler mottling; the banner stays above the first page; no sideways scrolling; deeper tears */
html { overflow-x: clip; }
.hero { position: relative; z-index: 7; }
.pg-paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005' numOctaves='5' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .42  0 0 0 0 .26  0 0 0 -.9 .42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); opacity: .9; }
.pgs-torn .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-torn .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-torn .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-torn .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-torn .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-burnt .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-burnt .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-burnt .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-burnt .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-burnt .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-stack .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-stack .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-stack .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-stack .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-stack .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-parch .pg-1 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-parch .pg-2 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-parch .pg-3 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-parch .pg-4 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='41'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }
.pgs-parch .pg-5 .pg-paper { -webkit-mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; mask: linear-gradient(#000,#000) top / 100% calc(100% - 67px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 80' preserveAspectRatio='none'%3E%3Cfilter id='t' x='-2%25' y='-80%25' width='104%25' height='260%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='70' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Crect x='-60' y='-80' width='1720' height='120' fill='%23000' filter='url%28%23t%29'/%3E%3C/svg%3E") bottom / 100% 70px no-repeat; }

.pg-paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.55'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1600'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .42  0 0 0 0 .26  0 0 0 -.9 .42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); background-size: 320px 320px, 1600px 1600px; background-position: 0 0, center top; }   /* (seamless mottling, one big tile) */
/* the torn edge reads: pale paper fibres just under it, and a soft shadow cast onto the page below (same shape, shifted down) */
.pg-paper.pg-rim { z-index: -3; transform: translateY(3px); background: #b39469 !important; opacity: .55; }
.pg-paper.pg-shadow { z-index: -4; transform: translateY(12px); background: #000 !important; opacity: .55; filter: blur(3px); }
.pg-paper.pg-rim::before, .pg-paper.pg-shadow::before, .pg-paper.pg-rim::after, .pg-paper.pg-shadow::after { display: none !important; }
.pg-1 .pg-paper.pg-rim, .pg-1 .pg-paper.pg-shadow { display: block; }
.pgs-deckle .pg-paper.pg-rim { opacity: .25; } .pgs-stack .pg-paper.pg-shadow { transform: translateY(14px); }
.pgs-stack .pg-2 .pg-paper.pg-rim, .pgs-stack .pg-2 .pg-paper.pg-shadow { transform: rotate(-.35deg) translateY(4px); }
/* pages are see-through, so the painting haze behind the site still shows: the paper only tints and textures it.
   (a lower page no longer reaches far up under the one above, or the overlap would show as a darker band) */
.pg-paper:not(.pg-rim):not(.pg-shadow) { opacity: .5; }
.pgs-parch .pg-paper:not(.pg-rim):not(.pg-shadow) { opacity: .55; }
body[class*="pgs-"]:not(.pgs-none) .pg-sec:not(.pg-1) .pg-paper { top: -60px; }
.pg-paper.pg-shadow { opacity: .4; }
/* rim and shadow only along the torn bottom edge (the paper above them is see-through now) */
.pg-paper.pg-rim, .pg-paper.pg-shadow { clip-path: inset(calc(100% - 140px) -20px -40px -20px); }
/* see-through pages: no rim or shadow layers (they'd show through); the tear reads from the paper's own tone against the gap */
.pg-paper.pg-rim, .pg-paper.pg-shadow { display: none !important; }
.pg-paper:not(.pg-rim):not(.pg-shadow) { opacity: .62; }

/* ── Pages, take three: no paper fill at all (the haze and glows stay exactly as they are). Each section ends in a torn
   edge, as if it were a sheet lying on top of the next one: a thin pale rim of torn fibres, and the sheet's shadow falling
   onto the beginning of the section below. Drawn on the dividers between the sections. */
body[class*="pgs-"] .pg-paper { display: none !important; }
body[class*="pgs-"]:not(.pgs-none).hs-bands .about::after, body[class*="pgs-"]:not(.pgs-none).hs-bands #news::after, body[class*="pgs-"]:not(.pgs-none).hs-bands #sheet-music::after { display: block; }
body[class*="pgs-"]:not(.pgs-none) .stars:not(.keep) { visibility: visible; height: 0; margin: 64px 0 76px; font-size: 0; color: transparent; position: relative; }
body[class*="pgs-"]:not(.pgs-none) .stars:not(.keep)::before { content: ""; display: block; position: absolute; left: 50%; top: -70px; width: 100vw; height: 200px; transform: translateX(-50%); pointer-events: none; z-index: 3; }
body[class*="pgs-"]:not(.pgs-none) .stars:not(.keep)::after { display: none; }
.pgs-torn .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='3' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23d9c39a' flood-opacity='0.5'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-ripped .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='17' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23d9c39a' flood-opacity='0.5'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-deckle .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.2 .35' numOctaves='3' seed='9' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='10' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23d9c39a' flood-opacity='0.25'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-slant .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='12' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='50' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23d9c39a' flood-opacity='0.5'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Cpolygon points='-80,-400 1680,-400 1680,40 -80,130' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-burnt .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.35'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='.85'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3CfeMergeNode in='burn'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-stack .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.01 .07' numOctaves='4' seed='41' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='40' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.8370000000000001'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.4725'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23d9c39a' flood-opacity='0.5'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-parch .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='55' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='22' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='26' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%23e8d4ad' flood-opacity='0.7'/%3E%3CfeComposite in2='band' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Cg filter='url%28%23f%29'%3E%3Crect x='-80' y='-400' width='1760' height='480' fill='%23000'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
body[class*="pgs-"]:not(.pgs-none) .stars-news::before { transform: translateX(-50%) scaleX(-1) !important; }

/* torn and singed, variants (Design options → Pages) */
.pgs-b1 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.434'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.24499999999999997'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='2' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.6'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.25'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b2 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.62'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.35'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.85'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.35'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b3 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.744'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.42'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='6' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.9'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.45'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b4 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.682'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.385'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='5' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.9'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.5'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='7' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ff8a2a' flood-opacity='0.55'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b5 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.868'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.48999999999999994'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='8' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.95'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.6'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='10' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ff6a1a' flood-opacity='0.8'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b6 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.682'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.385'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='4' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.9'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.3'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='-1' result='S0'/%3E%3CfeMorphology in='A' operator='erode' radius='0 10' result='S1'/%3E%3CfeComposite in='A' in2='S1' operator='out' result='sootband'/%3E%3CfeGaussianBlur in='sootband' stdDeviation='3' result='sb2'/%3E%3CfeFlood flood-color='%230d0602' flood-opacity='.75'/%3E%3CfeComposite in2='sb2' operator='in' result='soot'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3CfeMergeNode in='soot'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b7 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.806'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.45499999999999996'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='6' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.9'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.45'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='8' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ff8a2a' flood-opacity='0.45'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b8 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.014 .09' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='34' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.558'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.315'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='3' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.85'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.4'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='5' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ff8a2a' flood-opacity='0.3'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b9 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.682'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.385'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='5' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='0.9'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23f2c46a' flood-opacity='0.55'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='7' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ffb04a' flood-opacity='0.35'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pgs-b10 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.992'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5599999999999999'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='7' result='R1'/%3E%3CfeComposite in='R1' in2='A' operator='out' result='band'/%3E%3CfeFlood flood-color='%231a0a02' flood-opacity='1'/%3E%3CfeComposite in2='band' operator='in' result='burn'/%3E%3CfeOffset in='A' dy='1' result='Q1'/%3E%3CfeComposite in='Q1' in2='A' operator='out' result='thin'/%3E%3CfeFlood flood-color='%23e08a3a' flood-opacity='0.2'/%3E%3CfeComposite in2='thin' operator='in' result='rim'/%3E%3CfeOffset in='A' dy='9' result='E1'/%3E%3CfeGaussianBlur in='E1' stdDeviation='4' result='E2'/%3E%3CfeComposite in='E2' in2='A' operator='out' result='eb'/%3E%3CfeFlood flood-color='%23ff8a2a' flood-opacity='0.4'/%3E%3CfeComposite in2='eb' operator='in' result='ember'/%3E%3CfeOffset in='A' dy='-1' result='S0'/%3E%3CfeMorphology in='A' operator='erode' radius='0 18' result='S1'/%3E%3CfeComposite in='A' in2='S1' operator='out' result='sootband'/%3E%3CfeGaussianBlur in='sootband' stdDeviation='3' result='sb2'/%3E%3CfeFlood flood-color='%230d0602' flood-opacity='.75'/%3E%3CfeComposite in2='sb2' operator='in' result='soot'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='ember'/%3E%3CfeMergeNode in='burn'/%3E%3CfeMergeNode in='rim'/%3E%3CfeMergeNode in='soot'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='480.0' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* singed, take two: only a change of light along the tear (no drawn edge), at different strengths (overrides the b-variants above) */
.pgs-b1 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.3'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.18'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b2 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.3'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b3 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.7'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.45'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b4 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.85'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.6'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b5 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='1'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.8'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b6 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.6'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='50' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='55' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.6'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b7 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='6' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='3' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.9'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='12' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='10' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.2'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b8 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.6'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.4'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='-70' result='U1'/%3E%3CfeComposite in='A' in2='U1' operator='out' result='U2'/%3E%3CfeGaussianBlur in='U2' stdDeviation='18' result='U3'/%3E%3CfeComposite in='U3' in2='A' operator='in' result='U4'/%3E%3CfeFlood flood-color='%23f3dfb8' flood-opacity='0.06'/%3E%3CfeComposite in2='U4' operator='in' result='lift'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='lift'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b9 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .06' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='60' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.8'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.55'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeOffset in='A' dy='-70' result='U1'/%3E%3CfeComposite in='A' in2='U1' operator='out' result='U2'/%3E%3CfeGaussianBlur in='U2' stdDeviation='18' result='U3'/%3E%3CfeComposite in='U3' in2='A' operator='in' result='U4'/%3E%3CfeFlood flood-color='%23f3dfb8' flood-opacity='0.1'/%3E%3CfeComposite in2='U4' operator='in' result='lift'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3CfeMergeNode in='lift'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }
.pgs-b10 .stars:not(.keep)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='14' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='10' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.7'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat; height: 260px; top: -100px; }

/* torn and singed: the light changes over a larger stretch, not only at the tear. The section above brightens gently towards
   its torn edge, and the section below sits in a deeper, wider shadow that fades out a few hundred pixels down.
   (behind the text and pictures, above the haze) */
.pgs-burnt .stars:not(.keep)::after { display: block !important; content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%);
  top: -440px; height: 1000px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,232,190,0) 0, rgba(255,232,190,.045) 400px, rgba(255,232,190,.06) 438px,
    rgba(0,0,0,.42) 446px, rgba(0,0,0,.3) 600px, rgba(0,0,0,.14) 780px, rgba(0,0,0,0) 1000px); }
.pgs-b10 .stars:not(.keep)::after { display: block !important; content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%);
  top: -440px; height: 1000px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,232,190,0) 0, rgba(255,232,190,.045) 400px, rgba(255,232,190,.06) 438px,
    rgba(0,0,0,.42) 446px, rgba(0,0,0,.3) 600px, rgba(0,0,0,.14) 780px, rgba(0,0,0,0) 1000px); }

/* big rough tears, sharper: a crisp, tight shadow right under the edge (each divider tears differently) */
.pgs-b10 .stars:not(.stars-news):not(.stars-letter):not(.stars-foot)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.85'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; transform: translateX(-50%) !important; }
.pgs-b10 .stars-news::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='13' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.85'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; transform: translateX(-50%) !important; }
.pgs-b10 .stars-letter::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='44' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.85'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; transform: translateX(-50%) !important; }
.pgs-b10 .stars-foot::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='61' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.85'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='0.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; transform: translateX(-50%) !important; }
/* the two extra tears (sheet music → newsletter, newsletter → info bar) only exist in the Pages look */
.pg-only { display: none; }
body[class*="pgs-"]:not(.pgs-none) .pg-only { display: block; }
.stars-letter { margin: 40px 0 0 !important; }
.stars-foot { margin: 70px 0 0 !important; }
.signup { margin-top: 70px; }
/* the info bar at the bottom: a very dark band of its own */
.foot { background: #070605 !important; margin-top: 0; padding: 46px 20px 40px; position: relative; z-index: 2; }

/* the last tear: the newsletter's sheet torn off over the very dark info bar (the dark fills in under the torn edge and runs on into the bar) */
body[class*="pgs-"]:not(.pgs-none) .stars-foot { margin: 60px 0 0 !important; }
body[class*="pgs-"]:not(.pgs-none) .stars-foot::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 260' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='91' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeFlood flood-color='%23070605' flood-opacity='1' result='dark'/%3E%3CfeComposite in='dark' in2='A' operator='out' result='below'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.9'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeMerge%3E%3CfeMergeNode in='below'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect x='-80' y='-400' width='1760' height='500' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; top: -100px !important; height: 262px !important; z-index: 1 !important; }
body[class*="pgs-"]:not(.pgs-none) .stars-foot::after { display: none !important; }
body[class*="pgs-"]:not(.pgs-none) .foot { z-index: 2; padding-top: 70px; }
.nav { z-index: 20; }   /* logo and menu above the banner (which sits above the first page) */

/* big rough tears, slanted: each tear runs across at an angle (alternating), still with the crisp shadow under it */
.pgs-b10 .stars:not(.stars-news):not(.stars-letter):not(.stars-foot)::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='27' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.88'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,60 -80,200' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; top: -160px !important; height: 300px !important; }
.pgs-b10 .stars-news::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='13' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.88'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,210 -80,60' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; top: -160px !important; height: 300px !important; }
.pgs-b10 .stars-letter::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='44' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.88'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeOffset in='A' dy='24' result='C1'/%3E%3CfeGaussianBlur in='C1' stdDeviation='28' result='C2'/%3E%3CfeComposite in='C2' in2='A' operator='out' result='sh2'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.5'/%3E%3CfeComposite in2='sh2' operator='in' result='shadow2'/%3E%3CfeMerge%3E%3CfeMergeNode in='shadow2'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,70 -80,210' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; top: -160px !important; height: 300px !important; }
.pgs-b10 .stars-foot::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='91' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeFlood flood-color='%23070605' flood-opacity='1' result='dark'/%3E%3CfeComposite in='dark' in2='A' operator='out' result='below'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.88'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeMerge%3E%3CfeMergeNode in='below'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,200 -80,70' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; top: -160px !important; height: 300px !important; z-index: 1 !important; }
body[class*="pgs-"]:not(.pgs-none) #newsletter::after { bottom: -230px; background:
    radial-gradient(60% 55% at 50% 42%, rgba(232,190,120,.16), transparent 70%), radial-gradient(90% 70% at 50% 60%, rgba(215,168,110,.07), transparent 75%),
    linear-gradient(180deg, rgba(40,30,20,0), rgba(60,45,30,.4) 200px, rgba(70,52,34,.45)); }
body[class*="pgs-"]:not(.pgs-none) .stars-foot { margin-top: 130px !important; }

/* the last tear, for real: drawn above the info bar (whose own straight top edge it hides), slanted, the dark filling in under it */
body[class*="pgs-"]:not(.pgs-none) .stars.stars-foot::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='91' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='110' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeFlood flood-color='%23070605' flood-opacity='1' result='dark'/%3E%3CfeComposite in='dark' in2='A' operator='out' result='below'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.9'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeMerge%3E%3CfeMergeNode in='below'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,70 -80,190' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
  top: -220px !important; height: 300px !important; z-index: 3 !important; }
body[class*="pgs-"]:not(.pgs-none) .stars.stars-foot::before { height: 224px !important; }   /* ends at the bar's top, so it never covers the links */

/* tears: a gentler slant and slightly calmer tearing */
.pgs-b10 .stars:not(.stars-news):not(.stars-letter):not(.stars-foot)::before { background: url("images/fx/fx3.png") center / 100% 100% no-repeat !important; }
.pgs-b10 .stars-news::before { background: url("images/fx/fx6.png") center / 100% 100% no-repeat !important; }
.pgs-b10 .stars-letter::before { background: url("images/fx/fx10.png") center / 100% 100% no-repeat !important; }
body[class*="pgs-"]:not(.pgs-none) .stars.stars-foot::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 300' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-300%25' width='110%25' height='700%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .045' numOctaves='5' seed='91' result='n'/%3E%3CfeDisplacementMap in='SourceGraphic' in2='n' scale='85' xChannelSelector='R' yChannelSelector='G' result='A'/%3E%3CfeFlood flood-color='%23070605' flood-opacity='1' result='dark'/%3E%3CfeComposite in='dark' in2='A' operator='out' result='below'/%3E%3CfeOffset in='A' dy='4' result='B1'/%3E%3CfeGaussianBlur in='B1' stdDeviation='1.2' result='B2'/%3E%3CfeComposite in='B2' in2='A' operator='out' result='sh'/%3E%3CfeFlood flood-color='%23000' flood-opacity='.88'/%3E%3CfeComposite in2='sh' operator='in' result='shadow'/%3E%3CfeMerge%3E%3CfeMergeNode in='below'/%3E%3CfeMergeNode in='shadow'/%3E%3C/feMerge%3E%3C/filter%3E%3Cpolygon points='-80,-400 1680,-400 1680,105 -80,150' fill='%23000' filter='url%28%23f%29'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; }
/* the tear under the sheet music centred between it and the newsletter (about 90px each side) */
body[class*="pgs-"]:not(.pgs-none) .stars-letter { margin: 115px 0 0 !important; }
body[class*="pgs-"]:not(.pgs-none) .signup { margin-top: 30px; }
/* the bottom tear well below the sign-up form, then the bar */
body[class*="pgs-"]:not(.pgs-none) .stars-foot { margin-top: 250px !important; }
body[class*="pgs-"]:not(.pgs-none) .foot { padding-top: 22px; }   /* bottom tear about midway between the form and the bar's links */
/* the bottom tear closer under the sign-up, and the info bar starting right inside it (the tear is the bar's top edge) */
body[class*="pgs-"]:not(.pgs-none) .stars-foot { margin-top: 131px !important; }
body[class*="pgs-"]:not(.pgs-none) .stars.stars-foot::before { top: -110px !important; height: 112px !important; }
body[class*="pgs-"]:not(.pgs-none) .foot { padding-top: 14px; }

/* section spacing (Building tools → section spacing): every gap between sections can be set; defaults are the current look */
body[class*="pgs-"]:not(.pgs-none) .about + .stars { margin: var(--sp-a1, 64px) 0 var(--sp-a2, 76px) !important; }
body[class*="pgs-"]:not(.pgs-none) .stars-news { margin: var(--sp-b1, 64px) 0 var(--sp-b2, 76px) !important; }
body[class*="pgs-"]:not(.pgs-none) #paintings + .stars { margin: var(--sp-c1, 64px) 0 var(--sp-c2, 76px) !important; }
body[class*="pgs-"]:not(.pgs-none) .stars-letter { margin: var(--sp-d1, 115px) 0 0 !important; }
body[class*="pgs-"]:not(.pgs-none) .signup { margin-top: var(--sp-d2, 30px) !important; }
body[class*="pgs-"]:not(.pgs-none) .stars-foot { margin-top: var(--sp-e1, 131px) !important; }
body[class*="pgs-"]:not(.pgs-none) .foot { padding-top: var(--sp-e2, 14px) !important; padding-bottom: var(--sp-e3, 40px) !important; }

/* the bottom bar's own top edge is the tear: one dark shape (no separate tear layer, so no seam or lighter strip between them) */
body[class*="pgs-"]:not(.pgs-none) .stars.stars-foot::before { display: none !important; }
body[class*="pgs-"]:not(.pgs-none) .foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: 140px; background: #070605; pointer-events: none;
  -webkit-mask: url("images/fx/fx12.png") bottom / 100% 100% no-repeat; mask: url("images/fx/fx12.png") bottom / 100% 100% no-repeat; }
body[class*="pgs-"]:not(.pgs-none) .foot { overflow: visible; }
/* the bar's dark carries on below it, so the newsletter's glow (which reaches a little further down) can't peek out under the page's end */
.foot::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 400px; background: #070605; pointer-events: none; }
/* the page ends where the bottom bar ends: nothing reaching past it (glows, the bar's dark carry-on) adds scroll room below */
body { overflow-y: clip; }
.foot::after { height: 60px; }

/* banner building tool: bottom crop (height), bottom fade strength and start, and nudging the bio text */
.hero { height: var(--bf-hh, 470px); }   /* a fixed height: a short window doesn't squeeze the banner (or move the bio) */
@media (max-width: 820px) { .hero { height: var(--bf-hh, 420px); } }
.hero img {
  --bk: var(--bf-bf, 1); --b0: var(--bf-bs, 38%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 var(--b0),
    rgba(0,0,0, calc(1 - .18 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .27),
    rgba(0,0,0, calc(1 - .5 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .52),
    rgba(0,0,0, calc(1 - .78 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .74),
    rgba(0,0,0, calc(1 - .94 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .9),
    rgba(0,0,0, calc(1 - 1 * var(--bk))) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 var(--b0),
    rgba(0,0,0, calc(1 - .18 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .27),
    rgba(0,0,0, calc(1 - .5 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .52),
    rgba(0,0,0, calc(1 - .78 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .74),
    rgba(0,0,0, calc(1 - .94 * var(--bk))) calc(var(--b0) + (100% - var(--b0)) * .9),
    rgba(0,0,0, calc(1 - 1 * var(--bk))) 100%); }
.about { translate: 0 var(--bf-bio, 0px); }
/* the bio text sits above the banner (and its fades), also when nudged up into it */
.about, body[class*="pgs-"]:not(.pgs-none) .pg-sec.pg-1 { position: relative; z-index: 8; }
/* the menu links (and other jumps to a section) stop a little above the section, so its title isn't pressed against the top */
main section[id] { scroll-margin-top: 30px; }

/* news: the newest item in full; the older ones as compact lines (small picture, date and title) until "Show older news" opens them in full */
.news-list:not(.all) .news-item.older { display: grid; grid-template-columns: 64px minmax(0, 1fr) !important; gap: 18px; align-items: center; padding: 12px 0; cursor: pointer; }
.news-list:not(.all) .news-item.older .ni-pic { order: 0 !important; margin: 0 !important; align-self: center; }
.news-list:not(.all) .news-item.older .ni-pic img { width: 64px !important; height: 64px !important; box-shadow: 0 6px 14px rgba(0,0,0,.45); }
.news-list:not(.all) .news-item.older .ni-text, .news-list:not(.all) .news-item.older .ni-links { display: none; }
.news-list:not(.all) .news-item.older .ni-title { font-size: 18px; margin: 0; }
.news-list:not(.all) .news-item.older .ni-date { margin: 0 0 2px; }
.news-list:not(.all) .news-item.older:hover .ni-title { color: var(--accent); }
.news-list:not(.all) .news-item.older.no-pic { grid-template-columns: minmax(0, 1fr) !important; }
.news-list:not(.all) .news-item.older + .news-item.older { border-top: 1px solid rgba(239,230,210,.06); }
.news-list:not(.all) .news-item.older:first-of-type, .news-list:not(.all) .news-item:nth-child(2) { margin-top: 18px; }
/* compact news: only the first three older items, the third fading out into the button */
.news-list:not(.all) .news-item.older:nth-child(n+5) { display: none; }
.news-list:not(.all) .news-item.older { padding: 8px 0; }
.news-list:not(.all) .news-item.older:nth-child(3) { opacity: .7; }
.news-list:not(.all) .news-item.older:nth-child(4) { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 95%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 95%); }
.news-list:not(.all) .news-more { margin-top: 6px; }
/* the sheet player's visualizer: the album player's (same dots or bars), at the right end of the title row before previous/next */
.sh-pl .pl-viz { margin-left: auto; align-self: center; }
.vz-dots .sh-pl .pl-viz { align-items: center; gap: 3px; opacity: .75; }
.vz-dots .sh-pl .pl-viz i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); transition: transform .15s linear, opacity .15s linear; }
/* the glows behind the album card, the sheet music and the newsletter: two layers that cross-fade (app.js glowSwap),
   so a change of picture fades smoothly in every browser; the old single-picture glows are off */
.hs-halo #albums::before, .sheet-list::before, #newsletter::before { display: none !important; }
.glow2 { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; background: center / cover no-repeat; opacity: 0; transition: opacity 1.2s ease; }
#albums > .glow2 { left: -14%; right: -14%; top: 4%; bottom: -8%; filter: blur(80px) saturate(1.1) brightness(var(--halo-b, .6)); }
.hs-halo #albums > .glow2.on { opacity: .55; }
.sheet-list > .glow2 { left: -14%; right: -14%; top: -6%; bottom: -10%; filter: blur(90px) saturate(1.1) brightness(var(--sheet-b, .7)); }
.sheet-list > .glow2.on { opacity: .5; }
#newsletter > .glow2 { top: -60px; height: 520px; left: 50%; width: 900px; margin-left: -450px; filter: blur(110px) saturate(1.1) brightness(var(--halo-b, .6)); }
#newsletter > .glow2.on { opacity: .32; }
/* the page shows once the script has built it (no flash of half-made sections while loading; a fallback in index.html shows it anyway after 3s) */
html:not(.nd-ready) body { opacity: 0; }
body { transition: opacity .35s ease; }
/* the old paintings section (the paintings now live on the album cards) */
#paintings, .stars-paintings, .nav a[href="#paintings"] { display: none !important; }
/* the fades without calc() inside the colours (some browsers drop such a gradient entirely, e.g. the banner's top fade in Firefox):
   the same gradients with the strengths baked in (banner top fade 1, story/painting top fade 1.5, banner bottom fade 1);
   the strength sliders now work through opacity */
.hero::after { background: linear-gradient(180deg, rgba(11,9,7,.82) 0%, rgba(11,9,7,.6) 30%, rgba(11,9,7,.24) 65%, rgba(11,9,7,0) 100%); opacity: var(--bf-s, 1); }
.aw-stage.cards::before { background: linear-gradient(180deg, rgba(11,9,7,1) 0%, rgba(11,9,7,.825) 30%, rgba(11,9,7,.33) 65%, rgba(11,9,7,0) 100%); }
.hero img {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 var(--b0), rgba(0,0,0,.82) calc(var(--b0) + (100% - var(--b0)) * .27), rgba(0,0,0,.5) calc(var(--b0) + (100% - var(--b0)) * .52),
    rgba(0,0,0,.22) calc(var(--b0) + (100% - var(--b0)) * .74), rgba(0,0,0,.06) calc(var(--b0) + (100% - var(--b0)) * .9), rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 var(--b0), rgba(0,0,0,.82) calc(var(--b0) + (100% - var(--b0)) * .27), rgba(0,0,0,.5) calc(var(--b0) + (100% - var(--b0)) * .52),
    rgba(0,0,0,.22) calc(var(--b0) + (100% - var(--b0)) * .74), rgba(0,0,0,.06) calc(var(--b0) + (100% - var(--b0)) * .9), rgba(0,0,0,0) 100%); }
/* the glows and the haze use pre-blurred pictures (app.js softPic): no blur filter, so nothing heavy to redraw when the page
   changes (Safari). The brightness limit becomes opacity, and a radial mask gives the soft edges the blur used to make.
   A picture that can't be pre-blurred keeps the old filter (.hard). */
.glow2, .bga-haze #bgArt .a, .bga-haze #bgArt .b { filter: none; }
.glow2 { border-radius: 0; -webkit-mask-image: radial-gradient(closest-side, #000 45%, rgba(0,0,0,.45) 75%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, rgba(0,0,0,.45) 75%, transparent 100%); }
.hs-halo #albums > .glow2.on { opacity: calc(.55 * var(--halo-b, .6)); }
.sheet-list > .glow2.on { opacity: calc(.5 * var(--sheet-b, .7)); }
#newsletter > .glow2.on { opacity: calc(.32 * var(--halo-b, .6)); }
.bga-haze #bgArt .on { opacity: calc(.375 * (1 - var(--hz-dark, .35))); }
#albums > .glow2.hard { filter: blur(80px) saturate(1.1) brightness(var(--halo-b, .6)); -webkit-mask-image: none; mask-image: none; border-radius: 50%; }
.sheet-list > .glow2.hard { filter: blur(90px) saturate(1.1) brightness(var(--sheet-b, .7)); -webkit-mask-image: none; mask-image: none; border-radius: 50%; }
#newsletter > .glow2.hard { filter: blur(110px) saturate(1.1) brightness(var(--halo-b, .6)); -webkit-mask-image: none; mask-image: none; border-radius: 50%; }
.hs-halo #albums > .glow2.hard.on, .sheet-list > .glow2.hard.on, #newsletter > .glow2.hard.on { opacity: .5; }
.bga-haze #bgArt .hard { filter: blur(70px) brightness(.5); }
.bga-haze #bgArt .hard.on { opacity: calc(.75 * (1 - var(--hz-dark, .35))); }
.news-list:not(.hard)::before { filter: none; border-radius: 0; opacity: calc(.42 * var(--news-b, .8)); -webkit-mask-image: radial-gradient(closest-side, #000 45%, rgba(0,0,0,.45) 75%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, rgba(0,0,0,.45) 75%, transparent 100%); }
/* the painting is its own ready-drawn layer, so fading it in (and the frame growing around it) doesn't repaint it */
.aw-stage.cards .cx-fill { will-change: opacity, transform; }
/* (the glow overrides above lost to the original, more specific rules: the same selectors here, so the pre-blurred
   pictures really are drawn without a filter) */
#albums > .glow2:not(.hard), .sheet-list > .glow2:not(.hard), #newsletter > .glow2:not(.hard) { filter: none; }
/* visualizer: the dots (or bars) bob in a CSS animation while a preview plays: the browser runs it by itself, with no
   script working every frame (that kept the page busy enough to make audio stutter on some systems) */
@keyframes vzDot { 0% { transform: translateY(0); opacity: .4; } 100% { transform: translateY(-4px); opacity: 1; } }
@keyframes vzBar { 0% { transform: scaleY(1); } 100% { transform: scaleY(5); } }
.vz-dots .pl-viz i, .vz-dots .sh-pl .pl-viz i { transition: none; opacity: .4; }
.vz-dots .is-playing .pl-viz i, .vz-dots .sh-pl.is-playing .pl-viz i { animation: vzDot .62s ease-in-out infinite alternate; }
.vz-bars .pl-viz i { height: 2px !important; transform-origin: bottom; transition: none; }
.vz-bars .is-playing .pl-viz i { animation: vzBar .62s ease-in-out infinite alternate; }
.is-playing .pl-viz i:nth-child(2) { animation-duration: .5s !important; animation-delay: -.2s !important; }
.is-playing .pl-viz i:nth-child(3) { animation-duration: .74s !important; animation-delay: -.45s !important; }
.is-playing .pl-viz i:nth-child(4) { animation-duration: .56s !important; animation-delay: -.1s !important; }
.is-playing .pl-viz i:nth-child(5) { animation-duration: .83s !important; animation-delay: -.6s !important; }
@media (prefers-reduced-motion: reduce) { .is-playing .pl-viz i { animation: none !important; opacity: .8; } }
/* the frame's height changes at once (app.js glide() slides what's below instead: no re-layout on every frame) */
.aw-stage.cards { transition: none; }
/* the paper grain over the page, baked: it used to be two noise tiles blended with soft-light into everything behind,
   which made the browser re-blend the whole screen on every scroll frame (heavy enough to make audio stutter). Now it's
   one ready-made, faintly light speckle (images/fx/grain.png, made to match the old look over the dark page), laid on normally. */
body.tx-paper::before { mix-blend-mode: normal; background-image: url("images/fx/grain.png"); background-blend-mode: normal; opacity: 1; }
/* the fixed background (colour haze + vignette) as light as it can be: it stays still while the page scrolls over it, so
   the browser recombines it with the page on every scroll frame (heavy enough to make audio crackle). So: one haze layer
   at a time (the other is hidden once a crossfade is over), exactly screen-sized, and the vignette drawn inside the same
   layer instead of as a fixed layer of its own. */
.bga-haze #bgArt .a, .bga-haze #bgArt .b { inset: 0; }
#bgArt i { visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
#bgArt i.on { visibility: visible; transition: opacity 1.4s ease, visibility 0s; }
.bga-haze #bgArt i:not(.a):not(.b) { display: none; }
body.bga-haze::after { content: none; }
.bga-haze #bgArt::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80vw 70vh at 50% 35%, rgba(215,168,110,.045), transparent 70%), radial-gradient(140vw 120vh at 50% 50%, transparent 55%, rgba(0,0,0,.35) 100%); }
/* the colour haze scrolls with the page (.hz-scroll, the default): one layer the size of the whole page, the album's picture
   stretched over it, so scrolling simply moves it instead of recombining a fixed layer with the page on every frame
   (that made audio crackle). ?haze=fixed brings back the haze that stays on screen. */
body.hz-scroll { position: relative; }
.hz-scroll #bgArt { position: absolute; inset: 0; }
.hz-scroll #bgArt .a, .hz-scroll #bgArt .b { background-size: 100% 100%; }
/* headroom while scrolling: the glows' oval fade is baked into their pre-blurred pictures (app.js softPic, round), so they
   need no CSS mask; each picture is stretched to its box so the baked oval matches it. And the paper grain is gone. */
#albums > .glow2:not(.hard), .sheet-list > .glow2:not(.hard), #newsletter > .glow2:not(.hard), .glow2:not(.hard) { -webkit-mask-image: none; mask-image: none; background-size: 100% 100%; }
.news-list:not(.hard)::before { -webkit-mask-image: none; mask-image: none; background-size: 100% 100%; }
body.tx-paper::before { display: none; }
/* bio darkness options (?biodark=a/b/c): darker behind the bio, closer to the news section, with the warm light kept only
   in a band right above the tear (so the banner fades further into darkness) */
.bd-a .about::after, .bd-b .about::after, .bd-c .about::after { top: -160px; }
.bd-a .about::after { background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.78) 160px, rgba(9,7,5,.78) calc(100% - 80px), rgba(9,7,5,0)); }
.bd-b .about::after { background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.86) 150px, rgba(9,7,5,.86) calc(100% - 80px), rgba(9,7,5,0)); }
.bd-c .about::after { background: linear-gradient(180deg, rgba(9,7,5,0), rgba(9,7,5,.93) 140px, rgba(9,7,5,.93) calc(100% - 80px), rgba(9,7,5,0)); }
/* the light above the bio's tear: only a band right above the edge (160 / 110 / 70px) */
.pgs-b10.bd-a #about + .stars::after { background: linear-gradient(180deg, rgba(255,232,190,0) 0, rgba(255,232,190,0) 278px, rgba(255,232,190,.06) 438px, rgba(0,0,0,.42) 446px, rgba(0,0,0,.3) 600px, rgba(0,0,0,.14) 780px, rgba(0,0,0,0) 1000px); }
.pgs-b10.bd-b #about + .stars::after { background: linear-gradient(180deg, rgba(255,232,190,0) 0, rgba(255,232,190,0) 328px, rgba(255,232,190,.06) 438px, rgba(0,0,0,.42) 446px, rgba(0,0,0,.3) 600px, rgba(0,0,0,.14) 780px, rgba(0,0,0,0) 1000px); }
.pgs-b10.bd-c #about + .stars::after { background: linear-gradient(180deg, rgba(255,232,190,0) 0, rgba(255,232,190,0) 368px, rgba(255,232,190,.07) 438px, rgba(0,0,0,.42) 446px, rgba(0,0,0,.3) 600px, rgba(0,0,0,.14) 780px, rgba(0,0,0,0) 1000px); }
/* the banner's top fade, stronger (like the album card's top fade on the painting tabs): the logo and the menu sit on
   darkness that eases out over the upper part of the banner */
.hero::after { height: 62%; background: linear-gradient(180deg, rgba(11,9,7,.96) 0%, rgba(11,9,7,.8) 22%, rgba(11,9,7,.45) 50%, rgba(11,9,7,.15) 78%, rgba(11,9,7,0) 100%); opacity: var(--bf-s, 1); }

/* ══ Phone layout (up to 820px wide) ══════════════════════════════════════════════════════════════════════════════
   One block that wins over the desktop rules above: everything stacks in a single column. */
html, body { overflow-x: clip; }   /* glows may reach past the screen's edges, but never make the page scroll sideways */
@media (max-width: 820px) {
  /* album card: version tabs as a row that scrolls sideways, then cover, player, title, text and links, one under the other */
  body .aw-stage.cards, body .aw-stage.cards.on-painting, body.ac-open .aw-stage.cards:not(.on-painting) { height: auto !important; display: flex !important; flex-direction: column; overflow: visible; padding: 0; background: none; box-shadow: none; }
  body .aw-stage.cards .cx-top { position: relative; order: -1; padding: 0 0 14px !important; }   /* the tabs always first, above the painting too */
  body .aw-stage.cards .gx-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; justify-content: flex-start; width: 100%; }
  body .aw-stage.cards .gx-tabs::-webkit-scrollbar { display: none; }
  body .aw-stage.cards .gx-tabs button { flex: none; white-space: nowrap; }
  body .aw-stage.cards .cx-card.wide { position: static !important; inset: auto !important; display: block !important; width: auto !important; height: auto !important; max-height: none !important; padding: 0 !important; transform: none !important; clip-path: none !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  body .aw-stage.cards .cx-card.wide .cx-cover, body .aw-stage.cards .cx-card.wide .cx-thumb { width: 100% !important; height: auto !important; aspect-ratio: 1; max-width: 420px; margin: 0 auto; }
  body .aw-stage.cards .cx-card.wide > .cx-player { margin: 12px auto 22px !important; max-width: 420px; }
  body .aw-stage.cards .cx-card.wide .cx-body { position: static !important; width: auto !important; height: auto !important; max-height: none !important; overflow: visible !important; }
  body .aw-stage.cards .cx-card.wide .cx-text { max-height: none !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; }
  /* painting / story tabs: the painting at full width, its text underneath */
  body .aw-stage.cards.on-painting .cx-fill { position: relative !important; height: auto !important; aspect-ratio: 4 / 3; opacity: 1 !important; border-radius: 6px; }
  body .aw-stage.cards .cx-card.side { position: static !important; width: auto !important; max-height: none !important; margin: 16px 0 0 !important; padding: 18px 16px !important; transform: none !important; }
  body .aw-stage.cards:not(.on-painting) .cx-fill { display: none; }
  body .aw-stage.cards::before { display: none; }   /* (the top fade over the painting is for text laid over it, not needed here) */
  /* sheet music: the sheet with its player and download line, then the list */
  body .sheet-list.sl-stand { display: block !important; }
  body .sl-stand .ss-left, body .sl-stand .ss-side { width: auto !important; max-width: 460px; margin: 0 auto; }
  body .sl-stand .ss-side { margin-top: 26px !important; }
  body .sl-stand .ss-side .ss-list { position: static !important; max-height: 340px; }
}
@media (max-width: 820px) {
  /* the listen links on one line: a little tighter */
  body.lb-caps .cx-act.logos { flex-wrap: nowrap; }
  body.lb-caps .badge .full, body.lb-caps .badge-others .olabel { font-size: 12px; letter-spacing: 1.6px; white-space: nowrap; }
  body.lb-caps .cx-act.logos .badge + .badge::before { margin: 0 11px; }
}

/* ── album section on phones: three layouts to choose from (body.mob-a / mob-b / mob-c, ?mob=a|b|c); none of it on desktop */
.m-pick, .m-all, .m-ver { display: none; }
@media (max-width: 820px) {
  /* A: every album visible as a grid of small covers; the tabs on (up to) two centred lines */
  body.mob-a .aw-shelf, body.mob-c.m-open-x .aw-shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 4px 0 18px; scroll-snap-type: none; }
  body.mob-a .aw-shelf button { width: auto; flex: none; transform: none; }
  body.mob-a .aw-shelf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
  body.mob-a .aw-shelf .sh-name { display: none; }
  body.mob-a .aw-shelf button[aria-selected] { transform: none; outline: 1.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
  body.mob-a .aw-stage.cards .gx-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 6px 16px; }
  body.mob-a .aw-stage.cards .gx-tabs button { font-size: 12px; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-painting { margin-left: 0; }

  /* B: a strip of smaller covers (about five in view, the rest a swipe away); short tab names on one line */
  body.mob-b .aw-shelf { gap: 8px; padding: 6px 0 16px; }
  body.mob-b .aw-shelf button { flex: 0 0 58px; transform: none; }
  body.mob-b .aw-shelf img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
  body.mob-b .aw-shelf .sh-name { display: none; }
  body.mob-b .aw-shelf button[aria-selected] { outline: 1.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
  body.mob-b .aw-stage.cards .gx-tabs { overflow: visible; justify-content: space-between; gap: 0; }
  body.mob-b .aw-stage.cards .gx-tabs button { font-size: 0 !important; padding-left: 0; padding-right: 0; margin: 0 !important; }
  body.mob-b .aw-stage.cards .gx-tabs button::after { content: attr(data-short); font-size: 11.5px; letter-spacing: .02em; }

  /* C: one album at a time ("‹ Ocarina of Time ›", "All albums" opens the grid); the versions as a dropdown beside Story and Painting */
  body.mob-c .aw-shelf { display: none; }
  body.mob-c #albums.m-open .aw-shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 4px 0 14px; }
  body.mob-c #albums.m-open .aw-shelf button { transform: none; }
  body.mob-c #albums.m-open .aw-shelf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
  body.mob-c #albums.m-open .aw-shelf .sh-name { display: none; }
  body.mob-c #albums.m-open .aw-shelf button[aria-selected] { outline: 1.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
  body.mob-c .m-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 4px; }
  body.mob-c .m-pick button { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(215,168,110,.4); background: none; color: var(--gold); font-size: 22px; line-height: 1; cursor: pointer; }
  body.mob-c .m-name { flex: 1; text-align: center; font-family: 'Cinzel', serif; font-size: 19px; color: var(--text); line-height: 1.2; }
  body.mob-c .m-name small { display: block; font-size: 11px; letter-spacing: .14em; color: var(--small); text-transform: uppercase; }
  body.mob-c .m-all { display: block; margin: 0 auto 16px; background: none; border: 0; color: var(--gold); font: 13px 'Crimson Pro', serif; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  body.mob-c .aw-stage.cards .cx-top { display: flex; align-items: center; gap: 14px; }
  body.mob-c .aw-stage.cards .gx-tabs { flex: 1; overflow: visible; justify-content: flex-end; gap: 16px; order: 2; }
  body.mob-c .aw-stage.cards .gx-tabs .tab-music { display: none; }
  body.mob-c .m-ver { display: block; order: 1; }
  body.mob-c .m-ver select { appearance: none; -webkit-appearance: none; background: rgba(215,168,110,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23D7A86E'/%3E%3C/svg%3E") right 10px center no-repeat; border: 1px solid rgba(215,168,110,.4); border-radius: 4px; color: var(--text); font: 13px 'Crimson Pro', serif; padding: 7px 28px 7px 10px; max-width: 190px; }
}
@media (max-width: 820px) {
  body.mob-c .aw-stage.cards .gx-tabs button { font-size: 0 !important; }
  body.mob-c .aw-stage.cards .gx-tabs button::after { content: attr(data-short); font-size: 12.5px; letter-spacing: .03em; }
  body.mob-b .aw-stage.cards .gx-tabs button::after { font-size: 12px; }
}
@media (max-width: 820px) {
  /* painting / story tabs: the player right under the painting, like on the music tabs; the card (title, text) after it.
     The card lets its parts be placed on their own, and its box is drawn by its title and text instead. */
  body .aw-stage.cards .cx-card.side { display: contents !important; }
  body .aw-stage.cards .cx-card.side > .cx-foot { order: 1; margin: 12px 0 0; padding: 0; border: 0; background: none; }
  body .aw-stage.cards .cx-card.side > .cx-toggle { order: 2; margin-top: 16px; padding: 18px 16px 10px; background: rgba(11,9,7,.74); border-radius: 6px 6px 0 0; width: 100%; }
  body .aw-stage.cards .cx-card.side > .cx-more { order: 3; padding: 0 16px 18px; background: rgba(11,9,7,.74); border-radius: 0 0 6px 6px; }
}
@media (max-width: 820px) {
  /* footer links on one line (Shop no longer alone on a second line); on very narrow phones two by two */
  .socials { flex-wrap: nowrap; gap: 14px; }
  .socials a { font-size: 11px; letter-spacing: 1.2px; white-space: nowrap; }
}
@media (max-width: 820px) {
  /* five footer links: three on the first line, two centred on the second (never one alone) */
  .socials, .socials[class] { display: flex; flex-wrap: wrap; justify-content: center; max-width: 300px; margin-left: auto; margin-right: auto; gap: 10px 14px; }
}
/* a free sheet: a small mark beside its name in the list */
.ss-free { display: inline-block; margin-left: 6px; padding: 1px 6px; border: 1px solid rgba(215,168,110,.5); border-radius: 3px; color: var(--gold); font-family: 'Cinzel', serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }
/* the banner's top fade always above the picture: Safari gives the picture (masked, scalable) a layer of its own and drew
   it over the fade, so the logo and the menu lost their dark backing there. An explicit order keeps it on top. */
.hero::after { z-index: 1; }
.hero-over { z-index: 2; }
/* banner top fade options (?topfade=a/b/c): b and c keep the logo and the menu on solid darkness, then ease out further down */
body.tf-b .hero::after { height: 70%; background: linear-gradient(180deg, rgba(11,9,7,.97) 0%, rgba(11,9,7,.93) 18%, rgba(11,9,7,.7) 36%, rgba(11,9,7,.35) 62%, rgba(11,9,7,.1) 85%, rgba(11,9,7,0) 100%); }
body.tf-c .hero::after { height: 82%; background: linear-gradient(180deg, #0b0907 0%, rgba(11,9,7,.98) 24%, rgba(11,9,7,.82) 42%, rgba(11,9,7,.5) 64%, rgba(11,9,7,.18) 86%, rgba(11,9,7,0) 100%); }
/* B, shorter (chosen): solid darkness behind the logo and the menu, easing out within the top part of the banner only */
body.tf-b .hero::after { height: 40%; background: linear-gradient(180deg, rgba(11,9,7,.97) 0%, rgba(11,9,7,.92) 34%, rgba(11,9,7,.6) 56%, rgba(11,9,7,.25) 78%, rgba(11,9,7,0) 100%); }
@media (max-width: 820px) {
  /* phones (layout A): the versions on the first line ("Piano & Violin Adventures" as "P&V Adventures"), story and painting below */
  body.mob-a .aw-stage.cards .gx-tabs { gap: 6px 14px; }
  body.mob-a .aw-stage.cards .gx-tabs::before { content: ""; flex-basis: 100%; order: 1; height: 0; }
  body.mob-a .aw-stage.cards .gx-tabs button:not(.tab-music) { order: 2; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="P&V"] { font-size: 0 !important; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="P&V"]::after { content: "P&V Adventures"; font-size: 12px; }
}
@media (max-width: 820px) {
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="Felt"], body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="Lofi"] { font-size: 0 !important; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="Felt"]::after { content: "Felt Sessions"; font-size: 12px; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short="Lofi"]::after { content: "Lofi Jamz"; font-size: 12px; }
}
@media (max-width: 820px) {
  body.mob-a .aw-stage.cards .gx-tabs { gap: 6px 13px; }
  body.mob-a .aw-stage.cards .gx-tabs button { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; font-size: 11.5px; letter-spacing: .02em; }
  body.mob-a .aw-stage.cards .gx-tabs .tab-music[data-short]::after { font-size: 11.5px; }
}
@media (max-width: 820px) {
  body.mob-a .aw-stage.cards .gx-tabs { gap: 6px 11px; }
  body.mob-a .aw-stage.cards .gx-tabs button { letter-spacing: 0; }
}
@media (max-width: 820px) { body.mob-a .aw-stage.cards .gx-tabs { gap: 6px 8px; } }
/* phones: a quiet "Back to the albums" after the story / painting text (scrolls back up to the albums) */
.m-back { display: none; }
@media (max-width: 820px) {
  body .aw-stage.cards .cx-card.side > .m-back { display: block; order: 4; margin: 14px auto 0; background: none; border: 0; padding: 8px 12px;
    color: var(--gold); font: 500 12px 'Cinzel', serif; letter-spacing: .14em; text-transform: uppercase; opacity: .8; cursor: pointer; }
  body .aw-stage.cards .cx-card.side > .m-back::before { content: "↑"; margin-right: 8px; }
}
/* the gear line under "The music" in the same type as the text around it (no longer small italic print) */
.head-note p.gear { font-size: 16.5px; line-height: 26px; font-style: normal; opacity: 1; margin: 0 0 10px; }
/* the playlist section, shown while it's being designed (?playlists=on) */
body.pl-on #playlists, body.pl-on .stars-playlists { display: block; }
body.pl-on .nav a[href="#playlists"] { display: inline; }

/* ── Playlists (in the card-less style of the other sections). Layouts: .pls-a three columns, .pls-b tabs like the albums, .pls-c one row per style */
.pls { display: block; max-width: 1040px; margin: 0 auto; }
.pls .style-card { display: none; }
.pl-style { text-align: center; }
.pl-info h3 { margin: 0; font: 500 24px 'Cinzel', serif; color: var(--text); letter-spacing: .02em; }
.pl-info .use { margin: 6px 0 12px; font: italic 17px 'Crimson Pro', serif; color: var(--gold); }
.pl-info p:not(.use) { margin: 0 auto 18px; max-width: 460px; color: var(--muted); font-size: 16px; line-height: 25px; }
.pl-covers { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; }
.pl-item { width: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pl-cov { display: block; width: 150px; height: 150px; border-radius: 4px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.55); transition: transform .3s ease, box-shadow .3s ease; }
.pl-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-cov:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.65); }
.pl-name { margin: 10px 0 4px; font: 15px/1.3 'Crimson Pro', serif; color: var(--text); }
.pl-item .pl-links { font-size: 12px; }
/* A: three columns side by side */
.pls-a { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.pls-a .pl-item { width: 130px; } .pls-a .pl-cov { width: 130px; height: 130px; }
/* B: tabs like the album section, one style at a time */
.pl-tabs { display: flex; justify-content: center; gap: 30px; margin: 0 0 26px; }
.pl-tabs button { background: none; border: 0; padding: 6px 2px; color: var(--muted); font: 500 15px 'Cinzel', serif; letter-spacing: .04em; cursor: pointer; border-bottom: 1px solid transparent; }
.pl-tabs button[aria-selected] { color: var(--text); border-bottom-color: var(--gold); }
.pl-hidden { display: none; }
.pls-b .pl-item { width: 180px; } .pls-b .pl-cov { width: 180px; height: 180px; }
/* C: one row per style, the text on the left and the covers on the right */
.pls-c .pl-style { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; text-align: left; padding: 26px 0; border-top: 1px solid rgba(239,230,210,.08); }
.pls-c .pl-style:first-child { border-top: 0; }
.pls-c .pl-info p:not(.use) { margin-left: 0; }
.pls-c .pl-covers { justify-content: flex-start; }
.pls-c .pl-item { width: 140px; } .pls-c .pl-cov { width: 140px; height: 140px; }
@media (max-width: 820px) {
  .pls-a { grid-template-columns: 1fr; gap: 44px; }
  .pls-c .pl-style { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .pls-c .pl-covers { justify-content: center; }
  .pl-tabs { gap: 16px; }
  .pl-item, .pls-a .pl-item, .pls-b .pl-item, .pls-c .pl-item { width: 140px; }
  .pl-cov, .pls-a .pl-cov, .pls-b .pl-cov, .pls-c .pl-cov { width: 140px; height: 140px; }
}
.pl-item .pl-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
.pl-item .pl-links a { margin: 0 !important; }
.pl-item .pl-links a::before, .pl-item .pl-links a::after { display: none !important; }
/* D (chosen direction): compact rows like the sheet music list */
.pls-d { max-width: 780px; }
.plr-group { display: flex; align-items: baseline; gap: 14px; margin: 30px 0 6px; padding: 0 14px; }
.plr-group:first-child { margin-top: 0; }
.plr-group h3 { margin: 0; font: 500 15px 'Cinzel', serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.plr-group .use { font: italic 15px 'Crimson Pro', serif; color: var(--small); }
.plr { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 14px; border-top: 1px solid rgba(239,230,210,.08); transition: background .2s ease; }
.plr:hover { background: rgba(239,230,210,.035); }
.plr-cov { display: block; width: 64px; height: 64px; border-radius: 3px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.5); }
.plr-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plr-txt { min-width: 0; }
.plr-name { display: block; font: 500 18px/1.25 'Cinzel', serif; color: var(--text); letter-spacing: .01em; }
.plr-info { display: block; margin-top: 4px; font: italic 15.5px/1.35 'Crimson Pro', serif; color: var(--muted); }
.plr-ic { display: flex; gap: 14px; }
.plr-ic a { display: block; width: 22px; height: 22px; opacity: .7; transition: opacity .2s ease, transform .2s ease; }
.plr-ic a:hover { opacity: 1; transform: translateY(-1px); }
.plr-ic i { display: block; width: 100%; height: 100%; background: var(--gold); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
@media (max-width: 820px) {
  .plr { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 12px 6px; }
  .plr-cov { width: 52px; height: 52px; grid-row: span 2; }
  .plr-name { font-size: 15.5px; }
  .plr-info { font-size: 14px; }
  .plr-ic { grid-column: 2; gap: 16px; margin-top: 6px; }
  .plr-group { padding: 0 6px; flex-wrap: wrap; gap: 2px 10px; }
}
/* the playlists get the same soft glow as the sheet music (the album on screen's picture) */
#styles { position: relative; z-index: 0; }
#styles > .glow2 { left: -14%; right: -14%; top: -8%; bottom: -8%; }
#styles > .glow2:not(.hard) { filter: none; }
#styles > .glow2.on { opacity: calc(.45 * var(--halo-b, .6)); }
/* (the playlist glow sits on the section itself, so drawing the list doesn't remove it) */
#playlists { position: relative; z-index: 0; }
#playlists > .glow2 { left: 50%; width: min(1100px, 130vw); margin-left: max(-550px, -65vw); top: 40px; bottom: 0; }
#playlists > .glow2:not(.hard) { filter: none; }
#playlists > .glow2.on { opacity: calc(.45 * var(--halo-b, .6)); }
/* playlist glow: tighter and as strong as the sheet music's (it was spread too thin to see) */
#playlists > .glow2 { width: min(980px, 120vw); margin-left: max(-490px, -60vw); top: 70px; bottom: 30px; }
#playlists > .glow2.on { opacity: calc(.62 * var(--halo-b, .6)); }
#playlists > .glow2.on { opacity: calc(.7 * var(--halo-b, .6)); }
/* the divider before the playlists (now after the sheet music): spaced like the one before the sheet music */
body[class*="pgs-"]:not(.pgs-none) .stars-playlists { margin: var(--sp-c1, 64px) 0 var(--sp-c2, 76px) !important; }
/* the line under the Playlists heading: like the sheet music's, but it may wrap (it's longer) */
.pl-lead { max-width: 620px; margin: 6px auto 30px; }
.pl-lead p, .sheet-lead.pl-lead p { white-space: normal; text-wrap: balance; }
.pl-lead { text-align: center; }
@media (max-width: 820px) {
  /* phones: smaller playlist titles and a smaller text under "The music" */
  .plr-name { font-size: 13.5px; line-height: 1.3; }
  .plr-info { font-size: 13.5px; }
  .head-note p, .head-note p.gear { font-size: 14.5px; line-height: 23px; }
}
/* back to the top (phones only) */
.totop { display: none; }
@media (max-width: 820px) {
  .totop { display: flex; align-items: center; justify-content: center; position: fixed; z-index: 30; bottom: 18px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(215,168,110,.55); background: rgba(11,9,7,.78); color: var(--gold); font: 500 19px 'Cinzel', serif; cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
  .totop.show { opacity: .92; transform: none; pointer-events: auto; }
  .tt-b .totop { right: auto; left: 50%; width: auto; height: 36px; padding: 0 16px; border-radius: 18px; margin-left: -42px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; gap: 6px; }
  .tt-b .totop span { font-size: 15px; letter-spacing: 0; }
  .tt-b .totop.show { transform: none; }
  /* c: the menu bar comes back while scrolling up */
  .tt-c .nav { transition: transform .3s ease, background .3s ease; }
  .tt-c .nav.pinned { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(11,9,7,.96), rgba(11,9,7,.88)); box-shadow: 0 6px 18px rgba(0,0,0,.45); animation: navIn .3s ease both; }
}
@keyframes navIn { from { transform: translateY(-100%); } to { transform: none; } }
/* playlists as a scrolling box like the sheet list: a fixed height, thin gold scrollbar, a soft fade at the bottom edge,
   and each group heading staying at the top while its playlists scroll past */
.pls-d { max-height: 620px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(215,168,110,.4) transparent;
  padding-bottom: 50px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 70px), transparent); }
.pls-d::-webkit-scrollbar { width: 6px; background: transparent; }
.pls-d::-webkit-scrollbar-track { background: transparent; }
.pls-d::-webkit-scrollbar-thumb { background: rgba(215,168,110,.4); border-radius: 3px; }
@supports not (scrollbar-color: auto) { .pls-d { scrollbar-width: auto; } }   /* Safari: as for the sheet list, so the sand -webkit- bar above shows instead of a plain white one */
.pls-d .plr-group { margin: 0; padding-top: 14px; padding-bottom: 10px; }
.pls-d .plr-group:not(:first-child) { margin-top: 18px; }
@media (max-width: 820px) { .pls-d { max-height: none; overflow: visible; padding-bottom: 0; -webkit-mask-image: none; mask-image: none; } }

/* bio text: softer against the dark, like the playlist texts, with a faint warm glow behind it */
.bd-c .about-text { position: relative; isolation: isolate; }
.bd-c .about-text p { color: rgb(200,189,168); opacity: 1; }
.bd-c .about-text::before { content: ""; position: absolute; inset: -90px -140px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(215,168,110,.11), rgba(215,168,110,.045) 55%, rgba(215,168,110,0) 100%); }

/* services menu ("All platforms", the playlists' ⋯): a drop-down at the button on desktop, a sheet from the bottom on phones */
.svm { position: absolute; z-index: 60; min-width: 190px; padding: 6px 0; background: #1b1510; border: 1px solid rgba(215,168,110,.28); border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4); opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease; }
.svm.svm-up { transform: translateY(4px); }
.svm.on { opacity: 1; transform: none; }
.svm a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; font-family: 'Crimson Pro', Georgia, serif; font-size: 16.5px; color: var(--text); text-decoration: none; white-space: nowrap; outline: none; }
.svm a:hover, .svm a:focus-visible { background: rgba(215,168,110,.1); }
.svm a i { flex: none; width: 18px; height: 18px; background: var(--gold); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.svm a.svm-all { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(215,168,110,.14); font-size: 15px; font-style: italic; color: var(--muted); }
.svm-scrim { position: fixed; inset: 0; z-index: 59; background: rgba(5,4,3,.55); opacity: 0; transition: opacity .25s ease; }
.svm-scrim.on { opacity: 1; }
html.svm-lock, html.svm-lock body { overflow: hidden; }
.svm.svm-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; min-width: 0; border-radius: 18px 18px 0 0; border-width: 1px 0 0;
  padding: 8px 0 calc(14px + env(safe-area-inset-bottom)); opacity: 1; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.svm.svm-sheet.on { transform: none; }
.svm-grip { width: 38px; height: 4px; border-radius: 2px; background: rgba(215,168,110,.35); margin: 2px auto 12px; }
.svm-head { display: flex; align-items: center; gap: 12px; padding: 0 20px 12px; margin-bottom: 4px; border-bottom: 1px solid rgba(215,168,110,.14); }
.svm-head img { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.svm-head span { font-family: 'Cinzel', Georgia, serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); line-height: 1.35; }
.svm-sheet a { padding: 13px 20px; font-size: 18px; gap: 16px; }
.svm-sheet a i { width: 22px; height: 22px; }
.svm-sheet a.svm-all { font-size: 16px; }

/* phones: tighter spacing from the banner to the bio, the bio to News, and News to its first story */
@media (max-width: 820px) {
  body #about.about { margin-top: -55px !important; }
  body #about + .stars { margin-top: 44px !important; margin-bottom: 22px !important; }
  #news .head { margin-bottom: 16px; }
  #news .news-list .news-item:first-child { padding-top: 12px; }
  #news .news-list .news-item:first-child .ni-pic { margin-top: 0; }
}

/* ── opening animations (html.intro-a|b|c, ?intro=): only opacity and transforms, once, when the page shows (html.nd-ready) */
@keyframes ndPop { from { opacity: 0; transform: scale(.94) translateY(16px); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes ndUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ndDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes ndFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes ndSettle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes ndSpark { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 25% { opacity: 1; transform: translate(calc(var(--dx) * .3), -6px) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), 34px) scale(.5); } }
@keyframes ndSheen { from { opacity: 0; transform: translateX(-120%) skewX(-18deg); } 20% { opacity: 1; } 65% { opacity: 1; } to { opacity: 0; transform: translateX(440%) skewX(-18deg); } }
/* a, b: the banner pops up like a profile card opening, then the name, the bio and News follow */
.nd-ready:is(.intro-a, .intro-b):not(.intro-done) .hero { animation: ndPop .75s cubic-bezier(.2, 1.3, .4, 1) both; transform-origin: 50% 30%; }
.nd-ready:is(.intro-a, .intro-b):not(.intro-done) .nav { animation: ndDown .5s ease-out .25s both; }
.nd-ready:is(.intro-a, .intro-b):not(.intro-done) #about { animation: ndUp .6s cubic-bezier(.2, 1.2, .4, 1) .3s both; }
.nd-ready:is(.intro-a, .intro-b):not(.intro-done) #news .head, .nd-ready:is(.intro-a, .intro-b):not(.intro-done) #about + .stars { animation: ndUp .6s ease-out .45s both; }
.nd-ready:is(.intro-a, .intro-b):not(.intro-done) #newsList { animation: ndUp .6s ease-out .55s both; }
/* b: a one-time sparkle over the banner, and a soft light sweeping across it */
.intro-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.intro-fx i { position: absolute; opacity: 0; font-style: normal; line-height: 1; color: #f6e2b6; text-shadow: 0 0 6px rgba(242,202,140,.95), 0 0 16px rgba(242,202,140,.55);
  animation: ndSpark 1.9s ease-out both; }
.intro-fx::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 28%; background: linear-gradient(90deg, rgba(255,236,200,0), rgba(255,236,200,.13), rgba(255,236,200,0));
  animation: ndSheen 2.2s ease-in-out .35s both; }
.nd-ready .intro-fx i { animation-play-state: running; }
html:not(.nd-ready) .intro-fx i, html:not(.nd-ready) .intro-fx::after { animation-play-state: paused; }
/* c: the banner lights up from the dark and slowly settles, the name comes down, the bio rises */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #0b0907; opacity: 0; }
.nd-ready.intro-c:not(.intro-done) .hero::before { animation: ndFadeOut 1.6s ease-out .1s both; }
.nd-ready.intro-c:not(.intro-done) .hero img { animation: ndSettle 3.2s cubic-bezier(.2, .7, .3, 1) both; }
.nd-ready.intro-c:not(.intro-done) .nav { animation: ndDown .9s ease-out .7s both; }
.nd-ready.intro-c:not(.intro-done) #about { animation: ndUp 1s ease-out .9s both; }
.nd-ready.intro-c:not(.intro-done) #about + .stars, .nd-ready.intro-c:not(.intro-done) #news { animation: ndUp 1s ease-out 1.15s both; }
/* d = b and c together: the banner pops up while it lights up from the dark and settles, the stars sparkle over it, then the name, the bio and News follow */
.nd-ready.intro-d:not(.intro-done) .hero { animation: ndPop .9s cubic-bezier(.2, 1.3, .4, 1) both; transform-origin: 50% 30%; }
.nd-ready.intro-d:not(.intro-done) .hero::before { animation: ndFadeOut 1.4s ease-out .05s both; }
.nd-ready.intro-d:not(.intro-done) .hero img { animation: ndSettle 3s cubic-bezier(.2, .7, .3, 1) both; }
.nd-ready.intro-d:not(.intro-done) .nav { animation: ndDown .7s ease-out .5s both; }
.nd-ready.intro-d:not(.intro-done) #about { animation: ndUp .8s cubic-bezier(.2, 1.15, .4, 1) .6s both; }
.nd-ready.intro-d:not(.intro-done) #about + .stars, .nd-ready.intro-d:not(.intro-done) #news { animation: ndUp .8s ease-out .8s both; }
.intro-d .intro-fx::after { animation-delay: .6s; }

/* the follow-ups shared by e–h: the menu bar comes down, the bio and News rise (after the banner's own moment) */
.nd-ready:is(.intro-e, .intro-f, .intro-g, .intro-h):not(.intro-done) .nav { animation: ndDown .8s ease-out var(--fu, .9s) both; }
.nd-ready:is(.intro-e, .intro-f, .intro-g, .intro-h):not(.intro-done) #about { animation: ndUp .9s ease-out calc(var(--fu, .9s) + .15s) both; }
.nd-ready:is(.intro-e, .intro-f, .intro-g, .intro-h):not(.intro-done) :is(#about + .stars, #news) { animation: ndUp .9s ease-out calc(var(--fu, .9s) + .35s) both; }

/* e: fairy light */
.intro-e { --fu: 1.6s; }
.nd-ready.intro-e:not(.intro-done) .hero::before { animation: ndFadeOut 2.4s cubic-bezier(.4, 0, .6, 1) .35s both; opacity: .92; }
.intro-fairy { position: absolute; left: 0; top: 0; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle, #fffdf6 0, #fff3d6 9%, rgba(250,222,165,.9) 16%, rgba(242,202,140,.5) 28%, rgba(242,202,140,.2) 46%, rgba(242,202,140,0) 70%); }
.intro-fairy::before, .intro-fairy::after { content: ""; position: absolute; top: 46px; width: 22px; height: 30px; border-radius: 50%; background: rgba(255,246,225,.35); animation: ndWing .12s ease-in-out infinite alternate; }
.intro-fairy::before { left: 42px; transform-origin: 100% 60%; }
.intro-fairy::after { right: 42px; transform-origin: 0 60%; }
@keyframes ndWing { from { transform: scaleX(1); } to { transform: scaleX(.35); } }

/* f: old memory: the banner starts as a faded sepia photograph with a little flicker, then the colour blooms back */
.intro-f { --fu: 1.5s; }
@keyframes ndMemory { 0% { filter: sepia(.95) saturate(.55) brightness(.78) contrast(.88); transform: scale(1.03); } 35% { filter: sepia(.9) saturate(.6) brightness(.85) contrast(.9); }
  100% { filter: none; transform: none; } }
@keyframes ndFlicker { 0%, 100% { opacity: 1; } 8% { opacity: .82; } 14% { opacity: 1; } 22% { opacity: .88; } 30% { opacity: 1; } 47% { opacity: .9; } 52% { opacity: 1; } }
.nd-ready.intro-f:not(.intro-done) .hero img { animation: ndMemory 3s cubic-bezier(.5, 0, .3, 1) .2s both, ndFlicker 1.6s linear .2s both; }
.nd-ready.intro-f:not(.intro-done) .hero::before { background: radial-gradient(ellipse 75% 70% at 50% 45%, rgba(11,9,7,0) 40%, rgba(30,20,10,.85) 100%); animation: ndFadeOut 2.6s ease-in .5s both; }

/* g: storybook: a circle of light opens from the middle of the banner, dust motes float up through it */
@property --iris { syntax: '<length>'; inherits: false; initial-value: 1600px; }
@keyframes ndIris { from { --iris: 0px; } to { --iris: 1600px; } }
.intro-g { --fu: 1.2s; }
.nd-ready.intro-g:not(.intro-done) .hero::before { opacity: 1; background: #0b0907;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, transparent var(--iris), #000 calc(var(--iris) + 90px)); mask-image: radial-gradient(circle at 50% 46%, transparent var(--iris), #000 calc(var(--iris) + 90px));
  animation: ndIris 2.4s cubic-bezier(.55, .05, .35, 1) .2s both; }
.intro-dust i { position: absolute; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255,240,210,.95), rgba(242,202,140,0) 70%); animation: ndDust 3s ease-out both; }
@keyframes ndDust { 0% { opacity: 0; transform: translate(0, 0); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx), -90px); } }

/* h: written in ink: "Dreams" writes itself in with a gold glint on the pen, the name and the banner come up softly */
.intro-h { --fu: 1.8s; }
.nd-ready.intro-h:not(.intro-done) .hero::before { animation: ndFadeOut 2.2s ease-out .2s both; }
.nd-ready.intro-h:not(.intro-done) .hero img { animation: ndSettle 3.4s cubic-bezier(.2, .7, .3, 1) both; }
.intro-h .brand { position: relative; }
@keyframes ndInk { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.nd-ready.intro-h:not(.intro-done) .brand .bd { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%; animation: ndInk 1.9s cubic-bezier(.45, .1, .5, 1) .5s both; }
.nd-ready.intro-h:not(.intro-done) .brand .bn { animation: ndUp 1s ease-out .2s both; }
.nd-ready.intro-h:not(.intro-done) .nav nav, .nd-ready.intro-h:not(.intro-done) .menu-btn { animation: ndDown .8s ease-out 1.8s both; }
.nd-ready.intro-h:not(.intro-done) .nav { animation: none; }
.intro-nib { position: absolute; top: 20%; left: 0; font-style: normal; font-size: 14px; line-height: 1; color: #fff3d6; opacity: 0;
  text-shadow: 0 0 6px rgba(242,202,140,1), 0 0 14px rgba(242,202,140,.7); animation: ndNib 1.9s cubic-bezier(.45, .1, .5, 1) .5s both; }
@keyframes ndNib { 0% { left: var(--x0); opacity: 0; transform: translateY(4px) rotate(0); } 10% { opacity: 1; } 30% { transform: translateY(-6px) rotate(40deg); } 55% { transform: translateY(5px) rotate(90deg); }
  80% { transform: translateY(-4px) rotate(140deg); opacity: 1; } 100% { left: var(--x1); opacity: 0; transform: translateY(0) rotate(180deg); } }
.intro-e .intro-fx::after, .intro-dust::after { display: none; }

/* i = e + f + h: a quicker old-photo bloom on the banner, the fairy flies in and writes "Dreams" (its timing comes from the script: --ink-delay, --ink-dur) */
.intro-i { --fu: .45s; }
.nd-ready.intro-i:not(.intro-done) #about { animation: ndUp .9s ease-out .1s both; }
.nd-ready.intro-i:not(.intro-done) :is(#about + .stars, #news) { animation: ndUp .9s ease-out .25s both; }
.nd-ready.intro-i:not(.intro-done) .hero img { animation: ndMemory 1.1s cubic-bezier(.5, 0, .3, 1) .15s both, ndFlicker .6s linear .1s both; }
.nd-ready.intro-i:not(.intro-done) .hero::before { background: radial-gradient(ellipse 75% 70% at 50% 45%, rgba(11,9,7,.25) 30%, rgba(30,20,10,.9) 100%); animation: ndFadeOut 1s ease-in .15s both; }
.intro-i .intro-fx::after { display: none; }
.nd-ready.intro-i:not(.intro-done) .brand .bd { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: ndInk var(--ink-dur, 1.3s) linear var(--ink-delay, 1.85s) both; }
.nd-ready.intro-i:not(.intro-done) .brand .bn { animation: ndUp 1s ease-out 1.1s both; }
.nd-ready.intro-i:not(.intro-done) .nav nav, .nd-ready.intro-i:not(.intro-done) .menu-btn { animation: ndDown .8s ease-out .2s both; }
.intro-fly { pointer-events: none; overflow: hidden; }

/* newsletter: the hidden field that only bots fill in, the consent line, and the answer after signing up */
.nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nl-consent { max-width: 520px; margin-left: auto; margin-right: auto; }
.nl-msg { min-height: 0; margin: 14px 0 0; font-size: 17px; font-style: italic; color: var(--accent); }
.nl-msg:empty { display: none; }
.nl-msg.err { color: #E3A27E; }
#nlForm button[disabled] { opacity: .6; cursor: default; }

/* Final Fantasy VI: one Piano & Violin tab for both parts, so each service reads "Spotify Pt 1 / Pt 2" (one link per part);
   three such pairs don't fit on one line, so they stack, one service per line */
.cx-act.logos:has(.badge-pair) { flex-direction: column; align-items: flex-start !important; justify-content: flex-start; gap: 2px !important; flex-wrap: nowrap; }
.badge-pair { display: inline-flex; align-items: center; white-space: nowrap; }
.badge-pair .pt-sep { color: var(--small); font-family: 'Cinzel', Georgia, serif; font-size: 13px; margin: 0 6px; }
.badge-pair .badge .pt { display: inline !important; font: inherit; letter-spacing: inherit; color: var(--muted); }
.badge-pt2 .full { display: inline; font-family: 'Cinzel', Georgia, serif; font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.badge-pt2:hover .full { color: #EBC48F; }
@media (max-width: 700px) { .cx-act.logos:has(.badge-pair) { align-items: center !important; } }

/* "image-below:" in a news post: a wide picture (e.g. a photo collage) under the text, full width of the text column */
.news-item.pic-below { grid-template-columns: minmax(0, 1fr) !important; }
.ni-below { margin-top: 18px; }
.ni-below img { width: 100%; max-width: 760px; height: auto; display: block; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.news-list:not(.all) .news-item.older .ni-below { display: none; }
