/* Site frame: header, navigation, breadcrumbs and footer. */
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--background); z-index: 10; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 94px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 26px; font-weight: 750; letter-spacing: -.055em; line-height: 1; }
.brand-mark { width: 40px; height: 40px; object-fit: contain; display: block; }
.custom-logo-link { display: inline-block; max-width: 210px; }
.custom-logo { max-height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; font-size: 12px; font-weight: 600; padding-block: 12px; color: #5c6d86; transition: color .2s; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--accent); }
.nav-links li { position: relative; }
.nav-links .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a { display: block; }
.header-mail { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: -.01em; }
.header-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact { display: inline-flex; align-items: center; gap: 20px; padding: 10px 17px; border: 1px solid #b7c6db; border-radius: 6px; font-size: 11px; font-weight: 650; }
.header-contact .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-toggle { display: none; }
.site-footer { border-top: 1px solid var(--line); padding-top: 54px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr .9fr; gap: 50px; align-items: start; padding-bottom: 50px; }
.footer-brand { font-size: 41px; line-height: 1; font-weight: 700; letter-spacing: -.06em; }
.brand-dot { color: var(--accent); }
.footer-description { margin-top: 20px; font-size: 12px; color: var(--muted); }
.footer-links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 550; }
.footer-links a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; justify-items: end; gap: 10px; text-align: right; }
.footer-contact .eyebrow { color: var(--muted); font-size: 10px; }
.footer-mail { font-size: 18px; font-weight: 750; letter-spacing: -.03em; color: var(--accent); }
.footer-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 74px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.footer-github { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); }
.footer-github .github-mark { width: 15px; height: 15px; }
.footer-bottom p { text-align: center; }
.breadcrumbs { padding-block: 31px; font-size: 10px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: #8ea0b8; margin-right: 2px; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); }
@media (max-width: 1150px) {
  .site-nav { gap: 25px; }
  .nav-links { gap: 21px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 78px; }
  .wordmark { font-size: 24px; }
  .js .nav-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 7px; padding: 9px; border: 1px solid #b7c6db; border-radius: 6px; background: transparent; color: var(--text); }
  .nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .2s; }
  .nav-open .nav-toggle > span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 25px var(--space) 30px; background: var(--background); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px #10182810; z-index: 20; }
  .js .nav-open .site-nav { display: flex; flex-direction: column; align-items: start; gap: 22px; }
  .js .site-nav .header-mail { font-size: 16px; }
  .js .site-nav .nav-links { flex-direction: column; align-items: start; gap: 6px; width: 100%; }
  .js .site-nav .nav-links a { font-size: 17px; padding-block: 7px; }
  .js .site-nav .sub-menu { position: static; box-shadow: none; margin-top: 8px; }
  .no-js .header-inner { flex-wrap: wrap; gap: 20px; padding-block: 22px; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; gap: 25px; }
  .no-js .nav-links { flex-wrap: wrap; gap: 20px; }
  .footer-top { grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .footer-contact { justify-items: start; text-align: left; grid-column: 1 / -1; }
  .footer-mail { font-size: 16px; }
}
@media (max-width: 600px) {
  .header-inner { min-height: 73px; }
  .wordmark { font-size: 23px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-footer { padding-top: 37px; }
  .footer-top { grid-template-columns: 1.15fr 1fr; gap: 27px; padding-bottom: 33px; }
  .footer-brand { font-size: 30px; }
  .footer-description { font-size: 9px; margin-top: 15px; }
  .footer-links { gap: 9px; font-size: 10px; }
  .footer-bottom { flex-wrap: wrap; min-height: 85px; gap: 8px 18px; padding-block: 19px; font-size: 8px; }
  .footer-bottom p { order: 3; width: 100%; text-align: left; }
  .footer-bottom > a { margin-left: auto; }
  .breadcrumbs { font-size: 8px; padding-block: 23px; }
  .breadcrumbs ol, .breadcrumbs li { gap: 6px; }
}
