/* Small, non-destructive corrections for the existing GitHub Pages design. */
img {
  display: block;
  max-width: 100%;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 14vw, 205px);
  height: 80px;
  letter-spacing: normal;
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.mobile-nav summary {
  cursor: pointer;
}

.events {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: 7vw;
  align-items: center;
  padding: 105px 8vw;
  background: var(--cream);
}

.events-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.events-copy > p:not(.kicker) {
  max-width: 430px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.calendar-frame {
  min-width: 0;
  padding: 12px;
  background: var(--sky);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--yellow);
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 12px;
  background: white;
}

@media (max-width: 650px) {
  .header-brand {
    width: 128px;
    height: 62px;
  }

  .events {
    grid-template-columns: 1fr;
    padding: 80px 7vw;
  }

  .calendar-frame iframe {
    min-height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
