@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --night: #0f1424;
  --night-2: #171d33;
  --line: #2a3150;
  --cream: #f6efe2;
  --muted: #b9bdd0;
  --coral: #f39a78;
  --coral-strong: #ffb497;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--coral-strong); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: var(--night); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: min(100% - 2rem, 78rem); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .6rem 1.15rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn--primary { background: var(--cream); color: var(--night); }
.btn--primary:hover { background: var(--coral-strong); }
.btn--ghost { background: transparent; color: var(--cream); border-color: #4a5278; }
.btn--ghost:hover { border-color: var(--coral-strong); color: var(--coral-strong); }
.btn--large { min-height: 3.25rem; padding: .8rem 1.7rem; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { position: relative; min-height: min(100vh, 60rem); min-height: min(100svh, 60rem); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,20,36,.62) 0%, rgba(15,20,36,.42) 45%, rgba(15,20,36,.78) 82%, var(--night) 100%); }
.hero__inner { width: min(100% - 2rem, 50rem); margin-inline: auto; padding: 4.5rem 0 5rem; text-align: center; text-shadow: 0 1px 18px rgba(8,10,20,.55); }
.brand { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: clamp(2rem, 6vh, 3.5rem); font: 600 .85rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.hero__lead, .hero__question { font-size: clamp(1.05rem, 2.3vw, 1.3rem); max-width: 34rem; margin-inline: auto; color: #fbf6ec; }
.hero__question { margin-top: .6rem; }
.hero h1 { font-size: clamp(2.5rem, 8.2vw, 5.25rem); margin-top: 1.1rem; letter-spacing: -.005em; }
.hero__sign { margin: 1.5rem 0 2.25rem; font: 600 .9rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.hero .btn { text-shadow: none; }

/* Playlists */
main { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
main h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); text-align: center; }
.section-lead { color: var(--muted); text-align: center; max-width: 38rem; margin: 1rem auto clamp(2rem, 5vw, 3.5rem); font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--night-2); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; scroll-margin-top: 1rem; }
.card__media { aspect-ratio: 1 / 1; background: #0b0f1c; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media.is-player { aspect-ratio: auto; padding: .5rem .5rem 0; background: var(--night-2); }
.card__media iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; display: block; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: 1.25rem 1.25rem 1.4rem; }
.card h3 { font-size: 1.5rem; }
.card__tag { font: italic 400 1.1rem/1.3 var(--serif); color: var(--coral); }
.card__body > p:not(.card__tag) { color: var(--muted); font-size: .95rem; }
.card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .8rem; }

.privacy-note { color: var(--muted); font-size: .85rem; text-align: center; max-width: 40rem; margin: 2.5rem auto 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; text-align: center; }
.footer__claim { font: italic 400 clamp(1.3rem, 3vw, 1.7rem)/1.25 var(--serif); }
.social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 0; margin: 1.75rem 0 2rem; }
.social a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .5rem 1.1rem; border: 1.5px solid #4a5278; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .15s, color .15s; }
.social a:hover { border-color: var(--coral-strong); color: var(--coral-strong); }
.social svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer__legal { color: var(--muted); font-size: .85rem; }
.footer__legal a { color: var(--cream); }
.footer__legal span { margin: 0 .4rem; }

@media (max-width: 30rem) {
  .card__actions .btn { flex: 1 1 100%; }
  .social a { flex: 1 1 100%; justify-content: center; }
  .social li { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .social a { transition: none; }
}
