:root {
  --background: #000000;
  --foreground: #f5f3ef;
  --muted-foreground: #a39a94;
  --accent: #e8845c; /* sunset coral, taken from the photo */
  --border: #2a2a2a;
  --bar: #000000;           /* top bar and footer */
  --bar-text: #ffffff;
  --bar-border: #1f1f1f;
  --accent-on-bar: #e8845c; /* coral for hover and open states on the bars */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Lora", Georgia, serif;
  --font-wordmark: "Gloock", "Didot", Georgia, serif; /* high-contrast fashion-magazine serif */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.caps {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

/* ---------- Top bar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--bar-border);
  background: var(--bar);
  color: var(--bar-text);
}
.nav-name { font-size: 0.95rem; }
.nav-link { font-size: 0.72rem; color: var(--bar-text); transition: color 0.2s; }
.nav-link:hover, .nav-link:focus-visible { color: var(--accent-on-bar); }

/* ---------- Links dropdown ---------- */
.menu { position: relative; }

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-button:focus-visible { outline: 1px solid var(--accent-on-bar); outline-offset: 4px; }

.menu-arrow {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.2rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s, margin-top 0.2s;
}
.menu-button[aria-expanded="true"] { color: var(--accent-on-bar); }
.menu-button[aria-expanded="true"] .menu-arrow { transform: rotate(-135deg); margin-top: 0.2rem; }

.menu-list {
  position: absolute;
  top: calc(100% + 1.1rem);
  right: 0;
  min-width: 13rem;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  border: 1px solid var(--bar-border);
  background: var(--bar);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.5);
  animation: fadeUp 0.25s ease-out both;
}
.menu-list[hidden] { display: none; }
.menu-list a {
  display: block;
  padding: 0.85rem 1.4rem;
  font-size: 0.7rem;
  color: var(--bar-text);
  transition: color 0.2s, background-color 0.2s;
}
.menu-list a:hover, .menu-list a:focus-visible {
  color: var(--accent-on-bar);
  background-color: #111111;
  outline: none;
}
.menu-list li + li { border-top: 1px solid var(--bar-border); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 1.5rem 3vh;
  overflow: hidden;
  text-align: center;
}

/* Soft blurred copy of the photo behind everything. It fills the sides on
   wide screens, where the square photo is narrower than the window. */
.hero::before {
  content: "";
  position: absolute;
  inset: -120px;
  /* stretched sideways so its colors match the photo's own left and right edges */
  background: url("images/anya-moon-water.jpg") center / 100% 100% no-repeat;
  filter: blur(60px) brightness(0.85) saturate(1.1);
}

/* The whole photo, centered, a little taller than the screen so the
   "moon water" lettering at the very bottom of the artwork stays below the
   fold. On phones it is wider than the screen and simply crops at the sides. */
.hero-photo {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 119%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: translateX(-50%);
}

/* Wide screens: start below the top bar so the moon shows, and fade the
   photo's left and right edges into the blurred copy. */
@media (min-aspect-ratio: 119/100) {
  .hero-photo {
    top: 4.4rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 0.35) 8%, rgb(0 0 0 / 0.8) 18%, #000 28%, #000 72%, rgb(0 0 0 / 0.8) 82%, rgb(0 0 0 / 0.35) 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgb(0 0 0 / 0.35) 8%, rgb(0 0 0 / 0.8) 18%, #000 28%, #000 72%, rgb(0 0 0 / 0.8) 82%, rgb(0 0 0 / 0.35) 92%, transparent 100%);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0.2) 0%,
    rgb(0 0 0 / 0) 35%,
    rgb(0 0 0 / 0.2) 65%,
    rgb(0 0 0 / 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark {
  margin: 0;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 6.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: -0.03em; /* cancel the trailing letter gap so it sits centered */
  text-shadow: 0 2px 40px rgb(0 0 0 / 0.5);
}

.button {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1rem 2.6rem;
  border: 1px solid var(--accent);
  border-radius: 999px; /* pill shape */
  font-size: 0.75rem;
  transition: background-color 0.2s, color 0.2s;
}
.button:hover, .button:focus-visible {
  background-color: var(--accent);
  color: var(--background);
}

.follow {
  margin-top: 2.2rem;
}
.follow-label {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.socials a {
  display: block;
  color: var(--foreground);
  transition: color 0.2s, transform 0.2s;
}
.socials a:hover, .socials a:focus-visible { color: var(--accent); transform: translateY(-2px); }
.socials svg {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.socials svg .fill { fill: currentColor; stroke: none; }

.private-list {
  margin-top: 1.8rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgb(245 243 239 / 0.5);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s;
}
.private-list:hover, .private-list:focus-visible { color: var(--accent); border-color: var(--accent); }

/* ---------- Top bar: Music link ---------- */
.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-music { padding: 0.4rem 0; }

/* ---------- Hero release line ---------- */
.hero-release {
  margin: 1.4rem 0 0;
  font-size: 0.68rem;
  color: rgb(245 243 239 / 0.85);
}

/* Bigger tap areas for the icons (44px), same look */
.socials { gap: 0.6rem; }
.socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; }

/* ---------- Release section ---------- */
.release {
  display: grid;
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  align-items: center;
}
.release-art img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}
.eyebrow {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted-foreground);
}
.release-title, .signup-title {
  margin: 0.8rem 0 1.6rem;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1;
}
.player {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
}
.release-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.stream {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  transition: border-color 0.2s, color 0.2s;
}
.stream:hover, .stream:focus-visible { border-color: var(--accent); color: var(--accent); }

/* ---------- Private list section ---------- */
.signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 1.5rem 5.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.signup-title { margin-bottom: 1rem; }
.signup-text {
  max-width: 26rem;
  margin: 0;
  color: rgb(245 243 239 / 0.8);
  line-height: 1.6;
}
.signup .button { margin-top: 2rem; }
.share {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding: 0.75rem 1rem;
  border: 0;
  background: none;
  color: var(--muted-foreground);
  font-family: var(--font-display);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.2s;
}
.share:hover, .share:focus-visible { color: var(--accent); }
.share svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 768px) {
  .release { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 7rem 2.5rem; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--bar);
  font-size: 0.65rem;
  color: var(--bar-text);
}
.footer p { margin: 0; }
.footer a { transition: color 0.2s; }
.footer a:hover, .footer a:focus-visible { color: var(--accent-on-bar); }
.nav a:focus-visible, .footer a:focus-visible { outline-color: var(--accent-on-bar); }

a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

/* ---------- Fade-up on load ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.reveal { animation: fadeUp 0.9s ease-out both; }
.reveal:nth-child(2) { animation-delay: 0.15s; }
.reveal:nth-child(3) { animation-delay: 0.3s; }
.reveal:nth-child(4) { animation-delay: 0.45s; }
.reveal:nth-child(5) { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
}

@media (min-width: 768px) {
  .nav { padding: 1.25rem 2.5rem; }
  .footer { padding: 2.5rem; }
}
