/* The Spaces directory: local to this page, shared menu/inert behavior retained. */
.site-foot.spaces-footer {
  background: var(--space-paper);
  color: var(--space-ink);
  padding: clamp(58px, 7vw, 112px) var(--space-gutter) 24px;
  border-top: 1px solid var(--space-line);
  scroll-margin-top: 30px;
}
.spaces-footer .sf-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 64px);
}
.spaces-footer .sf-eyebrow {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.spaces-footer h2 {
  margin: 0;
  font: clamp(62px, 7.4vw, 118px)/.98 var(--space-serif);
  letter-spacing: -.045em;
}
.spaces-footer h2 em { font-weight: inherit; }
.spaces-footer .sf-directory {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
}
.spaces-footer .sf-preview { margin: 0; min-width: 0; }
.spaces-footer .sf-image-frame {
  position: relative;
  aspect-ratio: 1.22;
  padding: 10px;
  border: 1px solid #0d0f1029;
}
.spaces-footer .sf-images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #c3c3b9;
}
.spaces-footer .sf-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .45s ease, transform .8s cubic-bezier(.2,.65,.3,1);
}
.spaces-footer .sf-images img.is-visible { opacity: 1; transform: scale(1); }
.spaces-footer .sf-preview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0 0;
  color: #535852;
  font-size: 11px;
  line-height: 1.5;
}
.spaces-footer .sf-preview-name { color: var(--space-ink); }
.site-foot.spaces-footer .sf-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--space-line);
}
.spaces-footer .sf-link {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  min-height: clamp(91px, 8.2vw, 132px);
  padding: 17px 0;
  border-bottom: 1px solid var(--space-line);
  color: var(--space-ink);
  text-decoration: none;
}
.spaces-footer .sf-number { align-self: start; padding-top: 8px; font-size: 10px; color: #636961; }
.spaces-footer .sf-link-copy { display: flex; flex-direction: column; align-items: start; gap: 6px; }
.spaces-footer .sf-link-name {
  font: clamp(38px, 4.1vw, 66px)/.95 var(--space-serif);
  letter-spacing: -.035em;
  transition: transform .35s cubic-bezier(.2,.65,.3,1);
}
.spaces-footer .sf-link-detail { color: #535852; font-size: 11px; line-height: 1.4; }
.spaces-footer .sf-current { font-size: 9px; margin-left: 10px; letter-spacing: .025em; white-space: nowrap; }
.spaces-footer .sf-current::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin: 0 5px 2px 0;
  background: #535852;
}
.spaces-footer .sf-link::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: var(--space-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.65,.3,1);
}
.spaces-footer .sf-link.is-previewed::after { transform: scaleX(1); }
.spaces-footer .sf-thumb { display: none; }
.spaces-footer .sf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: 22px;
  border-top: 1px solid var(--space-line);
  color: #535852;
  font-size: 11px;
  line-height: 1.6;
}
.spaces-footer .sf-bottom-links { display: flex; align-items: center; gap: 28px; }
.spaces-footer .sf-bottom a { color: var(--space-ink); padding: 12px 0; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.spaces-footer a:focus-visible { outline: 1px solid var(--space-ink); outline-offset: 5px; }
.site-foot.spaces-footer a:hover { color: var(--space-ink); }
@media (hover: hover) and (pointer: fine) {
  .spaces-footer .sf-link:hover .sf-link-name,
  .spaces-footer .sf-link:focus-visible .sf-link-name { transform: translateX(8px); }
  .spaces-footer .sf-bottom a:hover { text-decoration: underline; }
}
@media (min-width: 1500px) {
  .spaces-footer .sf-directory { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spaces-footer .sf-image-frame { aspect-ratio: 1.55; }
}
@media (max-width: 700px) {
  .site-foot.spaces-footer { padding-top: 46px; }
  .spaces-footer .sf-heading { display: block; margin-bottom: 32px; }
  .spaces-footer .sf-eyebrow { display: block; margin-bottom: 24px; }
  .spaces-footer h2 { font-size: clamp(58px, 12vw, 82px); }
  .spaces-footer .sf-directory { display: block; }
  .spaces-footer .sf-preview { display: none; }
  .spaces-footer .sf-link {
    grid-template-columns: 20px minmax(0, 1fr) 72px;
    gap: 8px;
    min-height: 108px;
    padding: 17px 0;
  }
  .spaces-footer .sf-number { padding-top: 5px; font-size: 9px; }
  .spaces-footer .sf-link-name { font-size: clamp(36px, 7.4vw, 50px); }
  .spaces-footer .sf-link-detail { font-size: 10px; }
  .spaces-footer .sf-current { margin-left: 5px; font-size: 8px; }
  .spaces-footer .sf-thumb { display: block; width: 72px; height: 68px; object-fit: cover; }
  .spaces-footer .sf-bottom { margin-top: 32px; gap: 4px 18px; font-size: 10px; }
  .spaces-footer .sf-bottom-links { width: 100%; justify-content: space-between; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .spaces-footer .sf-images img,
  .spaces-footer .sf-link-name,
  .spaces-footer .sf-link::after { transition: none; transform: none; }
  .spaces-footer .sf-link::after { opacity: 0; }
  .spaces-footer .sf-link.is-previewed::after { opacity: 1; }
  .spaces-footer .sf-link:hover .sf-link-name,
  .spaces-footer .sf-link:focus-visible .sf-link-name { transform: none; }
}
.motion-paused .spaces-footer .sf-images img,
.motion-paused .spaces-footer .sf-link-name,
.motion-paused .spaces-footer .sf-link::after { transition: none; }
.motion-paused .spaces-footer .sf-images img,
.motion-paused .spaces-footer .sf-link:hover .sf-link-name,
.motion-paused .spaces-footer .sf-link:focus-visible .sf-link-name { transform: none; }
