/* The quiet, functional footer below the immersive desk scene. */
.global-footer {
  position: relative;
  padding: 72px clamp(22px, 6.5vw, 108px) 30px;
  background: #102a39;
  color: #c3d5d8;
  font: 400 1rem/1.55 "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
.global-footer *, .global-footer *::before, .global-footer *::after { box-sizing: border-box; }
.footer-grid, .footer-bottom { max-width: 1440px; margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.05fr .85fr 1.05fr; gap: clamp(24px, 3.5vw, 56px); }
.footer-grid > * { min-width: 0; }
.global-footer a { color: inherit; text-decoration: none; transition: color .18s; }
.global-footer a:hover { color: #fffdf8; text-decoration: underline; text-underline-offset: 5px; }
.global-footer a:focus-visible { outline: 3px solid #dec895; outline-offset: 4px; border-radius: 3px; }
.global-footer a[aria-current="page"] { color: #fffdf8; text-decoration: underline; text-underline-offset: 5px; }
.global-footer .footer-logo { display: block; width: min(260px, 100%); margin: -14px 0 22px -12px; }
.footer-logo img { display: block; width: 100%; height: auto; }
.global-footer .footer-wordmark { display: inline-flex; align-items: center; min-height: 44px; color: #f6f4ed; font: 400 1.875rem/1.2 "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.footer-brand p { max-width: 27ch; margin: 12px 0 20px; font-size: .9375rem; line-height: 1.65; }
.global-footer .footer-primer { display: inline-block; min-height: 44px; color: #b9d8c9; font-size: .9375rem; line-height: 1.7; }
.footer-column h2 { margin: 0 0 20px; color: #f6f4ed; font: 600 .875rem/1.5 "Avenir Next", Avenir, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-wrap: initial; }
.global-footer ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.global-footer li { margin: 0; padding: 0; }
.global-footer li a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-block: 9px; font-size: .9375rem; line-height: 1.5; }
.global-footer li a span { min-width: 0; overflow-wrap: anywhere; }
.footer-icon { flex: 0 0 20px; color: #b9d8c9; }
.global-footer .footer-social { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ffffff26; }
.footer-bottom { display: flex; align-items: start; justify-content: space-between; gap: 40px; margin-top: 54px; padding-top: 25px; border-top: 1px solid #ffffff26; }
.footer-bottom p { max-width: 66ch; margin: 0; font-size: .875rem; line-height: 1.7; }
.footer-bottom p + p { max-width: 46ch; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.1fr .8fr 1.1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; column-gap: 36px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid #ffffff26; }
  .global-footer .footer-logo { grid-row: 1 / 4; margin: -8px 0 0 -12px; }
  .footer-brand p { max-width: none; margin: 7px 0 15px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
@media (max-width: 640px) {
  .global-footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { display: block; }
  .global-footer .footer-logo { width: 250px; max-width: 100%; margin-bottom: 20px; }
  .footer-brand p { max-width: 32ch; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .global-footer .footer-social { display: flex; gap: 24px; }
  .footer-column h2 { margin-bottom: 12px; letter-spacing: .025em; }
  .footer-bottom { margin-top: 36px; }
}
@media (max-width: 370px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .global-footer a { transition: none; } }
