:root {
  --navy: #0b2a6b;
  --blue: #1648b0;
  --gold: #f39c1f;
  --gold-2: #ffb547;
  --ink: #0f1a33;
  --muted: #5b6785;
  --line: #e2e7f2;
  --bg: #f5f7fc;
  --red: #d8342b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 42, 107, .06), 0 10px 28px rgba(11, 42, 107, .09);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.band { background: #fff; border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head p { color: var(--muted); }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-2); margin: 0 0 .4em; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(11, 42, 107, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.topbar-inner { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff); }
.brand span { display: flex; flex-direction: column; line-height: 1; font-family: var(--head); }
.brand strong { font-size: 1.4rem; letter-spacing: .03em; }
.brand small { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.top-link { color: #dfe7ff; font-weight: 600; font-size: .9rem; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); }
.top-link:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Hero */
.hero { color: #fff; background:
  radial-gradient(circle at 10% 120%, rgba(243,156,31,.5), transparent 40%),
  radial-gradient(circle at 95% -10%, rgba(255,255,255,.14), transparent 40%),
  linear-gradient(135deg, var(--navy), var(--blue)); }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 56px 16px; display: flex; align-items: center; gap: 32px; }
.hero-logo { width: 150px; height: 150px; flex: none; filter: drop-shadow(0 14px 28px rgba(0,0,0,.3)); }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); text-transform: uppercase; }
.lead { font-size: 1.1rem; color: #d5def7; max-width: 560px; margin: 0; }

/* Live card */
.live-card { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.live-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11, 42, 107, .16); }
.live-logo { background: radial-gradient(circle at 50% 40%, #2a5fc8, var(--navy)); display: grid; place-items: center; padding: 28px; }
.live-logo img { width: 100%; height: auto; max-width: 220px; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.live-body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.live-body h3 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; margin: 4px 0; }
.live-body p { color: var(--muted); margin: 4px 0 12px; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { color: var(--gold); }
.status { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: #fff2dc; color: #9a5a00; }
.status.live { background: var(--red); color: #fff; }
.status.done { background: #edf0f5; color: #7a849a; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy); font-weight: 700; padding: 12px 20px; border-radius: 12px; min-height: 46px; margin-top: auto; }
.live-card:hover .btn { background: var(--gold-2); }

/* Other events */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.event { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.event:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.event-img { aspect-ratio: 1; background: #fff; overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-img.logo { display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 50% 45%, #fff, #eef2fa); }
.event-img.logo img { object-fit: contain; }
.event-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-body h3 { font-size: 1.35rem; text-transform: uppercase; margin: 0; }
.more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--blue); }
.more::after { content: " \2197"; color: var(--gold); }

/* Footer */
.footer { background: #071d4d; color: #b9c6ea; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; align-items: center; gap: 14px; }
.footer p { margin: 0; }
.footer strong { color: #fff; }
.footer a { color: var(--gold-2); }

@media (max-width: 720px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 16px 44px; }
  .hero-logo { width: 92px; height: 92px; }
  .section { padding: 40px 0; }
  .live-card { grid-template-columns: 1fr; }
  .live-logo { padding: 24px; }
  .live-logo img { max-width: 150px; }
  .live-body { padding: 20px; }
  .btn { width: 100%; justify-content: center; }
  .events { grid-template-columns: 1fr 1fr; gap: 10px; }
  .event-body { padding: 10px 12px 12px; }
  .event-body h3 { font-size: 1.1rem; }
  .event-img.logo { padding: 14px; }
  .top-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Multiple live hub cards */
.live-list { display: grid; gap: 18px; }
.live-card.coc .live-logo { background: radial-gradient(circle at 50% 40%, #1f7a43, #0e3d22); }
.live-card.coc .btn { background: #caad5f; color: #0e3d22; }
.live-card.coc:hover .btn { background: #e2c77f; }
