  :root {
    --night: #0B1D24;
    --deep: #0F2730;
    --tide: #14303A;
    --teal: #1F5A63;
    --glass: #BFDDD5;
    --mist: #EDF3F2;
    --paper: #F6FAF9;
    --ink: #1C3540;
    --ink-soft: #46606A;
    --sun: #EBB566;
    --sun-deep: #C98A2B;
    --line: #D3E2DE;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(11, 29, 36, 0.06), 0 8px 24px rgba(11, 29, 36, 0.08);
    --serif: Georgia, "Times New Roman", serif;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  a { color: var(--tide); text-underline-offset: 0.18em; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
  .wrap { width: min(100% - 2rem, 70rem); margin-inline: auto; }
  .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 3.5rem 0 5.5rem;
    background:
      radial-gradient(60rem 26rem at 85% -10%, rgba(235, 181, 102, 0.22), transparent 60%),
      radial-gradient(50rem 30rem at 0% 110%, rgba(31, 90, 99, 0.65), transparent 60%),
      linear-gradient(160deg, var(--night), var(--tide));
  }
  /* soft courthouse columns */
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 2.2rem, transparent 2.2rem 5.2rem);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 85%);
    pointer-events: none;
  }
  .hero .wrap { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center; }
  .emblem {
    width: 6.5rem; height: 6.5rem; border-radius: 50%;
    display: grid; place-items: center;
    background: radial-gradient(circle at 30% 25%, #2a6a73, var(--teal) 60%, #16434b);
    border: 2px solid rgba(235, 181, 102, 0.75);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  }
  .emblem svg { width: 3.6rem; height: 3.6rem; }
  .hero h1 { margin: 0 0 0.5rem; font: 500 clamp(2rem, 5vw, 3.4rem)/1.1 var(--serif); letter-spacing: -0.01em; }
  .hero .sub { margin: 0; max-width: 40rem; color: #D5E6E2; font-size: 1.15rem; }
  .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
  .chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.3rem 0.85rem; border-radius: 999px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.9rem; color: #E9F3F1;
  }

  /* ---------- Sticky nav ---------- */
  .tabs { position: sticky; top: 0; z-index: 20; background: rgba(246, 250, 249, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .tabs .wrap { display: flex; gap: 0.25rem; overflow-x: auto; }
  .tabs a {
    padding: 1rem 1.1rem; font-weight: 600; text-decoration: none; color: var(--ink-soft);
    border-bottom: 3px solid transparent; white-space: nowrap;
  }
  .tabs a:hover { color: var(--tide); }
  .tabs a[aria-current="true"] { color: var(--tide); border-bottom-color: var(--sun-deep); }

  /* ---------- Layout ---------- */
  section { padding: 3rem 0; }
  section + section { border-top: 1px solid var(--line); }
  h2 { margin: 0 0 0.35rem; font: 500 clamp(1.6rem, 3vw, 2.1rem)/1.2 var(--serif); }
  .section-sub { margin: 0 0 1.75rem; color: var(--ink-soft); max-width: 42rem; }

  .heads-up {
    max-width: 46rem; margin: 0 auto; padding: 0.9rem 1.1rem;
    border-left: 4px solid var(--sun); background: #fff; border-radius: 0 12px 12px 0; box-shadow: var(--shadow);
  }
  .heads-up-wrap { margin-top: 1.75rem; }

  /* ---------- Live ---------- */
  .stage {
    background: linear-gradient(180deg, var(--tide), var(--night));
    border-radius: calc(var(--radius) + 4px);
    padding: 1rem; box-shadow: var(--shadow);
  }
  .switch { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; padding: 0.25rem 0.25rem 0; }
  .switch button {
    appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.95rem;
    padding: 0.55rem 1.1rem; border-radius: 999px; color: #E3EFEC;
    border: 1.5px solid rgba(255,255,255,0.3); background: transparent;
  }
  .switch button:hover { background: rgba(255,255,255,0.1); }
  .switch button[aria-pressed="true"] { background: var(--sun); color: var(--night); border-color: var(--sun); }
  .video-frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
    border-radius: 12px; background: radial-gradient(circle at 50% 35%, #1b4650, var(--night));
  }
  .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-placeholder {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.9rem; padding: 1rem; text-align: center; color: #fff;
  }
  .play-ring {
    width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center;
    border: 2px solid rgba(255,255,255,0.55); background: rgba(255,255,255,0.08);
  }
  .play-ring svg { width: 1.7rem; height: 1.7rem; margin-left: 0.2rem; }
  .stream-name { margin: 0; font: 500 clamp(1.1rem, 2.8vw, 1.6rem)/1.3 var(--serif); }
  .stream-note { margin: 0; font-size: 0.92rem; color: #B9D0CB; }
  .btn {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: 0; border-radius: 999px;
    background: var(--sun); color: var(--night); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .btn:hover { background: #f2c887; transform: translateY(-1px); }
  .btn.ghost { background: transparent; color: var(--tide); border: 1.5px solid var(--tide); }
  .btn.ghost:hover { background: var(--mist); }
  .stage-foot { margin: 0.85rem 0.25rem 0.1rem; font-size: 0.92rem; color: #B9D0CB; }
  .stage-foot a { color: #fff; }

  /* ---------- Recordings ---------- */
  .filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; }
  .filters button {
    appearance: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--tide);
    padding: 0.45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  }
  .filters button:hover { border-color: var(--teal); }
  .filters button[aria-pressed="true"] { background: var(--tide); color: #fff; border-color: var(--tide); }
  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
  .card {
    display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
    padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
    box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }
  .card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 2px 4px rgba(11,29,36,0.08), 0 14px 32px rgba(11,29,36,0.14); }
  .date-tile {
    position: relative; display: flex; align-items: flex-end; gap: 0.85rem; padding: 1.1rem 1.1rem 1rem;
    color: #fff; background: linear-gradient(150deg, var(--tide), var(--teal));
  }
  .date-tile::after {
    content: ""; position: absolute; inset: 0; opacity: 0.5;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1.2rem, transparent 1.2rem 2.6rem);
    pointer-events: none;
  }
  .day { position: relative; z-index: 1; font: 500 3rem/1 var(--serif); }
  .mo { position: relative; z-index: 1; padding-bottom: 0.2rem; line-height: 1.25; }
  .mo b { display: block; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sun); }
  .mo span { font-size: 0.9rem; color: #D5E6E2; }
  .dur {
    position: absolute; z-index: 1; top: 0.8rem; right: 0.8rem; padding: 0.15rem 0.55rem; border-radius: 999px;
    font-size: 0.8rem; font-weight: 600; background: rgba(11, 29, 36, 0.55); color: #fff;
  }
  .card-body { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.85rem 1.1rem 1rem; }
  .nw { white-space: nowrap; }
  .card-body { flex: 1; }
  .card-body strong { display: block; font-size: 1rem; line-height: 1.3; }
  .card-body small { color: var(--ink-soft); }
  .card-play { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--tide); }
  .card:hover .card-play { background: var(--sun); }
  .card-play svg { width: 1rem; height: 1rem; margin-left: 0.1rem; }
  .more-row { margin-top: 1.5rem; text-align: center; }
  .credit { margin: 1.5rem 0 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 46rem; }
  .empty { color: var(--ink-soft); }

  dialog.player {
    width: min(100% - 1.5rem, 62rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--night); color: #fff; overflow: hidden;
  }
  dialog.player::backdrop { background: rgba(6, 16, 20, 0.78); }
  .player-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; }
  .player-bar h3 { margin: 0; font-size: 1rem; font-weight: 600; }
  .player-bar a { color: var(--sun); font-size: 0.95rem; }
  .player-bar button {
    appearance: none; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,0.12);
    border: 0; border-radius: 999px; padding: 0.4rem 1rem;
  }
  .player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
  .player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

  /* ---------- About ---------- */
  .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.1rem; }
  .about-card { padding: 1.4rem 1.4rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .about-card h3 { margin: 0 0 0.4rem; font: 500 1.25rem/1.25 var(--serif); }
  .about-card p { margin: 0 0 0.75rem; color: var(--ink-soft); font-size: 1rem; }
  .about-card p:last-child { margin-bottom: 0; }

  footer { background: var(--tide); color: #D5E6E2; padding: 1.75rem 0; font-size: 0.95rem; }
  footer p { margin: 0.3rem 0; }
  footer a { color: #fff; }

  @media (max-width: 640px) {
    .hero { padding: 2.25rem 0 4.5rem; }
    .hero .wrap { grid-template-columns: 1fr; gap: 1.1rem; }
    .emblem { width: 4.75rem; height: 4.75rem; }
    .emblem svg { width: 2.6rem; height: 2.6rem; }
    section { padding: 2.5rem 0; }
    .stage { padding: 0.65rem; }
    .video-frame:not(:has(iframe)) { aspect-ratio: auto; min-height: 17.5rem; }
    .play-ring { width: 3.4rem; height: 3.4rem; }
    .play-ring svg { width: 1.3rem; height: 1.3rem; }
    .grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .day { font-size: 2.3rem; }
    .date-tile { padding: 0.9rem 0.85rem 0.8rem; gap: 0.6rem; }
    .card-body { padding: 0.7rem 0.85rem 0.8rem; }
    .card-body strong { font-size: 0.92rem; }
    .card-play { display: none; }
    .dur { display: none; }
    .date-tile { min-height: 6.4rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
  }

  /* ---------- Site links in the tab bar ---------- */
  .tabs .spacer { flex: 1 1 auto; }
  .tabs a.other { color: var(--tide); border-bottom-color: transparent; }
  .tabs a.other:hover { text-decoration: underline; }

  /* ---------- Search box ---------- */
  .search { display: block; width: 100%; max-width: 26rem; margin: 0 0 1.5rem; }
  .search input {
    width: 100%; padding: 0.7rem 1rem; font: inherit; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  }
  .search input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-color: var(--teal); }


  /* ---------- People directory ---------- */
  .watch-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.1rem; }
  .watch-tile {
    display: flex; flex-direction: column; gap: 0.4rem; padding: 1.4rem; text-decoration: none; color: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow);
    background: linear-gradient(150deg, var(--tide), var(--teal));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .watch-tile:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,29,36,0.08), 0 14px 32px rgba(11,29,36,0.18); }
  .watch-tile b { font: 500 1.35rem/1.25 var(--serif); }
  .watch-tile span { color: #D5E6E2; }
  .watch-tile em { margin-top: 0.4rem; font-style: normal; font-weight: 700; color: var(--sun); }
  .people { display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
  .person {
    display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .avatar {
    flex: none; width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
    font: 500 1.25rem/1 var(--serif); color: #fff; letter-spacing: 0.02em;
    background: radial-gradient(circle at 30% 25%, #2f7480, var(--teal) 60%, #16434b);
    border: 2px solid rgba(235, 181, 102, 0.8);
  }
  .person.lead .avatar { background: radial-gradient(circle at 30% 25%, #f0c07c, var(--sun-deep) 70%); color: var(--night); border-color: var(--tide); }
  .person h3 { margin: 0; font: 600 1.05rem/1.25 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
  .person p { margin: 0.1rem 0 0; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.4; }
  .badge {
    display: inline-block; margin-top: 0.35rem; padding: 0.1rem 0.6rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; white-space: nowrap; color: var(--tide); background: var(--mist); border: 1px solid var(--line);
  }
  .badge.gold { background: #FBEBCF; border-color: #EBC98A; }
  .source-note { margin: 1.5rem 0 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 46rem; }
