/* ============================================================
   AMG Streams — Elegant Dark Theme
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Cormorant+Garamond:wght@500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg:        #0C0D10;
  --bg-soft:   #15161b;
  --surface:   #191a1f;
  --surface-2: #202128;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text:      #F1EDE4;
  --muted:     #A8A49A;
  --faint:     #6F6C64;
  --accent:    #B4202D;
  --accent-hi: #D8B878;
  --gold:      #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.35);
  --radius:    14px;
  --serif:     'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --serif-alt: 'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 560px at 50% -10%, rgba(201, 164, 92, 0.11), transparent 60%),
    radial-gradient(820px 460px at 88% 112%, rgba(255, 255, 255, 0.045), transparent 60%),
    linear-gradient(180deg, #141416 0%, #0b0b0c 42%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}

/* subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.page { position: relative; z-index: 2; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hi); }

/* ============ Header (premium metallic) ============ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background:
    linear-gradient(180deg, rgba(18,18,20,0.94) 0%, rgba(9,9,10,0.97) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease;
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner { padding: 10px 32px; }

/* Brand / logo */
.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 56px; width: auto; display: block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.55)) drop-shadow(0 0 22px rgba(201,164,92,0.10));
  transition: height 0.3s ease, filter 0.3s ease;
}
.site-header.scrolled .brand img { height: 42px; }
.brand:hover img { filter: drop-shadow(0 8px 22px rgba(0,0,0,0.6)) drop-shadow(0 0 28px rgba(201,164,92,0.22)); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative;
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #c8ccd2;
  padding: 10px 15px;
  transition: color 0.25s ease;
}
.site-nav a::after {
  content: ''; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px;
  background: linear-gradient(90deg, #f6de95, #c9a45c);
  transform: translateX(-50%); transition: width 0.3s ease; border-radius: 2px;
}
.site-nav a:hover { color: #e9cf8a; }
.site-nav a:hover::after { width: calc(100% - 30px); }
.site-nav a.active {
  color: transparent;
  background: linear-gradient(180deg, #f6de95, #c9a45c 55%, #b8923f);
  -webkit-background-clip: text; background-clip: text;
}
.site-nav a.active::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 0; height: 0; margin-right: 8px;
  border-left: 8px solid #c9a45c; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.5));
}
.site-nav a.active::after { width: calc(100% - 30px); }

/* vertical divider */
.nav-divider {
  width: 1px; height: 22px; margin: 0 10px;
  background: linear-gradient(180deg, transparent, rgba(201,164,92,0.5), transparent);
}

/* search icon (brushed silver) */
.nav-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; color: #c8ccd2; border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-icon:hover { color: #e9cf8a; background: rgba(255,255,255,0.04); }
.nav-icon svg { width: 19px; height: 19px; }

/* Watch Live CTA (pressed metal) */
.btn-watchlive {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; margin-left: 6px;
  font-family: var(--sans); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #ffffff;
  background: linear-gradient(180deg, #f6de95 0%, #c9a45c 46%, #b8923f 60%, #a37c33 100%);
  border: 1px solid #7c5f28; border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -2px 5px rgba(0,0,0,0.35), 0 4px 16px rgba(0,0,0,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-watchlive:hover {
  color: #ffffff; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 5px rgba(0,0,0,0.35), 0 8px 22px rgba(201,164,92,0.30);
}
.btn-watchlive::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn-watchlive:hover::after { left: 150%; }
.btn-watchlive .wl-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #c9a45c;
  box-shadow: 0 0 0 0 rgba(201,164,92,0.7); animation: wlPulse 1.6s infinite;
}
@keyframes wlPulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,0.6); } 70% { box-shadow: 0 0 0 8px rgba(201,164,92,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); } }

/* gold hairline + shimmer */
.header-hairline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(138,109,46,0.6) 12%, #e9cf8a 50%, rgba(138,109,46,0.6) 88%, transparent);
}
.header-hairline::after {
  content: ''; position: absolute; top: 0; left: -40%; width: 38%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,248,220,0.95), transparent);
  animation: hairShimmer 7s ease-in-out infinite;
}
@keyframes hairShimmer { 0% { left: -40%; } 55% { left: 100%; } 100% { left: 100%; } }

/* mobile nav */
.nav-toggle { display: none; }
.nav-toggle-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.nav-toggle-btn span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #e9cf8a, #c9a45c);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .header-inner { padding: 14px 20px; }
  .site-header.scrolled .header-inner { padding: 10px 20px; }
  .nav-toggle-btn { display: flex; }
  .nav-divider { display: none; }
  .nav-icon { display: none; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: linear-gradient(180deg, rgba(14,14,16,0.99), rgba(9,9,10,0.99));
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(201,164,92,0.25);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .site-nav a { padding: 16px 24px; letter-spacing: 0.18em; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .site-nav a::after { display: none; }
  .site-nav a.active { -webkit-text-fill-color: #e9cf8a; background: rgba(201,164,92,0.06); }
  .btn-watchlive { margin: 16px 24px 22px; justify-content: center; }
  .nav-toggle:checked ~ .site-nav { max-height: 460px; }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-hairline::after, .btn-watchlive .wl-dot { animation: none; }
  .btn-watchlive::after { transition: none; }
}

/* ============ Layout ============ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* staggered page-load reveal */
.reveal { animation: rise 0.7s ease both; }
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ Typography ============ */
.eyebrow {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

h1.page-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.12;
  text-align: center;
  letter-spacing: 0.01em;
}

.title-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px auto 46px;
}
.title-rule::before,
.title-rule::after {
  content: '';
  height: 1px;
  width: 72px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}
.title-rule::after { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.title-rule .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.85;
}

h2.video-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  text-align: center;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ============ Live badge ============ */
.live-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.live-badge span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-hi);
  border: 1px solid rgba(201, 164, 92, 0.35);
  background: rgba(201, 164, 92, 0.08);
  padding: 7px 16px 7px 14px;
  border-radius: 100px;
}
.live-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-hi);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 99, 0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(255, 77, 99, 0); }
}

/* ============ Video player ============ */
.video-block { margin-bottom: 56px; }

.player-frame {
  position: relative;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.35), rgba(255, 255, 255, 0.06) 30%, rgba(201, 164, 92, 0.25));
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7), 0 0 80px -30px rgba(201, 164, 92, 0.25);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: calc(var(--radius) - 1px);
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ Section headings ============ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 70px 0 30px;
}
.section-heading::before,
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  white-space: nowrap;
}

/* ============ Cards (contact) ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.info-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.65);
}

.info-card .icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
}
.info-card .icon svg { width: 20px; height: 20px; }

.info-card .label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.info-card .value {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--text);
}
.info-card .value a { color: var(--text); }
.info-card .value a:hover { color: var(--gold); }

.org-line {
  text-align: center;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.org-line strong {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ============ Archive controls ============ */
.event-picker {
  max-width: 520px;
  margin: 0 auto 44px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  text-align: center;
}

.event-picker label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.event-picker select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a45c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 44px 13px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.event-picker select:hover,
.event-picker select:focus {
  border-color: var(--gold-soft);
  outline: none;
}
.event-picker option { background: var(--surface); color: var(--text); }

/* ---- Archive search ---- */
.search-box {
  position: relative;
  margin-bottom: 10px;
}
.search-box svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: var(--gold);
  opacity: 0.75;
  pointer-events: none;
}
.search-box {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(201, 164, 92, 0.4), rgba(255, 255, 255, 0.07) 35%, rgba(201, 164, 92, 0.22));
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.25s ease;
}
.search-box:focus-within {
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.6), 0 0 26px -6px rgba(201, 164, 92, 0.28);
}
.search-box input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #171a20, var(--bg-soft));
  border: 0;
  border-radius: 13px;
  padding: 19px 22px 19px 48px;
  transition: background 0.2s ease;
}
.search-box input::placeholder { color: var(--faint); font-weight: 300; }
.search-box input:focus {
  outline: none;
  background: linear-gradient(180deg, #1a1d24, #15171c);
}
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }

.search-results { text-align: left; }
.search-results .status-note { padding: 14px 0 8px; }

.search-result {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  margin-top: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.search-result:hover {
  border-color: var(--gold-soft);
  background: var(--surface);
  transform: translateY(-1px);
}
.search-result .sr-name {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.search-result .sr-titles {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.picker-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
}
.picker-divider::before,
.picker-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.picker-divider span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}

.status-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 26px 0;
}
.status-note.error { color: var(--accent-hi); }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
  padding: 34px 24px 44px;
  text-align: center;
}
.site-footer .foot-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.site-footer p {
  color: var(--faint);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .container { padding: 40px 18px 60px; }
  .video-block { margin-bottom: 40px; }
}

.site-footer .foot-sibling{font-size:13px;color:var(--faint);margin-top:8px}
.site-footer .foot-sibling a{color:var(--muted)}
.site-footer .foot-sibling a:hover{color:var(--gold)}

/* ============ Onyx & Champagne — oxblood action buttons ============ */
.btn-watchlive{
  background: linear-gradient(180deg, #8f2531 0%, #6e1523 55%, #511019 100%);
  border-color: #3f0c12; color: #F1EDE4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 -2px 6px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.5);
}
.btn-watchlive:hover{ color:#fff; transform:translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -2px 6px rgba(0,0,0,0.4), 0 8px 24px rgba(110,21,35,0.5); }
.btn-watchlive .wl-dot{ background:#ff5a5a; }
