/* ASAP Consulting - site footer, shared by every page */

.site-footer{background:var(--ink);color:var(--grey-light);padding:clamp(52px,6vw,76px) 0 0}
.site-footer a{color:var(--grey-light);text-decoration:none;transition:color .2s}
.site-footer a:hover{color:var(--white)}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:clamp(28px,4vw,56px);
  padding-bottom:clamp(38px,5vw,56px)}
.foot-brand .brand img{height:48px;width:auto}
.foot-brand p{margin:22px 0 0;font-size:15.5px;line-height:1.6;max-width:34ch}
.foot-col h3{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  color:var(--white);margin:0 0 18px}
.foot-col ul{list-style:none;margin:0;padding:0}
.foot-col li{margin-bottom:10px;font-size:15.5px;line-height:1.5}
.foot-col button{
  background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:15.5px;
  color:var(--grey-light);text-align:left;transition:color .2s;
}
.foot-col button:hover{color:var(--white)}
.foot-contact li{font-family:var(--mono);font-size:13.5px;letter-spacing:.02em;overflow-wrap:anywhere}
.foot-bar{border-top:1px solid var(--grey-dark);padding:22px 0 26px;
  display:flex;flex-wrap:wrap;gap:12px 26px;align-items:center;justify-content:space-between}
.foot-bar small{font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-light)}

/* ---------- studio credit ---------- */
.foot-credit{border-top:1px solid var(--grey-dark);padding:28px 0 32px;text-align:center}
.foot-credit a{display:inline-block;text-decoration:none}
.foot-credit .name{display:inline-flex;align-items:baseline;gap:9px;justify-content:center}
.foot-credit .name b{
  font-family:var(--display);font-weight:640;font-size:15px;letter-spacing:.34em;text-transform:uppercase;
  color:var(--grey-light);
  /* the tracking leaves a space after the last letter, so the underline
     would overshoot. This pulls it back to end on the A. */
  margin-right:-.34em;
  border-bottom:1px solid transparent;padding-bottom:3px;
  transition:color .22s,border-color .22s;
}
.foot-credit .name i{
  font-family:var(--mono);font-style:normal;font-size:12px;color:var(--red);
  transition:transform .22s;
}
.foot-credit .what{
  display:block;margin-top:10px;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--grey-light);
}
.foot-credit a:hover .name b,
.foot-credit a:focus-visible .name b{color:var(--white);border-bottom-color:var(--red)}
.foot-credit a:hover .name i,
.foot-credit a:focus-visible .name i{transform:translate(2px,-2px)}

/* Touch screens have no hover, so the line is always shown there. */
@media(hover:none){
  .foot-credit .name b{border-bottom-color:var(--grey-dark)}
}

@media(max-width:900px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:36px}
  .foot-brand{grid-column:1 / -1}
}
/* On a phone the back to top button floats over the bottom right corner,
   so the credit needs room beneath it. */
@media(max-width:560px){
  .foot-grid{grid-template-columns:1fr}
  .foot-credit{padding-bottom:80px}
  .foot-credit .name b{font-size:14px;letter-spacing:.3em;margin-right:-.3em}
  .foot-credit .what{font-size:10px;letter-spacing:.12em}
}
@media(prefers-reduced-motion:reduce){
  .foot-credit a:hover .name i{transform:none}
}
