@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('assets/playfair-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy: #091a3c;
  --cream: #fff1d7;
  --gold: #ffcc69;
  --sans: 'DM Sans', system-ui, sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(3, 12, 32, .6), transparent 18%, transparent 76%, rgba(4, 13, 32, .78)),
    radial-gradient(ellipse at 50% 31%, rgba(3, 15, 43, .37), transparent 65%),
    var(--navy) url('assets/mural-hero.webp') center / cover no-repeat;
  color: var(--cream);
  font: 1rem/1.55 var(--sans);
}

main { flex: 1; }

a { color: inherit; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.35rem clamp(1rem, 4.5vw, 5rem);
  gap: .75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  white-space: nowrap;
  font: italic 700 clamp(1.2rem, 2.4vw, 1.75rem)/1.1 var(--display);
}

.wordmark img { object-fit: contain; }

.masthead-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.05rem;
  border: 1px solid rgba(255, 237, 204, .48);
  border-radius: 99rem;
  background: rgba(9, 26, 60, .52);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.masthead-link:hover { background: var(--cream); color: var(--navy); }

.hero-content {
  width: min(100% - 2rem, 58rem);
  margin: 0 auto;
  padding-top: clamp(1.3rem, 4svh, 3rem);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span { margin-inline: .35rem; }

h1, h2 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.06em;
}

h1 {
  margin: .25rem 0 0;
  font-size: clamp(3.5rem, 8.25vw, 7.5rem);
  line-height: 1.03;
  text-wrap: balance;
  text-shadow: 0 .06em .25em rgba(2, 11, 31, .48);
}

.hero-underline {
  display: block;
  margin: .6rem auto 1.15rem;
  width: clamp(6rem, 13vw, 10rem);
  height: .75rem;
  object-fit: fill;
}

.hero-message {
  max-width: 34rem;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-wrap: balance;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.32rem, 1.15vw, .75rem);
  width: min(100%, 28rem);
  margin: 1.7rem auto 0;
}

.countdown-unit {
  display: grid;
  justify-items: center;
  gap: .4rem;
  padding: .72rem .14rem .65rem;
  border: 1px solid rgba(255, 224, 164, .38);
  border-radius: .65rem;
  background: rgba(6, 21, 51, .79);
}

.countdown-unit [data-unit] {
  font-size: clamp(1.75rem, 5.5vw, 2.8rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
  line-height: 1;
}

.countdown-unit span + span {
  color: var(--gold);
  font-size: .875rem;
  line-height: 1.2;
}

.launch-date {
  margin: 1rem auto 0;
  color: var(--cream);
  font-size: .9rem;
  text-shadow: 0 1px 4px #000;
}

.music {
  padding: clamp(1.4rem, 4svh, 2.2rem) 1rem clamp(1.5rem, 5svh, 3rem);
}

.music-inner {
  display: grid;
  grid-template: 'cover heading' auto 'cover details' auto / minmax(9rem, 13rem) minmax(0, 1fr);
  column-gap: clamp(1rem, 4vw, 2.5rem);
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(95, 51, 19, .2);
  border-radius: 1.25rem;
  background: #fcf0da;
  color: #191a24;
  box-shadow: 0 1.25rem 3rem rgba(7, 11, 27, .36);
}

.cover {
  grid-area: cover;
  align-self: center;
  display: block;
  width: 100%;
  height: auto;
  border-radius: .45rem;
  box-shadow: 0 .4rem 1.15rem rgba(42, 26, 19, .27);
}

.music-heading { grid-area: heading; align-self: end; }
.music-heading .eyebrow { color: #6d2432; }
.music-details { grid-area: details; }

h2 {
  margin: .05em 0 .18em;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 1;
}

.music-details p { margin: 0 0 .95rem; }

.listen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .32rem;
  min-height: 48px;
  padding: .65rem 1.2rem;
  border: 1px solid #1b2542;
  border-radius: 99rem;
  background: #ffc552;
  color: #171a28;
  font-weight: 700;
  text-decoration: none;
}

.listen-button:hover { background: #f4ad23; }

.play-icon {
  width: 0;
  height: 0;
  margin-inline-end: .38rem;
  border-top: .35rem solid transparent;
  border-bottom: .35rem solid transparent;
  border-left: .55rem solid currentColor;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .9rem clamp(1rem, 4.5vw, 5rem);
  text-shadow: 0 1px 4px #000;
}

.site-footer span { font: italic 700 1.2rem/1.15 var(--display); }
.site-footer a { padding-block: .5rem; font-size: .875rem; text-underline-offset: .2em; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 43rem) {
  .masthead-link { padding-inline: .7rem; white-space: nowrap; }
}

@media (max-width: 34rem) {
  .music-inner {
    grid-template: 'cover heading' auto 'details details' auto / 5rem minmax(0, 1fr);
    max-width: 26rem;
    row-gap: .85rem;
  }

  .music-heading { align-self: center; }
  .music-heading h2 { margin-bottom: 0; }
}

@media (max-width: 23rem) {
  .masthead { gap: .5rem; }
  .masthead-link { font-size: .825rem; }
  .wordmark { gap: .35rem; font-size: 1.08rem; }
  .wordmark img { width: 26px; height: 26px; }
  .countdown-unit span + span { font-size: .8rem; }
}
