/* =========================================================
   MuSocí Radio — Coming Soon
   Single-screen hero. Palette + type pulled from the main
   site design system (see musoci-radio/css/styles.css).
   ========================================================= */

:root {
  --color-blue:      #3aa0c8;
  --color-purple:    #5b2f86;
  --color-magenta:   #b8326a;
  --color-pink:      #fe66c4;

  --bg-0: #0c0a18;
  --text-0: #f6f4fb;
  --text-1: #c9c2dd;
  --text-muted: #9b93b8;

  --grad-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-purple) 55%, var(--color-magenta) 100%);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
}

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

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--bg-0);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero.jpg?v=1") no-repeat center center / cover;
  background-position: left center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 24, 0.94) 0%, rgba(12, 10, 24, 0.86) 38%, rgba(12, 10, 24, 0.35) 62%, rgba(12, 10, 24, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 10, 24, 0.55) 0%, rgba(12, 10, 24, 0) 22%, rgba(12, 10, 24, 0) 78%, rgba(12, 10, 24, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 6vw, 5rem);
  max-width: 720px;
}

/* --- Top: wordmark + kicker --- */

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: clamp(0.6rem, 1.6vh, 1rem);
}

.wordmark {
  height: clamp(26px, 3.6vh, 42px);
  width: auto;
  max-width: 100%;
  display: block;
}

.kicker {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-1);

  /* LED shimmer, masked to the letterforms via background-clip: text
     so the glow only ever appears inside the glyphs themselves. */
  background-image: linear-gradient(
    100deg,
    var(--text-1) 0%,
    var(--text-1) 40%,
    #ffffff 48%,
    var(--color-pink) 52%,
    var(--text-1) 60%,
    var(--text-1) 100%
  );
  background-size: 280% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: kicker-shimmer 9.5s ease-in-out infinite;
}

@keyframes kicker-shimmer {
  0%   { background-position: 160% 0; }
  55%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .kicker {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-1);
  }
}

/* --- Mid: headline + signup --- */

.hero-mid {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vh, 2rem);
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  color: var(--text-0);
}

.headline-sub {
  display: inline-block;
  margin-top: 0.35em;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  color: var(--text-1);
}

.signup-lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-1);
}

/* --- "Notify Me" CTA button on the coming-soon hero ---
   Links to notify.html, which hosts the full Sender.net form
   (email + name) on its own branded dark page. */

.notify-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 24px -8px rgba(184, 50, 106, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notify-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px -8px rgba(184, 50, 106, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* --- notify.html — standalone signup page --- */

.notify-page {
  min-height: 100dvh;
  width: 100%;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.notify-back {
  position: absolute;
  top: clamp(1.25rem, 3vh, 2rem);
  left: clamp(1.25rem, 4vw, 2.5rem);
  color: var(--text-1);
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.notify-back:hover {
  opacity: 1;
  color: var(--text-0);
}

.notify-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  max-width: 460px;
  width: 100%;
}

.notify-wordmark {
  height: clamp(32px, 5vh, 48px);
  width: auto;
}

.notify-kicker {
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-1);
}

.notify-content .signup-form-wrap {
  width: 100%;
}

/* --- Sender.net signup embed ---
   Sender injects its own markup/inline styles into .sender-form-field.
   These overrides target the common elements it renders (inputs, labels,
   submit button) to match the page's dark/brand look instead of Sender's
   default white-box styling. Class names below cover Sender's typical
   output; if their form builder changes markup, these may need a touch-up
   once the embed is live and actually rendered in a browser. */

.signup-form-wrap {
  max-width: 460px;
}

.signup-form-wrap .sender-form-field,
.signup-form-wrap form,
.signup-form-wrap .sender-form-container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  font-family: var(--font-body) !important;
}

.signup-form-wrap label,
.signup-form-wrap .sender-form-field-label {
  color: var(--text-1) !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
}

.signup-form-wrap input[type="text"],
.signup-form-wrap input[type="email"],
.signup-form-wrap .sender-form-field input {
  width: 100% !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(246, 244, 251, 0.22) !important;
  background: rgba(246, 244, 251, 0.06) !important;
  color: var(--text-0) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.75rem !important;
  box-sizing: border-box !important;
}

.signup-form-wrap input::placeholder {
  color: var(--text-muted) !important;
}

.signup-form-wrap input:focus {
  outline: none !important;
  border-color: var(--color-pink) !important;
  background: rgba(246, 244, 251, 0.1) !important;
}

.signup-form-wrap button,
.signup-form-wrap input[type="submit"],
.signup-form-wrap .sender-form-field button {
  width: auto !important;
  padding: 0.9rem 1.9rem !important;
  border-radius: 999px !important;
  border: none !important;
  background: var(--grad-brand) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow:
    0 8px 24px -8px rgba(184, 50, 106, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.signup-form-wrap button:hover,
.signup-form-wrap input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px -8px rgba(184, 50, 106, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
}

/* --- Bottom: artist line + footer --- */

.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vh, 1.25rem);
}

.artist-line {
  margin: 0;
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  color: var(--text-muted);
}

.artist-link {
  color: var(--text-1);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 194, 221, 0.4);
}

.artist-link:hover {
  color: var(--text-0);
  text-decoration-color: var(--color-pink);
}

.hero-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 147, 184, 0.4);
}

.footer-link:hover {
  color: var(--text-1);
  border-color: var(--text-1);
}

.footer-copy {
  color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE — portrait / mobile
   ========================================================= */

@media (max-width: 720px) {
  .hero::before {
    /* Favor the subject (right side of the source photo) once the
       frame gets cropped narrow; the overlay keeps text legible
       over whatever part of the image sits behind it. */
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 10, 24, 0.88) 0%, rgba(12, 10, 24, 0.72) 45%, rgba(12, 10, 24, 0.9) 100%),
      linear-gradient(90deg, rgba(12, 10, 24, 0.6) 0%, rgba(12, 10, 24, 0.3) 100%);
  }

  .hero-content {
    max-width: 100%;
  }

  .signup-form {
    max-width: 100%;
  }

  .hero-footer {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }
}

@media (max-height: 560px) {
  .hero-content {
    gap: 0.75rem;
  }
}

/* Notify page footer — privacy link at point of data collection */
.notify-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  row-gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
