.wrap {
  width: min(var(--content-width), calc(100% - var(--content-pad) * 2));
  margin-inline: auto;
}
.section {
  padding-block: 52px;
}
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: 34px;
  line-height: 42px;
}
.section-heading > p:last-child {
  color: var(--color-muted);
}
h2 {
  font-size: 40px;
  line-height: 48px;
}
h3 {
  font-size: 24px;
  line-height: 32px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 24px;
  padding-bottom: 40px;
  background: #fff;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -2;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffffe0;
  z-index: -1;
}
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 14px 18px 14px 22px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffffb0;
  box-shadow: 0 12px 32px #1b171614;
}
.brand {
  display: block;
  flex: none;
  line-height: 0;
}
.brand svg {
  display: block;
}
.site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--color-cardinal-dark);
}
.menu-toggle {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  place-items: center;
}
.hero-copy {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero h1 {
  font-size: 76px;
  line-height: 82px;
  max-width: 780px;
  letter-spacing: 0;
}
.hero-copy > p:last-child {
  font-size: 18px;
  line-height: 30px;
  max-width: 760px;
  color: var(--color-text);
}
.site-footer {
  padding-block: 40px;
}
.footer-panel {
  padding: 42px 48px 38px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 67%, white, #f2eee8 62%, #ded5ca);
  box-shadow: var(--shadow-panel);
}
.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 568px);
  justify-content: space-between;
  gap: 48px;
}
.footer-message {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-message > p:not(.eyebrow) {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-text);
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e6ded7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  line-height: 20px;
}
.footer-bottom nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: var(--color-subtle);
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.simple-footer .footer-bottom {
  padding-block: 20px;
  margin: 0;
  border: 0;
}
@media (min-width: 1700px) {
  .hero-image {
    object-position: center 40%;
  }
}
@media (max-width: 1100px) {
  .footer-content {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-panel {
    padding: 32px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 60px;
    line-height: 1.08;
  }
}
@media (max-width: 760px) {
  :root {
    --content-pad: 24px;
  }
  .hero {
    padding-top: 16px;
  }
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }
  .site-header .header-cta {
    display: none;
  }
  .site-header nav {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
  }
  .js-nav .menu-toggle {
    display: grid;
  }
  .js-nav #main-nav {
    display: none;
  }
  .js-nav #main-nav.is-open {
    display: flex;
  }
  .hero-copy {
    margin-top: 48px;
  }
  .hero h1 {
    font-size: 44px;
    line-height: 1.1;
  }
  .hero-copy > p:last-child {
    font-size: 17px;
    line-height: 28px;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-panel {
    padding: 28px 24px;
  }
  .footer-message h2,
  h2 {
    font-size: 32px;
    line-height: 39px;
  }
  .section-heading h2 {
    font-size: 28px;
    line-height: 35px;
  }
  .section {
    padding-block: 40px;
  }
  .footer-bottom {
    font-size: 12px;
    gap: 18px;
  }
  .footer-bottom nav {
    gap: 20px;
  }
  .email-link {
    font-size: 14px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 38px;
  }
  .footer-panel {
    padding: 24px 18px;
  }
}
.menu-toggle {
  display: none;
}
