:root {
  color-scheme: light;
  --ink: #20343e;
  --muted: #52636c;
  --blue: #0b5273;
  --green: #246546;
  --paper: #ffffff;
  --sky: #eef5f8;
  --line: #d6e1e5;
  --focus: #005b87;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 2px;
}

main:focus {
  outline: none;
}

.wrap {
  width: min(100% - 5rem, 72rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.5rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  transform: translateY(-200%);
  background: var(--paper);
  font-weight: 650;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.brand img {
  display: block;
  flex-shrink: 0;
}

.brand-green {
  color: var(--green);
}

.primary-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.primary-nav a,
.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.primary-nav a {
  color: var(--muted);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--green);
  font-weight: 650;
}

.primary-nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.page-intro {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--sky);
  border-block: 1px solid var(--line);
}

h1,
h2,
h3 {
  color: var(--blue);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 54ch;
  margin-block: 1.5rem 0;
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.availability {
  max-width: 72ch;
  margin-block: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.availability strong {
  color: var(--green);
}

.updated {
  margin-block: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.document-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: 3.5rem 5rem;
}

.contents {
  font-size: 0.9375rem;
}

.contents h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.contents ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents li a {
  display: block;
  min-height: 44px;
  padding-block: 0.6rem;
  line-height: 1.6;
}

.contents > p {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.document {
  min-width: 0;
  max-width: 70ch;
}

section {
  scroll-margin-top: 1.5rem;
}

.document section + section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.45;
}

p {
  margin: 0 0 1rem;
}

section > :last-child {
  margin-bottom: 0;
}

.invitation-list {
  margin: 1.75rem 0;
}

.invitation-list > div {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.invitation-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--green);
  font-size: 1.125rem;
  font-weight: 700;
}

dd {
  margin: 0.4rem 0 0;
}

.summary-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.summary-list li {
  margin-bottom: 0.9rem;
  padding-left: 0.25rem;
}

.summary-list li::marker {
  color: var(--green);
}

.contact-section {
  background: var(--sky);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 0.5rem;
}

.document section.contact-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  margin-block: 0.5rem 1.5rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid var(--blue);
  border-radius: 0.35rem;
  background: var(--blue);
  color: var(--paper);
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}

.contact-link:hover {
  background: var(--ink);
  text-decoration: underline;
}

.contact-caution {
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
  color: var(--blue);
  font-weight: 650;
}

.site-footer p span {
  color: var(--muted);
  font-weight: 400;
}

.not-found {
  min-height: 65vh;
  padding-block: 4rem;
}

.not-found h1 {
  margin-bottom: 1.5rem;
}

@media (max-width: 56rem) {
  .document-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding-block: 2.5rem 3.5rem;
  }

  .contents {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
  }

  .contents ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .contents > p {
    margin-top: 1rem;
    padding-top: 0;
    border: 0;
  }

  .document {
    max-width: 70ch;
  }
}

@media (max-width: 35rem) {
  .wrap {
    width: calc(100% - 2.5rem);
  }

  .site-header {
    column-gap: 1rem;
    padding-block: 1rem;
  }

  .brand {
    gap: 0.35rem;
    font-size: 1.125rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .primary-nav {
    gap: 1rem;
    font-size: 0.9375rem;
  }

  .contents ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .document section + section {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }
}

@media (forced-colors: active) {
  .contact-link {
    border: 1px solid ButtonText;
  }

  .primary-nav a[aria-current="page"] {
    border-bottom-color: LinkText;
  }
}

@media print {
  .skip-link,
  .primary-nav,
  .contents,
  .site-footer nav {
    display: none;
  }

  .wrap {
    width: 100%;
  }

  .document-layout {
    display: block;
    padding-block: 2rem;
  }

  .page-intro,
  .contact-section,
  .contact-link {
    background: none;
    color: var(--ink);
  }

  h2,
  h3 {
    break-after: avoid;
  }
}
