:root {
  --brand-bg: #1c2833;
  --brand-text: #ffffff;
  --brand-muted: rgba(255, 255, 255, 0.72);
  --brand-surface: rgba(255, 255, 255, 0.045);
  --brand-border: rgba(255, 255, 255, 0.12);
  --brand-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.28);
  --icon-size: clamp(2.75rem, 8vw, 4rem);
  --section-padding: clamp(2rem, 6vw, 4rem);
  --card-radius: 1rem;
  --focus-ring: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--section-padding);
}

.hero {
  width: min(100%, 36rem);
  text-align: center;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero__tagline {
  margin: 0 0 2.5rem;
  color: var(--brand-muted);
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.next-event {
  margin: 0 0 2.5rem;
  text-align: left;
}

.next-event[hidden],
.next-event__location[hidden],
.next-event__description[hidden],
.next-event__links[hidden] {
  display: none;
}

.next-event__card {
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--card-radius);
  box-shadow: var(--brand-shadow);
}

.next-event__label {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.next-event__name {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.next-event__details {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.next-event__date-badge {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 4.25rem;
  padding: 0.65rem 0.5rem;
  border: 1px solid var(--brand-border);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.next-event__month {
  margin-bottom: 0.2rem;
  color: var(--brand-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.next-event__day {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.next-event__meta {
  min-width: 0;
}

.next-event__date {
  display: block;
  margin: 0 0 0.25rem;
  font-size: clamp(1rem, 2.6vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.next-event__location {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.next-event__description {
  margin: 0 0 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
  color: var(--brand-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.next-event__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-event__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.next-event__link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.next-event__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.next-event__link--primary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.next-event__link--primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.36);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-text);
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: none;
  border-radius: 0.25rem;
  box-shadow: var(--focus-ring);
}

.social-link__icon {
  width: var(--icon-size);
  height: var(--icon-size);
}
