/* One directory stylesheet for the static homepage and the Next.js shell. */
.site-foot {
  --foot-rule: #d7d2c8;
  display: block;
  padding: clamp(32px, 4vw, 56px) 0 20px;
  border-top: 1px solid var(--foot-rule);
  background: #f6f4ee;
  color: var(--ink);
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot nav { color: inherit; font: 400 14px/20px Inter, Arial, sans-serif; }
.site-foot h2 {
  margin: 0;
  color: var(--ink);
  font: 400 clamp(30px, 2.8vw, 39px)/1.05 'Instrument Serif', Georgia, serif;
  letter-spacing: -.025em;
}
.site-foot a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.foot-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-bottom: clamp(28px, 3vw, 44px);
}
.foot-brand .wordmark img { width: 146px; }
.foot-brand p {
  max-width: 26ch;
  text-wrap: balance;
  margin: 12px 0 6px;
  color: var(--ink);
  font: 400 18px/1.35 Inter, Arial, sans-serif;
  letter-spacing: -.025em;
}
.foot-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--rust);
  font: 400 11px/18px var(--mono);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.foot-location::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.foot-brand .button { margin-top: 18px; padding: 10px 14px; font-size: 12px; }
.foot-brand .button:hover { color: white; text-decoration: none; }
.foot-work-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 16px; }
.foot-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
.foot-shortcuts a { text-decoration: underline; text-decoration-color: #b8a99b; text-underline-offset: 4px; }
.foot-stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.foot-stories a { display: block; color: var(--ink); }
.foot-stories img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: 5px; background: var(--foot-rule); }
.foot-stories span { display: block; margin-top: 8px; font-weight: 500; letter-spacing: -.02em; }

.foot-stories small { display: block; margin-top: 2px; color: var(--soft); font: 400 12px/18px Inter, Arial, sans-serif; }

.foot-directory { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 64px); }
.foot-directory > nav { border-top: 1px solid var(--rust); padding-top: 16px; }
.foot-directory h2 { margin-bottom: 20px; }
.foot-directory h2 a { display: inline-flex; align-items: center; gap: 10px; }
.foot-directory h2 a::after {
  content: '';
  width: 8px; height: 8px;
  border: solid var(--rust);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.foot-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.foot-industries .foot-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-foot .foot-sub { color: var(--rust); font: 500 14px/19px Inter, Arial, sans-serif; letter-spacing: -.015em; margin: 0 0 9px; }
.foot-groups li a { display: inline-block; padding: 4px 0; color: #4c4943; }

.foot-agency, .foot-legal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--foot-rule); }
.site-foot .foot-agency { margin: 28px 0 0; padding: 17px 0; }
.foot-agency h2 { font: 400 11px/16px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--rust); }
.foot-agency ul, .foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-agency a, .foot-legal a { display: inline-block; padding: 4px 0; }
.foot-legal { justify-content: space-between; padding-top: 12px; color: var(--soft); font: 400 11px/16px var(--mono); }
.site-foot .foot-legal nav { font: inherit; }

@media (max-width: 1000px) {
  .foot-directory { grid-template-columns: 1fr; gap: 26px; }
  .foot-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .foot-opening { grid-template-columns: 1fr; gap: 28px; }
  .foot-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .foot-brand .wordmark { justify-self: start; }
  .foot-brand .wordmark img { width: 120px; }
  .foot-brand p, .foot-location { grid-column: 1 / -1; }
  .foot-brand .button { grid-area: 1 / 2; margin: 6px 0 0; }
  .foot-groups { column-gap: 16px; }
  .foot-groups li a { padding-block: 6px; }
}
@media (max-width: 600px) {
  .foot-stories, .foot-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-industries .foot-groups { grid-template-columns: 1fr; gap: 20px; }
  .foot-industries ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .foot-industries .foot-sub { margin-bottom: 5px; }
  .foot-stories { gap: 15px 14px; }
  .foot-stories img { aspect-ratio: 2.1; }
  .foot-work-head { align-items: start; flex-direction: column; }
  .foot-agency { align-items: start; flex-direction: column; }
  .foot-agency ul { gap: 6px 18px; }
}
