.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 72px) 0 22px;
  border-top: 1px solid var(--accent);
  background: oklch(15.5% .006 67);
  color: var(--ink);
}

.footer-callout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  min-height: clamp(390px, 38vw, 500px);
  border: 1px solid var(--line);
}

.footer-callout-image {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface);
}

.footer-callout-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 58%, oklch(15.5% .006 67 / .44));
  content: '';
  pointer-events: none;
}

.footer-callout-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(.9) contrast(1.04);
  transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .7s cubic-bezier(.16, 1, .3, 1);
}

.footer-callout:hover .footer-callout-image img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}

.footer-callout-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 84px);
}

.footer-kicker {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}

.footer-callout h2 {
  max-width: 700px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .96;
}

.footer-callout h2 em {
  color: var(--accent);
  font-style: normal;
}

.footer-callout-copy > p:last-of-type {
  max-width: 510px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 28px;
}

.footer-actions .button {
  min-height: 50px;
  color: var(--on-accent);
}

.footer-actions .text-link {
  min-height: 50px;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: 1.1fr .65fr 1.25fr .8fr;
  gap: clamp(34px, 5vw, 76px);
  padding-block: clamp(50px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-brand {
  width: max-content;
  margin: 0 0 23px;
}

.site-footer .footer-brand .brand-logo {
  width: 54px;
  height: 54px;
}

.site-footer .footer-brand > span:not(.sr-only) {
  color: var(--ink);
}

.site-footer .footer-brand small {
  color: var(--muted);
}

.footer-address {
  position: relative;
  padding-right: 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-address span {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent);
  transition: transform .25s ease;
}

.footer-address:hover {
  color: var(--ink);
}

.footer-address:hover span {
  transform: translate(3px, -3px);
}

.site-footer .footer-main h3 {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer .footer-navigation,
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .footer-navigation a,
.site-footer .footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .footer-navigation a:hover,
.site-footer .footer-contact > a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}

.site-footer .footer-main .hours > div {
  display: grid;
  grid-template-columns: minmax(128px, 1fr) auto;
  gap: 20px;
  margin-top: 0;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.site-footer .footer-main .hours > div:first-child {
  padding-top: 0;
}

.site-footer .footer-main .hours strong {
  max-width: none;
  color: var(--ink);
  line-height: 1.55;
}

.site-footer .footer-main .hours span {
  color: var(--muted);
  line-height: 1.55;
  text-align: right;
}

.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: 76px;
  margin-top: 0;
  border-top: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-copyright,
.footer-credit {
  white-space: nowrap;
}

.footer-credit {
  justify-self: end;
}

.footer-credit strong {
  color: var(--accent);
  font-weight: 600;
}

.footer-utilities,
.footer-bottom nav {
  display: flex;
  align-items: center;
}

.footer-utilities {
  gap: 26px;
}

.footer-bottom nav {
  gap: 22px;
}

.footer-bottom nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-bottom a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.site-footer .footer-bottom #motion-toggle {
  gap: 9px;
  min-height: 44px;
  padding: 0 0 0 26px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition: color .25s cubic-bezier(.16, 1, .3, 1);
}

.site-footer .footer-bottom #motion-toggle:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 1023px) {
  .footer-callout {
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  }

  .footer-callout h2 {
    font-size: clamp(44px, 6vw, 62px);
  }

  .site-footer .footer-main {
    grid-template-columns: .9fr .75fr 1.35fr;
    gap: 46px;
  }

  .site-footer .footer-main .footer-hours {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .site-footer .footer-main .footer-contact {
    grid-column: 2;
  }

  .site-footer .footer-bottom {
    grid-template-columns: minmax(210px, 1fr) auto;
    gap: 24px;
  }

  .footer-credit {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 24px 0 calc(91px + env(safe-area-inset-bottom));
  }

  .footer-callout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .footer-callout-image {
    min-height: 240px;
  }

  .footer-callout-image::after {
    background: linear-gradient(0deg, oklch(15.5% .006 67 / .45), transparent 48%);
  }

  .footer-callout-copy {
    padding: 38px 24px 34px;
  }

  .footer-kicker {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .footer-callout h2 {
    font-size: clamp(43px, 13vw, 62px);
    line-height: .96;
  }

  .footer-callout-copy > p:last-of-type {
    max-width: 430px;
    margin-top: 22px;
    font-size: 14px;
  }

  .footer-actions {
    margin-top: 21px;
  }

  .footer-actions .button {
    width: 100%;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
    padding-block: 44px 40px;
  }

  .site-footer .footer-main .footer-identity {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .site-footer .footer-main .footer-navigation,
  .site-footer .footer-main .footer-contact {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer .footer-main .footer-hours {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .site-footer .footer-main .hours > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    font-size: 12px;
  }

  .site-footer .footer-main .hours strong {
    max-width: 150px;
  }

  .site-footer .footer-contact > a {
    min-height: 44px;
  }

  .site-footer .footer-navigation a {
    min-height: 44px;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 0;
    padding-top: 22px;
    margin-top: 0;
    font-size: 11px;
  }

  .footer-utilities {
    grid-row: 1;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
  }

  .footer-bottom nav a {
    min-height: 44px;
  }

  .footer-copyright {
    grid-row: 2;
    padding-top: 10px;
  }

  .site-footer .footer-bottom #motion-toggle {
    padding-left: 16px;
  }

  .footer-credit {
    display: block;
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    padding-bottom: 2px;
  }
}

@media (max-width: 359px) {
  .footer-callout h2 {
    font-size: 40px;
  }

  .site-footer .footer-main .hours > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer .footer-main .hours span {
    text-align: left;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-main .footer-identity,
  .site-footer .footer-main .footer-hours {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-address span,
  .footer-callout-image img {
    transition: none;
  }

  .footer-callout:hover .footer-callout-image img {
    transform: none;
  }
}
