/* ── Variables ──────────────────────────────────────────── */
:root {
  --dark:    #1e2328;
  --red:     #cc0000;
  --white:   #ffffff;
  --grey:    #f4f4f5;
  --text:    #1e2328;
  --muted:   #6b7280;
  --font:    'Montserrat', sans-serif;
  --radius:  6px;
  --shadow:  0 4px 16px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
p  { font-size: 1rem; color: var(--muted); }

/* ── Layout utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-white { background: var(--white); }
.section-grey  { background: var(--grey);  }
.section-dark  { background: var(--dark);  }

.section-pad { padding-top: 80px; padding-bottom: 80px; }

/* ── Section heading ────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 48px;
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover { background: #aa0000; border-color: #aa0000; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--red);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  background: var(--white);
  border-radius: var(--radius);
  padding: 4px 10px;
  display: flex;
  align-items: center;
  color: var(--dark);
}
.nav__logo img { height: 40px; width: auto; max-width: 180px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__menu > li > a {
  display: block;
  padding: 8px 12px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav__menu > li > a:hover { color: var(--white); background: rgba(0,0,0,0.12); border-radius: var(--radius); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 0 8px;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 16px;
  color: var(--white);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.dropdown li a:hover { color: var(--red); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .nav__burger { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 0;
  }
  .nav__menu.open { display: flex; }
  .nav__menu > li { width: 100%; }
  .nav__menu > li > a { padding: 12px 0; font-size: 1rem; }
  .dropdown { position: static; box-shadow: none; padding-left: 16px; background: var(--dark); }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
}

/* ── Hero (v2: split layout) ────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 65vh;
}

.hero__left {
  background:
    linear-gradient(rgba(20,22,26,0.78), rgba(20,22,26,0.78)),
    url('https://ww2.radio-ostfriesland.de/wp-content/uploads/2019/08/BackgroundLandingPage.jpg')
    center / cover no-repeat;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.hero__left::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border: 1px solid rgba(204,0,0,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero__on-air {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}
.hero__on-air-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s ease-in-out infinite;
}

.hero__left h1 { color: var(--white); }
.hero__accent {
  display: block;
  width: 36px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.hero__tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}
.hero__tagline em { font-style: italic; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero load animations — guarded by reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .hero__left  { animation: slideInLeft  0.55s ease both; }
  .hero__right { animation: slideInRight 0.55s ease 0.15s both; }
}

/* Hero right */
.hero__right {
  background: var(--red);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.hero__live-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.hero__show-card {
  display: flex;
  flex-direction: column;
}
.hero__show-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}
.hero__show-time {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* Inline player — pill shape, feels like one interactive control */
.hero__player {
  background: rgba(255,255,255,0.13);
  border-radius: 100px;
  padding: 8px 18px 8px 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  color: var(--red);
}
.hero__play-btn:hover { transform: scale(1.08); background: #f0f0f0; }
.hero__play-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.hero__player-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__player-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero__player-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Waveform bars */
.hero__waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  flex-shrink: 0;
}
.wbar {
  width: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
}
.wbar:nth-child(1){height:4px} .wbar:nth-child(2){height:10px}
.wbar:nth-child(3){height:7px} .wbar:nth-child(4){height:14px}
.wbar:nth-child(5){height:5px} .wbar:nth-child(6){height:12px}
.wbar:nth-child(7){height:4px}

/* Waveform animation — playing state only */
@media (prefers-reduced-motion: no-preference) {
  @keyframes waveA { 0%,100%{height:4px}  50%{height:16px} }
  @keyframes waveB { 0%,100%{height:10px} 50%{height:4px}  }
  @keyframes waveC { 0%,100%{height:7px}  50%{height:18px} }
  @keyframes waveD { 0%,100%{height:14px} 50%{height:5px}  }
  @keyframes waveE { 0%,100%{height:5px}  50%{height:13px} }
  @keyframes waveF { 0%,100%{height:12px} 50%{height:4px}  }
  @keyframes waveG { 0%,100%{height:4px}  50%{height:10px} }

  .hero__waveform.playing .wbar { background: rgba(255,255,255,0.85); }
  .hero__waveform.playing .wbar:nth-child(1) { animation: waveA 0.90s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(2) { animation: waveB 1.10s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(3) { animation: waveC 0.80s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(4) { animation: waveD 1.20s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(5) { animation: waveE 0.95s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(6) { animation: waveF 1.05s ease-in-out infinite; }
  .hero__waveform.playing .wbar:nth-child(7) { animation: waveG 0.85s ease-in-out infinite; }

  .sticky-bar__wave.playing .sbar { background: var(--red); }
  .sticky-bar__wave.playing .sbar:nth-child(1) { animation: waveA 0.90s ease-in-out infinite; }
  .sticky-bar__wave.playing .sbar:nth-child(2) { animation: waveC 0.80s ease-in-out infinite; }
  .sticky-bar__wave.playing .sbar:nth-child(3) { animation: waveE 0.95s ease-in-out infinite; }
  .sticky-bar__wave.playing .sbar:nth-child(4) { animation: waveD 1.20s ease-in-out infinite; }
  .sticky-bar__wave.playing .sbar:nth-child(5) { animation: waveB 1.10s ease-in-out infinite; }
}

/* Frequency row in hero */
.hero__freqs {
  display: flex;
}
.hero__freq-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero__freq-item:last-child { border-right: none; }
.hero__freq-city {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.hero__freq-mhz {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

/* Studio hotline — soft, no box, floats on the red */
.hero__hotline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__hotline-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  transition: transform var(--transition), background var(--transition);
}
.hero__hotline-icon:hover { transform: scale(1.08); background: rgba(255,255,255,0.28); }
.hero__hotline-icon:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hero__hotline-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero__hotline-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
.hero__hotline-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

/* Hero stacks at 900px — avoids cramped right panel on tablets */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 52px 32px; }
  .hero__right { padding: 40px 32px; gap: 20px; }
  .hero__left::after { display: none; }
}

/* Hero mobile refinements */
@media (max-width: 768px) {
  .hero__left { min-height: 40vh; padding: 40px 24px; }
  .hero__right { padding: 32px 24px; gap: 16px; }
  .hero__show-name { font-size: 1rem; }
  .hero__player { padding: 8px 12px 8px 8px; }
  .hero__player-label { display: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── Cards grid (shared by News and Shows) ──────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}
.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__date {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card__body h3 { color: var(--text); }
.card__body p  { flex: 1; font-size: 0.9rem; }
.card__link {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
  align-self: flex-start;
}
.card__link:hover { color: #aa0000; }

/* ── News section tweaks ────────────────────────────────── */
.news .card { border-top: 3px solid var(--red); }

/* ── Show cards ─────────────────────────────────────────── */
.show__time {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ── About (v2: photo split) ────────────────────────────── */
.about { padding: 80px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__photo {
  background:
    linear-gradient(rgba(30,35,40,0.4), rgba(30,35,40,0.4)),
    url('https://ww2.radio-ostfriesland.de/wp-content/uploads/2019/08/BackgroundLandingPage.jpg')
    center / cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 24px 32px;
}
.about__photo-label {
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius);
}
.about__text {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.about__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}
.about__text h2 { margin: 0; }
.about__accent {
  display: block;
  width: 36px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.about__text p { color: var(--muted); }
.about__stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.about__stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}


/* ── Frequencies ────────────────────────────────────────── */
.freq__subtitle {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
}
.freq__card {
  display: flex;
  align-items: stretch;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}
.freq__entry {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  gap: 6px;
}
.freq__divider {
  width: 1px;
  background: rgba(255,255,255,0.25);
  align-self: stretch;
}
.freq__city {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.freq__mhz {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 480px) {
  .freq__card { flex-direction: column; max-width: 260px; }
  .freq__divider { width: auto; height: 1px; }
  .freq__entry { padding: 24px; }
}

/* ── Events ─────────────────────────────────────────────── */
.events__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.event {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--grey);
  transition: box-shadow var(--transition);
}
.event:hover { box-shadow: var(--shadow); }

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  min-width: 60px;
  flex-shrink: 0;
}
.event__day   { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event__month { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }

.event__body h3 { font-size: 1rem; margin-bottom: 4px; }
.event__body p  { font-size: 0.85rem; color: var(--muted); }


/* ── Supporters logo strip ──────────────────────────────── */
.logo-strip__wrapper {
  overflow: hidden;
  position: relative;
}
.logo-strip__wrapper::before,
.logo-strip__wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.logo-strip__wrapper::before { left: 0;  background: linear-gradient(to right, var(--grey), transparent); }
.logo-strip__wrapper::after  { right: 0; background: linear-gradient(to left,  var(--grey), transparent); }

.logo-strip__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
.logo-strip__track img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter var(--transition);
  flex-shrink: 0;
}
.logo-strip__track img:hover {
  filter: grayscale(0%) opacity(1);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes scroll-logos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .logo-strip__track {
    animation: scroll-logos 30s linear infinite;
  }
}

/* ── Studio contact ─────────────────────────────────────── */
.studio-contact { border-top: 3px solid var(--red); }
.section-heading--light h2 { color: var(--white); }
.section-heading--light h2::after { background: var(--red); }
.studio-contact__sub {
  margin-top: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
}

.studio-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.studio-contact__item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: background var(--transition), border-color var(--transition);
}
.studio-contact__item:hover {
  background: rgba(204,0,0,0.12);
  border-color: rgba(204,0,0,0.3);
}

.studio-contact__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 4px;
  flex-shrink: 0;
}

.studio-contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
.studio-contact__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.studio-contact__value:hover { color: var(--red); }
.studio-contact__hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}


/* ── News modal ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.modal-overlay:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--white);
  border-radius: 8px;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.modal-overlay:not([hidden]) .modal-box {
  transform: translateY(0);
}
.modal-header {
  background: var(--red);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
}
.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  min-width: 0;
}
.modal-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.2); }
.modal-close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.modal-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.modal-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-text { color: var(--muted); line-height: 1.8; }

/* News cards: pointer cursor to signal they're clickable */
.news .card { cursor: pointer; }

/* ── Sticky audio bar ────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.sticky-bar.visible { transform: translateY(0); }

.sticky-bar__live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.sticky-bar__play {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  transition: transform var(--transition), background var(--transition);
}
.sticky-bar__play:hover { transform: scale(1.08); background: #aa0000; }
.sticky-bar__play:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.sticky-bar__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sticky-bar__label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.sticky-bar__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sticky waveform bars */
.sticky-bar__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  flex-shrink: 0;
}
.sbar {
  width: 3px;
  border-radius: 2px;
  background: rgba(204,0,0,0.4);
}
.sbar:nth-child(1){height:4px} .sbar:nth-child(2){height:12px}
.sbar:nth-child(3){height:7px} .sbar:nth-child(4){height:15px}
.sbar:nth-child(5){height:6px}

/* Volume slider */
.sticky-bar__vol { display: flex; align-items: center; flex-shrink: 0; }
#volSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px; height: 3px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, var(--red) 70%, rgba(255,255,255,0.2) 70%);
}
#volSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
#volSlider::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .sticky-bar__wave { display: none; }
}
@media (max-width: 768px) {
  .sticky-bar { padding: 10px 16px; gap: 12px; }
  .sticky-bar__vol { display: none; }
  .sticky-bar__live { display: none; }
}

/* ── Scroll animations ──────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  [data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 96px; /* bottom padding accounts for sticky bar height */
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--white); }

.footer__col--center { text-align: center; }
.footer__col--center p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

.footer__col--right { text-align: right; }
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer__social:hover { color: var(--white); }


/* ── Tablet (≤ 1024px) ─────────────────────────── */
@media (max-width: 1024px) {
  /* Hero: reduce padding before it stacks at 900px */
  .hero__left { padding: 48px 40px; }
  .hero__right { padding: 40px 32px; gap: 20px; }

  /* Cards: 2-column */
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about__text { padding: 40px 36px; }

  /* Vertical rhythm */
  .section-pad { padding-top: 60px; padding-bottom: 60px; }
}

/* ── Mobile (≤ 768px) ──────────────────────────── */
@media (max-width: 768px) {
  .section-pad { padding-top: 56px; padding-bottom: 32px; }
  .section-heading { margin-top: 28px; margin-bottom: 28px; }

  /* Cards: single column — must come after the 1024px 2-col rule */
  .cards-grid { grid-template-columns: 1fr; gap: 28px; }

  /* About */
  .about { padding: 40px 0; }
  .about__grid { grid-template-columns: 1fr; border-radius: 6px; }
  .about__photo { min-height: 200px; }
  .about__text { padding: 32px 20px; }
  .about__stats { gap: 16px; }

  /* Events */
  .events__list { grid-template-columns: 1fr; }

  /* Contact */
  .studio-contact__grid { grid-template-columns: 1fr; }
  .studio-contact__item { padding: 24px 20px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__col--center,
  .footer__col--right { text-align: left; }
}

/* ── Small mobile (≤ 480px) ────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__left { padding: 36px 20px; }
  .hero__right { padding: 28px 20px; gap: 14px; }
  .cards-grid { gap: 24px; }
}

/* ── Smooth hover transitions ───────────────────────────── */
a, button { transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition); }

/* ── Focus styles for accessibility ─────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}
