.puck-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(16px, 3vw, 36px);
  padding: clamp(34px, 5vw, 68px) var(--content-inset, 24px) 18px;
  border-top: 1px solid var(--line, #302822);
  background: radial-gradient(ellipse 520px 280px at 14% 0, #2e1b114d, transparent), #0d0b0a;
  color: var(--muted, #b1a9a1);
  font-size: .875rem;
  line-height: 1.5;
}

.puck-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto;
  grid-template-areas: "brand links access";
  align-items: start;
  gap: clamp(26px, 4vw, 64px);
  width: 100%;
  padding-bottom: clamp(26px, 4vw, 50px);
}

.puck-footer-brand { grid-area: brand; }

.puck-footer-brand p {
  max-width: 26ch;
  margin: 10px 0 0;
  font-size: 1rem;
}

.puck-footer-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.puck-footer-links {
  grid-area: links;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(12px, 2.5vw, 32px);
}

.puck-footer-links h2 {
  margin: 0 0 4px;
  color: var(--ink, #f5f0ea);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.5;
}

.puck-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.puck-footer-links a,
.puck-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: inherit;
  font-weight: 500;
}

.puck-footer a:is(:hover, [aria-current="page"]) {
  color: var(--amber, #ff902e);
}

.puck-footer .puck-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.puck-footer-social a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #49372c;
  border-radius: 50%;
  color: var(--ink, #f5f0ea);
}

.puck-footer-social a:hover { border-color: var(--amber, #ff902e); }

.puck-footer .puck-footer-cta {
  grid-area: access;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #8f5530;
  border-radius: 100px;
  color: var(--ink, #f5f0ea);
  font-weight: 700;
}

.puck-footer .puck-footer-cta:hover {
  border-color: var(--amber, #ff902e);
  color: var(--amber, #ff902e);
}

.puck-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 clamp(16px, 3vw, 36px);
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--line, #302822);
}

.puck-footer-legal small {
  margin-right: auto;
  font-size: inherit;
}

.puck-footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(12px, 2.4vw, 28px);
}

@media (max-width: 1050px) {
  .puck-footer-main {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "brand links" "access links";
  }
  .puck-footer-main:not(:has(.puck-footer-cta)) { grid-template-areas: "brand links"; }
  .puck-footer-cta { justify-self: start; }
}

@media (max-width: 700px) {
  .puck-footer-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "brand" "links" "access";
  }
  .puck-footer-main:not(:has(.puck-footer-cta)) { grid-template-areas: "brand" "links"; }
}

@media (max-width: 350px) {
  .puck-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
