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

:root {
  --bg-page: #050507;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --panel-bg: #0d0d0f;
  --border: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.05);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ededeb;
  --text-2: rgba(237, 237, 235, 0.72);
  --text-3: rgba(237, 237, 235, 0.50);
  --text-4: rgba(237, 237, 235, 0.30);
  --gold: #c9a24f;
  --gold-soft: rgba(201, 162, 79, 0.15);
  --gold-line: rgba(201, 162, 79, 0.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 600px at 50% -10%, rgba(201, 162, 79, 0.05), transparent 60%),
    radial-gradient(700px 500px at 85% 110%, rgba(47, 129, 247, 0.04), transparent 60%),
    var(--bg-page);
}

a { color: inherit; text-decoration: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.agenda-shell {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.agenda-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--panel-bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, #e3c07c 0%, var(--gold) 55%, #a37d33 100%);
  color: #0a0a0b;
}
.button.secondary {
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  background: rgba(255,255,255,0.02);
}
.button.secondary:hover { border-color: var(--gold-line); color: var(--text); }

.agenda-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
}

.panel-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-3);
  background: rgba(255,255,255,0.012);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.status {
  color: var(--text-4);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.next-event {
  min-height: 220px;
  padding: 16px;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card h2 {
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.event-location {
  color: var(--text-3);
  font-size: 0.92rem;
  line-height: 1.5;
}

.event-link {
  align-self: flex-start;
  margin-top: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calendar-panel {
  min-height: calc(100vh - 190px);
  display: flex;
  flex-direction: column;
}

.calendar-frame-wrap {
  flex: 1;
  min-height: 640px;
  background: var(--bg-2);
}

.calendar-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  display: block;
  background: #fff;
}

.empty,
.embed-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 22px;
  color: var(--text-3);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px) {
  .agenda-shell { padding: 20px 16px 28px; }
  .agenda-hero { align-items: flex-start; flex-direction: column; }
  .agenda-grid { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .button { flex: 1; min-width: 170px; }
  .calendar-panel { min-height: 620px; }
}

@media (max-width: 520px) {
  .agenda-hero { padding: 18px 16px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
