:root {
  --text: #222;
  --muted: #666;
  --rule: #d9d9d9;
  --soft-rule: #ececec;
  --link: #1456a0;
  --link-hover: #0b3a70;
  --background: #fff;
  --subtle: #f7f7f7;
  --nav-background: rgba(255, 255, 255, 0.97);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-150%);
  padding: 0.4rem 0.6rem;
  background: white;
  border: 1px solid var(--rule);
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.site-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

h1,
h2 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  letter-spacing: -0.015em;
}

h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 760px;
  margin-bottom: 0;
  color: #333;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: var(--link-hover);
}

/* Quiet sticky top menu. */
.page-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
  margin: 0 -0.25rem;
  padding: 0.65rem 0.25rem;
  background: var(--nav-background);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.page-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.page-nav a:hover,
.page-nav a:focus,
.page-nav a.is-active {
  color: var(--link);
  text-decoration: underline;
}

section {
  scroll-margin-top: 4.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--soft-rule);
}

section:last-child {
  border-bottom: 0;
}

.details-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
}

.details-list dt {
  font-weight: 600;
}

.details-list dd {
  margin: 0;
}

.link-list {
  margin: 0.25rem 0 0;
  padding-left: 1.25rem;
}

.link-list li {
  margin: 0.25rem 0;
}

.schedule-section {
  border-bottom: 0;
}

.schedule-frame {
  width: min(1540px, calc(100vw - 1.5rem));
  margin-top: 0.75rem;
  margin-left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--rule);
  background: var(--subtle);
  overflow: hidden;
}

.schedule-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 1rem, 980px);
    padding-top: 1rem;
  }

  .page-nav {
    gap: 0.25rem 0.75rem;
    font-size: 0.88rem;
  }

  .details-list div {
    display: block;
  }

  .details-list dt {
    margin-bottom: 0.1rem;
  }

  .schedule-frame {
    width: calc(100vw - 0.75rem);
  }

  .schedule-frame iframe {
    height: 1000px;
  }
}
