/* layout: main */
:root {
  --page: #425b87;
  --page-dark: #34496f;
  --on-page: #fff;
  --on-page-soft: #dfe6f2;
  --band: #fff;
  --text: #4a4a4a;
  --heading: #222;
  --line: #ccc;
  --soft: #eef2f8;
  --error: #a32020;
  --error-soft: #fbeaea;
  --focus: #f2b84b;
  --field-line: #8a94a6;
  --font: Georgia, "Times New Roman", serif;
  --wrap: 980px;
  --gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--page); }
a:hover { text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3, h4 { font-weight: normal; color: var(--heading); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 1.5rem; padding-bottom: .3em; border-bottom: 1px solid #e4e4e4; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; }
h4 { font-size: 1rem; }
p, ul, ol, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.5em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header { padding: 28px var(--gutter) 0; text-align: center; }
.site-header__name { display: inline-block; color: var(--on-page); text-decoration: none; line-height: 1.15; }
.site-header__title { display: block; font-size: 2rem; font-weight: bold; letter-spacing: .01em; }
.site-header__subline { display: block; font-size: 1.125rem; margin-top: .2em; }

/* Menu */
.site-nav { max-width: var(--wrap); margin: 22px auto 0; padding-bottom: 10px; }
.site-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 20px;
}
.site-nav__list--sub { margin-top: 6px; }
.site-nav__item { margin: 0; padding: 0; }
@media (min-width: 840px) {
  .site-nav__list { column-gap: 0; }
  .site-nav__item + .site-nav__item::before { content: "\00b7"; color: var(--on-page-soft); padding: 0 .55em; }
}
.site-nav__item a {
  display: inline-block;
  padding: 4px 2px 2px;
  color: var(--on-page-soft);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav__item a:hover { color: var(--on-page); }
.site-nav__item a.is-active { color: var(--on-page); border-bottom-color: var(--on-page); }
.site-nav__list--sub a { font-size: .9375rem; }

/* Content band */
.site-content { background: var(--band); flex: 1 0 auto; }

/* Footer */
.site-footer { padding: 6px 0; font-size: .8125rem; text-align: right; }
.site-footer a { color: var(--on-page); }

/* Controls */
button, .button {
  font: inherit;
  display: inline-block;
  padding: .55em 1.3em;
  color: var(--on-page);
  background: var(--page);
  border: 1px solid var(--page);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .button:hover { background: var(--page-dark); border-color: var(--page-dark); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit;
  width: 100%;
  padding: .5em .6em;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--field-line);
  border-radius: 3px;
}
textarea { min-height: 9em; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--page); }
/* block: contact-form */
.contact-form { grid-column: 1 / -1; min-width: 0; text-align: left; }
.contact-form__columns { display: grid; grid-template-columns: 1fr; gap: 0 40px; }
.contact-form__field { margin-bottom: 18px; }
.contact-form__label { display: block; margin-bottom: .3em; color: var(--heading); }
.contact-form__pair { display: flex; gap: 12px; }
.contact-form__pair > * { flex: 1 1 0; min-width: 0; }
.contact-form__pair--salutation > select { flex: 0 0 38%; }
.contact-form [data-form-status] { margin: 1em 0 0; padding: .6em .8em; border-left: 4px solid var(--page); background: var(--soft); color: var(--heading); }
.contact-form [data-form-status][data-state="error"] { border-left-color: var(--error); background: var(--error-soft); }
@media (min-width: 768px) {
  .contact-form__columns { grid-template-columns: 1fr 1fr; }
}
/* block: directions */
.directions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 28px 40px; text-align: left; }
.directions__heading { margin-bottom: .8em; }
.directions__body { display: flex; align-items: flex-start; gap: 16px; }
.directions__icon { flex: none; width: 60px; height: 60px; }
.directions__text { min-width: 0; }
.directions__text > :last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .directions { grid-template-columns: 1fr 1fr; }
}
/* block: footer-link */
.footer-link { margin: 0; text-align: right; }
/* block: legal */
.legal { grid-column: 1 / -1; min-width: 0; text-align: left; }
.legal__text h2 { margin-top: 1.6em; }
.legal__text > :last-child { margin-bottom: 0; }
/* block: map */
.map { grid-column: 1 / -1; min-width: 0; text-align: left; }
.map__frame { display: block; width: 100%; height: 360px; border: 0; }
.map__frame[hidden] { display: none; }
@media (min-width: 768px) { .map__frame { height: 500px; } }
/* block: text */
.text { grid-column: 1 / -1; min-width: 0; text-align: left; }
.text > :last-child { margin-bottom: 0; }
.text a { word-break: break-word; }
.text table { width: 100%; border-collapse: collapse; }
.text th, .text td { border: 1px solid var(--line); padding: 4px 8px; text-align: left; }
@media (min-width: 640px) {
  .text--third, .text--half { grid-column: span 6; }
}
@media (min-width: 960px) {
  .text--third { grid-column: span 4; }
  .text--half { grid-column: span 6; }
}
/* template: page */
.page { padding: 30px 0; min-height: 400px; }
.page__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 20px; align-items: start; }
@media (min-width: 768px) { .page { padding: 36px 0 48px; } .page__grid { column-gap: 30px; row-gap: 32px; } }