:root {
  --contrast: #222222;
  --contrast-2: #575760;
  --contrast-3: #b2b2be;
  --base: #f0f0f0;
  --base-2: #f7f8f9;
  --base-3: #ffffff;
  --accent: #1e73be;
  --navy: #0d3a71;
  --news: #005cbf;
  --btn: #55555e;
  --btn-hover: #3f4047;
  --file-btn: #32373c;
  --wrap: 1200px;
  --gutter: 40px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

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

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--base-2);
  color: var(--contrast);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

p {
  margin: 0 0 1.5em;
}

h1,
h2,
h3 {
  margin: 0 0 20px;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: 35px;
}

ul {
  margin: 0 0 1.5em 3em;
  padding: 0;
}

hr {
  height: 0;
  margin: 40px 0;
  border: 0;
  border-top: 2px solid #c9c9cf;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.site-header {
  position: relative;
  background: var(--base-3);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.nav-logo {
  display: block;
  flex: 0 0 auto;
  margin-right: 48px;
  line-height: 0;
}

.nav-logo img {
  width: auto;
  height: 54px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li:not([class]) > a,
.nav-links > .nav-drop > a {
  display: block;
  padding: 0 20px;
  color: var(--contrast);
  font-size: 15px;
  line-height: 60px;
  text-decoration: none;
  transition: color .15s ease;
}

.nav-links > li:not([class]) > a:hover,
.nav-links > li:not([class]) > a:focus-visible,
.nav-links > li:not([class]) > a[aria-current="page"],
.nav-links > .nav-drop > a:focus-visible,
.nav-links > .nav-drop > a[aria-current="page"],
.nav-drop.is-current > a,
.nav-drop:hover > a,
.nav-drop:hover > .sub-toggle,
.nav-drop.is-current > .sub-toggle {
  color: var(--accent);
}

.nav-drop {
  display: flex;
  align-items: center;
}

.nav-links > .nav-drop > a {
  padding-right: 0;
}

.sub-toggle {
  display: flex;
  align-items: center;
  height: 60px;
  margin: 0;
  padding: 0 20px 0 10px;
  border: 0;
  background: none;
  color: var(--contrast);
  cursor: pointer;
}

.sub-toggle .chev {
  width: 8px;
  height: 12px;
  fill: currentColor;
  transition: transform .2s ease;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--base);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease, visibility 0s linear .12s;
}

.sub-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--contrast);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

.sub-menu a:hover,
.sub-menu a:focus-visible,
.sub-menu a[aria-current="page"] {
  color: var(--accent);
}

.nav-drop:hover .sub-menu,
.nav-drop:focus-within .sub-menu,
.nav-drop.is-open .sub-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .12s ease;
}

.nav-toggle,
.mobile-menu-header,
.mobile-menu-foot {
  display: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(13, 25, 45, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}

.home-main {
  background: var(--base-3);
}

.entry {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 72px;
}

.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 17px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.cover-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cover-media img {
  position: absolute;
  left: 0;
  top: -18%;
  width: 100%;
  height: 136%;
  object-fit: cover;
  object-position: 55% 55%;
  will-change: transform;
}

.cover-dim {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: .5;
}

.cover-inner {
  position: relative;
  width: 100%;
  max-width: 1166px;
}

.cover h1 {
  margin: 0 0 48px;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 3px 3px 0 #000;
}

.subheadline {
  margin: 0 0 25px;
  font-size: 20px;
  line-height: 1.5;
  text-shadow: 3px 3px 0 #000;
}

.notice {
  display: block;
  margin: 0 0 40px;
  padding: 20px;
  background: rgba(0, 0, 0, .05);
  color: var(--contrast);
  font-size: 15px;
  text-decoration: none;
}

.notice:hover,
.notice:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.news {
  width: 424px;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 46px 30px 30px 38px;
  background: var(--news);
  color: #fff;
  font-size: 16.5px;
  line-height: 1.42;
}

.news-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 30px -6px;
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.22;
  text-wrap: wrap;
}

.news-spark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: -4px;
  fill: #ffd84a;
}

.news p {
  margin: 0 0 24px;
}

.news p.news-lead {
  margin-bottom: 8px;
}

.news ul {
  margin: 0 0 12px 20px;
}

.news li {
  padding-left: 2px;
}

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

.band {
  margin: 0 0 54px;
  padding: 45px 85.5px;
  background: var(--accent);
  color: #fff;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.5;
}

.media-text {
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
  align-items: center;
  margin: 0;
}

.media-text--right {
  grid-template-columns: minmax(0, 1fr) 41%;
  margin-top: 76px;
}

.media-text__media {
  min-width: 0;
  margin: 0;
}

.media-text__media img {
  width: 100%;
}

.media-text__content {
  min-width: 0;
  padding: 0 8%;
}

.media-text__content p {
  font-size: 20px;
  line-height: 1.5;
}

.media-text__content p:last-child {
  margin-bottom: 0;
}

.media-text__content p.mail-link {
  font-size: 17px;
  text-align: center;
}

.page-main {
  padding: 20px 0;
}

.page-box {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px;
  background: var(--base-3);
}

.entry-header {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.entry-header h1 {
  margin: 0;
  padding: 32px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.entry-header--post {
  background: var(--base-3);
  color: #000;
}

.entry-content {
  max-width: 75rem;
  margin: 2em auto 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.assoc a {
  overflow-wrap: anywhere;
}

.preformatted {
  padding: 20px;
  background: rgba(0, 0, 0, .05);
}

.preformatted p {
  margin-bottom: 1.2em;
}

.preformatted .pre-title {
  font-weight: 700;
}

.preformatted ul {
  margin: -0.6em 0 1.2em 1.4em;
}

.signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 24px;
  margin-top: 2em;
}

.signatures p {
  margin: 0;
}

.file-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75em;
  margin-bottom: 1.2em;
}

.file-btn {
  display: inline-block;
  padding: .5em 1em;
  border-radius: 2em;
  background: var(--file-btn);
  color: #fff;
  font-size: 13.6px;
  line-height: 1.5;
  text-decoration: none;
}

.file-btn:hover,
.file-btn:focus-visible {
  background: #000;
  color: #fff;
}

.site-form {
  margin-top: 8px;
}

#contact-form {
  max-width: 100%;
  min-width: 0;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  margin-bottom: 4px;
}

.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form input[type="date"],
.site-form select,
.site-form textarea {
  display: block;
  width: 100%;
  max-width: 420px;
  padding: 10px 15px;
  border: 1px solid #e6e6ea;
  border-radius: 0;
  background: var(--base-2);
  color: var(--contrast);
  font: inherit;
  line-height: 1.5;
}

.site-form select {
  max-width: 260px;
}

.site-form input[type="date"] {
  max-width: 260px;
  min-height: 48px;
}

.site-form textarea {
  max-width: none;
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: var(--contrast-3);
  outline: 2px solid rgba(30, 115, 190, .25);
  outline-offset: 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.form-check label {
  margin: 0;
}

.form-btn {
  display: inline-block;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: var(--btn);
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color .15s ease;
}

.form-btn:hover,
.form-btn:focus-visible {
  background: var(--btn-hover);
}

.form-btn:disabled {
  cursor: not-allowed;
}

.ms-recaptcha-notice {
  text-align: center;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 72px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.footer-col p {
  margin: 0;
}

.footer-col a {
  color: #fff;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #cfe0f5;
}

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

.footer-list li {
  padding-bottom: 8px;
}

.footer-col .footer-name {
  margin-bottom: 24px;
}

@media (max-width: 1080px) {
  .nav-inner {
    min-height: 86px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-logo {
    margin-right: 0;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, .03);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--contrast);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 0 0 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--base-3);
    box-shadow: -12px 0 32px rgba(0, 0, 0, .12);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }

  .nav-links.open {
    transform: none;
    visibility: visible;
    transition: transform .3s ease;
  }

  .nav-links > li {
    flex-shrink: 0;
  }

  .nav-links > li:not([class]) > a,
.nav-links > .nav-drop > a {
    padding: 0 24px;
    font-size: 17px;
    line-height: 50px;
  }

  .nav-links > .nav-drop > a {
    flex: 1 1 auto;
    padding-right: 0;
  }

  .nav-drop {
    flex-wrap: wrap;
  }

  .sub-toggle {
    width: 52px;
    height: 50px;
    justify-content: center;
    padding: 0;
  }

  .nav-drop.is-open > .sub-toggle .chev {
    transform: rotate(180deg);
  }

  .sub-menu {
    position: static;
    display: none;
    flex-basis: 100%;
    width: 100%;
    padding: 0 0 8px;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-drop:hover .sub-menu,
  .nav-drop:focus-within .sub-menu {
    display: none;
  }

  .nav-drop.is-open .sub-menu {
    display: block;
  }

  .sub-menu a {
    padding: 9px 24px 9px 40px;
    color: var(--contrast-2);
    font-size: 16px;
  }

  .mobile-menu-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    margin-bottom: 8px;
    padding: 12px 14px 12px 24px;
    background: var(--base-3);
  }

  .mobile-menu-logo {
    display: block;
    line-height: 0;
  }

  .mobile-menu-logo img {
    width: auto;
    height: 42px;
  }

  .mobile-menu-close {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, .04);
    cursor: pointer;
  }

  .mobile-menu-close span {
    position: absolute;
    left: 13px;
    top: 23px;
    width: 22px;
    height: 2px;
    background: var(--contrast);
    transform: rotate(45deg);
  }

  .mobile-menu-close span + span {
    transform: rotate(-45deg);
  }

  .mobile-menu-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 0 24px;
  }

  .mobile-menu-foot a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--contrast);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .mobile-menu-foot .ico {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8f0f9;
    color: var(--accent);
  }

  .mobile-menu-foot svg {
    fill: currentColor;
  }

  .band {
    padding: 40px 48px;
    font-size: 32px;
  }

  .media-text__content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .nav-inner {
    min-height: 76px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-logo img {
    height: 44px;
  }

  .entry {
    padding-top: 12px;
    padding-bottom: 56px;
  }

  .cover {
    min-height: 340px;
  }

  .cover h1 {
    margin-bottom: 28px;
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .subheadline {
    margin-bottom: 0;
    font-size: 18px;
  }

  .news {
    padding: 36px 24px 28px 28px;
  }

  .news-title {
    font-size: 24px;
  }

  .band {
    margin-bottom: 40px;
    padding: 30px 24px;
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.35;
  }

  h2 {
    font-size: 28px;
  }

  .page-main {
    padding: 12px 0;
  }

  .page-box {
    width: calc(100% - var(--gutter) * 2);
    padding: 20px;
  }

  .entry-header h1 {
    padding: 24px 16px;
    font-size: clamp(1.75rem, 7.4vw, 2.4rem);
  }

  .entry-header--post h1 {
    padding: 12px 0 4px;
  }

  ul {
    margin-left: 1.6em;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .footer-col a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  .media-text,
  .media-text--right {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-text--right {
    margin-top: 48px;
  }

  .media-text--right .media-text__media {
    grid-row: 1;
  }

  .media-text__content {
    padding: 20px 0 0;
  }

  .media-text__content p {
    font-size: 17px;
  }

  .signatures {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .site-form select,
  .site-form input[type="date"] {
    max-width: none;
  }
}

@media (hover: none) {
  .nav-drop:not(.is-current):hover > a,
  .nav-drop:not(.is-current):hover > .sub-toggle {
    color: var(--contrast);
  }

  .nav-drop:hover .sub-menu {
    opacity: 0;
    visibility: hidden;
  }

  .nav-drop.is-open .sub-menu,
  .nav-drop:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms;
  }
}
