/* ─────────────────────────────────────────
   SECTION — FOOTER · "THE BIG SIGN-OFF" (home.html only for now)
   Modifier on top of footer.css: .footer.footer--signoff
   Countdown · page links · weekend at a glance · meta row ·
   giant "Sílvia & Stian" wordmark cropped by the bottom edge.
   Inspired by the Large Type / dark footers on footer.design.
───────────────────────────────────────── */

.footer--signoff {
  padding: clamp(64px, 10svh, 112px) 0 0;
  overflow: hidden;
  border-top: 0;
}

.footer--signoff .footer-inner {
  display: block;            /* undo footer.css centred column */
  color: var(--cream-50);
}

/* ── top row: countdown + two link columns ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 6svh, 64px);
  border-bottom: 1px solid rgba(253, 250, 244, 0.15);
}

.footer-count {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2em 0.35em;
  font-family: var(--font-display);
  line-height: 1;
}

.footer-count-num {
  font-size: var(--text-h1);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--tracking-display);
}

.footer-count-label {
  color: var(--cream-200);
}

.footer-count-sub {
  margin-top: 14px;
  color: var(--on-inverse-muted);
}

.footer-col-title {
  margin-bottom: 14px;
  color: var(--on-inverse-muted);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--text-body);
  line-height: 2;
}

.footer-list a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible { color: var(--cream-300); }

.footer-list a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-list-day {
  display: inline-block;
  min-width: 4.5em;
  color: var(--on-inverse-muted);
}

/* ── meta row ── */
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  color: var(--on-inverse-muted);
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease);
}

.footer-meta a:hover,
.footer-meta a:focus-visible { color: var(--cream-50); }

/* ── giant wordmark, cropped by the page edge ── */
.footer-word-wrap {
  overflow: hidden;
  font-size: clamp(4rem, 16.5vw, 17rem);
  padding-top: 0.22em;        /* room for the accent on the Í */
}

.footer-word {
  display: block;
  margin: 0 0 -0.3em;         /* pulls the box up so the page edge crops the letters' feet */
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1em;
  line-height: 1;
  letter-spacing: var(--tracking-display);
  white-space: nowrap;
  text-align: center;
  color: var(--cream-50);
}

.footer-word-amp {
  font-family: var(--font-script);
  font-size: 0.55em;
  color: var(--clay-200);
}


/* responsive — tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-count-wrap { grid-column: 1 / -1; }
}


/* responsive — mobile */
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    flex-direction: column;
  }
}
