/* The homepage footer, shared with every private portfolio page. */
.portfolio-footer {
  --footer-ground: #f4f1e9;
  --footer-ink: #15140e;
  --footer-muted: #706a60;
  --footer-line: rgba(20,18,12,.12);
  --footer-gold: #a9781e;
  --footer-accent: #8a6116;
  --footer-gutter: clamp(24px,5vw,80px);
  position: relative;
  overflow: hidden;
  padding: clamp(56px,8vw,120px) 0 44px;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-ground);
  color: var(--footer-ink);
  font: 400 16px/1.65 "SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Roboto,Helvetica,sans-serif;
}
[data-theme="dark"] .portfolio-footer {
  --footer-ground: var(--portfolio-dark);
  --footer-ink: #f3f0e9;
  --footer-muted: #a49c8f;
  --footer-line: rgba(240,232,214,.1);
  --footer-gold: #e4b44a;
  --footer-accent: #f0ce7a;
}
.portfolio-footer .wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--footer-gutter); }
.portfolio-footer .glowline { position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--footer-gold),transparent); opacity: .5; }
.portfolio-footer a { color: inherit; text-decoration: none; }
.portfolio-footer .foot-cta { margin: 0; font-size: clamp(2rem,1rem + 4.4vw,4.4rem); line-height: 1.65; letter-spacing: -.04em; font-weight: 850; max-width: 16ch; }
.portfolio-footer .foot-cta a { color: var(--footer-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: color-mix(in srgb,var(--footer-gold) 55%,transparent); }
.portfolio-footer .foot-cta a:hover { text-decoration-color: var(--footer-gold); }
.portfolio-footer .foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--footer-line); font: 400 .7rem/1.65 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--footer-muted); }
.portfolio-footer .foot-meta a:hover { color: var(--footer-accent); }
.portfolio-footer :focus-visible { outline: 2px solid var(--footer-gold); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 700px) {
  .portfolio-footer { --footer-gutter: 26px; }
  .portfolio-footer .foot-meta { overflow-wrap: anywhere; }
}
