/* Stereo Hearts: paper and ink, split by strings you can pluck. */

:root {
  --paper: #F3F1EC;
  --ink: #0B0B0C;
  --ink-2: #161617;
  --paper-60: rgba(243, 241, 236, .6);
  --paper-35: rgba(243, 241, 236, .35);
  --paper-14: rgba(243, 241, 236, .14);
  --ink-60: rgba(11, 11, 12, .6);
  --ink-35: rgba(11, 11, 12, .35);
  --ink-12: rgba(11, 11, 12, .12);
  --f-ultra: 'Twemoji Country Flags', 'Ultra', 'Rockwell Extra Bold', Georgia, serif;
  --f-serif: 'Twemoji Country Flags', 'DM Serif Display', Georgia, serif;
  --f-ui: 'Twemoji Country Flags', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g: clamp(16px, 3.2vw, 44px);
  --nav: 68px;
  --band: 220px;
  --split: 60%;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
h1, h2, h3, .rv-facts__lead, .rv-facts li, .rv-songs, .rv-hello-note { text-wrap: balance; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
img, canvas, svg { display: block; }
::selection { background: var(--ink); color: var(--paper); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 14px; mix-blend-mode: normal; }
.skip:focus { top: 12px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor: two dots in orbit that merge over anything you can press ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input { cursor: text; }
.cursor i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__a, .cursor__b { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: #fff; }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid #fff; transform: scale(0); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--paper); }
.loader__line { position: absolute; top: var(--split-px, 60vh); height: 1.5px; width: 50%; background: var(--paper); transform: scaleX(0); }
.loader__line--l { left: 0; transform-origin: left center; }
.loader__line--r { right: 0; transform-origin: right center; }
.loader__dot { position: absolute; top: var(--split-px, 60vh); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--paper); }
.loader__dot--l { left: 0; }
.loader__dot--r { left: 100%; }
.loader__label { position: absolute; left: 50%; top: calc(var(--split-px, 60vh) + 26px); transform: translateX(-50%); font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--paper-60); white-space: nowrap; }
.loader__label span { display: inline-block; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g);
  padding-top: env(safe-area-inset-top);
  color: #fff; mix-blend-mode: difference; pointer-events: none;
  transition: transform .6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav > * { pointer-events: auto; }
.nav__mark { font-family: var(--f-ultra); font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__sound { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; height: 40px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; }
.eq i { width: 2px; height: 100%; background: currentColor; transform-origin: bottom; animation: eq 1s var(--ease-io) infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.4s; animation-duration: .8s; }
.eq i:nth-child(3) { animation-delay: -.7s; animation-duration: 1.15s; }
.eq i:nth-child(4) { animation-delay: -.2s; animation-duration: .9s; }
@keyframes eq { 0% { transform: scaleY(.2); } 100% { transform: scaleY(1); } }
.nav__sound[aria-pressed="false"] .eq i { animation: none; transform: scaleY(.18); }
.nav__cta { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1.5px solid currentColor; font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.nav__cta:hover { background: #fff; color: #000; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 36px; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden; white-space: nowrap; transition: background-color .35s, color .35s;
}
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover:not(:disabled) { background: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: .28; cursor: not-allowed; }
.btn__t { position: relative; display: inline-block; transition: transform .5s var(--ease); }
.btn__t::after { content: attr(data-t); position: absolute; left: 0; top: 100%; padding-top: 16px; }
.btn:hover:not(:disabled) .btn__t { transform: translateY(calc(-100% - 16px)); }
.link { font-size: 14px; color: inherit; opacity: .62; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity .25s; cursor: pointer; }
.link:hover { opacity: 1; }

/* ---------- Strings: the edge between paper and ink ---------- */
.string { position: absolute; left: 0; right: 0; height: var(--band); top: var(--split); transform: translateY(-50%); pointer-events: none; z-index: 0; }
.string canvas { width: 100%; height: 100%; }
.string--edge { top: auto; bottom: 0; transform: translateY(50%); z-index: 3; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--nav); background: var(--paper); }
.hero__ink { position: absolute; left: 0; right: 0; bottom: 0; top: var(--split); background: var(--ink); }


.wordmark { position: relative; z-index: 3; mix-blend-mode: difference; color: #fff; text-align: center; font-family: var(--f-ultra); font-size: var(--wm-size, 18vw); line-height: .9; letter-spacing: -.012em; white-space: nowrap; user-select: none; pointer-events: none; }
.wm { display: block; }
.wm--live { color: #fff; }
.wm--a, .wm--b { position: absolute; inset: 0; display: none; }
.wm--a { color: var(--ink); clip-path: inset(0 0 calc(100% - var(--wm-split, 70%)) 0); }
.wm--b { color: var(--paper); clip-path: inset(var(--wm-split, 70%) 0 0 0); }
.is-intro .wordmark { mix-blend-mode: normal; }
.is-intro .wm--a, .is-intro .wm--b { display: block; }
.is-intro .wm--live { visibility: hidden; }

.hero__count { font-size: 14px; color: var(--paper-60); text-align: center; }
.hero__count b { color: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Find ---------- */

.drop__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.drop__boxes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.box { position: absolute; border: 1.5px solid var(--paper); box-shadow: 0 0 0 9999px rgba(11,11,12,0); }
.box__tag { position: absolute; left: -1.5px; bottom: 100%; margin-bottom: 4px; padding: 3px 7px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.box--song { border-style: dashed; }
.drop__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; background: var(--paper); box-shadow: 0 0 22px 3px rgba(243,241,236,.6); opacity: 0; pointer-events: none; }

.suggest { position: absolute; left: 48px; right: 0; top: 100%; z-index: 20; background: var(--paper); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); max-height: min(340px, 52vh); overflow-y: auto; overscroll-behavior: contain; }
/* a hairline that runs along the top while the full search is still answering */
.suggest::before { content: ''; position: sticky; top: 0; z-index: 1; display: block; height: 2px; margin-bottom: -2px; background: var(--ink); transform: scaleX(0); transform-origin: left; opacity: 0; }
.suggest.is-loading::before { opacity: 1; animation: sg-load 1s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes sg-load { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; cursor: pointer; min-height: 54px; }
.sg__img { flex: none; width: 36px; height: 36px; object-fit: cover; filter: grayscale(1) contrast(1.05); background: rgba(11, 11, 12, .08); transition: filter .25s; }
.sg__img--round { border-radius: 50%; }
.sg__img--blank { display: block; background: radial-gradient(circle, rgba(11,11,12,.35) 0 2px, transparent 2.5px), repeating-radial-gradient(circle, rgba(11,11,12,.10) 0 1px, transparent 1px 3px), rgba(11,11,12,.06); border-radius: 50%; }
.sg__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sg__t { font-family: var(--f-serif); font-size: 20px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg__n { font-family: var(--f-ui); font-size: 12px; font-weight: 500; color: var(--ink-60); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--ink); color: var(--paper); }
.suggest li[aria-selected="true"] .sg__n, .suggest li:hover .sg__n { color: var(--paper-60); }
.suggest li[aria-selected="true"] .sg__img, .suggest li:hover .sg__img { filter: none; }
.suggest li[aria-selected="true"] .sg__img--blank, .suggest li:hover .sg__img--blank { filter: invert(1); }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--paper); color: var(--ink); padding-top: clamp(150px, 22vh, 230px); overflow: hidden; }
.foot__ink { position: absolute; left: 0; right: 0; bottom: 0; top: var(--split); background: var(--ink); }
.foot__sub { position: relative; z-index: 2; text-align: center; font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 34px); margin-bottom: clamp(10px, 2vh, 24px); }
.foot__sub em { font-size: 1.4em; }
.wordmark--foot { z-index: 3; }
.foot__small { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(60px, 12vh, 120px) var(--g) calc(28px + env(safe-area-inset-bottom)); color: var(--paper-60); font-size: 13px; }
.foot__small p { max-width: 40em; }
.foot__build { white-space: nowrap; }

/* ---------- Search overlay ---------- */
.search { position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--paper); visibility: hidden; clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%)); }
.search.is-open { visibility: visible; }
.search__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.search__caption { position: absolute; left: 0; right: 0; bottom: calc(9vh + env(safe-area-inset-bottom)); text-align: center; font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); padding: 0 var(--g); }

/* ---------- Reveal overlay ---------- */
.reveal { position: fixed; inset: 0; z-index: 85; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--paper); color: var(--ink); visibility: hidden; }
.reveal.is-open { visibility: visible; }
.rv-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--nav); }
.rv-hero__ink { position: absolute; left: 0; right: 0; bottom: 0; top: var(--split); background: var(--ink); }
.rv-top { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--g); padding: clamp(16px, 3vh, 40px) var(--g) 12px; }
.rv-who { justify-self: center; }
.rv-kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.rv-name { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 8vw, 132px); line-height: .92; letter-spacing: -.02em; }
.rv-name > div { padding-bottom: .16em; margin-bottom: -.16em; }
.btn.is-waiting { pointer-events: none; }
.rv-meta { margin-top: 12px; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 1.9vw, 28px); color: var(--ink-60); }
.rv-portrait { position: relative; justify-self: center; width: clamp(220px, 24vw, 360px); }
.rv-portrait canvas { width: 100%; aspect-ratio: 1 / .94; background: var(--ink); }
.rv-portrait__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 600; }
.rv-score { position: relative; z-index: 3; mix-blend-mode: difference; color: #fff; text-align: center; font-family: var(--f-ultra); font-size: var(--wm-size, 22vw); line-height: .9; letter-spacing: -.02em; white-space: nowrap; pointer-events: none; }
.rv-score span { color: #fff; }
.rv-bottom { position: relative; z-index: 2; color: var(--paper); display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 18px var(--g) calc(44px + env(safe-area-inset-bottom)); min-height: max(26svh, 200px); justify-content: center; }
.rv-sync { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2vw, 28px); color: var(--paper-60); }
.rv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rv-actions .btn { min-width: 200px; }
.rv-hello-note { min-height: 1.5em; font-size: 14px; color: var(--paper-60); text-align: center; max-width: 30em; }

.rv-section { position: relative; background: var(--ink); color: var(--paper); padding: clamp(80px, 12vh, 140px) var(--g); }
.rv-section--paper { background: var(--paper); color: var(--ink); }
.rv-h { font-family: var(--f-serif); font-weight: 400; font-size: clamp(36px, 5vw, 80px); line-height: 1; letter-spacing: -.015em; text-align: center; margin-bottom: clamp(36px, 6vh, 64px); }
/* what connects you: a line, a few facts, then their card if you open it */
.rv-card { width: min(100%, 460px); margin: 0 auto; text-align: left; }
/* nothing to remove on their card, so the names get that room, and a long one goes onto a second line instead of being cut */
.rv-card .row { cursor: default; grid-template-columns: 22px minmax(0, 1fr); padding: 2px 0; }
.rv-card .row__name, .rv-card .row__by { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; text-wrap: balance; }
/* on a narrow card the photo sits a little lower, clear of "Stereo Hearts" and their name */
@media (max-width: 480px) { .rv-card .sheet__art { aspect-ratio: 16 / 9.4; } .rv-card .sheet__photo { top: 57%; } }
.rv-facts { max-width: 820px; margin: 0 auto; text-align: center; }
.rv-facts__lead { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.15; }
.rv-facts ul { max-width: 640px; margin: clamp(22px, 3.5vh, 36px) auto 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--paper-60); }
.rv-facts li { padding: clamp(12px, 1.8vh, 16px) 0; }
.rv-facts li + li { border-top: 1px solid var(--paper-14); }
.rv-facts li em { font-style: normal; font-weight: 600; color: var(--paper); }
.rv-their { margin-top: clamp(30px, 5vh, 50px); text-align: center; }
.rv-their__btn { gap: 10px; height: 50px; padding: 0 26px; color: var(--paper); cursor: pointer; list-style: none; }
.rv-their__btn::-webkit-details-marker { display: none; }
.rv-their__btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.rv-their[open] .rv-their__btn svg { transform: rotate(180deg); }
.rv-their__btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.rv-their .rv-card { margin: clamp(22px, 3.5vh, 32px) auto 0; }
.rv-songs { max-width: 980px; margin: clamp(40px, 7vh, 72px) auto 0; text-align: center; color: var(--paper-60); font-size: 15px; }
.rv-songs b { color: var(--paper); font-weight: 500; }

.rec { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); border: 1.5px solid var(--ink); }
.rec__disc { width: clamp(72px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, var(--ink) 0 2px, #2a2a2b 2px 3px); position: relative; animation: spin 6s linear infinite; }
.rec__disc::after { content: ''; position: absolute; inset: 36%; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.rec__t { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 44px); line-height: 1; }
.rec__a { margin-top: 6px; color: var(--ink-60); font-size: 15px; }

.almost { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.almost::-webkit-scrollbar { display: none; }
.alm { text-align: left; padding: 26px 24px; border: 1.5px solid var(--paper-35); transition: border-color .3s, background .3s, color .3s; display: flex; flex-direction: column; gap: 10px; }
.alm:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.alm__score { font-family: var(--f-ultra); font-size: 54px; line-height: .9; }
.alm__name { font-family: var(--f-serif); font-size: 28px; line-height: 1; }
.alm__meta { font-size: 13px; opacity: .6; }
.alm__shared { font-size: 14px; line-height: 1.4; margin-top: 6px; }
.alm__go { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; }
.rv-end { display: flex; justify-content: center; gap: 28px; padding-top: clamp(48px, 8vh, 80px); }
.rv-close { position: fixed; right: var(--g); top: 14px; z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; mix-blend-mode: difference; visibility: hidden; }
.reveal.is-open ~ .rv-close, .rv-close.is-on { visibility: visible; }
.rv-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Share modal ---------- */
.share { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(11,11,12,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
.share.is-open { visibility: visible; opacity: 1; transition: opacity .35s; }
.share__box { display: flex; flex-direction: column; align-items: center; gap: 20px; color: var(--paper); }
.share__img { height: min(70svh, 720px); aspect-ratio: 9 / 16; width: auto; max-width: 86vw; object-fit: contain; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.share__actions { display: flex; align-items: center; gap: 22px; }

/* ---------- Text effects ---------- */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Small screens ---------- */
@media (max-width: 820px) {
  :root { --nav: 58px; --band: 170px; }
  .nav__mark { font-size: 19px; }
  .nav__right { gap: 12px; }
  .nav__sound-label { display: none; }
  .nav__sound { width: 40px; justify-content: center; }
  .nav__cta { height: 36px; padding: 0 14px; font-size: 13px; }


  .rv-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .rv-portrait { width: min(60vw, 260px); }
  .rv-actions { flex-direction: column; width: 100%; max-width: 340px; }
  .rv-actions .btn { width: 100%; }
  .almost { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--g)); padding: 4px var(--g) 20px; scrollbar-width: none; }
  .almost::-webkit-scrollbar { display: none; }
  .alm { flex: 0 0 74vw; max-width: 300px; scroll-snap-align: center; }
  .rec { grid-template-columns: auto 1fr; }
  .rec .btn { grid-column: 1 / -1; }
  .foot__small { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 380px) {
  .nav__cta { padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .eq i, .phone__flash, .rec__disc, .sheet__waves, .sheet__photo::after, .shot__btn svg path { animation: none !important; }
  .art-read.is-on .read__row, .art-read.is-on .read__row::after, .art-read.is-on .read__scan,
  .art-meet.is-on .meet__dot--a, .art-meet.is-on .meet__dot--b, .art-meet.is-on .meet__wave { animation: none !important; }
}

/* =====================================================================
   Round 2: the waitlist, the record, the board, sign-up, Side B
   ===================================================================== */

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nav__me { height: 40px; font-size: 14px; font-weight: 500; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn__t { opacity: .4; }
.btn.is-busy::after { content: ''; position: absolute; width: 16px; height: 16px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- The count (it used to be "the unlock") ---------- */
.unlock { position: relative; background: var(--paper); color: var(--ink); padding: clamp(140px, 20vh, 200px) var(--g) clamp(160px, 22vh, 230px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.unlock .kicker { margin-bottom: clamp(20px, 3vh, 34px); }
.flap { display: flex; align-items: center; justify-content: center; gap: clamp(4px, .8vw, 10px); width: max-content; font-family: var(--f-ultra); font-size: clamp(66px, 15vw, 230px); line-height: 1; perspective: 900px; user-select: none; }
.flap__d { position: relative; width: .74em; height: 1.08em; border-radius: .06em; background: var(--ink); color: var(--paper); box-shadow: 0 .06em .12em -.04em rgba(0,0,0,.45); }
.flap__d::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--paper); opacity: .9; z-index: 3; }
.flap__half, .flap__leaf { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--ink); }
.flap__half b, .flap__leaf b { position: absolute; left: 0; right: 0; height: 200%; display: flex; align-items: center; justify-content: center; font-weight: 400; }
.flap__top, .flap__leaf--top { top: 0; border-radius: .06em .06em 0 0; transform-origin: 50% 100%; }
.flap__bot, .flap__leaf--bot { bottom: 0; border-radius: 0 0 .06em .06em; transform-origin: 50% 0; }
.flap__bot b, .flap__leaf--bot b { top: -100%; }
.flap__top b, .flap__leaf--top b { top: 0; }
.flap__leaf { display: none; z-index: 2; }
.flap__leaf--top { background: linear-gradient(#141415, var(--ink)); }
.flap__comma { font-size: .62em; align-self: flex-end; margin: 0 -.06em .02em; }
.unlock__line { margin-top: clamp(22px, 3.5vh, 36px); font-family: var(--f-serif); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.15; }
.unlock__line b { font-weight: 400; font-family: var(--f-ultra); font-size: .9em; }
.meter { position: relative; width: min(100%, 1100px); height: 150px; margin-top: clamp(16px, 3vh, 34px); }
.meter__string { position: absolute; left: 0; right: 0; top: 50%; height: 150px; transform: translateY(-50%); }
.meter__end { position: absolute; top: calc(50% + 26px); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter__end--a { left: 12px; }
.meter__end--b { right: 0; }
.meter__you { position: absolute; left: 0; top: calc(50% - 58px); font-size: 14px; white-space: nowrap; pointer-events: none; }
.meter__you b { font-weight: 600; font-variant-numeric: tabular-nums; }
.unlock__ticker { display: inline-flex; align-items: center; gap: 12px; min-height: 1.6em; margin: clamp(12px, 2vh, 22px) 0 clamp(28px, 4vh, 44px); font-size: 15px; color: var(--ink-60); }
.tick-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--ink); }

/* ---------- What we're spinning ---------- */
.spin { position: relative; background: var(--ink); color: var(--paper); padding: clamp(140px, 20vh, 200px) 0 clamp(150px, 22vh, 220px); overflow: hidden; }
.spin__head { text-align: center; padding: 0 var(--g); margin-bottom: clamp(36px, 6vh, 70px); }
.spin__head .kicker { color: var(--paper-60); margin-bottom: 16px; }
.spin__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(44px, 7vw, 116px); line-height: .98; letter-spacing: -.015em; }
.spin__lede { margin: 18px auto 0; max-width: 32em; color: var(--paper-60); font-size: clamp(15px, 1.2vw, 18px); }
.spin__stage { display: grid; grid-template-columns: minmax(280px, 560px) minmax(280px, 420px); justify-content: center; align-items: center; gap: clamp(30px, 6vw, 100px); padding: 0 var(--g); }
.deck { position: relative; aspect-ratio: 1; width: 100%; border-radius: 18px; background: radial-gradient(120% 120% at 30% 20%, #1c1c1e, #0e0e0f 60%); box-shadow: inset 0 0 0 1px rgba(243,241,236,.08), 0 40px 80px -40px rgba(0,0,0,.9); }
.deck__vinyl { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.deck__vinyl:active { cursor: grabbing; }
.has-cursor .deck__vinyl { cursor: none; }
.chart button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 6px 12px; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--paper-14); color: var(--paper-60); transition: color .3s; }
.chart:first-child button { border-top: 1px solid var(--paper-14); }
.chart__n { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart__name { font-family: var(--f-serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.1; }
.chart__pct { font-size: 13px; font-variant-numeric: tabular-nums; }
.chart__bar { grid-column: 2 / -1; height: 2px; background: var(--paper-14); position: relative; }
.chart__bar i { position: absolute; inset: 0; background: var(--paper-35); transform-origin: left; transition: background .3s; }
.chart.is-on button, .chart button:hover { color: var(--paper); }
.chart.is-on .chart__bar i { background: var(--paper); }
.chart.is-on .chart__name::before { content: '\25B8\00A0'; font-size: .7em; vertical-align: .15em; }
.btn.is-in:disabled { opacity: 1; background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper-35); cursor: default; }
.five__me { margin: -4px 0 12px; font-size: 14px; color: var(--paper-60); }
.five__me b { color: var(--paper); font-weight: 600; }

/* ---------- Join + account ---------- */
.join, .acct { position: fixed; inset: 0; z-index: 105; display: grid; place-items: center; padding: 20px; background: rgba(11,11,12,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); visibility: hidden; overflow-y: auto; overscroll-behavior: contain; }
.join.is-open, .acct.is-open { visibility: visible; }
.join__panel { position: relative; width: min(100%, 560px); background: var(--paper); color: var(--ink); padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px) clamp(32px, 5vw, 48px); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.join__x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; color: inherit; z-index: 2; }
.join__x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; }
.join__steps { position: absolute; left: clamp(24px, 5vw, 56px); top: 30px; display: flex; gap: 6px; }
.join__steps i { width: 22px; height: 3px; background: var(--ink-12); transition: background .4s; }
.join__steps i.is-on { background: var(--ink); }
.jstep { display: flex; flex-direction: column; gap: 18px; }
.jstep[hidden] { display: none; }
.join__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -.015em; margin-top: 12px; }
.join__lede { color: var(--ink-60); font-size: 16px; margin-top: -6px; }
.join__lede b { color: var(--ink); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.field > span:first-child em { font-style: normal; font-weight: 400; color: var(--ink-60); text-transform: none; letter-spacing: 0; }
.field input, .field select { width: 100%; height: 50px; border: 0; border-bottom: 1.5px solid var(--ink-35); background: transparent; font-family: var(--f-ui); font-size: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); outline: none; padding: 0; border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B0B0C' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field small { font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-60); }
.field__in { display: flex; align-items: center; border-bottom: 1.5px solid var(--ink-35); transition: border-color .3s; }
.field__in:focus-within { border-color: var(--ink); }
.field__in i { font-style: normal; font-size: 18px; font-weight: 400; color: var(--ink-60); margin-right: 2px; }
.field .field__in input { border: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.join__err { min-height: 1.2em; margin: -6px 0 -4px; font-size: 14px; font-weight: 500; color: #b3261e; }
.join__err:empty { min-height: 0; margin: 0; }
.join__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.join__nav .btn { flex: 1; max-width: 300px; }
.join__alt { text-align: center; }
.join__fine { font-size: 13px; color: var(--ink-60); text-align: center; }
.join__fine { text-align: left; }
.join__or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-60); }
.join__or::before, .join__or::after { content: ''; flex: 1; height: 1px; background: var(--ink-12); }
.switch { display: flex; align-items: center; gap: 14px; font-size: 17px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { position: relative; width: 52px; height: 30px; flex: none; border-radius: 15px; background: var(--ink-12); transition: background .3s; }
.switch__ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .45s var(--ease); }
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--ink); outline-offset: 3px; }
.love { display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.love[hidden] { display: none; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1.5px solid var(--ink-35); font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.turnstile:empty { display: none; }
.jstep--done { align-items: center; text-align: center; padding: 10px 0; }
.join__pos { font-family: var(--f-ultra); font-size: clamp(76px, 15vw, 140px); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.join__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.join__actions .btn { width: min(100%, 320px); }
.join .link, .acct .link { color: var(--ink); }

/* a plain block, not a grid: as a grid item the panel stopped at the screen's height and the rest of it ran on, unseen, over the dark */
.acct { display: block; padding: 0; }
.acct__panel { position: relative; width: min(100%, 440px); min-height: 100%; margin-left: auto; background: var(--paper); color: var(--ink); padding: 54px clamp(22px, 3.4vw, 38px) 30px; display: flex; flex-direction: column; gap: 8px; }
.acct__handle { font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1; word-break: break-all; }
.acct__pos { font-size: 14px; color: var(--ink-60); }
.acct__five { margin: 4px 0; border-top: 1px solid var(--ink-12); }
.acct__five li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--ink-12); font-family: var(--f-serif); font-size: 17px; line-height: 1.2; }
.acct__five b { font-family: var(--f-ui); font-size: 11px; font-weight: 600; }
.acct__h { margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.acct__hellos li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-12); font-size: 15px; }
.acct__hellos b { font-weight: 600; }
.acct__muted { color: var(--ink-60); justify-content: flex-start !important; }
.acct__ig { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.acct__actions { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.acct__danger { color: #b3261e !important; }

.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 140; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); visibility: hidden; white-space: nowrap; }

/* reveal tabs and the empty state */
.rv-tabs { display: inline-flex; margin-bottom: 22px; border: 1.5px solid var(--ink); }
.rv-tabs button { height: 38px; padding: 0 16px; font-size: 13px; font-weight: 600; }
.rv-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.rv-tabs button.is-busy { opacity: .5; }
.rv-hero--empty { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.rv-hero--empty .rv-top { grid-template-columns: 1fr; }
.rv-hero--empty .rv-meta { max-width: 26em; margin-inline: auto; }

/* footer */
.foot__side { font-family: var(--f-serif); font-size: 18px; color: var(--paper); margin-bottom: 6px; }
.foot__links { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.foot__links a, .foot__links .link { color: var(--paper-60); }
.foot__links a:hover { color: var(--paper); }
.wordmark--foot { pointer-events: auto; }
.wordmark--foot .key { display: inline-block; cursor: pointer; }

/* Side B: the whole site, flipped. The root element is the one place a filter
   doesn't break fixed positioning, so the nav and overlays still behave. */
html.side-b { filter: invert(1) hue-rotate(180deg); }

@media (max-width: 820px) {
  .meter, .meter__string { height: 130px; }
  .unlock__ticker { font-size: 14px; }
  .spin__stage { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .chart button { padding: 10px 0; }
  .join { padding: 0; place-items: stretch; }
  .join__panel { width: 100%; min-height: 100%; padding: 76px 22px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
  .join__form { margin: auto 0; }
  .join__steps { top: 28px; left: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .acct__panel { width: 100%; }
  .foot__links { gap: 16px; }
  .toast { white-space: normal; text-align: center; width: max-content; }
  .nav__cta { display: none; }
  .nav__me { height: 36px; padding: 0 14px; border: 1.5px solid currentColor; font-size: 13px; }
}

/* =====================================================================
   Round 3: what it is, up front
   ===================================================================== */
.chart--empty { padding: 18px 0; border-top: 1px solid var(--paper-14); border-bottom: 1px solid var(--paper-14); color: var(--paper-60); font-size: 15px; line-height: 1.5; }

/* =====================================================================
   Round 4: songs alongside artists, a top genre, and connections
   ===================================================================== */

/* =====================================================================
   Round 5: straight in. What it is, a screenshot button, one search box,
   and the sheet: the one place on the site in colour.
   ===================================================================== */
@property --s-bg { syntax: '<color>'; inherits: true; initial-value: #D4FF3A; }
@property --s-fg { syntax: '<color>'; inherits: true; initial-value: #0E1A05; }
@property --s-ac { syntax: '<color>'; inherits: true; initial-value: #6A3DFF; }

.studio {
  position: relative; z-index: 4; color: var(--paper);
  display: grid; justify-content: center; column-gap: clamp(40px, 6.5vw, 120px);
  grid-template-columns: minmax(0, 500px) minmax(330px, 452px);
  grid-template-areas: "head sheet" "intro sheet" "shot sheet" "add sheet" "go sheet";
  grid-template-rows: auto auto auto auto 1fr;
  padding: clamp(44px, 8vh, 96px) var(--g) clamp(150px, 20vh, 220px);
}
.studio__head { grid-area: head; }
.studio__intro { grid-area: intro; }
.shot { grid-area: shot; }
.add { grid-area: add; }
.studio__sheet { grid-area: sheet; align-self: start; }
.studio__go { grid-area: go; align-self: start; }

.studio__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 4.3vw, 68px); line-height: 1; letter-spacing: -.015em; }
.studio__what { margin-top: 18px; max-width: 31em; font-size: clamp(15px, 1.12vw, 17.5px); line-height: 1.55; color: var(--paper-60); }
.studio__what b { color: var(--paper); font-weight: 600; }
.studio .five__me { margin: 14px 0 0; }

.shot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: clamp(24px, 3.6vh, 36px); }
.shot__btn { gap: 12px; height: 60px; padding: 0 28px; font-size: 15.5px; cursor: pointer; }
.shot__btn svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.shot__btn svg path { animation: shot-nudge 2.4s var(--ease-io) infinite; }
@keyframes shot-nudge { 0%, 100% { transform: translateY(1.5px); } 50% { transform: translateY(-2px); } }

.add { position: relative; z-index: 10; margin-top: 16px; scroll-margin-top: calc(var(--nav) + 10px); }
.add__field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border: 1.5px solid var(--paper-35); transition: border-color .3s, background-color .3s; }
.add__field:focus-within { border-color: var(--paper); background-color: rgba(243, 241, 236, .04); }
.add__field svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--paper-60); stroke-width: 1.7; }
.add__in { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; outline: 0; color: var(--paper); font-family: var(--f-serif); font-size: 21px; }
.add__in::placeholder { color: var(--paper-35); }
.add__hint { margin-top: 10px; font-size: 13px; color: var(--paper-35); }
.add .suggest { left: 0; right: 0; top: 60px; }
.suggest .sg__head { min-height: 0; padding: 12px 14px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); cursor: default; }
.suggest .sg__head:hover { background: none; color: var(--ink-60); }
.sg__img--plus { position: relative; border: 1.5px dashed var(--ink-35); border-radius: 50%; background: none; }
.sg__img--plus::before, .sg__img--plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink-60); }
.sg__img--plus::after { transform: rotate(90deg); }
.suggest li:hover .sg__img--plus, .suggest li[aria-selected="true"] .sg__img--plus { border-color: var(--paper-60); }
.suggest li:hover .sg__img--plus::before, .suggest li:hover .sg__img--plus::after,
.suggest li[aria-selected="true"] .sg__img--plus::before, .suggest li[aria-selected="true"] .sg__img--plus::after { background: var(--paper); }
.sg__free .sg__t { font-size: 17px; }

.studio__go { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: clamp(26px, 4vh, 40px); }
.studio__go .hero__count { text-align: left; }

/* ---------- The sheet ---------- */
.sheet {
  --s-bg: #D4FF3A; --s-fg: #0E1A05; --s-ac: #6A3DFF;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--s-bg); color: var(--s-fg); font-family: var(--f-ui);
  --stub: 94px;
  border-radius: 18px;
  -webkit-mask: radial-gradient(circle 13px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 13px at 0 calc(100% - var(--stub)), #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 13px at 100% calc(100% - var(--stub)), #0000 97%, #000) right / 51% 100% no-repeat;
  transition: --s-bg .9s var(--ease), --s-fg .9s var(--ease), --s-ac .9s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.sheet[data-genre="pop"] { --s-bg: #FF6FB5; --s-fg: #2A0A22; --s-ac: #FFE24A; }
.sheet[data-genre="altpop"] { --s-bg: #B9A2FF; --s-fg: #160E33; --s-ac: #FF5E7E; }
.sheet[data-genre="indie"] { --s-bg: #3FE0A8; --s-fg: #04201A; --s-ac: #FF6A3D; }
.sheet[data-genre="folk"] { --s-bg: #F2C14E; --s-fg: #2B1A05; --s-ac: #2F7A55; }
.sheet[data-genre="rap"] { --s-bg: #FF7A1A; --s-fg: #1A0D03; --s-ac: #2B3BFF; }
.sheet[data-genre="ukrap"] { --s-bg: #2C46FF; --s-fg: #F6F1E7; --s-ac: #FF8A1F; }
.sheet[data-genre="rnb"] { --s-bg: #7B2DFF; --s-fg: #FCEFFF; --s-ac: #FF9AD5; }
.sheet[data-genre="rock"] { --s-bg: #EC3A24; --s-fg: #170403; --s-ac: #F7DCC8; }
.sheet[data-genre="metal"] { --s-bg: #8E1020; --s-fg: #FFE9E3; --s-ac: #FF5B35; }
.sheet[data-genre="punk"] { --s-bg: #FF2E8A; --s-fg: #140410; --s-ac: #E6FF2E; }
.sheet[data-genre="electronic"] { --s-bg: #22D9FF; --s-fg: #05132B; --s-ac: #FF2BD6; }
.sheet[data-genre="dance"] { --s-bg: #FF45CF; --s-fg: #1E0422; --s-ac: #3DF2FF; }
.sheet[data-genre="kpop"] { --s-bg: #FFA3D7; --s-fg: #2B1342; --s-ac: #5CFFD0; }
.sheet[data-genre="latin"] { --s-bg: #FFC51F; --s-fg: #2B0F06; --s-ac: #E3245F; }
.sheet[data-genre="afro"] { --s-bg: #FF8C00; --s-fg: #1F0D00; --s-ac: #00B36E; }
.sheet[data-genre="country"] { --s-bg: #EDAE70; --s-fg: #2B1406; --s-ac: #2E6FB3; }
.sheet[data-genre="jazz"] { --s-bg: #2540FF; --s-fg: #F7F1E5; --s-ac: #FFB400; }
.sheet[data-genre="ambient"] { --s-bg: #A6DDEC; --s-fg: #0C1F27; --s-ac: #F07C5A; }

/* the top: waves in the accent colour, and your number one on a record (or in a photo) */
.sheet__art { position: relative; aspect-ratio: 16 / 8.6; overflow: hidden; }
.sheet__waves { position: absolute; left: 0; top: 0; width: 200%; height: 100%; color: var(--s-ac); animation: sheet-waves 16s linear infinite; }
.sheet__waves path { fill: none; stroke: currentColor; stroke-width: 11; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@keyframes sheet-waves { to { transform: translateX(-50%); } }
.sheet__photo {
  position: absolute; left: 50%; top: 53%; width: 37%; aspect-ratio: 1; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  background: radial-gradient(circle, var(--s-ac) 0 31%, transparent 31.5%), repeating-radial-gradient(circle, rgba(255, 255, 255, .07) 0 1px, transparent 1px 4px), var(--s-fg);
  box-shadow: 0 0 0 0 var(--s-fg);
  transition: border-radius .7s var(--ease), box-shadow .7s var(--ease);
}
.sheet__photo::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 255, 255, .16) 24%, transparent 30% 68%, rgba(255, 255, 255, .16) 74%, transparent 80%); animation: spin 5s linear infinite; }
.sheet__who { position: relative; z-index: 1; width: 62px; max-height: 3.5em; overflow: hidden; text-align: center; font-size: 10px; font-weight: 700; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; color: var(--s-fg); }
.sheet__photo img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(1.04); mix-blend-mode: multiply; }
.sheet.has-photo .sheet__photo { border-radius: 8px; background: var(--s-ac); box-shadow: 9px 9px 0 0 var(--s-fg); }
.sheet.has-photo .sheet__photo::after, .sheet.has-photo .sheet__who { opacity: 0; }
.sheet__mark { position: absolute; left: 18px; top: 15px; font-family: var(--f-ultra); font-size: 15px; line-height: 1; }
.sheet__tag { position: absolute; right: 18px; top: 17px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sheet__tag span { margin-left: 4px; letter-spacing: 0; color: var(--s-ac); }

.sheet__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px 18px 2px 20px; }
.sheet__h { display: block; margin: 0 0 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.row { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 22px; align-items: center; min-height: 39px; border-radius: 6px; }
.row__n { position: relative; align-self: stretch; display: flex; align-items: center; font-family: var(--f-ultra); font-size: 13px; line-height: 1; color: inherit; opacity: .35; touch-action: none; cursor: grab; transition: opacity .3s; }
.row.is-filled .row__n { opacity: 1; }
.row:not(.is-filled) .row__n { cursor: default; }
.row__n::after { content: ''; position: absolute; left: -7px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; border: 2px solid var(--s-ac); opacity: 0; pointer-events: none; }
.row__n.is-hit::after { animation: row-hit .7s var(--ease); }
@keyframes row-hit { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.9); } }
.row.is-drag { z-index: 3; background: var(--s-bg); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.row.is-drag .row__n { cursor: grabbing; }
.row__t { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.row__name { font-family: var(--f-serif); font-size: 17.5px; font-weight: 400; line-height: 1.12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__by { margin-top: 1px; font-size: 11.5px; font-weight: 500; line-height: 1.25; opacity: .68; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row:not(.is-filled) .row__name::before { content: ''; display: block; width: var(--w); height: 7px; border-radius: 4px; background: currentColor; opacity: .15; }
.row:not(.is-filled) .row__by { display: none; }
.row.is-coming .row__t { visibility: hidden; }
.row__x { width: 22px; height: 22px; display: grid; place-items: center; color: inherit; opacity: 0; transition: opacity .2s; }
.row__x svg { width: 8px; height: 8px; stroke: currentColor; stroke-width: 2; }
.row.is-filled:hover .row__x, .row__x:focus-visible { opacity: .75; }
.row:not(.is-filled) .row__x { visibility: hidden; }
@media (hover: none) { .row.is-filled .row__x { opacity: .45; } }
.row :focus-visible { outline-offset: 1px; }

.sheet__stub { height: var(--stub); margin: 10px 18px 0 20px; padding: 14px 0 0; border-top: 2px dashed color-mix(in srgb, var(--s-fg) 32%, transparent);
  display: grid; grid-template-columns: minmax(0, 1fr) auto 66px; align-items: start; gap: 18px; }
.sheet__code { width: 66px; height: 40px; margin-top: 6px; color: var(--s-fg); opacity: .35; transition: opacity .5s; }
.sheet.has-code .sheet__code { opacity: .9; }
.sheet__code rect { fill: currentColor; transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease); }
.sheet__stat { display: flex; flex-direction: column; min-width: 0; }
.sheet__sel { position: relative; display: inline-block; max-width: 100%; align-self: flex-start; }
.sheet__sel select { appearance: none; -webkit-appearance: none; max-width: 100%; margin: 0; padding: 0 20px 0 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: 400 26px/1.15 var(--f-serif); text-overflow: ellipsis; cursor: pointer; }
.sheet__sel::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none; }
.sheet__sel select option { color: #0B0B0C; background: #fff; }
.sheet__stat b { font: 400 26px/1.15 var(--f-serif); white-space: nowrap; }

/* reading a screenshot happens on the sheet itself */
.sheet__scan { position: absolute; inset: 0; z-index: 5; background: #0D0D0E; visibility: hidden; opacity: 0; }
.sheet.is-reading .sheet__scan { visibility: visible; opacity: 1; }
.sheet__drop { position: absolute; inset: 10px; z-index: 6; display: grid; place-items: center; border: 2px dashed currentColor; border-radius: 14px; background: color-mix(in srgb, var(--s-bg) 88%, transparent); font-size: 20px; font-weight: 700; letter-spacing: -.01em; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet.is-over .sheet__drop { opacity: 1; }
.sheet__status { min-height: 1.5em; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--paper-60); text-align: center; opacity: 0; transition: opacity .3s; }
.sheet__status.is-on { opacity: 1; }

/* what you picked, on its way to the sheet */
.flyer { position: fixed; left: 0; top: 0; z-index: 140; padding: 7px 12px; border-radius: 6px; background: var(--paper); color: var(--ink); font: 700 17px/1.15 var(--f-ui); letter-spacing: -.012em; white-space: nowrap; pointer-events: none; transform-origin: 0 50%; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .75); will-change: transform; }

/* Side B flips everything but the sheet, which keeps its colours */
html.side-b .sheet, html.side-b .flyer { filter: invert(1) hue-rotate(180deg); }

@media (max-width: 899px) {
  /* on a phone the sheet comes straight after the title, so it's on screen from the start */
  .studio { grid-template-columns: minmax(0, 480px); grid-template-areas: "head" "sheet" "intro" "shot" "add" "go"; grid-template-rows: none; padding-top: clamp(22px, 4vh, 40px); }
  .studio__title { font-size: clamp(32px, 9vw, 52px); }
  .studio__sheet { margin-top: 20px; }
  .studio__intro { margin-top: 4px; }
  .sheet__status { margin-top: 12px; }
  .shot__btn { width: 100%; }
  .shot .link { margin: 0 auto; }
}
@media (max-width: 899px) {
  .sheet { --stub: 88px; }
  .sheet__stub { gap: 12px; grid-template-columns: minmax(0, 1fr) auto 54px; margin-left: 18px; margin-right: 16px; }
  .sheet__code { width: 54px; }
  .sheet__sel select, .sheet__stat b { font-size: 23px; }
  .row__name { font-size: 16.5px; }
}
@media (max-width: 380px) {
  .sheet__cols { gap: 10px; padding-left: 16px; padding-right: 12px; }
  .row__name { font-size: 15px; }
  .sheet__sel select, .sheet__stat b { font-size: 20px; }
}

/* the account panel shows everything you're matched on */
.acct__five--songs li span { display: flex; flex-direction: column; min-width: 0; }
.acct__five--songs small { margin-top: 1px; font-family: var(--f-ui); font-size: 12px; color: var(--ink-60); }
.acct__genre { margin: 8px 0 0; font-size: 12px; letter-spacing: .02em; color: var(--ink-60); }
.acct__genre:empty { display: none; }
.acct__genre b { margin-left: 8px; font-family: var(--f-serif); font-size: 17px; font-weight: 400; color: var(--ink); }

/* pointing at a name on the ticket shows its picture, in colour, where your number one sits */
.sheet__photo .sheet__peek { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; filter: none; mix-blend-mode: normal; opacity: 0; transition: opacity .25s; pointer-events: none; }
.sheet.is-peeking .sheet__photo .sheet__peek { opacity: 1; }
.sheet.is-peeking .sheet__photo { border-radius: 8px; box-shadow: 9px 9px 0 0 var(--s-fg); }
.sheet.is-peeking .sheet__photo::after, .sheet.is-peeking .sheet__who { opacity: 0; }
.row.is-filled { cursor: default; }
@media (hover: hover) { .sheet__photo:hover img { filter: none; mix-blend-mode: normal; } }

/* the nav on its own strip of paper once you scroll (no blending over the page) */
/* The nav is plain ink on paper, never blended: at the top it sits on the strip of paper, and
   once you scroll its own paper bar fades in behind it. Nothing changes colour on the way back. */
.nav { color: var(--ink); mix-blend-mode: normal; transition: transform .6s var(--ease), background-color .25s; }
.nav.is-solid { background: var(--paper); }

/* =====================================================================
   Round 7: the name up top, a chrome claim button, typing on the ticket,
   names cut off in a screenshot, and the top tracks you can play
   ===================================================================== */
.studio__brand { font-family: var(--f-ultra); font-weight: 400; font-size: clamp(56px, 6.6vw, 108px); line-height: .92; letter-spacing: -.015em; }
.studio__title { margin-top: clamp(10px, 1.6vh, 18px); font-size: clamp(26px, 2.5vw, 40px); line-height: 1.05; color: var(--paper); }
.studio__title em { color: var(--paper-60); }
/* the name's up top already: the nav keeps it to itself until you scroll */
.nav__mark { transition: opacity .3s; }


/* claim your spot, in dark chrome */
.btn--chrome {
  height: 60px; border: 1.5px solid transparent; color: #EEF0F3; font-weight: 600; letter-spacing: .02em;
  background:
    linear-gradient(180deg, #3b3e43 0%, #17181b 46%, #050506 54%, #202226 82%, #4a4e55 100%) padding-box,
    linear-gradient(135deg, #ffffff 0%, #8d9198 22%, #f4f5f7 42%, #50545b 60%, #e3e5e9 80%, #7a7e85 100%) border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 -1px 0 rgba(0, 0, 0, .6) inset, 0 18px 40px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .7), 0 0 14px rgba(255, 255, 255, .18);
}
.btn--chrome .btn__t { position: relative; z-index: 1; }
.btn--chrome .btn__t::after { display: none; }
.btn--chrome:hover:not(:disabled) .btn__t { transform: none; }
/* a highlight that slides across the metal */
.btn--chrome::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, .55) 55%, transparent);
  transform: skewX(-18deg) translateX(0); opacity: .55; mix-blend-mode: screen;
  animation: chrome-sheen 5.5s var(--ease-io) infinite;
}
.btn--chrome:hover:not(:disabled)::before { animation-duration: 1.6s; opacity: .9; }
@keyframes chrome-sheen { 0%, 62% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(560%); } }
.btn--chrome:disabled { opacity: .45; filter: saturate(0) brightness(.75); }
.btn--chrome:disabled::before { animation: none; opacity: 0; }
.unlock .btn--chrome { min-width: min(300px, 80vw); }

/* typing on the ticket */
.row { cursor: text; }
.row:not(.is-filled):hover .row__name::before { opacity: .3; }
.row.is-editing .row__name, .row.is-editing .row__by, .row.is-editing .row__note { display: none; }
.row__in {
  width: 100%; min-width: 0; margin: 0; padding: 3px 0 2px; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0;
  background: transparent; color: inherit; outline: 0; font: 400 17.5px/1.15 var(--f-serif); caret-color: currentColor;
}
.row__in::placeholder { color: inherit; opacity: .45; }
.sheet__below { position: relative; z-index: 12; }
.suggest.suggest--below { left: 0; right: 0; top: 10px; }

/* a name the screenshot cut short */
.row.is-cut { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--s-fg) 12%, transparent) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--s-fg) 55%, transparent); padding-right: 2px; margin: 2px -6px; padding-left: 6px; }
.row__note { display: none; font-size: 11px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; white-space: normal; }
.row.is-cut .row__note { display: block; margin-top: 2px; }
.row.is-cut .row__name { font-style: italic; }
.add__hint.is-warn { color: var(--paper); font-weight: 500; }

/* the ticket's stub, now just your sound and your spot */
.sheet__stub { grid-template-columns: minmax(0, 1fr) auto; }

/* the top tracks: songs, and something to play */
.chart__name small { display: block; margin-top: 3px; font-family: var(--f-ui); font-size: 13px; color: var(--paper-60); }
.deckwrap { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; }
.deck__controls { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 90px; }
.deck__play { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px 0 18px; border: 1.5px solid var(--paper-35); border-radius: 999px; color: var(--paper); font-size: 15px; font-weight: 500; transition: border-color .3s, background-color .3s, color .3s; }
.deck__play:hover { border-color: var(--paper); }
.deck__play[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.deck__icon { position: relative; width: 14px; height: 14px; }
/* a triangle that becomes a square to stop */
.deck__icon i:first-child { position: absolute; inset: 0; background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); transition: clip-path .3s var(--ease); }
.deck__play[aria-pressed="true"] .deck__icon i:first-child { clip-path: polygon(8% 8%, 92% 8%, 92% 92%, 8% 92%); }
.deck__icon i:last-child { display: none; }
.deck__now { min-height: 1.4em; max-width: 32em; text-align: center; font-size: 14px; color: var(--paper-60); }
.deck__now b { color: var(--paper); font-weight: 500; }

/* the unlock line always fits on one line */
.unlock__line { white-space: nowrap; font-size: clamp(14px, 5vw, 34px); }

@media (max-width: 899px) {
  .studio { grid-template-areas: "head" "sheet" "add" "shot" "go"; }
  .studio__brand { font-size: clamp(48px, 15vw, 76px); }
  .studio__title { font-size: clamp(24px, 6.6vw, 32px); }
  .add { margin-top: 18px; }
  .shot { margin-top: 14px; }
  .sheet__stub { grid-template-columns: minmax(0, 1fr) auto; }
}

/* =====================================================================
   Round 8: one centred column. The name and slogan, the ticket, then
   the screenshot button, the search box and Claim your spot.
   ===================================================================== */
.studio {
  grid-template-columns: minmax(0, 452px); grid-template-rows: none; justify-content: center;
  grid-template-areas: "head" "sheet" "shot" "add" "go";
  padding-top: clamp(28px, 5vh, 56px);
}
.studio__head { text-align: center; }
.studio__brand { font-size: clamp(52px, 6vw, 96px); }
.studio__title { font-size: clamp(24px, 2.4vw, 36px); }
.studio__sheet { margin-top: clamp(22px, 3.5vh, 34px); }
.shot { margin-top: 6px; justify-content: center; }
.shot__btn { width: 100%; }
.add { margin-top: 12px; }
.studio__go { margin-top: 22px; }
/* Sound and Spot, each centred in its half of the stub */
.sheet__stub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-items: center; text-align: center; }
.sheet__stat { align-items: center; }
.sheet__sel { align-self: center; }
@media (max-width: 899px) {
  .studio__brand { font-size: clamp(48px, 15vw, 76px); }
  .studio__title { font-size: clamp(24px, 6.6vw, 32px); }
  .sheet__stub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* the name and slogan can be wider than the ticket column */
.studio__head { justify-self: center; width: max-content; max-width: calc(100vw - 2 * var(--g)); }
/* the slogan is always one line: it shrinks to fit narrow screens rather than wrapping */
.studio__title { white-space: nowrap; font-size: min(36px, calc((100vw - 2 * var(--g)) / 15.4)); }
/* the search box's text fits on a phone (16px is the smallest a phone won't zoom in on) */
.add__in { font-size: clamp(16px, 4.4vw, 21px); }
.add__in::placeholder { text-overflow: ellipsis; }
.add .suggest.suggest--up { top: auto; bottom: calc(100% + 6px); box-shadow: 0 -24px 50px -20px rgba(0,0,0,.6); }

/* =====================================================================
   Round 11: the first screen. The name, centred (a touch high), one line
   on what this is, and the way down.
   ===================================================================== */
.intro { position: relative; z-index: 4; min-height: calc(100svh - var(--nav)); display: grid; place-items: center; padding: clamp(16px, 3vh, 40px) var(--g) clamp(120px, 17vh, 170px); color: var(--paper); overflow: hidden; }
.intro__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 100%; }
.intro .studio__brand { font-size: clamp(64px, 9.4vw, 152px); line-height: .9; white-space: nowrap; }
.intro .studio__title { margin-top: clamp(12px, 2vh, 22px); font-size: min(44px, calc((100vw - 2 * var(--g)) / 15.4)); }
.intro__what { margin-top: clamp(16px, 2.6vh, 28px); max-width: 34em; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: var(--paper-60); text-wrap: balance; }
.intro__what .intro__when { color: inherit; font-weight: inherit; }


/* the way down */
.intro__down { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--paper); transform: translateX(-50%); }
.intro__down-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.intro__down-ring { display: grid; place-items: center; width: 64px; height: 64px; border: 1.5px solid var(--paper-35); border-radius: 50%; transition: background-color .3s, border-color .3s, color .3s; }
.intro__down-ring svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: down-bob 1.6s var(--ease-io) infinite; }
@keyframes down-bob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
.intro__down:hover .intro__down-ring { background: var(--paper); border-color: var(--paper); color: var(--ink); }


/* the input section now follows the first screen */
.studio { padding-top: clamp(40px, 7vh, 72px); }
.studio .five__me { grid-area: head; margin: 0 0 16px; text-align: center; }

/* the search box's words sit in the middle */
.add__field { position: relative; justify-content: center; }
.add__field svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.add__in { padding: 0 32px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .intro__down-ring svg { animation: none !important; }
}
/* on a phone the name fits the width with room either side */
@media (max-width: 899px) { .intro .studio__brand { font-size: 15vw; } }

/* the first screen's description: a few short lines, with the one thing to do picked out */
.intro__what { max-width: 36em; }
.intro__what p + p { margin-top: .8em; }
.intro__what b { color: var(--paper); font-weight: 600; }
.intro__what .intro__ask { margin-top: .9em; margin-bottom: .1em; font-family: var(--f-serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.25; color: var(--paper); }
/* "Let's start here." and a plain arrow */
.intro__down { gap: 10px; }
.intro__down-label { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.5vw, 22px); font-weight: 400; letter-spacing: 0; text-transform: none; }
.intro__down-arrow { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: down-bob 1.6s var(--ease-io) infinite; }
.intro__down:hover .intro__down-arrow { animation-duration: .8s; }
@media (prefers-reduced-motion: reduce) { .intro__down-arrow { animation: none !important; } }

/* the description in Gabarito, with the odd chrome icon */
.intro__what p:not(.intro__ask) { font-family: 'Gabarito', var(--f-ui); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.ci { display: inline-block; width: 1.05em; height: 1.05em; margin: 0 .06em; vertical-align: -.17em; fill: url(#chrome); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 7px rgba(255, 255, 255, .14)); }
.intro__ask .ci { width: .95em; height: .95em; vertical-align: -.12em; }
/* "love of your life": tap it for a song */
.lyl { display: inline; padding: 0; font: inherit; color: var(--paper); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--paper-35); transition: text-decoration-color .3s; }
.lyl:hover, .lyl[aria-pressed="true"] { text-decoration-color: var(--paper); }
.lyl .ci { transition: transform .3s var(--ease); }
.lyl:hover .ci { transform: scale(1.15); }
.lyl[aria-pressed="true"] .ci { animation: beat .9s var(--ease-io) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.25); } 45% { transform: scale(1.05); } 60% { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) { .lyl[aria-pressed="true"] .ci { animation: none; } }
.nw { white-space: nowrap; }

/* words that play a song: chrome, not quite white, and no underline */
.snip { display: inline; padding: 0; font: inherit; line-height: inherit; cursor: pointer; text-decoration: none; color: #d4d7dc;
  background: linear-gradient(180deg, #ffffff 0%, #eceef1 36%, #a9adb4 52%, #dde0e4 68%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: filter .3s; }
.snip:hover { filter: brightness(1.15) drop-shadow(0 0 10px rgba(255, 255, 255, .22)); }
.snip[aria-pressed="true"] { animation: snip-glow 1.4s ease-in-out infinite; }
@keyframes snip-glow { 50% { filter: brightness(1.25) drop-shadow(0 0 12px rgba(255, 255, 255, .35)); } }
.snip .ci { transition: transform .3s var(--ease); }
.snip:hover .ci { transform: scale(1.15); }
.snip[aria-pressed="true"] .ci { animation: beat .9s var(--ease-io) infinite; }
@media (prefers-reduced-motion: reduce) { .snip[aria-pressed="true"], .snip[aria-pressed="true"] .ci { animation: none; } }

/* the first screen, a size smaller all round, and snugger on a phone */
.intro .studio__brand { font-size: clamp(56px, 8vw, 128px); }
.intro .studio__title { font-size: min(34px, calc((100vw - 2 * var(--g)) / 16.5)); }
.intro__what { max-width: 33em; }
.intro__what p:not(.intro__ask) { font-size: clamp(14.5px, 1.05vw, 17px); line-height: 1.55; }
.intro__what .intro__ask { font-size: clamp(17px, 1.4vw, 21px); }
.intro__down-label { font-size: clamp(16px, 1.2vw, 19px); }
.intro__down-arrow { width: 26px; height: 26px; }
@media (max-width: 899px) {
  .intro .studio__brand { font-size: 13vw; }
  .intro__what p + p { margin-top: .7em; }
  .intro__what .intro__ask { margin-top: .8em; }
}

/* the paragraphs in Instrument Sans; the song words bolder, with a little extra weight on the chrome */
.intro__what p:not(.intro__ask) { font-family: 'Instrument Sans', var(--f-ui); }
.snip { paint-order: stroke fill; }
.intro__what .snip { font-weight: 700; }
.studio__title .snip { -webkit-text-stroke: .022em #e6e8eb; }

/* no stub any more: a plain card with rounded corners all round */
.sheet { -webkit-mask: none; mask: none; }
.sheet__cols { padding-bottom: 20px; }

/* the longer name: one line on wide screens, Stereo over Hearts on a phone */
.br-m { display: none; }
.wordmark--foot .key-gap { display: inline-block; width: .28em; }
@media (max-width: 899px) {
  .br-m { display: inline; }
  .intro .studio__brand { font-size: 17vw; line-height: .88; white-space: normal; }
}
/* the longer name in the nav, on the smallest phones */
@media (max-width: 380px) { .nav__mark { font-size: 16px; } .nav__right { gap: 8px; } }

/* the big name plays the song too, but stays plain white: a lift on hover, a beat while it plays */
.snip.snip--brand { display: inline-block; color: var(--paper); background: none; -webkit-text-fill-color: currentColor; -webkit-text-stroke: 0; text-align: center; white-space: inherit; transition: transform .4s var(--ease), filter .4s; }
.snip.snip--brand:hover { filter: drop-shadow(0 0 22px rgba(243, 241, 236, .18)); transform: scale(1.01); }
.snip.snip--brand[aria-pressed="true"] { animation: brand-beat 1.05s var(--ease-io) infinite; }
@keyframes brand-beat { 0%, 100% { transform: scale(1); } 22% { transform: scale(1.025); } 40% { transform: scale(1.005); } 58% { transform: scale(1.018); } }
@media (prefers-reduced-motion: reduce) { .snip.snip--brand[aria-pressed="true"] { animation: none; } }
/* short phones (an iPhone SE): a little tighter so the whole first screen, arrow included, fits */
@media (max-width: 899px) and (max-height: 700px) {
  .intro { padding-top: 14px; padding-bottom: 92px; }
  .intro .studio__brand { font-size: 14.5vw; }
  .intro .studio__title { margin-top: 8px; }
  .intro__what { margin-top: 12px; }
  .intro__what p + p { margin-top: .55em; }
  .intro__what .intro__ask { margin-top: .6em; }
  .intro__down { bottom: 14px; gap: 6px; }
}

/* the little © after Spotify Wrapped */
.studio__title .tm { font: 500 .3em/0 var(--f-ui); font-style: normal; vertical-align: 1.5em; margin: 0 .03em 0 .07em; letter-spacing: 0; }

/* short phones: the extra paragraph needs a little more room, so the lines sit a touch closer */
@media (max-width: 899px) and (max-height: 700px) {
  .intro { padding-top: 8px; }
  .intro__what { margin-top: 10px; }
  .intro__what p:not(.intro__ask) { line-height: 1.45; }
  .intro__what .intro__ask { line-height: 1.15; }
}


/* ---------- The count: everyone who's signed up, and your place on the bar ---------- */
.unlock .unlock__line { margin-top: clamp(14px, 2.4vh, 26px); white-space: nowrap; }

/* the X on the ticket: clears every artist and song */
.sheet__clear { position: absolute; right: 12px; top: 11px; z-index: 6; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--s-fg); color: var(--s-bg); transition: transform .3s var(--ease), opacity .3s; }
.sheet__clear svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.sheet__clear:hover { transform: scale(1.08); }
.sheet__clear:focus-visible { outline: 2px solid var(--s-fg); outline-offset: 3px; }
.sheet.is-reading .sheet__clear { opacity: 0; pointer-events: none; }

/* a note at the bottom with an Undo */
.toast__act { margin-left: 16px; font: inherit; font-weight: 700; color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* the match: their Instagram under their name */
.rv-ig { margin-top: 10px; }
.rv-ig__a { display: inline-flex; align-items: center; gap: .42em; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rv-ig__icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; }
.rv-ig__dot { fill: currentColor; stroke: none; }
.rv-ig__a--plain { text-decoration: none; color: var(--ink-60); }

/* swapping playlists */
.rv-mix { padding-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(64px, 10vh, 110px); }
.rv-mix .rv-h { margin-bottom: clamp(28px, 4.5vh, 48px); }
.mix { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.mix__col { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.4vw, 30px); border: 1.5px solid var(--ink); min-width: 0; }
.mix__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mix__empty, .mix__lede { color: var(--ink-60); font-size: 15px; line-height: 1.5; }
.mix__lede { text-align: center; }
.mix__row { display: flex; gap: 10px; }
.mix__in { flex: 1; min-width: 0; height: 52px; border: 0; border-bottom: 1.5px solid var(--ink-35); background: transparent; font: 400 17px var(--f-ui); color: var(--ink); outline: none; border-radius: 0; padding: 0; }
.mix__in:focus { border-color: var(--ink); }
.mix__note { min-height: 1.4em; font-size: 14px; line-height: 1.45; color: var(--ink-60); }
.mix__note.is-err { color: #b3261e; }
.mix__warn { max-width: 980px; margin: clamp(18px, 3vh, 28px) auto 0; font-size: 14px; line-height: 1.5; color: var(--ink-60); text-align: center; }
.mix__warn b { color: var(--ink); font-weight: 600; }
.plink { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; background: var(--ink); color: var(--paper); min-width: 0; }
.plink__host { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plink__go { flex: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.plink--text { display: block; background: transparent; color: var(--ink-60); padding: 0; overflow-wrap: anywhere; }

/* the account panel: your current match and playlists sent to you */
.acct__match { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.acct__m { width: 100%; padding: 6px 0 10px; border-bottom: 1px solid var(--ink-12); }
.acct__m-kind { font-size: 12px; color: var(--ink-60); margin-bottom: 2px; }
.acct__m-name { font-family: var(--f-serif); font-size: 20px; line-height: 1.15; }
.acct__m-name b { font-weight: 400; }
.acct__m-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13px; color: var(--ink-60); }
.acct__ig--plain { text-decoration: none; font-weight: 500; }
.acct__small { font-size: 13px; }
.acct__links li { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--ink-12); font-size: 14px; }
.acct__from b { font-weight: 600; }
.acct__warn { font-size: 13px; color: var(--ink-60); border-bottom: 0 !important; }

@media (max-width: 820px) {
  .mix { grid-template-columns: 1fr; }
  .mix__row { flex-direction: column; }
  .mix__row .btn { width: 100%; }
}

/* laptops (wide but short screens): the name, the line under it and the paragraphs all one width,
   and the lot centred between the banner and "Let's start here." with room above and below */
@media (min-width: 900px) and (max-height: 820px) {
  .intro { --room: clamp(28px, 6vh, 56px); padding-top: var(--room); padding-bottom: calc(clamp(18px, 4vh, 40px) + 60px + var(--room)); }
  .intro .studio__brand { font-size: 60.8px; } /* the width of "Finally, a use for Spotify Wrapped©..." at 34px */
  .intro .studio__title { margin-top: 14px; }
  /* the column is as wide as the name and that line (neither wraps), so the paragraphs wrap to it */
  .intro__inner { width: min-content; }
  .intro__what { max-width: none; margin-top: 24px; }
  /* two even lines each; at this size "Welcome to Stereo Hearts..." fills the width with room to spare */
  .intro__what p:not(.intro__ask) { font-size: 15.2px; text-wrap: balance; }
}
