@font-face { font-family: 'Sacramento'; src: url('../assets/fonts/sacramento-regular.woff2') format('woff2'); font-display: block; }

/* Shared site footer: quick links, big email, link columns and a giant name
   that lights up under the cursor. Always dark, in both themes. */
.big-footer {
  --bf-bg: #07110d;
  --bf-ink: #ecf4f0;
  --bf-muted: #8d9a94;
  --bf-line: rgba(236, 244, 240, 0.12);
  --bf-accent: #4FC89A;
  position: relative;
  margin: 0 calc(50% - 50vw);
  padding: clamp(40px, 6vw, 72px) max(24px, calc((100vw - 1200px) / 2)) 0;
  background: var(--bf-bg);
  color: var(--bf-ink);
  overflow: hidden;
  font-family: 'Geist', 'Inclusive Sans', system-ui, sans-serif;
}
.portfolio .big-footer { margin-top: 64px; margin-bottom: -30px; }

.big-footer a { color: inherit; text-decoration: none; }
.big-footer a:focus-visible { outline: 2px solid var(--bf-accent); outline-offset: 4px; border-radius: 4px; }

/* Quick links row */
.big-footer__quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--bf-line);
  border-bottom: 1px solid var(--bf-line);
}
.big-footer__quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 4px;
  font-size: 14px;
  color: var(--bf-ink);
  transition: color 0.25s;
}
.big-footer__quick a + a { padding-left: 20px; border-left: 1px solid var(--bf-line); }
.big-footer__quick a span { color: var(--bf-accent); transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .big-footer__quick a:hover { color: var(--bf-accent); }
  .big-footer__quick a:hover span { transform: translateX(4px); }
  .big-footer__cols a:hover, .big-footer__email:hover { color: var(--bf-accent); }
}

/* Email, blurb and columns */
.big-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  padding: clamp(36px, 5vw, 56px) 0 clamp(20px, 3vw, 32px);
}
.big-footer__email {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bf-accent) !important;
  word-break: break-word;
}

.big-footer .big-footer__blurb { max-width: 420px; margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--bf-muted); }
.big-footer .big-footer__copy { margin: 18px 0 0; font-size: 12px; color: var(--bf-muted); }
.big-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.big-footer .big-footer__cols h3 { margin: 0 0 14px; font-family: inherit; font-size: 12px; font-weight: 500; font-style: normal; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bf-muted); }
.big-footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.big-footer__cols li, .big-footer__cols a { font-size: 14px; color: var(--bf-ink); transition: color 0.25s; }

/* Giant handwritten name. A soft light follows the cursor (footer.js moves the gradient). */
.big-footer__mark { display: block; width: 100%; height: auto; margin: 0 0 -4%; overflow: visible; user-select: none; }
.big-footer__mark text {
  font-family: 'Sacramento', cursive;
  font-size: 272px;
  stroke-width: 10;
  stroke-linejoin: round;
  paint-order: stroke;
}
/* Solid colours so overlapping strokes never show seams; the light is applied as a mask. */
.big-footer__mark .bf-base { fill: #13241d; stroke: #13241d; }
.big-footer__mark .bf-glow { fill: #b8f0d6; stroke: #b8f0d6; }
.big-footer .big-footer__hint { margin: 0; padding: 0 0 8px; font-size: 12px; text-align: center; color: var(--bf-muted); }

@media (max-width: 760px) {
  .big-footer__quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .big-footer__quick a:nth-child(3) { padding-left: 4px; border-left: 0; }
  .big-footer__quick a:nth-child(n + 3) { border-top: 1px solid var(--bf-line); }
  .big-footer__main { grid-template-columns: 1fr; }
  .big-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) { .portfolio .big-footer { margin-bottom: -30px; } }
