﻿.foot {
  position: relative;
  background: #141210;
  color: rgba(232, 226, 214, 0.66);
  padding: clamp(64px, 9vh, 110px) 0 44px;
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,167,108,0.3), transparent);
}
.foot::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 95%, rgba(176,141,87,0.06), transparent 65%);
  animation: sectionGlow 32s ease-in-out infinite reverse;
  pointer-events: none; z-index: 0;
}
.foot-top, .foot-cols, .foot-bottom {
  position: relative; z-index: 3;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}
/* foot-top is hidden when foot-lede has been removed from HTML */
.foot-top:empty { display: none; }
.foot-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(196, 167, 108, 0.08);
}
.foot-mark-wrap {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 22px);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s var(--ease-out);
}
.foot-mark-wrap:hover { opacity: 0.88; }
.foot-logo {
  display: block;
  height: clamp(48px, 5vw, 72px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}
.foot-mark-wrap:hover .foot-logo { opacity: 1; }
.foot-mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95;
  color: var(--warm-white);
  letter-spacing: -0.015em;
  display: block;
}
.foot-lede {
  max-width: 52ch;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 226, 214, 0.55);
  margin: 0;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 40px;
  padding-top: 52px;
  padding-bottom: 52px;
  align-items: start;
  border-bottom: 1px solid rgba(196, 167, 108, 0.08);
}
.foot-col {
  display: flex; flex-direction: column; gap: 10px;
}
/* Brand column — logo + name as footer stamp */
.foot-col--brand {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.foot-brand-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: stretch;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.4s var(--ease-out);
}
.foot-brand-link:hover { opacity: 0.85; }
.foot-brand-img {
  display: block;
  height: 100%;
  max-height: clamp(160px, 16vw, 240px);
  min-height: 140px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.4s;
}
.foot-brand-link:hover .foot-brand-img { opacity: 1; }
.foot-col-label {
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-pale);
  margin-bottom: 6px;
}
.foot-col a {
  font-family: var(--font-display);
  font-size: 17px;
  color: rgba(232, 226, 214, 0.78);
  padding: 4px 0;
  transition: color 0.35s, padding-left 0.5s var(--ease-out);
}
.foot-col a:hover { color: var(--bronze-pale); padding-left: 4px; }

.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  font-family: var(--font-sc);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
}
#footer-copy em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12em;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--bronze-pale);
  margin: 0 0.15em;
}

@media (max-width: 860px) {
  .foot-top { padding-bottom: 36px; }
  .foot-lede { font-size: 14px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-col--brand {
    grid-column: span 2;
    order: 99;                    /* push brand to last on mobile */
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(196, 167, 108, 0.10);
    margin-top: 8px;
  }
  .foot-brand-link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .foot-brand-img {
    height: 96px;
    max-height: 96px;
    min-height: 0;
  }
}
@media (max-width: 520px) {
  .foot-cols { grid-template-columns: 1fr; }
  .foot-col--brand { grid-column: span 1; }
  .foot-bottom { justify-content: flex-start; }
  .foot-brand-img { height: 88px; max-height: 88px; }
}


