/* ==========================================================================
   Site footer — compact, straight-edged, over a flowing liquid background.
   Markup: includes/site-footer.php. Shader: assets/js/footer.js (the canvas
   sits behind everything; without WebGL the gradient below shows instead).
   ========================================================================== */

.jh-ft {
  --ft-cream: #f3ede1;
  --ft-muted: rgba(243, 237, 225, .68);
  --ft-line: rgba(243, 237, 225, .16);
  --ft-leaf: #b5d29a;
  --ft-serif: var(--heading-font-font-family, "Cormorant Garamond"), Georgia, serif;
  --ft-sans: var(--body-font-font-family, "adelle-sans"), "Helvetica Neue", Arial, sans-serif;
  --ft-gutter: clamp(20px, 5vw, 72px);

  position: relative; isolation: isolate; overflow: hidden;
  margin: 0;
  background: radial-gradient(120% 140% at 80% 0%, #24412b 0%, #142619 55%, #0e1b12 100%);
  color: var(--ft-cream);
  font-family: var(--ft-sans);
}
.jh-ft *, .jh-ft *::before, .jh-ft *::after { box-sizing: border-box; }
.jh-ft h2, .jh-ft h3, .jh-ft p, .jh-ft ul, .jh-ft address { margin: 0; padding: 0; }
.jh-ft a:focus-visible { outline: 2px solid var(--ft-leaf); outline-offset: 4px; }

/* liquid background + a soft veil so text always reads */
.jh-ft__liquid { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s ease; }
.jh-ft__liquid.is-on { opacity: 1; }
.jh-ft::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 20, 13, .35) 0%, rgba(10, 20, 13, .15) 40%, rgba(10, 20, 13, .55) 100%);
}

.jh-ft__in { width: min(1180px, 100% - 2 * var(--ft-gutter)); margin-inline: auto; }

/* ---------- call to action ---------- */
.jh-ft__cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px;
  padding: clamp(64px, 10vh, 96px) 0 clamp(28px, 4vh, 40px);
  border-bottom: 1px solid var(--ft-line);
}
.jh-ft .jh-ft__title {
  font-family: var(--ft-serif); font-weight: 600;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.015em;
  color: var(--ft-cream);
}
.jh-ft__title em { font-style: italic; font-weight: 500; color: var(--ft-leaf); }
.jh-ft__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
.jh-ft__btn {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; background: var(--ft-cream); color: #142619 !important;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none !important;
  transition: background-color .3s ease, transform .3s ease;
}
.jh-ft__btn:hover { background: var(--ft-leaf); transform: translateY(-2px); }
.jh-ft__ghost {
  font-size: 15px; font-weight: 600; color: var(--ft-cream) !important; text-decoration: none !important;
  padding-bottom: 3px; border-bottom: 1px solid rgba(243, 237, 225, .5);
  transition: color .25s ease, border-color .25s ease;
}
.jh-ft__ghost span { display: inline-block; transition: transform .3s ease; }
.jh-ft__ghost:hover { color: var(--ft-leaf) !important; border-color: var(--ft-leaf); }
.jh-ft__ghost:hover span { transform: translateX(4px); }

/* ---------- columns ---------- */
.jh-ft__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4.5vh, 44px) 0;
}
.jh-ft__logo { display: inline-block; text-decoration: none !important; }
.jh-ft__logo img { display: block; width: 280px; max-width: 100%; height: auto; transition: opacity .3s ease; }
.jh-ft__logo:hover img { opacity: .85; }
.jh-ft__logo:focus-visible { outline: 2px solid var(--ft-leaf); outline-offset: 6px; border-radius: 4px; }
.jh-ft__name { font-family: var(--ft-serif); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--ft-cream); }
.jh-ft__tag { margin-top: 10px !important; max-width: 30ch; font-size: 14px; line-height: 1.6; color: var(--ft-muted); }
.jh-ft .jh-ft__label {
  margin-bottom: 12px; font-family: var(--ft-sans); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1.2; color: var(--ft-leaf);
}
.jh-ft__text { font-style: normal; font-size: 15px; line-height: 1.6; color: var(--ft-muted); }
.jh-ft__phone {
  display: inline-block; margin-bottom: 4px;
  font-family: var(--ft-sans); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ft-cream) !important; text-decoration: none !important;
}
.jh-ft__phone:hover { color: var(--ft-leaf) !important; }
.jh-ft__link, .jh-ft__links a, .jh-ft__top {
  color: var(--ft-cream) !important; text-decoration: none !important;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease, color .25s ease;
}
.jh-ft__link:hover, .jh-ft__links a:hover, .jh-ft__top:hover { background-size: 100% 1px; color: var(--ft-leaf) !important; }
.jh-ft__link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; padding-bottom: 2px; }
.jh-ft__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.jh-ft__links li { margin: 0; padding: 0; }
.jh-ft__links li::before { display: none; }
.jh-ft__links a { font-size: 17px; font-weight: 500; padding-bottom: 1px; }
.jh-ft__links a.is-active { color: var(--ft-leaf) !important; }

/* ---------- bottom bar ---------- */
.jh-ft__base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px;
  padding: 18px 0 22px; border-top: 1px solid var(--ft-line);
  font-size: 13px; color: var(--ft-muted);
}
.jh-ft__top { font-weight: 600; font-size: 13px; padding-bottom: 1px; }
.jh-ft__top span { display: inline-block; transition: transform .3s ease; }
.jh-ft__top:hover span { transform: translateY(-3px); }

@media (max-width: 900px) {
  .jh-ft__cols { grid-template-columns: 1fr 1fr; }
  .jh-ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .jh-ft__cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .jh-ft__cols > nav { grid-column: 1 / -1; }
  .jh-ft__phone { font-size: 19px; }
  .jh-ft__cta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .jh-ft__liquid { transition: none; }
}
