/* The Current footer: practical navigation, a clear location and quiet social controls. */
.footer {
  padding: 72px 56px 24px;
  background: #000;
  color: #fff;
}

.footer-top,
.footer-bottom {
  max-width: 1328px;
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) minmax(145px, .85fr) minmax(145px, .85fr) minmax(190px, 1fr);
  gap: 38px;
  padding-bottom: 54px;
}

.footer-top > .footer-identity,
.footer-top > .footer-address {
  display: block;
  min-width: 0;
}

.footer-identity > .brand { margin-bottom: 23px; }
.footer-tagline { font-size: 15px; line-height: 1.7; color: #c6c6c6; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #555;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.footer-socials svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.footer-socials a:hover { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 13px rgb(220 245 121 / 10%); }
.footer-social-note { margin-top: 10px; font-size: 11px; line-height: 1.6; color: #999; }

.footer-heading {
  margin: 0 0 16px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a8a8a8;
}

.footer-links { min-width: 0; }
.footer-links > a,
.footer-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #e7e7e7;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}

.footer-links > a:hover,
.footer-contact:hover { color: var(--lime); text-decoration: underline; }
.footer-contact svg { width: 18px; height: 18px; }
.footer a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }

.footer-address address { font-size: 16px; font-style: normal; line-height: 1.85; color: #eee; }
.footer-address-note { margin-top: 12px; max-width: 27ch; font-size: 11px; line-height: 1.75; color: #999; }
.footer-address .footer-contact { margin-top: 13px; }

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding-top: 21px;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 11px;
  line-height: 1.7;
}

.footer-bottom > p { max-width: 65ch; }
.footer-bottom > a { display: flex; align-items: center; min-height: 44px; color: #ccc; text-underline-offset: 5px; }
.footer-bottom > a:hover { color: var(--lime); text-decoration: underline; }
.footer-bottom > span { white-space: nowrap; }
.footer-bottom b { font-size: 15px; }

/* Short information pages share the site's typography and measured white space. */
.info-page { padding-top: 86px; padding-bottom: 96px; }
.info-header { max-width: 880px; padding-bottom: 49px; }
.info-header .eyebrow { margin-bottom: 22px; color: #555; }
.info-header h1 { max-width: 16ch; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.06; }
.info-header .intro { max-width: 61ch; margin-top: 24px; font-size: 18px; line-height: 1.75; color: #555; }

.info-layout {
  display: grid;
  grid-template-columns: minmax(200px, .65fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 80px;
  border-top: 1px solid #d9d9d9;
  padding-top: 39px;
}

.info-summary { border-left: 2px solid var(--lime); padding-left: 20px; max-width: 33ch; }
.info-summary strong { display: block; font-size: 15px; line-height: 1.6; }
.info-summary p { margin-top: 12px; font-size: 14px; line-height: 1.8; color: #555; }
.info-summary a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 15px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.info-content { max-width: 73ch; }
.info-content > section + section { margin-top: 35px; padding-top: 31px; border-top: 1px solid #e2e2e2; }
.info-content h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 14px; }
.info-content p { font-size: 16px; line-height: 1.85; color: #444; }
.info-content p + p { margin-top: 14px; }
.info-content p a { text-decoration: underline; text-underline-offset: 4px; }

.social-profile-note {
  scroll-margin-top: 35px;
  margin-top: 28px;
  margin-bottom: 64px;
  padding: 23px;
  border: 1px solid #d9d9d9;
  border-left: 2px solid var(--lime);
  background: #fff;
}

.social-profile-note h2,
.social-profile-note h3 { font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.social-profile-note p { font-size: 15px; line-height: 1.8; color: #555; }
.social-profile-note p + p { margin-top: 12px; }
.social-profile-note a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: minmax(180px, 1.15fr) minmax(120px, .8fr) minmax(120px, .8fr) minmax(165px, 1fr); gap: 25px; }
  .footer-bottom { grid-template-columns: minmax(0, 1fr) auto; gap: 15px 30px; }
  .footer-bottom > p { grid-column: 1 / -1; }
  .info-layout { gap: 50px; }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
  .footer-top > .footer-identity { grid-column: 1 / -1; }
  .footer-identity { display: block; }
  .footer-tagline { max-width: 36ch; }
  .info-layout { grid-template-columns: minmax(160px, .65fr) minmax(0, 1.6fr); gap: 36px; }
}

@media (max-width: 760px) {
  .footer { padding: 54px 24px 24px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-bottom: 35px; }
  .footer-top > .footer-identity,
  .footer-top > .footer-address { grid-column: 1 / -1; }
  .footer-identity > .brand { margin-bottom: 20px; }
  .footer-tagline { font-size: 15px; }
  .footer-heading { font-size: 10px; margin-bottom: 10px; }
  .footer-links > a, .footer-contact { font-size: 14px; }
  .footer-top > .footer-address { border-top: 1px solid #333; padding-top: 28px; }
  .footer-address-note { max-width: none; }
  .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; padding-top: 23px; }
  .footer-bottom > a { margin-top: -3px; }
  .footer-bottom > span { white-space: normal; }
  .info-page { padding-top: 54px; padding-bottom: 65px; }
  .info-header { padding-bottom: 32px; }
  .info-header h1 { font-size: clamp(38px, 10.5vw, 58px); }
  .info-header .intro { font-size: 17px; line-height: 1.75; margin-top: 21px; }
  .info-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 27px; }
  .info-summary { max-width: 45ch; }
  .info-content h2 { font-size: 26px; }
  .info-content > section + section { margin-top: 28px; padding-top: 25px; }
  .social-profile-note { padding: 20px; margin-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-socials a, .footer-links > a, .footer-contact { transition: none; }
}
