/* Braxton Live — palette lifted straight from the logo: black, white, #00FF00 */

:root {
  --black: #000000;
  --ink: #08090a;
  --panel: #0e1011;
  --panel-2: #141718;
  --line: #24282a;
  --white: #ffffff;
  --text: #d6dadb;
  --muted: #8b9294;
  --green: #00ff00;
  --green-dim: #14c414;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius: 4px;
  --wrap: 1120px;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--black);
  padding: 10px 16px; font-weight: 700; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__brand { display: flex; align-items: center; }
.topbar__brand img { height: 38px; width: auto; }
.topbar__nav {
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
}
.topbar__nav a { color: var(--muted); text-decoration: none; transition: color 0.18s ease; }
.topbar__nav a:hover { color: var(--white); }
.topbar__cta {
  color: var(--black) !important;
  background: var(--green);
  padding: 9px 16px;
  border-radius: var(--radius);
}
.topbar__cta:hover { background: var(--white); }
@media (max-width: 620px) {
  .topbar__nav a:not(.topbar__cta) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 40px) clamp(24px, 3vw, 36px);
}
.hero__inner { text-align: center; }

/* The framed mark in the header carries the brand, so the hero leads with the
   statement instead of repeating the wordmark. Deliberately mixed-case and
   tightly tracked — the opposite of the uppercase section headings. */
.hero__title {
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: none;
}
.hero__sub {
  margin: clamp(14px, 2vw, 20px) auto 0;
  max-width: 46ch;
  text-wrap: balance;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--muted);
}
.hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: clamp(22px, 3vw, 30px);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn:hover { border-color: var(--green); transform: translateY(-2px); }
.btn--primary { background: var(--green); color: var(--black); border-color: var(--green); }
.btn--primary:hover { background: var(--white); border-color: var(--white); }

/* ---------- live bar ---------- */

.livebar[hidden] { display: none; }

.livebar {
  margin-bottom: 22px;
  border: 1px solid var(--green);
  background: linear-gradient(180deg, rgba(0, 255, 0, 0.08), rgba(0, 0, 0, 0));
  padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
}
.livebar__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--black);
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
}
.livebar__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--black);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.livebar__title {
  flex: 1 1 260px; min-width: 0;
  color: var(--white); font-weight: 700; letter-spacing: 0.04em;
}
.livebar .btn { margin-left: auto; }

/* ---------- sections ---------- */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px) clamp(16px, 4vw, 40px);
}
.section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.section__head h2 {
  font-size: clamp(17px, 2.4vw, 22px);
  position: relative;
  padding-left: 16px;
}
.section__head h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 1em; background: var(--green);
}
.section__link {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; white-space: nowrap;
}
.section__link:hover { color: var(--green); }

.loading, .empty {
  color: var(--muted);
  margin: 0;
  padding: 26px 0;
}
.empty strong { color: var(--white); display: block; margin-bottom: 6px; letter-spacing: 0.06em; }

/* ---------- upcoming schedule ---------- */

.schedule { display: grid; gap: 12px; }

.sched {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
a.sched:hover { background: var(--panel-2); border-color: var(--line); border-left-color: var(--white); }

.sched__date { text-align: center; line-height: 1.15; }
.sched__mon {
  display: block; color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.sched__day { display: block; color: var(--white); font-size: 30px; font-weight: 700; }

.sched__title {
  color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: 0.03em;
  margin: 0 0 4px;
}
.sched__meta { color: var(--muted); font-size: 13px; margin: 0; }
.sched__meta span + span::before { content: "•"; margin: 0 8px; color: var(--line); }

.sched__time {
  color: var(--text); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}

@media (max-width: 640px) {
  .sched { grid-template-columns: 66px 1fr; gap: 14px; padding: 16px; }
  .sched__day { font-size: 24px; }
  .sched__time { grid-column: 2; }
}

/* ---------- recent videos ---------- */

.videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.video {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.video:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); }

.video__thumb { position: relative; flex: none; aspect-ratio: 16 / 9; background: var(--panel-2); }
.video__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0; transition: opacity 0.2s ease;
}
.video:hover .video__play { opacity: 1; }
.video__play svg { width: 54px; height: 54px; fill: var(--green); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)); }

.video__body { padding: 16px 18px 18px; }
.video__date {
  display: block; margin-bottom: 7px;
  color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.video__title {
  color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0.02em;
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(20px, 4vw, 40px);
  padding: 34px clamp(16px, 4vw, 40px);
  max-width: var(--wrap);
  margin-left: auto; margin-right: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  font-size: 13px;
}
.footer__logo { height: 26px; width: auto; opacity: 0.65; }
.footer__meta { margin-right: auto; }
.footer__meta p { margin: 0; color: var(--muted); }
.footer__copy { font-size: 12px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a {
  color: var(--muted); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.footer__links a:hover { color: var(--green); }

@media (max-width: 560px) {
  /* stop "Upcoming Broadcasts" from wrapping around the trailing link */
  .section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
