:root {
  --navy: #182B49;
  --navy-dark: #0E1B2E;
  --gold: #C69214;
  --gold-light: #E4B94D;
  --teal: #1C8C9E;
  --cream: #F7F5F0;
  --text-body: #33383F;
  --text-muted: #6B7078;
  --border: #E2DFD6;
  --radius: 10px;
  --font-display: 'Anton', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: #FFFFFF;
}

a { color: inherit; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 4px solid var(--gold);
}
.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-fallback {
  display: none;
  align-items: center;
  font-family: var(--font-display);
  color: #fff;
  background: var(--gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 20px;
  letter-spacing: 1px;
}
.header-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-eyebrow {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.header-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 48px 16px 58px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.22;
}
.hero-blob-teal { width: 260px; height: 260px; background: var(--teal); top: -90px; right: -60px; }
.hero-blob-gold { width: 140px; height: 140px; background: var(--gold); top: 60px; right: 120px; opacity: 0.28; }
.hero-inner { position: relative; max-width: 1000px; margin: 0 auto; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  font-size: clamp(40px, 8vw, 68px);
}
.hero-line { display: block; }
.line-white { color: #fff; }
.line-gold { color: var(--gold); }
.hero-sub {
  margin: 18px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.6;
}

/* Controls */
.page { max-width: 1000px; margin: 0 auto; padding: 32px 24px 80px; }
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.controls-filter { display: flex; align-items: center; gap: 10px; }
.controls-filter label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}
#type-filter {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
}
.result-count { font-size: 13px; color: var(--text-muted); }

/* Event list */
.events-list { display: flex; flex-direction: column; gap: 14px; }
.state-message {
  text-align: center;
  color: var(--text-muted);
  padding: 48px 16px;
  font-size: 15px;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.event-card:hover { box-shadow: 0 4px 16px rgba(24,43,73,0.1); border-color: var(--gold); }

.date-block {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.date-month {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
}
.date-day {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  line-height: 1.1;
}
.date-tbd {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--navy);
  text-align: center;
  padding: 0 6px;
}

.event-body { flex: 1; min-width: 0; }
.event-title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.type-pill {
  border: 1px solid var(--gold);
  color: var(--navy);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-family: var(--font-heading);
  font-weight: 500;
}
.meta-item a { color: var(--teal); text-decoration: underline; }
.meta-label {
  font-weight: 600;
  color: var(--navy);
}

.event-action { flex-shrink: 0; }
.register-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.register-btn:hover { background: var(--gold-light); }
.reg-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 640px) {
  .event-card { flex-wrap: wrap; }
  .date-block { width: auto; height: auto; flex-direction: row; gap: 6px; padding: 6px 12px; }
  .date-day { font-size: 18px; }
  .event-action { width: 100%; }
  .register-btn { width: 100%; text-align: center; }
}
