:root {
  --bg: #0a0a0c;
  --fg: #f4f1ea;
  --muted: #9a948a;
  --accent: #e8c87e;
  --link-border: rgba(244, 241, 234, 0.25);
  --link-hover-bg: rgba(244, 241, 234, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Futura", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
  background: var(--bg);
}

/* Poster frame from the video, behind the content, dimmed for legibility.
   Center-weighted vignette + vertical gradient keep the text column readable
   on wide screens (where the vertical poster leaves the sides exposed). */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(120% 90% at 50% 42%, rgba(10, 10, 12, 0.35), rgba(10, 10, 12, 0.88) 100%),
    linear-gradient(to bottom, rgba(10, 10, 12, 0.45), rgba(10, 10, 12, 0.78)),
    url("/assets/poster.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  z-index: 0;
}

/* Soft gold glow behind the wordmark, echoing the video's light trail. */
.hero__inner::before {
  content: "";
  position: absolute;
  top: -8%;
  left: 50%;
  width: 520px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 200, 126, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
}

/* --- Click-to-play video --- */
.player {
  margin-top: 2.25rem;
  margin-bottom: 1.5rem; /* room for the label under the button */
  display: flex;
  justify-content: center;
}

.player__play {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.35);
  background: rgba(10, 10, 12, 0.4);
  backdrop-filter: blur(4px);
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Gentle attention pulse (respects reduced-motion below). */
.player__play::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: playPulse 2.6s ease-out infinite;
}

@keyframes playPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.4); }
  100% { opacity: 0;   transform: scale(1.4); }
}

.player__play:hover,
.player__play:focus-visible {
  background: rgba(232, 200, 126, 0.2);
  border-color: var(--accent);
  transform: scale(1.05);
  outline: none;
}

.player__play svg { margin-left: 4px; } /* optically center the triangle */

.player__label {
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.player__video {
  width: 100%;
  max-width: 340px;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.artist {
  font-size: clamp(2.75rem, 12vw, 6rem);
  letter-spacing: 0.18em;
  font-weight: 500;
  line-height: 1;
}

.tagline {
  margin-top: 1.25rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
}

.track {
  margin-top: 0.6rem;
  color: var(--accent);
  font-size: clamp(1rem, 4vw, 1.4rem);
  letter-spacing: 0.04em;
}

.cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.link {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--link-border);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.link:hover,
.link:focus-visible {
  background: var(--link-hover-bg);
  border-color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

/* Primary CTA — the smart link. */
.link--primary {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
  font-weight: 600;
  padding: 0.85rem 2rem;
  letter-spacing: 0.1em;
}

.link--primary:hover,
.link--primary:focus-visible {
  background: #f0d595;
  border-color: #f0d595;
  color: #0a0a0c;
}

.contact {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.contact a { color: var(--fg); }

.footer {
  margin-top: auto;
  padding-top: 3rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
  .player__play::after { animation: none; }
}
