/* Salt FM UK — Stage 4.4 */

:root {
  --navy: #03142f;
  --navy-2: #061d43;
  --gold: #f6bd16;
  --gold-light: #ffd95a;
  --white: #ffffff;
  --text-soft: #e8edf7;
  --line: rgba(246, 189, 22, .55);
  --focus: #ffffff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(0, 93, 190, .28), transparent 34rem),
    linear-gradient(145deg, var(--navy), var(--navy-2) 58%, #020b1c);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a { color: var(--white); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--gold);
  color: #111;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; }

.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.master-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  margin-inline: auto;
}

.hero { padding: 3rem 0 4rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  align-items: center;
  gap: 2rem;
}
.eyebrow {
  margin: 0;
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .95rem;
}
h1 {
  margin: .15rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: .02em;
}
.lead { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; }
.highlight { color: var(--gold-light); font-weight: 800; font-size: 1.15rem; }

.listen-panel {
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(0, 0, 0, .22);
}
.listen-panel h2 { margin-top: 0; margin-bottom: .25rem; }
.live-badge {
  display: inline-block;
  margin-bottom: .7rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.now-playing {
  margin: 1rem 0;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(0, 0, 0, .18);
}
.now-playing-label {
  margin: 0 0 .25rem;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.artist-name { margin: 0; font-size: 1.35rem; font-weight: 900; }
.track-title { margin: .15rem 0 0; color: var(--text-soft); }

#salt-player {
  display: block;
  width: 100%;
  margin-top: 1rem;
}
.player-status { margin: .75rem 0 0; color: var(--text-soft); font-size: .9rem; }
.fallback-stream {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.14);
  color: var(--text-soft);
  font-size: .9rem;
}
.fallback-stream a { font-weight: 800; }
.small-note { margin-bottom: 0; font-size: .85rem; color: var(--text-soft); }

.hero-art { display: flex; justify-content: center; }
.hero-art img {
  display: block;
  width: min(100%, 590px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.5));
}

.connection {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .2);
}
.connection h2 { margin-top: 0; text-align: center; color: var(--gold-light); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.contact-grid > div {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .8rem;
}
.contact-grid h3 { margin-top: 0; }
.link-list { margin: 0; padding-left: 1.2rem; }

.contact-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-section h2 { margin-top: 0; text-align: center; color: var(--gold-light); }
.contact-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-soft);
}
.contact-form {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1rem;
  background: rgba(0,0,0,.2);
}
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; margin-bottom: .45rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .75rem;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: .55rem;
  background: #fff;
  color: #111;
  font: inherit;
}
.form-field textarea { min-height: 10rem; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold);
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.field-error { margin: .4rem 0 0; font-weight: 700; color: #fff; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea {
  border-color: var(--gold-light);
}
.submit-button {
  display: inline-block;
  padding: .9rem 1.4rem;
  border: 0;
  border-radius: .7rem;
  background: linear-gradient(#ffd95a, #e8a900);
  color: #111;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.submit-button:hover { filter: brightness(1.08); }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; font-weight: 700; }

.site-footer {
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: var(--text-soft);
  font-size: .9rem;
}
.site-footer p { margin: .25rem 0; }

@media (max-width: 820px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero { padding-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
