.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 1px solid transparent;
  background: var(--color-paper);
  color: var(--color-ink);
  transition: border-color var(--dur-short) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: inherit;
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
}
.brand__frame {
  fill: none;
  stroke: url(#brand-g);
  stroke-width: 2.6;
}
.brand__g1 {
  stop-color: var(--color-sky);
}
.brand__g2 {
  stop-color: var(--color-blue);
}
.brand__spark {
  fill: var(--color-klar);
}
.brand__text {
  display: grid;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}
.brand__name span {
  color: var(--color-klar);
}
.brand__sub {
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}
.nav {
  margin-left: auto;
}
.nav__list {
  display: flex;
  gap: var(--space-2xs);
}
.nav__list a {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-stretch: var(--stretch-tight);
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.nav__list a:hover,
.nav__list a[aria-current] {
  color: var(--color-blue);
  text-decoration: underline;
  text-decoration-color: var(--color-blue);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-stretch: var(--stretch-tight);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
}
.header-phone:hover {
  color: var(--color-blue);
}
.header-cta {
  min-height: 46px;
  padding: 10px 18px;
}
.menu-toggle,
.menu__close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-paper);
}
.menu__close:hover {
  border-color: var(--color-on-blue);
  background: var(--color-on-blue);
  color: var(--color-blue-deep);
}
.menu-toggle .icon,
.menu__close .icon {
  width: 24px;
  height: 24px;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  padding: 14px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] {
  display: none;
}
.menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.menu__title {
  color: var(--color-on-blue-muted);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.menu__close {
  display: inline-flex;
}
.menu__list {
  margin-top: var(--space-lg);
}
.menu__list a {
  display: block;
  padding: 8px 0;
  font-family: var(--font-display);
  font-stretch: var(--stretch-display);
  font-size: clamp(2.4rem, 1.6rem + 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.menu__list a:hover {
  color: var(--color-sky);
}
.menu__actions {
  display: grid;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-xl);
}
.has-menu {
  overflow: hidden;
}
.site-footer {
  padding-top: var(--space-3xl);
  background: var(--color-navy);
}
@media (min-width: 721px) and (min-height: 620px) {
  :root {
    --reveal-radius: clamp(32px, 4vw, 64px);
  }
  main {
    position: relative;
    z-index: 1;
    background: var(--color-paper);
    clip-path: inset(0 round 0 0 var(--reveal-radius) var(--reveal-radius));
  }
  .site-footer {
    position: sticky;
    bottom: 0;
    z-index: 0;
    margin-top: calc(-1 * var(--reveal-radius));
    padding-top: calc(var(--space-3xl) + var(--reveal-radius));
    box-shadow: inset 0 calc(var(--reveal-radius) + 20px) 40px -20px oklch(12% 0.05 255 / 0.6);
  }
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
}
.site-footer__brand {
  grid-column: 1 / -1;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-blue-line);
}
.site-footer__wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-size: clamp(2rem, 0.9rem + 4.6vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
}
.site-footer__wordmark span {
  color: var(--color-sky);
}
.site-footer__slogan {
  margin-top: var(--space-sm);
  color: var(--color-on-blue-muted);
  font-family: var(--font-display);
  font-stretch: var(--stretch-tight);
  font-size: var(--text-md);
  font-weight: 700;
}
.site-footer__col {
  display: grid;
  gap: var(--space-xs);
  color: var(--color-on-blue-muted);
  font-size: 0.95rem;
}
.site-footer__link {
  justify-self: start;
  color: var(--color-on-blue);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.site-footer__link:hover {
  color: var(--color-sky);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  margin-top: var(--space-2xl);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-blue-line);
  color: var(--color-on-blue-muted);
  font-size: var(--text-sm);
}
.site-footer__bottom a:hover {
  color: var(--color-sky);
}
.actionbar {
  display: none;
}
@media (max-width: 1180px) {
  .nav {
    display: none;
  }
  .header-phone {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  .header-phone,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
  }
  .brand__name {
    font-size: 1.25rem;
  }
  .brand__sub {
    font-size: 0.58rem;
  }
  .actionbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: var(--space-xs);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-rule);
    background: var(--color-paper);
  }
  .actionbar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 50px;
    border: 2px solid var(--color-ink);
    border-radius: var(--radius);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-stretch: var(--stretch-tight);
    font-size: 1.1rem;
    font-weight: 750;
    white-space: nowrap;
    text-decoration: none;
  }
  .actionbar__btn--primary {
    border-color: var(--color-blue);
    background: var(--color-blue);
    color: var(--color-on-blue);
  }
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .has-menu .actionbar {
    display: none;
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
}
@media (max-width: 360px) {
  .actionbar__btn {
    gap: var(--space-2xs);
    font-size: 1rem;
  }
}