:root {
  --bg: #04061A;
  --text: #EDE9E1;
  --muted: #BEBBC8;
  --faint: #9C99A8;
  --hairline: rgba(237, 233, 225, 0.1);
  --focus: #FFD27A;
  --grad: linear-gradient(#3B82F6, #C026D3, #F59E0B);
}

html {
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header + hero */

/* Always-visible menu: a dark see-through strip over the page. */
.site-header {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: rgba(3, 3, 8, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* In-page links land below the strip. */
[id] {
  scroll-margin-top: 84px;
}

.wordmark {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: 'Marcellus', serif;
  font-size: 21px;
  text-decoration: none;
}

/* Gold "A" crest: dark corners vanish via screen blend + round feather. */
.wordmark__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 74%);
  mask-image: radial-gradient(circle, #000 58%, transparent 74%);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
}

.site-header nav a {
  color: #D6D2E2;
  text-decoration: none;
}

/* Apex colors appear on hover and keyboard focus. */
.site-header nav a:hover,
.site-header nav a:focus-visible {
  background: linear-gradient(90deg, #7FA8FF, #E07BF0, #FFC266);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  /* 31.25vw = the image's 1600:500 ratio. Not aspect-ratio: with min-height
     it would force a min-width and push the hero wider than the screen. */
  height: max(300px, 31.25vw);
  background: url(assets/hero.webp) center top / cover no-repeat;
  animation: fadeIn 1.6s ease-out both;
  --side-fade: 10%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(4, 6, 26, .7) 0%, transparent 18%, transparent 80%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent var(--side-fade), transparent calc(100% - var(--side-fade)), var(--bg) 100%);
}

/* The box is never wider than the image's 3.2:1, so "cover" always scales the
   image to the box height: sizing the sun by height keeps it on the sun. */
.hero__sun {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 19%;
  height: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 200, 110, .9) 0%, rgba(255, 140, 40, .35) 30%, transparent 65%);
  mix-blend-mode: screen;
  opacity: .25;
  animation: sun 5s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sun {
  0%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(.92); }
  50% { opacity: .7; transform: translate(-50%, -50%) scale(1.06); }
}

/* Waveform + statement */

.wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 46px;
  margin: 32px 0 14px;
}

.wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--grad);
  transform-origin: center;
  animation: bar 1.9s ease-in-out infinite;
}

@keyframes bar {
  0%, 100% { transform: scaleY(.35); }
  50% { transform: scaleY(1); }
}

.statement {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  font-family: 'Marcellus', serif;
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
}

/* Artists */

.artists h2 {
  margin: 88px 0 0;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.15;
  text-align: center;
}

.horizon {
  display: block;
  overflow: visible;
  fill: none;
}

.horizon path {
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(192, 38, 211, .5));
}

/* Same max width as .artist-grid so each hill stays over its artist. */
.horizon--wide {
  width: 100%;
  max-width: 1440px;
  height: 80px;
  margin: 14px auto 0;
}

.horizon--single {
  display: none;
  width: min(80%, 320px);
  height: auto;
  margin: 10px auto 24px;
}

.js .artists path.draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

/* Transition only on the way in, so adding .js after a first paint hides the
   line instantly instead of animating it away. */
.js .artists.is-drawn path.draw {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.4s ease-out;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
  text-align: center;
}

.artist {
  position: relative;
  min-width: 0;
}

/* Round glow right behind the logo; the logo's soft edge fades into it. */
.artist__logo::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(40px);
  opacity: .18;
  animation: breathe 7s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes breathe {
  0%, 100% { opacity: .18; }
  50% { opacity: .42; }
}

/* Logo links to the artist site too. Hidden from Tab and screen readers:
   the "Visit" link below is the one they use, so it isn't announced twice. */
.artist__logo {
  position: relative;
  display: block;
  width: 92%;
  max-width: 400px;
  margin: 0 auto;
}

.artist img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(circle, #000 46%, transparent 70%);
  mask-image: radial-gradient(circle, #000 46%, transparent 70%);
  transition: filter .5s, transform .6s;
}

.mw {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  height: 22px;
  margin: 10px 0 4px;
}

.mw i {
  width: 2px;
  border-radius: 2px;
  background: var(--link);
  opacity: .55;
  animation: bar 1.4s ease-in-out infinite paused;
}

.artist:hover .mw i,
.artist:focus-within .mw i {
  opacity: 1;
  animation-play-state: running;
}

.artist:hover img,
.artist:focus-within img {
  filter: brightness(1.18);
  transform: scale(1.03);
}

.artist h3 {
  position: relative;
  margin: 4px 0 6px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
}

.artist .bn {
  display: block;
  margin-top: 4px;
  font-family: 'Hind Siliguri', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #E4E0D8;
}

.artist p {
  position: relative;
  margin: 0;
  color: var(--muted);
}

.artist a {
  position: relative;
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Visit <domain>: soft outlined pill in the artist's color, always one line. */
.artist .visit {
  margin-top: 16px;
  padding: 9px 20px;
  border: 1.5px solid var(--link);
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 0 14px color-mix(in srgb, var(--link) 25%, transparent);
  transition: box-shadow .25s ease, background-color .25s ease;
}

.artist .visit:hover,
.artist .visit:focus-visible {
  border-radius: 999px;
  background: color-mix(in srgb, var(--link) 12%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--link) 45%, transparent);
}

/* New music: cover beside the text, then the fan list spot */

.music {
  max-width: 900px;
  margin: 112px auto 0;
  padding: 0 24px;
  text-align: center;
}

.music h2 {
  margin: 0 0 36px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
}

.music__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.music__cover {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(255, 106, 31, .22);
}

.music__text {
  text-align: left;
}

.music__text h3 {
  margin: 0 0 6px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
}

.music__text p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
}

.music__text .music__date {
  margin-top: 4px;
  color: var(--text);
}

.cta {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #1A0C04;
  text-decoration: none;
  background: linear-gradient(90deg, #FFB57D, #FF8A3D);
  box-shadow: 0 0 24px rgba(255, 106, 31, .45);
  transition: box-shadow .25s ease, transform .25s ease;
}

.cta:hover,
.cta:focus-visible {
  border-radius: 999px;
  box-shadow: 0 0 36px rgba(255, 106, 31, .7);
  transform: translateY(-1px);
}

/* Smaller fan list button in the menu; undoes the menu links' gradient text. */
.site-header nav .cta--menu {
  margin-top: 0;
  padding: 8px 18px;
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
  color: #1A0C04;
  background: linear-gradient(90deg, #FFB57D, #FF8A3D);
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.site-header nav .cta--menu:hover,
.site-header nav .cta--menu:focus-visible {
  color: #1A0C04;
  background: linear-gradient(90deg, #FFB57D, #FF8A3D);
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

/* Fan list spot: one line, then the filled button. */

.fan {
  margin: 72px auto 0;
  padding: 0 24px;
  text-align: center;
}

.fan__line {
  margin: 0;
  font-family: 'Marcellus', serif;
  font-size: 22px;
  line-height: 1.4;
}

.fan .cta {
  margin-top: 16px;
}

/* Inside New music the spot follows the text's alignment. */
.music__text .fan {
  margin: 18px 0 0;
  padding: 0;
  text-align: inherit;
}

.music__text .fan__line {
  font-size: 22px;
  color: var(--text);
}

/* About + footer */

.about {
  max-width: 620px;
  margin: 96px auto 0;
  padding: 0 24px;
  text-align: center;
}

.about h2 {
  margin: 0 0 18px;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
}

.about p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.about p + p {
  margin-top: 16px;
}

.site-footer {
  margin-top: 96px;
  padding: 32px 16px 36px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.site-footer__email {
  font-family: 'Marcellus', serif;
  font-size: 24px;
  text-decoration: none;
}

.site-footer__email:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 14px 0;
  font-size: 14px;
}

.site-footer nav a {
  color: var(--muted);
  text-underline-offset: 4px;
}

.site-footer small {
  display: block;
  font-size: 13px;
  color: var(--faint);
}

@media (max-width: 699px) {
  .artists h2 {
    font-size: 40px;
  }

  .horizon--wide {
    display: none;
  }

  .horizon--single {
    display: block;
  }

  .artist-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 0 16px;
  }

  .music__item {
    flex-direction: column;
    gap: 24px;
  }

  .music__text {
    text-align: center;
  }
}

@media (max-width: 599px) {
  .site-header {
    position: sticky;
    gap: 12px;
    padding: 10px 16px;
  }

  .site-header nav a:not(.cta) {
    display: none;
  }

  .wordmark {
    font-size: 18px;
    white-space: nowrap;
  }

  .site-header nav .cta--menu {
    padding: 7px 14px;
    font-size: 13px;
  }

  [id] {
    scroll-margin-top: 64px;
  }

  .hero {
    height: max(250px, 31.25vw);
    --side-fade: 5%;
  }

  .statement {
    font-size: 24px;
  }

  .site-footer__email {
    font-size: 20px;
  }
}

/* Fan sign-up page (join.html). Brevo's script toggles the message panels. */

.join {
  max-width: 520px;
  margin: 150px auto 0;
  padding: 0 24px;
  text-align: center;
}

.join h1 {
  margin: 0;
  font-family: 'Marcellus', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  text-wrap: balance;
}

.join__intro {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.join__form {
  margin-top: 36px;
}

.join .entry__label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text);
}

.join .input {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(237, 233, 225, .25);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

/* Space between the first name and email fields. */
.join .sib-input + .sib-input {
  margin-top: 22px;
}

.join .input:focus-visible,
.join button.cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.join fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.pick-all {
  align-self: flex-end;
  margin: -4px 4px 0;
  padding: 2px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.pick-all:hover {
  color: var(--text);
}

.pick-all:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

/* Artist tiles: the real checkbox sits invisibly on top; a ticked tile glows in its artist color. */
.pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(237, 233, 225, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pick img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pick__text {
  flex: 1;
  min-width: 0;
}

.pick__name {
  display: block;
  font-family: 'Marcellus', serif;
  font-size: 19px;
  line-height: 1.3;
}

.pick__slogan {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.pick__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(237, 233, 225, .4);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--bg);
}

.pick:has(input:checked) {
  border-color: var(--c);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 30%, transparent);
}

.pick:has(input:checked) .pick__mark {
  border-color: var(--c);
  background: var(--c);
}

.pick:has(input:checked) .pick__mark::after {
  content: "\2713";
}

.pick:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.join button.cta {
  margin-top: 30px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.join button.cta svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  fill: currentColor;
  animation: spin 1s linear infinite;
}

.join button.cta .sib-hide-loader-icon {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.join__note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--faint);
}

.join .entry__error {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #FFB4A8;
}

.join .entry__error:empty {
  display: none;
}

.input--hidden {
  position: absolute;
  left: -9999px;
}

.sib-form-message-panel {
  display: none;
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 17px;
}

.sib-form-message-panel--active {
  display: block;
}

#success-message {
  color: var(--text);
  background: rgba(255, 138, 61, .14);
  border: 1px solid rgba(255, 181, 125, .45);
}

#error-message {
  color: #FFD6CF;
  background: rgba(226, 54, 58, .14);
  border: 1px solid rgba(226, 54, 58, .5);
}

.join__confirmed {
  display: none;
  margin: 32px 0 0;
  font-family: 'Marcellus', serif;
  font-size: 26px;
  line-height: 1.4;
}

.join__confirmed:target {
  display: block;
}

body:has(#confirmed:target) .join__form,
body:has(#confirmed:target) .join__intro {
  display: none;
}

@media (max-width: 599px) {
  .join {
    margin-top: 40px;
  }

  .join h1 {
    font-size: 32px;
  }
}

/* The four text links no longer fit beside the name and button. */
@media (max-width: 759px) {
  .site-header nav a:not(.cta) {
    display: none;
  }
}

/* Narrowest phones: name and menu button still share one row. */
@media (max-width: 379px) {
  .site-header {
    gap: 8px;
    padding: 10px 12px;
  }

  .wordmark {
    font-size: 16px;
  }

  .wordmark__mark {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .artists path.draw {
    stroke-dashoffset: 0;
  }
}
