:root {
  color-scheme: dark;
  --background: #101015;
  --card: #1a1a22;
  --line: #30303b;
  --text: #f5f3ff;
  --muted: #bbb8ca;
  --accent: #d7fc68;
  font-family: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 850; font-size: 1.25rem; letter-spacing: -.04em; }
.brand span { color: var(--accent); font-size: 1.55rem; }
nav { display: flex; gap: clamp(.85rem, 3vw, 2rem); color: var(--muted); font-weight: 650; }
nav a:hover { color: var(--accent); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 530px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; background: #171326; }
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #171326 3%, #171326e8 32%, #17132625 76%),
    url("hero.jpg") right center / cover no-repeat,
    radial-gradient(ellipse at 82% 55%, #5434a9, #171326 68%);
}
.hero-content { padding: clamp(1.5rem, 6vw, 5rem); max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--accent); font-size: .79rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 750; }
.eyebrow span { width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
h1, h2, h3, p { margin: 0; }
h1 { margin-block: 1rem; font-size: clamp(3rem, 9.5vw, 7.5rem); line-height: .87; letter-spacing: -.085em; font-weight: 900; }
h1 em { color: var(--accent); font-style: normal; }
.hero-content > p:not(.eyebrow) { color: #e2deef; max-width: 34ch; font-size: 1.06rem; line-height: 1.6; }
.button { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding: .8rem 1rem; border-radius: 8px; background: var(--accent); color: #171b09; font-weight: 800; }
.button:hover { background: #e5ff9b; }

.events, .about { padding-block: 3.5rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.section-heading > span { color: var(--muted); font-size: .85rem; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.065em; line-height: 1; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.event { display: flex; flex-direction: column; padding: 1.25rem; min-height: 210px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.event-meta { display: flex; justify-content: space-between; gap: .5rem; align-items: center; margin-bottom: 1rem; font-size: .8rem; }
.event-meta time { color: var(--accent); font-weight: 850; letter-spacing: .08em; }
.event-meta span { padding: .25rem .55rem; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); }
.event h3 { margin-bottom: .35rem; font-size: 1.35rem; letter-spacing: -.04em; }
.event p, .about p { color: var(--muted); line-height: 1.6; }
.event .location { padding-top: 1rem; margin-top: auto; color: var(--text); font-size: .85rem; font-weight: 650; }
.about, .footer { border-top: 1px solid var(--line); }
.about p { max-width: 58ch; margin-top: 1rem; }
.footer { padding-block: 1.5rem; }

@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { min-height: 465px; align-items: flex-end; }
  .hero-art {
    background:
      linear-gradient(0deg, #171326 8%, #171326d9 47%, #17132620 100%),
      url("hero.jpg") 64% center / cover no-repeat,
      radial-gradient(ellipse at 82% 15%, #5434a9, #171326 72%);
  }
  .event-grid { grid-template-columns: 1fr; }
  .event { min-height: 0; }
  .events, .about { padding-block: 2.5rem; }
}
