/* Keep website footer layout and responsive rules in one stylesheet. */
.site-footer {
  --footer-muted: #a6a6aa;
  --footer-rule: #353538;
  background: linear-gradient(160deg, #191919, #111113);
  color: #f6f6f7;
  padding: 64px 40px 25px;
}
.footer-top {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(290px, 1.15fr) minmax(410px, 1.6fr) minmax(265px, 1fr);
  gap: 32px;
  padding-bottom: 64px;
}
.footer-brand { min-width: 0; }
.brand-symbol-footer { width: 260px; height: 91px; }
.footer-brand .footer-tagline {
  margin: 28px 0 16px;
  max-width: 380px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer-brand .footer-description {
  max-width: 350px;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--footer-muted);
}
.footer-navigation {
  display: grid;
  grid-template-columns: .9fr 1fr 1.15fr;
  gap: 25px;
  align-content: start;
  margin-top: 52px;
  padding-inline: 30px;
  border-inline: 1px solid var(--footer-rule);
}
.footer-nav-group { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.footer-nav-group h2, .footer-contact h2 {
  margin: 0 0 18px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-nav-group a { color: var(--footer-muted); font-size: 14px; line-height: 1.6; }
.footer-contact { min-width: 0; padding-top: 52px; }
.footer-contact h2 { text-align: center; margin-bottom: 20px; }
.footer-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 1.5px solid #dedee0;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.footer-contact > .footer-pill + .footer-pill { margin-top: 14px; }
.footer-pill svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.footer-project-link { display: inline-flex; gap: 28px; padding-inline: 23px; }
.footer-project-link span { font-size: 20px; line-height: 1; }
.footer-pill:hover { background: #f6f6f7; border-color: #f6f6f7; color: #151515; }
.footer-nav-group a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact-note { margin: 17px 0 0; color: var(--footer-muted); font-size: 12px; line-height: 1.65; text-align: center; }
#footer-extra-contact { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; font-style: normal; overflow-wrap: anywhere; }
#footer-extra-contact a { font-size: 14px; }
#footer-extra-contact p { color: var(--footer-muted); font-size: 13px; line-height: 1.65; margin: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1560px;
  margin-inline: auto;
  border-top: 1px solid var(--footer-rule);
  padding-top: 22px;
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.65;
}
.footer-bottom a { white-space: nowrap; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px 48px; }
  .footer-navigation { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 30px 0 0; border-inline: 0; border-top: 1px solid var(--footer-rule); gap: 36px; }
  .footer-contact { grid-column: 2; grid-row: 1; padding-top: 40px; }
  .footer-nav-group h2 { margin-bottom: 8px; }
}
@media (max-width: 700px) {
  .site-footer { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 42px; }
  .brand-symbol-footer { width: 220px; height: 77px; }
  .footer-brand .footer-tagline { margin-top: 24px; font-size: 14px; }
  .footer-navigation { grid-column: auto; grid-row: auto; gap: 18px; padding-top: 28px; }
  .footer-nav-group h2 { font-size: 12px; letter-spacing: .075em; }
  .footer-nav-group a { font-size: 13px; }
  .footer-contact { grid-column: auto; grid-row: auto; padding-top: 30px; border-top: 1px solid var(--footer-rule); }
  .footer-contact h2, .footer-contact-note { text-align: left; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 24px; }
  .footer-bottom > span:nth-child(2) { display: none; }
}
@media (max-width: 360px) {
  .site-footer { padding-inline: 20px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-nav-group:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .footer-pill { transition: none; } }
