/* ---------------------------------------------------------
   SoundWave Radio Plymouth — shared styles
   Palette sampled from the logo mark
   --------------------------------------------------------- */

:root {
  --ink:     #000000;
  --paper:   #F4F5F8;
  --muted:   #7C8092;
  --blue:    #2733D8;
  --violet:  #8B2BAE;
  --crimson: #D81E5B;
  --line:    #191B26;
  --sweep:   linear-gradient(90deg, var(--blue), var(--violet), var(--crimson));
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--paper); }

/* ---------- Navbar (Bootstrap 5 overrides) ---------- */

.navbar {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar .navbar-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.navbar .navbar-brand:hover { color: var(--paper); }

.navbar .navbar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.navbar .nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  margin-left: 1.75rem;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: var(--paper); }

/* Gradient underline on the active / hovered item */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--sweep);
  transition: width 0.25s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }
.navbar .nav-link.active { color: var(--paper); }

.navbar-toggler {
  border-color: var(--line);
  padding: 0.35rem 0.55rem;
}
.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28244, 245, 248, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar .nav-link { margin-left: 0; }
}

/* ---------- Layout ---------- */

.page {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem) 1.5rem;
}

.page > main {
  width: 100%;
  max-width: 660px;
}

/* ---------- Home ---------- */

.logo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
}

/* Signature: the logo's waveform, live */
.signal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 48px;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}
.signal span {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  animation: pulse 1.4s ease-in-out infinite;
}
.signal span:nth-child(1)  { color: #2733D8; animation-delay: -1.20s; }
.signal span:nth-child(2)  { color: #3A2FD2; animation-delay: -0.30s; }
.signal span:nth-child(3)  { color: #4D2CCB; animation-delay: -0.85s; }
.signal span:nth-child(4)  { color: #612AC0; animation-delay: -0.10s; }
.signal span:nth-child(5)  { color: #7529B7; animation-delay: -0.60s; }
.signal span:nth-child(6)  { color: #8B2BAE; animation-delay: -1.05s; }
.signal span:nth-child(7)  { color: #9B289F; animation-delay: -0.45s; }
.signal span:nth-child(8)  { color: #AC2690; animation-delay: -0.95s; }
.signal span:nth-child(9)  { color: #BC237E; animation-delay: -0.20s; }
.signal span:nth-child(10) { color: #C8216D; animation-delay: -0.70s; }
.signal span:nth-child(11) { color: #D21F64; animation-delay: -1.35s; }
.signal span:nth-child(12) { color: #D81E5B; animation-delay: -0.55s; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.10); }
  50%      { transform: scaleY(1); }
}

/* ---------- Type ---------- */

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 1.25rem;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.9rem;
}

.lede {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  line-height: 1.4;
  text-align: center;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  max-width: 34ch;
  background: var(--sweep);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { margin: 0 0 1.4rem; }

.outro {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--crimson);
  text-align: center;
  letter-spacing: 0.02em;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  opacity: 1;
  margin: clamp(2rem, 5vw, 3rem) 0;
}

/* ---------- Contact form ---------- */

.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.form-control,
.form-select {
  background: #0B0C11;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
}
.form-control:focus,
.form-select:focus {
  background: #0B0C11;
  color: var(--paper);
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 43, 174, 0.25);
}
.form-control::placeholder { color: #4A4E5E; }

.form-select option { background: #0B0C11; }

.btn-send {
  background: var(--sweep);
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.85rem 2.25rem;
  transition: opacity 0.2s ease;
}
.btn-send:hover { color: #fff; opacity: 0.88; }

.alert-sent,
.alert-error {
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.alert-sent  { border-left: 3px solid var(--blue); }
.alert-error { border-left: 3px solid var(--crimson); }
.alert-error ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.contact-direct {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}
.contact-direct a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--violet); }

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0 1.5rem clamp(2.5rem, 6vw, 4rem);
}

@media (prefers-reduced-motion: reduce) {
  .signal span { animation: none; transform: scaleY(0.4); }
}

/* ---------- Social icons ---------- */

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.75rem;
}

.nav-social-link {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-social-link:hover { color: var(--paper); transform: translateY(-1px); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}
.footer-social a {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { color: var(--crimson); transform: translateY(-1px); }

@media (max-width: 991.98px) {
  .nav-social { margin-left: 0; margin-top: 0.5rem; }
}