:root {
  --teal-deep: #214150;
  --teal: #57879a;
  --maroon: #4e1d1e;
  --maroon-light: #6b2a2b;
  --ink: #343434;
  --text: #595959;
  --light: #f7f7f7;
  --border: #dbdada;
  --page: 990px;
  --font: Arial, Helvetica, sans-serif;
  --font-head: "Nunito", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--teal-deep) url("../img/page-bg.webp") repeat;
}
body {
  margin: 0 auto;
  max-width: var(--page);
  font: 400 15px/1.7 var(--font);
  color: var(--text);
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, .15);
  border-right: 1px solid rgba(0, 0, 0, .15);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
h1, h2 { font-family: var(--font-head); color: var(--ink); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 1.75rem); }
p { margin: 0 0 1em; }
.container { width: 100%; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { background: var(--teal-deep) url("../img/page-bg.webp") repeat; }
.site-header__inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 5.5vw, 3.1rem);
  color: #fff; text-decoration: none; line-height: 1.1;
}
.brand:hover { color: #cfe0e8; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; font-size: 1.05rem; color: #fff; text-decoration: none;
  padding: 10px 14px; background: var(--maroon);
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--teal); }
.nav-toggle { display: none; }

/* hero */
.hero { background: #fff; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; }
.hero__body { padding-top: 26px; padding-bottom: 6px; }
.lead { font-size: 1.05rem; }

/* sections */
.section { padding: 26px 0 30px; }
.section--light { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 {
  border-bottom: 3px solid var(--teal);
  padding-bottom: .25em;
}

/* contact */
.contact { font-style: normal; font-size: 1.05rem; }
.contact__label {
  display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .2em;
}

/* footer */
.site-footer { background: var(--maroon); color: #f1f1f1; font-size: .9rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.site-footer p { margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-footer a { color: #f1f1f1; text-decoration: none; }
.site-footer a:hover { color: #e3b7b7; }

@media (max-width: 767px) {
  body { font-size: 15px; border: 0; }
  .site-header__inner { justify-content: space-between; min-height: 72px; position: relative; }
  .brand { position: relative; z-index: 60; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: var(--maroon); cursor: pointer; position: relative; z-index: 60;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 22px; height: 2px; background: #fff; position: relative; content: "";
  }
  .nav-toggle__bar::before { position: absolute; top: -7px; }
  .nav-toggle__bar::after { position: absolute; top: 7px; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--maroon); z-index: 50;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 4px 20px 12px; }
  .primary-nav a { padding: 12px 0; border-top: 1px solid var(--maroon-light); background: none; }
  .primary-nav a:hover, .primary-nav a:focus-visible { background: none; color: #e3b7b7; }
  .site-footer__inner { justify-content: center; text-align: center; }
}
