/* Tejo Prabha Foundation universal footer, scoped and compatible with TPF universal header. */
.tpf-footer {
  --tpf-footer-forest: var(--tpf-color-primary, #173d35);
  --tpf-footer-deep: #10362e;
  --tpf-footer-ink: #f3f9f5;
  --tpf-footer-muted: #bed3c8;
  --tpf-footer-border: rgba(226,246,233,.17);
  --tpf-footer-gold: var(--tpf-color-accent, #e9b05b);
  --tpf-footer-focus: var(--tpf-color-focus, #ffd181);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--tpf-footer-ink);
  background: radial-gradient(ellipse 60% 70% at 100% 17%, rgba(76,131,101,.23), transparent 72%),
              linear-gradient(140deg, #163f35 0%, var(--tpf-footer-deep) 70%);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.tpf-footer, .tpf-footer *, .tpf-footer *::before, .tpf-footer *::after { box-sizing: border-box; }
.tpf-footer a { color: inherit; text-decoration: none; }
.tpf-footer a:focus-visible { outline: 3px solid var(--tpf-footer-focus); outline-offset: 4px; border-radius: 3px; }
.tpf-footer h2, .tpf-footer h3, .tpf-footer p, .tpf-footer ul { margin: 0; }
.tpf-footer ul { padding: 0; list-style: none; }
.tpf-footer__wrap { width: min(calc(100% - 64px), 1240px); margin-inline: auto; }
.tpf-footer__appeal {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  background: #f1f5eb;
  color: #15382f;
  border: 1px solid #e0e8d9;
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 48px) clamp(25px, 4.5vw, 64px);
  transform: translateY(0);
  margin: 48px 0 65px;
  box-shadow: 0 16px 44px rgba(4,18,11,.09);
}
.tpf-footer__appeal::after { content: ""; position: absolute; pointer-events: none; width: 250px; height: 250px; border: 2px solid rgba(116,160,118,.13); border-radius: 50%; top: -154px; right: 16%; box-shadow: 0 0 0 33px rgba(116,160,118,.06), 0 0 0 65px rgba(116,160,118,.04); }
.tpf-footer__appeal-content { position: relative; z-index: 1; max-width: 680px; }
.tpf-footer__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 850; color: #80602a; }
.tpf-footer__sparkle { color: #b17b28; font-size: 17px; }
.tpf-footer__appeal h2 { font-family: Georgia, 'Times New Roman', serif; margin-top: 8px; font-size: clamp(27px, 3.1vw, 42px); letter-spacing: -.027em; line-height: 1.18; font-weight: 700; }
.tpf-footer__appeal p { color: #547062; margin-top: 11px; font-size: 14px; max-width: 550px; line-height: 1.68; }
.tpf-footer__appeal-button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 11px; flex-shrink: 0; min-height: 52px; padding: 12px 23px; border-radius: 10px; background: #e9b05b; color: #27351f !important; box-shadow: 0 4px 0 #c9974d; font-size: 14px; font-weight: 800; white-space: nowrap; transition: background .16s ease, transform .16s ease; }
.tpf-footer__appeal-button:hover { background: #f4c579; transform: translateY(-2px); }
.tpf-footer__main { display: grid; grid-template-columns: minmax(290px, 1.6fr) minmax(130px, .77fr) minmax(175px, 1fr) minmax(180px, 1.05fr); gap: clamp(24px, 3.2vw, 60px); align-items: start; padding-bottom: 56px; }
.tpf-footer__brand { display: inline-flex; align-items: center; gap: 13px; max-width: 100%; }
.tpf-footer__brand img { display: block; width: 57px; height: 57px; object-fit: contain; background: rgba(255,255,255,.94); border-radius: 16px; padding: 4px; flex: none; }
.tpf-footer__monogram { display: grid; place-items: center; width: 57px; height: 57px; background: #e9b05b; color: #173d35; border-radius: 16px 5px 16px 5px; font: 700 27px Georgia, serif; letter-spacing: -.07em; flex: none; }
.tpf-footer__brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.tpf-footer__brand-text strong { font-size: 17px; font-weight: 850; letter-spacing: .055em; color: #fff; white-space: nowrap; }
.tpf-footer__brand-text > span { color: #f0c174; font-size: 11px; font-weight: 750; letter-spacing: .32em; }
.tpf-footer__brand:hover .tpf-footer__brand-text strong { color: #f6d39f; }
.tpf-footer__mission { max-width: 340px; margin-top: 25px !important; color: var(--tpf-footer-muted); font-size: 14px; line-height: 1.85; }
.tpf-footer__slogan { color: #eac181; font-size: 13px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; margin-top: 18px !important; }
.tpf-footer__social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.tpf-footer__social a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 8px; border: 1px solid var(--tpf-footer-border); border-radius: 11px; font-weight: 800; font-size: 17px; color: #f4f8f2; background: rgba(255,255,255,.045); }
.tpf-footer__social a:hover { color: #173d35; background: #e9b05b; }
.tpf-footer__column h3 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em; margin: 5px 0 24px; position: relative; padding-bottom: 14px; }
.tpf-footer__column h3::after { content: ""; position: absolute; width: 30px; height: 2px; background: #e9b05b; bottom: 0; left: 0; border-radius: 2px; }
.tpf-footer__column ul { display: grid; gap: 12px; }
.tpf-footer__column li { line-height: 1.35; }
.tpf-footer__column li a { color: var(--tpf-footer-muted); display: inline-block; padding-block: 3px; transition: color .15s ease, transform .15s ease; }
.tpf-footer__column li a:hover { color: #f6d39f; transform: translateX(3px); }
.tpf-footer__connect p { color: var(--tpf-footer-muted); font-size: 13.5px; line-height: 1.85; margin-top: -3px; margin-bottom: 18px; }
.tpf-footer__connect .tpf-footer__contact { display: block; color: #fff; width: fit-content; max-width: 100%; overflow-wrap: anywhere; margin-bottom: 8px; }
.tpf-footer__connect .tpf-footer__contact:hover { text-decoration: underline; text-underline-offset: 4px; }
.tpf-footer__connect .tpf-footer__location { margin: 12px 0; }
.tpf-footer__contact-cta { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 0; margin-top: 2px; font-weight: 750; color: #f1c176 !important; }
.tpf-footer__contact-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.tpf-footer__newsletter { display: inline-flex; gap: 12px; margin-top: 10px; color: #f1c176 !important; }
.tpf-footer__accountability { margin-top: 24px; }
.tpf-footer__accountability strong { display: block; color: #fff; font-size: 13px; margin-bottom: 10px; }
.tpf-footer__accountability ul { gap: 5px; }
.tpf-footer__bottom { border-top: 1px solid var(--tpf-footer-border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 23px 0 28px; }
.tpf-footer__bottom small { color: #bed3c8; font-size: 12px; }
.tpf-footer__bottom nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.tpf-footer__bottom nav a { color: #d5e2d9; font-size: 12px; }
.tpf-footer__bottom nav a:hover { color: #f8cf92; text-decoration: underline; }
.tpf-footer__backtop { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: #f1c176 !important; font-weight: 750; }
.tpf-footer__backtop span { font-size: 16px; }
.tpf-footer__backtop:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .tpf-footer__main { grid-template-columns: minmax(240px, 1.4fr) 1fr 1fr; gap: 30px 42px; }
  .tpf-footer__connect { grid-column: 2 / span 2; }
  .tpf-footer__connect p { max-width: 380px; }
}
@media (max-width: 720px) {
  .tpf-footer__wrap { width: min(calc(100% - 36px), 600px); }
  .tpf-footer__appeal { flex-direction: column; align-items: flex-start; gap: 23px; border-radius: 17px; padding: 29px 24px 32px; margin: 28px 0 40px; }
  .tpf-footer__appeal h2 { font-size: clamp(27px, 7vw, 35px); }
  .tpf-footer__appeal-button { align-self: stretch; }
  .tpf-footer__main { grid-template-columns: 1fr 1fr; gap: 34px 25px; padding-bottom: 34px; }
  .tpf-footer__brand-column { grid-column: 1 / -1; }
  .tpf-footer__mission { margin-top: 17px !important; }
  .tpf-footer__connect { grid-column: 1 / -1; }
  .tpf-footer__column h3 { margin-bottom: 16px; }
  .tpf-footer__bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 390px) {
  .tpf-footer__wrap { width: calc(100% - 28px); }
  .tpf-footer__appeal { padding: 26px 19px 28px; }
  .tpf-footer__main { gap: 28px 12px; }
  .tpf-footer__brand-text strong { font-size: 15px; }
  .tpf-footer__brand-text > span { font-size: 10px; }
  .tpf-footer__column li a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpf-footer *, .tpf-footer *::before, .tpf-footer *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
