@import url(/base.css);

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.has-player { padding-bottom: 92px; }
.skip { position: absolute; left: -999px; z-index: 60; background: var(--teal); color: var(--white); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem clamp(1rem, 4vw, 3rem); background: var(--white); border-bottom: 1px solid var(--line); }
.logo img { width: clamp(132px, 17vw, 200px); height: auto; }
.nav nav { display: flex; gap: clamp(.8rem, 2.5vw, 2rem); }
.nav nav a { text-decoration: none; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav nav a:hover { color: var(--teal); border-color: var(--teal); }

/* Hero: the cover is the one big block of red, framed by white. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); max-width: 1180px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) 0; }
.hero-art { width: 100%; max-width: calc(100svh - 150px); justify-self: end; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 60px rgba(90, 20, 35, .22); }
.hero-copy { padding: 1rem 0; }
.hero h1 { font-family: Brush, cursive; font-weight: 400; font-size: clamp(3rem, 6vw, 6rem); line-height: .95; color: var(--crimson); }
.hero h1 small { display: block; color: var(--ink); margin-top: 1rem; font: 500 clamp(1.2rem, 2.3vw, 2rem)/1.3 Cormorant, serif; text-transform: uppercase; letter-spacing: .32em; overflow-wrap: anywhere; }
#tagline { font-size: 1.5rem; margin: 1.2rem 0 0; }
/* The cover already carries the title, tagline and name, so they are not repeated beside it. */
.intro { margin: 0; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.15; max-width: 12em; text-wrap: balance; }
.hero.own-cover h1, .hero.own-cover #tagline { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero:not(.own-cover) .intro { display: none; }
.description { max-width: 34em; color: var(--soft); white-space: pre-line; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.countdown { margin-top: 1.8rem; }
.countdown p { margin: 0 0 .5rem; }
.clock { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.clock span { min-width: 3.6rem; font-size: 1rem; color: var(--soft); }
.clock b { display: block; font-size: 2.8rem; line-height: 1.1; color: var(--teal); font-variant-numeric: lining-nums tabular-nums; }

.section { max-width: 1120px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem) 0; }
.section h2 { color: var(--crimson); font-family: Brush, cursive; font-weight: 400; font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.4rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.4rem; }
.section-head h2 { margin: 0; }
.note { color: var(--soft); }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.view-toggle button { border: 0; background: none; border-radius: 999px; padding: .35rem 1.2rem; cursor: pointer; }
.view-toggle [aria-pressed=true] { background: var(--teal); color: var(--white); font-weight: 700; }

.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { position: relative; }
.track { display: grid; width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.track:disabled { cursor: default; }
.track img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.names { min-width: 0; }
.names strong { display: block; font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; }
.names span { display: block; color: var(--soft); font-size: 1.05rem; }
.round { color: var(--teal); display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.round:hover { background: var(--tint); }
.round[aria-pressed=true] { color: var(--white); background: var(--teal); }

.tracks.list { border-top: 1px solid var(--line); }
.tracks.list li { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.tracks.list li:hover, .tracks.list li.current { background: var(--tint); }
.tracks.list .track { grid-template-columns: 2.2rem 60px 1fr auto; align-items: center; gap: 1rem; padding: .75rem .5rem; }
.num { text-align: center; color: var(--soft); }
.len { color: var(--soft); font-variant-numeric: lining-nums tabular-nums; }
.playing .names strong { color: var(--teal); }

.tracks.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 2rem 1.25rem; }
.tracks.grid .track { grid-template-columns: 1fr; align-content: start; gap: .65rem; padding: 0; }
.tracks.grid .track img { width: 100%; transition: filter .2s; }
.tracks.grid .track:enabled:hover img { filter: brightness(1.12); }
.tracks.grid li.current img { outline: 3px solid var(--teal); outline-offset: 2px; }
.tracks.grid .num, .tracks.grid .len { display: none; }
.tracks.grid .dl { position: absolute; top: .5rem; right: .5rem; background: var(--white); }
@media (max-width: 560px) {
  .tracks.grid { grid-template-columns: 1fr 1fr; }
  .tracks.list .track { grid-template-columns: 1.4rem 52px 1fr; gap: .7rem; padding-inline: 0; }
  .tracks.list .len { display: none; }
}

.video.embed { aspect-ratio: 16 / 9; background: var(--ink); }
.video iframe { width: 100%; height: 100%; border: 0; }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; }
.bio { max-width: 34em; white-space: pre-line; font-size: 1.3rem; }
.bio p { margin: 0 0 1em; }
.credits { color: var(--soft); white-space: pre-line; border-top: 1px solid var(--line); padding-top: 1rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 420px; margin-inline: auto; } }

.event p { white-space: pre-line; font-size: 1.4rem; margin-top: 0; }

.platforms, .socials { list-style: none; padding: 0; margin: 0; }
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .8rem; }
.platforms a, .platforms .soon { display: flex; align-items: center; gap: .9rem; min-height: 76px; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.platforms a:hover { border-color: var(--teal); background: var(--tint); }
.platforms strong { display: block; line-height: 1.2; }
.platforms small { display: block; font-size: .95rem; }
.platforms .soon { color: var(--soft); border-style: dashed; }
.platforms img, .socials img { width: 30px; height: 30px; object-fit: contain; }
.glyph { display: grid; color: var(--teal); }
.soon .glyph { color: var(--soft); }
.glyph svg { width: 30px; height: 30px; }

.signup p { max-width: 34em; }
.signup form { display: flex; flex-wrap: wrap; gap: .75rem; }
.signup input[type=email] { flex: 1 1 260px; max-width: 420px; border-radius: 999px; padding-inline: 1.3rem; }
.trap { position: absolute; left: -9999px; }
.support { text-align: center; }

.footer { margin-top: clamp(4rem, 9vw, 7rem); padding: 3rem 1rem; background: var(--teal-dark); color: var(--white); text-align: center; }
.footer .glyph, .footer .soon, .footer .soon .glyph { color: #b9ddd7; }
.footer :focus-visible { outline-color: var(--white); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin-bottom: 1.5rem; }
.socials a, .socials .soon { display: flex; align-items: center; gap: .5rem; text-decoration: none; text-align: left; }
.socials small { display: block; font-size: .85rem; line-height: 1.1; }
.socials .glyph svg { width: 24px; height: 24px; }

.mini { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .25rem; padding: .7rem clamp(.5rem, 3vw, 2rem) calc(.7rem + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 30px rgba(50, 10, 20, .14); }
.mini-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: .8rem; border: 0; background: none; text-align: left; cursor: pointer; padding: 0; }
.mini-info img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.mini-info > span { min-width: 0; }
.mini-info strong, .mini-info span span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.mini-info span span { font-size: .95rem; color: var(--soft); }
.round.big { background: var(--crimson); color: var(--white); }
.round.big:hover { background: var(--crimson-dark); }
.mini-progress { position: absolute; inset: 0 0 auto; height: 3px; background: var(--line); }
.mini-progress i { display: block; height: 100%; width: 0; background: var(--teal); }

.player { width: min(940px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 18px; background: var(--white); color: var(--ink); overflow: auto; }
.player::backdrop { background: rgba(20, 14, 16, .65); }
.player[open] { animation: rise .3s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
body:has(.player[open]) { overflow: hidden; }
.close { position: absolute; right: .8rem; top: .8rem; z-index: 2; border: 1px solid var(--line); border-radius: 999px; background: var(--white); padding: .3rem 1rem; cursor: pointer; }
.player-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; align-items: start; }
.p-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 18px 44px rgba(90, 20, 35, .25); }
.p-main { min-width: 0; padding-top: 2rem; text-align: center; }
.p-main h2 { color: var(--crimson); font-family: Brush, cursive; font-weight: 400; font-size: 2.6rem; overflow-wrap: anywhere; }
#pArtist { margin: .4rem 0 1.4rem; }
input[type=range] { --fill: 0%; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; margin: 0; }
#volume { --fill: 100%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill), var(--line) var(--fill)); }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--teal); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 4px; background: var(--teal); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--teal); }
.times { display: flex; justify-content: space-between; font-size: .95rem; font-variant-numeric: lining-nums tabular-nums; }
.controls { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: .6rem 0 1rem; }
.round.huge { width: 72px; height: 72px; background: var(--crimson); color: var(--white); }
.round.huge:hover { background: var(--crimson-dark); }
.round.huge svg { width: 32px; height: 32px; }
.volume { display: flex; align-items: center; gap: .8rem; max-width: 260px; margin: 0 auto; font-size: 1rem; }
.p-main .actions { justify-content: center; margin-top: 1.2rem; }
.p-error { color: var(--crimson-dark); margin: .5rem 0 0; }
details { margin-top: 1.2rem; text-align: left; border-top: 1px solid var(--line); padding-top: .8rem; }
summary { cursor: pointer; font-weight: 700; }
details p { white-space: pre-line; }
@media (max-width: 720px) {
  .player { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .player-body { grid-template-columns: 1fr; gap: 0; padding: 3.8rem 1.25rem 2rem; }
  .p-art { max-width: min(320px, 40dvh); margin: 0 auto; }
  .p-main { padding-top: 1.2rem; }
  .p-main h2 { font-size: 2.1rem; }
}

.toast { position: fixed; z-index: 40; left: 50%; bottom: 110px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2rem); padding: .7rem 1.2rem; border-radius: 10px; background: var(--ink); color: var(--white); opacity: 0; visibility: hidden; overflow-wrap: anywhere; }
.toast.on { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 600px; justify-self: center; }
  .hero-copy { text-align: center; padding: .5rem 0 0; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero h1 small { letter-spacing: .2em; font-size: clamp(1.1rem, 5vw, 1.7rem); }
  .hero .actions, .clock { justify-content: center; }
  .description, .intro { margin-inline: auto; }
}
@media (max-width: 520px) {
  .nav { flex-direction: column; gap: .35rem; padding-block: .6rem; }
  .nav nav { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
