.site-footer {
  background: #2c3429;
  color: var(--paper);
  border-radius: 0 0 18px 18px;
  padding: 58px 64px 28px;
  margin-bottom: 28px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  padding-bottom: 46px;
}
.footer-brand .wordmark img {
  width: 216px;
}
.footer-brand p {
  font-size: 17px;
  color: #d0d4c5;
  margin-top: 24px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 85px;
  font-size: 16px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links > div > span {
  color: #b5c09d;
  font-size: 14px;
  margin-bottom: 5px;
}
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid #ffffff30;
}
.as1-credit {
  display: flex;
  align-items: center;
  gap: 14px;
}
.as1-logo {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 51px;
  padding: 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.as1-logo img {
  width: 27px;
  height: auto;
  object-fit: contain;
}
.as1-credit p {
  font-size: 14px;
  line-height: 1.65;
  color: #d1d6c7;
}
.as1-credit p a {
  font-weight: 700;
}
.footer-photo-credits {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  color: #e2e6d9;
  border: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.footer-photo-credits span {
  font-size: 24px;
}
.footer-photo-credits[aria-expanded="true"] span {
  transform: rotate(45deg);
}
.as1-social-links {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
}
.as1-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d4dfbe4d;
  border-radius: 50%;
  color: #e3e9d9;
  transition: background 0.2s;
}
.as1-social-links a:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.as1-social-links span {
  display: inline-flex;
}
.as1-social-links svg {
  display: block;
  width: 19px;
  height: 19px;
}
.credits {
  padding-top: 24px;
  margin-top: 25px;
  border-top: 1px solid #ffffff30;
  color: #d1d6c7;
  font-size: 14px;
  line-height: 1.7;
}
.credits p {
  max-width: 90ch;
  margin-top: 14px;
}
.credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  box-sizing: border-box;
}
.site-footer .footer-brand .wordmark img {
  width: 235px;
  height: auto;
}
.site-footer .footer-brand p {
  max-width: none;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer .as1-logo {
  background: transparent;
  padding: 0;
  width: 36px;
  height: 48px;
  border-radius: 0;
}
.site-footer .as1-logo img {
  width: 32px;
  height: auto;
}
.site-footer .footer-links a {
  font-size: 16px;
}
.site-footer .footer-base {
  gap: 30px;
}
.site-footer .as1-social-links svg {
  max-width: none;
}
.site-footer .as1-credit p {
  margin: 0;
}
@media (max-width: 1000px) {
  .site-footer {
    padding: 44px 36px 28px;
  }
  .site-footer .footer-main {
    gap: 40px;
  }
  .site-footer .footer-links {
    gap: 40px;
  }
  .site-footer .footer-base {
    flex-wrap: wrap;
  }
}
@media (max-width: 700px) {
  .site-footer {
    padding: 36px 25px 28px;
  }
  .site-footer .footer-main {
    display: block;
    padding-bottom: 30px;
  }
  .site-footer .footer-links {
    margin-top: 30px;
    gap: 38px;
    flex-wrap: wrap;
  }
  .site-footer .footer-brand .wordmark img {
    width: 220px;
  }
  .site-footer .footer-brand p {
    font-size: 16px;
  }
  .site-footer .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .site-footer .as1-social-links {
    gap: 6px;
    flex-wrap: wrap;
  }
  .site-footer .as1-social-links a {
    width: 44px;
    height: 44px;
  }
}
