/* ============================================================
   FOOTER — v4 reference design
   Source: evolved-home-v3.html lines 325–343.
   No body.light selectors in the source block — all colors
   are CSS custom properties that flip with the :root.light theme.
   ============================================================ */

footer {
  border-top: var(--hair) solid var(--hair-color);
}

.foot {
  padding-block: clamp(56px, 8vh, 92px);
  align-items: start;
}

.foot__brand {
  grid-column: 1 / 5;
}

/* footer wordmark — one line, mixed-case (EB Garamond 26/400) */
.foot__brand .foot__mark {
  display: inline-block;
  font-family: var(--wordmark);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--text);
  transition: color .2s;
}

.foot__brand .foot__mark:hover {
  color: var(--accent);
}

.foot__brand p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 32ch;
  margin-top: 18px;
  line-height: 1.5;
}

.foot__col {
  grid-column: span 2;
}

.foot__col.contact {
  grid-column: 9 / 13;
}

.foot h4 {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.foot a {
  display: block;
  font-family: var(--ui);
  font-size: 13px;
  line-height: 2.1;
  color: var(--text);
  transition: color .2s;
}

.foot a:hover {
  color: var(--accent);
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.colophon a:hover {
  color: var(--accent);
}

/* ---------- responsive ---------- */
/* Source: evolved-home-v3.html @media(max-width:860px) + @media(max-width:600px) */
@media (max-width: 860px) {
  .foot__brand { grid-column: 1 / 13; }
  .foot__col { grid-column: span 4; }
  .foot__col.contact { grid-column: span 12; }
}

@media (max-width: 600px) {
  .foot__col { grid-column: span 6; }
}
