@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/libre-baskerville.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #0083c1;
  --blue-dark: #006b9e;
  --violet: #395597;
  --navy: #002856;
  --ink: #384256;
  --muted: #687387;
  --white: #ffffff;
  --mist: #f2f7fa;
  --line: #d4e0e8;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --shell: 76rem;
  --radius: 0 2.5rem 0 2.5rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy);
}

a:focus-visible {
  outline: 3px solid #f4c95d;
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.14;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.7vw, 5rem);
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.shell,
.shell-narrow {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  max-width: 51rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 17%);
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 12.6rem;
}

.primary-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.primary-nav a,
.footer-nav a,
.language-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--blue);
}

.primary-nav .language-link {
  min-width: 3rem;
  justify-content: center;
  padding-inline: 0.75rem;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 0 0.65rem 0 0.65rem;
}

.primary-nav .language-link:hover {
  background: rgb(255 255 255 / 12%);
  border-color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(43rem, calc(100svh - 4.75rem));
  overflow: hidden;
  isolation: isolate;
  align-items: center;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(0 40 86 / 92%) 0%, rgb(0 40 86 / 76%) 36%, rgb(57 85 151 / 38%) 68%, rgb(0 131 193 / 14%) 100%),
    linear-gradient(0deg, rgb(0 40 86 / 20%), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 47rem;
  margin-left: max(0rem, calc((100vw - var(--shell)) / 2));
  padding: clamp(4rem, 10vh, 7rem) 1rem;
  color: var(--white);
}

.hero-content h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.hero-summary {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: #f3f8fb;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-kicker,
.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #e6f7ff;
}

.eyebrow {
  color: var(--blue-dark);
}

.eyebrow-light {
  color: #d9f4ff;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1.4rem;
  color: var(--white);
  background: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  border-radius: 0 0.85rem 0 0.85rem;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.button-light {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.75rem, 7vw, 6.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.community-picture {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 1.8rem 4rem rgb(0 40 86 / 14%);
}

.community-picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgb(57 85 151 / 10%), transparent 55%);
  content: "";
  pointer-events: none;
}

.community-picture img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.about-copy {
  padding-block: 1rem;
}

.about-copy h2 {
  color: var(--blue-dark);
}

.rule {
  width: 5rem;
  height: 3px;
  margin: 0 0 2rem;
  background: var(--violet);
}

.lede {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.commitments-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--mist);
}

.commitments-heading {
  max-width: 54rem;
}

.commitments-heading p:last-child {
  margin-bottom: 0;
}

.commitment-list {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.commitment-item {
  display: grid;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid var(--line);
  gap: 0.75rem clamp(1.5rem, 5vw, 4rem);
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr);
}

.commitment-item:nth-child(even) h3 {
  padding-left: clamp(0rem, 5vw, 4rem);
}

.commitment-item p {
  margin: 0;
}

.contact-band {
  padding-block: clamp(3.5rem, 7vw, 5.75rem);
  color: var(--white);
  background: linear-gradient(120deg, var(--violet), var(--navy));
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.contact-band h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.contact-band-actions {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
}

.contact-band-actions > a:not(.button) {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  color: var(--white);
  font-weight: 600;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 15%, rgb(0 131 193 / 72%), transparent 34%),
    linear-gradient(125deg, var(--violet), var(--navy));
}

.page-hero-inner {
  padding-block: clamp(3.75rem, 8vw, 6.75rem);
}

.page-hero img {
  width: 3.6rem;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
}

.page-hero .hero-summary {
  margin: 1.2rem 0 0;
}

.contact-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
}

.contact-intro h2 {
  color: var(--blue-dark);
}

.contact-details {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--mist);
  border-left: 4px solid var(--blue-dark);
  border-radius: 0 2rem 0 0;
  font-style: normal;
}

.contact-details div + div {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.contact-details a,
.legal address a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
}

.detail-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal {
  color: var(--ink);
}

.legal > p:first-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal h2 {
  margin-top: 3rem;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.legal h3 {
  margin-top: 2rem;
}

.legal address {
  font-style: normal;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.45rem;
}

.legal-details {
  margin-top: 2.25rem;
}

.legal-details div {
  display: grid;
  padding-block: 0.9rem;
  border-top: 1px solid var(--line);
  gap: 1rem;
  grid-template-columns: minmax(10rem, 0.75fr) 1.25fr;
}

.legal-details dt {
  color: var(--navy);
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
}

.not-found {
  display: grid;
  min-height: calc(100svh - 4.75rem);
  place-items: center;
  padding-block: 4rem;
  background:
    radial-gradient(circle at 80% 15%, rgb(0 131 193 / 18%), transparent 35%),
    var(--mist);
}

.not-found-inner {
  max-width: 42rem;
}

.not-found-code {
  margin-bottom: 0;
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.site-footer {
  padding-block: 3rem;
  color: #dce8f3;
  background: var(--navy);
}

.footer-inner {
  display: grid;
  align-items: start;
  gap: 2rem 3rem;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(15rem, 1fr) auto;
}

.footer-brand img {
  width: 11.8rem;
  margin-bottom: 1rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-nav {
  justify-self: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-nav a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
}

.footer-nav a[aria-current="page"] {
  text-decoration: underline;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--white);
}

@media (max-width: 56rem) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .community-picture {
    max-width: 32rem;
  }

  .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-self: start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 42rem) {
  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
    padding-block: 0.9rem 0.3rem;
  }

  .brand img {
    width: 10.8rem;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .primary-nav a {
    min-height: 3rem;
    padding-inline: 0.15rem;
  }

  .primary-nav .language-link {
    min-width: 3rem;
    padding-inline: 0.6rem;
  }

  .hero {
    min-height: 34rem;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgb(0 40 86 / 92%), rgb(0 40 86 / 68%));
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-content h1 {
    max-width: none;
    font-size: 1.7rem;
    letter-spacing: -0.03em;
  }

  .commitment-item {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }

  .commitment-item:nth-child(even) h3 {
    padding-left: 0;
  }

  .legal-details div {
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero-overlay {
    display: none;
  }

  .button,
  .primary-nav .language-link {
    border: 2px solid currentColor;
  }
}

@media print {
  .site-header,
  .site-footer,
  .contact-band,
  .button,
  .skip-link {
    display: none;
  }

  body,
  .section {
    color: #000000;
    background: #ffffff;
  }
}
