/* =========================================================
   FOOTER.CSS
   Styles for the shared footer injected by footer.js.
   Uses the same design tokens as the rest of the site
   (light mode only). Falls back to sensible defaults via
   var(--token, fallback) in case this file loads on a page
   before navbar.css / the site's root stylesheet defines them.
   ========================================================= */

.site-footer{
  background:var(--bg-2, #ff7300);
  border-top:1px solid var(--line-soft, rgba(35,26,16,.07));
  color:var(--text-dim, #786757);
  font-family:'Inter', sans-serif;
  margin-top:0;
}

.footer-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:64px 32px 32px;
}

/* ---------- Top grid ---------- */
.footer-top{
  display:grid;
  grid-template-columns:1.6fr repeat(4, 1fr);
  gap:32px;
  padding-bottom:48px;
}

.footer-brand .logo{ margin-bottom:16px; }
.footer-brand .logo-img{ height:70px; width:auto; display:block; }

.footer-tagline{
  font-size:13.5px;
  line-height:1.65;
  color:var(--text-dim, #786757);
  max-width:280px;
  margin-bottom:22px;
}

.footer-social{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  border:1px solid var(--line, rgba(35,26,16,.12));
  color:var(--text-dim, #786757);
  transition:border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.footer-social a:hover{
  border-color:var(--orange-bright, #EA580C);
  color:var(--orange-bright, #EA580C);
  box-shadow:0 0 16px -4px rgba(234,88,12,.4);
}

.footer-col-title{
  font-family:'IBM Plex Mono', monospace;
  font-size:15px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#ff8800;
  margin-bottom:16px;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  font-size:13.5px;
  color:var(--text-dim, #000000);
  text-decoration:none;
  transition:color .18s ease;
  width:fit-content;
}
.footer-links a:hover{
  color:var(--orange-bright, #EA580C);
}

/* ---------- CTA row ---------- */
.footer-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  padding:24px 28px;
  border:1px solid var(--line, rgba(35,26,16,.12));
  border-radius:12px;
  background:var(--bg, #FFFFFF);
  margin-bottom:32px;
}
.footer-cta-text{
  font-family:'Fraunces', serif;
  font-weight:400;
  font-style:italic;
  font-size:18px;
  color:var(--text, #231A10);
}
.footer-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 22px;
  border-radius:2px;
  background:var(--orange, #EA580C);
  color:#FFFFFF;
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:13.5px;
  text-decoration:none;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow:0 6px 18px rgba(234,88,12,.25);
}
.footer-cta-btn:hover{
  background:var(--orange-bright, #EA580C);
  transform:translateY(-2px);
  box-shadow:0 10px 26px rgba(234,88,12,.4);
}

/* ---------- Bottom bar ---------- */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  padding-top:24px;
  border-top:1px solid var(--line-soft, rgba(35,26,16,.07));
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px;
  color:var(--text-dim, #786757);
}
.footer-bottom-links{
  display:flex;
  gap:22px;
}
.footer-bottom-links a{
  color:var(--text-dim, #786757);
  text-decoration:none;
  transition:color .18s ease;
}
.footer-bottom-links a:hover{
  color:var(--orange-bright, #EA580C);
}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .footer-top{
    grid-template-columns:1fr 1fr 1fr;
  }
  .footer-brand{
    grid-column:1 / -1;
    margin-bottom:12px;
  }
}

@media(max-width:640px){
  .footer-wrap{ padding:48px 24px 24px; }
  .footer-top{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }
  .footer-cta{
    flex-direction:column;
    align-items:flex-start;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}