.sm-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sm-ink);
  color: #fff;
  transform: translateY(-160%);
}

.sm-skip-link:focus {
  transform: translateY(0);
}

.sm-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--sm-line);
  background: color-mix(in srgb, var(--sm-canvas) 92%, transparent);
  backdrop-filter: blur(16px);
}

.sm-site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sm-ink);
  text-decoration: none;
}

.sm-brand .custom-logo-link {
  display: inline-flex;
}

.sm-brand .custom-logo {
  width: auto;
  max-height: 48px;
}

.sm-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sm-ink);
  color: white;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sm-brand__copy {
  display: grid;
  line-height: 1.1;
}

.sm-brand__copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.sm-brand__copy small {
  margin-top: 4px;
  color: var(--sm-ink-soft);
  font-size: 0.72rem;
}

.sm-primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sm-primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-primary-nav__list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--sm-ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.sm-primary-nav__list a:hover,
.sm-primary-nav__list .current-menu-item > a {
  background: rgba(15, 108, 109, 0.08);
  color: var(--sm-teal-dark);
}

.sm-header-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sm-teal-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.sm-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--sm-ink);
  font-weight: 700;
}

.sm-nav-toggle__icon {
  display: grid;
  gap: 4px;
}

.sm-nav-toggle__icon i {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.sm-site-footer {
  padding: 84px 0 24px;
  background: var(--sm-ink);
  color: rgba(255, 255, 255, 0.72);
}

.sm-site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 48px;
}

.sm-site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.35rem;
}

.sm-site-footer p {
  line-height: 1.7;
}

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

.sm-site-footer li + li {
  margin-top: 10px;
}

.sm-site-footer a:not(.sm-button) {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.sm-site-footer a:hover {
  color: #fff;
}

.sm-brand--footer .sm-brand__mark {
  background: #fff;
  color: var(--sm-ink);
}

.sm-brand--footer .sm-brand__copy strong,
.sm-brand--footer .sm-brand__copy small {
  color: #fff;
}

.sm-site-footer__brand > p {
  max-width: 420px;
  margin-top: 20px;
}

.sm-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.sm-site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1080px) {
  .sm-nav-toggle {
    display: inline-flex;
  }

  .sm-primary-nav {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    max-height: calc(100vh - 82px);
    overflow: auto;
    align-items: stretch;
    padding: 22px 20px 28px;
    border-bottom: 1px solid var(--sm-line);
    background: var(--sm-canvas);
  }

  .sm-primary-nav.is-open {
    display: grid;
  }

  .sm-primary-nav__list {
    display: grid;
  }

  .sm-primary-nav__list a {
    min-height: 50px;
    padding-inline: 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--sm-line);
  }

  body.sm-nav-open {
    overflow: hidden;
  }

  .sm-site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .sm-site-header__inner {
    min-height: 72px;
  }

  .sm-primary-nav {
    inset-block-start: 72px;
    max-height: calc(100vh - 72px);
  }

  .sm-brand__copy small,
  .sm-nav-toggle__label {
    display: none;
  }

  .sm-site-footer__grid {
    grid-template-columns: 1fr;
  }

  .sm-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
