@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}

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

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Helvetica, Tahoma, Geneva, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #193564;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: #193564;
  transition: color 0.2s ease;
}

a:hover {
  color: #0f2953;
}

:focus-visible {
  outline: 2px solid #00a8e6;
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #091831;
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 10050;
}

.skip-link:focus {
  top: 0.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  padding: 2.1rem 0 2.5rem;
  text-align: center;
}

.logo-row,
.nav-row {
  display: grid;
  align-items: center;
  padding: 0 10%;
}

.logo-row {
  grid-template-columns: 46fr 21fr 33fr;
}

.nav-row {
  grid-template-columns: 42fr 25fr 33fr;
  margin-top: 4.25rem;
}

.logo {
  display: block;
  line-height: 0;
  text-align: center;
}

.logo img {
  width: 175px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nav-row .main-nav {
  padding-left: 34px;
}

.main-nav ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: #193564;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.85rem 0.32rem 1.05rem;
  line-height: 1.15;
}

.main-nav a.is-active::before,
.main-nav a:hover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 13px;
  margin-top: -6px;
  border-radius: 7px;
  background: #193564;
}

.nav-toggle {
  display: none;
  position: absolute;
  top: 2.9rem;
  left: 1.1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent url("/assets/icons/menu.svg") center / 22px 16px no-repeat;
  cursor: pointer;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 13rem;
  height: 100%;
  background: #193564;
  color: #fff;
  z-index: 10002;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.35s ease;
  padding: 1.4rem 0;
}

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

.offcanvas a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.35rem;
}

.offcanvas a:hover,
.offcanvas a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 49, 0.45);
  z-index: 10001;
  display: none;
}

.nav-check:checked ~ .offcanvas {
  transform: none;
  visibility: visible;
}

.nav-check:checked ~ .nav-overlay {
  display: block;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid #00a8e6;
  outline-offset: 2px;
}

.showcase {
  background: #f6faff;
  color: #193564;
  padding: 5.5rem 8% 3.4rem;
}

.badge-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto 7.5rem;
}

.badge-row img {
  width: auto;
  max-width: 100%;
}

.tagline {
  max-width: 1048px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.25;
}

.home-wrap {
  max-width: 840px;
  margin: 2.1rem auto 0;
  padding: 0 20px 1rem;
  color: #666;
}

.home-intro,
.home-closing {
  padding: 50px 0;
}

.home-intro p {
  margin: 0 0 1.3rem;
  text-align: justify;
}

.bio {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) 210px;
  gap: 1.1rem 1.35rem;
  align-items: start;
  margin: 0;
  padding: 50px 0;
}

.bio p,
.bio figcaption {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.bio figcaption {
  margin-top: 0.7rem;
}

.bio img.portrait {
  width: 176px;
  height: auto;
}

.bio img.office {
  width: 210px;
  height: auto;
}

.home-close {
  text-align: center;
  margin: 0 0 1rem;
}

.home-close.quiet {
  margin-top: 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10pt;
  font-weight: 700;
  color: #666;
}

.home-close a,
.home-close a span {
  color: #33cccc;
  text-decoration: underline;
}

.content-shell {
  width: 80%;
  margin: 0 auto 1.5rem;
  display: block;
}

.content-shell.with-sidebar {
  display: flex;
  align-items: flex-start;
}

.content-shell main {
  min-width: 0;
}

.content-shell.with-sidebar main {
  flex: 0 0 78%;
  width: 78%;
  max-width: 78%;
  padding: 5.2rem 13.1% 3.5rem;
}

.content-shell:not(.with-sidebar) main {
  padding: 3.2rem 8% 3.2rem;
}

.prose {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: "Poppins", Helvetica, Tahoma, Geneva, Arial, sans-serif;
  color: #666;
  line-height: 1.35;
}

.prose h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.4rem 0 1rem;
}

.prose h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.4rem 0 1rem;
}

.prose h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

.prose p {
  margin: 0 0 1.3rem;
}

.prose ul {
  margin: 0 0 1.3rem;
  padding-left: 1.25rem;
}

.prose li {
  margin: 0.28rem 0;
}

.prose a {
  color: #193564;
}

ul.list-icon {
  list-style: none;
  padding-left: 0;
}

ul.list-icon li {
  position: relative;
  padding-left: 1.35rem;
}

ul.list-icon li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #193564;
}

.sidebar {
  flex: 0 0 22%;
  width: 22%;
  max-width: 22%;
  padding: 1.35rem 0.4rem 2rem 0.6rem;
  color: #193564;
}

.sidebar h3 {
  margin: 1.1rem 0 0.85rem;
  color: #193564;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  max-width: 11.6rem;
}

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

.disorder-list a {
  display: inline-block;
  max-width: 152px;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 17px;
  border-radius: 3px;
  line-height: 1.35;
}

.disorder-list a:hover,
.disorder-list a:focus {
  background: rgba(8, 174, 234, 0.08);
  color: #000;
}

.disorder-toggle {
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.1);
  width: 55px;
  height: 43px;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
}

.disorder-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  margin: 0 auto;
}

.disorder-bars span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 1px;
}

.disorder-toggle.is-open {
  background: rgba(24, 152, 161, 0.15);
}

.disorder-toggle.is-open .disorder-bars span {
  background: #1898a1;
}

.contact-form {
  max-width: 860px;
  color: #666;
}

.contact-form h2 {
  color: #444;
  font-size: 32px;
  font-weight: 700;
  margin: 0.2rem 0 0.85rem;
}

.prose .form-intro,
.form-intro {
  color: #444;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.35rem;
  line-height: 1.45;
}

.form-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin: 0 0 1.15rem;
}

.form-label {
  flex: 0 0 200px;
  width: 200px;
  padding-top: 4px;
  color: #666;
}

.form-field {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #444;
  font: inherit;
  padding: 4px 6px;
  min-height: 30px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #b42318;
}

.req {
  font-weight: 700;
}

.radio-set {
  border: 0;
  margin: 0;
  padding: 0;
}

.radio-set label {
  display: block;
  margin: 0.15rem 0 0.35rem;
}

.field-error {
  display: block;
  color: #b42318;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.form-errors {
  background: #fff4f2;
  border: 1px solid #f0c2bb;
  color: #7a2118;
  padding: 0.8rem 1rem;
  margin: 0 0 1.2rem;
}

.form-errors ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.form-actions {
  margin-top: 0.4rem;
}

.btn {
  display: inline-block;
  background: #00a8e6;
  color: #fff;
  border: 0;
  min-height: 30px;
  padding: 0 12px;
  font: inherit;
  line-height: 30px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: #0094cc;
  color: #fff;
}

.form-note,
.recaptcha-note {
  margin: 0.85rem 0 0;
  color: #666;
}

.recaptcha-note {
  font-size: 0.92rem;
}

.recaptcha-note a {
  color: #193564;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 49, 0.55);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.thanks-overlay[hidden] {
  display: none;
}

.thanks-card {
  background: #fff;
  color: #444;
  width: min(480px, 100%);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 16px 50px rgba(9, 24, 49, 0.28);
}

.thanks-card h2 {
  margin: 0 0 0.6rem;
  color: #193564;
  font-size: 1.8rem;
}

.thanks-card p {
  margin: 0 0 0.8rem;
  color: #444;
}

.thanks-card .btn {
  margin-top: 0.35rem;
}

.error-banner {
  background: #2d2d2d url("/images/backgrounds/slideshow-bg.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3.4rem 12%;
}

.error-banner h1 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 2.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.error-banner p {
  margin: 0 auto;
  max-width: 920px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
}

.error-code {
  margin: 0;
  padding: 4.6rem 1rem 5.2rem;
  text-align: center;
  color: #8d8d8d;
  font-size: 2rem;
  font-weight: 500;
}

.site-footer {
  background: #091831;
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.7rem;
  list-style: none;
  margin: 0;
  padding: 1.45rem 10% 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: rgba(255, 255, 255, 0.5);
}

.copyright {
  margin: 0 10%;
  padding: 0.85rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.92rem;
}

.copyright p {
  margin: 0;
}

.copyright a {
  color: #fff;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 51rem) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .logo-row,
  .nav-row {
    display: block;
    padding: 0 1rem;
  }

  .nav-row,
  .logo-row .spacer {
    display: none;
  }

  .logo img {
    width: min(244px, 72vw);
  }

  .site-header {
    padding: 2rem 1rem 0.6rem;
  }

  .content-shell,
  .content-shell.with-sidebar {
    display: block;
    width: auto;
    margin: 0;
  }

  .content-shell.with-sidebar main,
  .content-shell:not(.with-sidebar) main,
  .sidebar {
    width: auto;
    max-width: none;
    flex: none;
    padding: 1.15rem 1.15rem 0.4rem;
  }

  .sidebar {
    padding-bottom: 1.6rem;
  }

  .sidebar h3 {
    max-width: none;
    margin-top: 0.4rem;
  }

  .disorder-list a {
    max-width: none;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    padding-top: 1.2rem;
  }

  .copyright {
    margin: 0 1.15rem;
    font-size: 0.88rem;
  }

  .showcase {
    padding: 1.6rem 1rem 1.8rem;
  }

  .badge-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .seal-cell {
    display: none;
  }

  .home-wrap {
    padding: 0 1.1rem 1.5rem;
    margin-top: 0.5rem;
  }

  .home-intro,
  .bio,
  .home-closing {
    padding: 1.25rem 0;
  }

  .bio {
    grid-template-columns: 1fr;
  }

  .bio img.office,
  .bio img.portrait {
    width: 176px;
  }
}

@media (max-width: 767px) {
  .disorder-toggle {
    display: inline-block;
    margin: 0 0 0.6rem;
  }

  .disorder-list {
    display: none;
  }

  .disorder-list.is-open {
    display: block;
  }
}

@media (max-width: 760px) {
  .form-row {
    display: block;
  }

  .form-label {
    display: block;
    width: auto;
    padding-top: 0;
    margin-bottom: 0.35rem;
  }

  .contact-form {
    max-width: none;
  }
}
