/* Shared page furniture - loaded by BOTH home.html and index.html, after each
   page's own stylesheet so these rules win.

   One thing lives here: the single shared footer.

   Both pages define the same design tokens (--cream, --light-cream, --brown,
   --sand, --terracotta, --terracotta-deep, --line, --serif, --sans, --ease)
   with the same values, so anything scoped to this block renders identically
   on Home and About. Type sizes are declared locally rather than borrowed from
   each page's own scale, because home.css redefines --fs-caption / --fs-label
   at its 900px and 520px breakpoints while style.css has no such tokens - the
   footer would otherwise drift between the two pages. */

/* ---------------------------------------------------------------------------
   Shared footer
   Structure, spacing, type and content are identical on Home and About. The
   markup lives in one place - the SANTE_FOOTER_HTML template in script.js -
   so future footer edits are made once and both pages follow.
   --------------------------------------------------------------------------- */

.site-footer {
  --footer-label: .6875rem;
  --footer-caption: .78125rem;
  --footer-item: .8125rem;
  padding: 30px 0 18px;
  background: var(--brown);
  color: var(--light-cream);
}

.site-footer :focus-visible {
  outline-color: var(--sand);
}

/* Three columns - brand, connect, explore - all starting on the same top
   line. Column widths are deliberate so the block reads balanced rather than
   evenly split against a wider brand column. */
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 56px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-wordmark {
  display: block;
  margin-left: -8px;
  flex: 0 0 auto;
  width: 132px;
  height: 44px;
  background-image: url("References/LOGO/png/Logo-06.png");
  background-position: center;
  background-size: auto 325.14%;
  background-repeat: no-repeat;
}

.footer-brand-line {
  margin: 0;
  font-size: var(--footer-item);
  line-height: 1.5;
}

.footer-brand-tagline {
  margin-top: 13px;
  color: var(--sand);
  font-family: var(--serif);
  font-style: italic;
}

.footer-brand-line + .footer-brand-line {
  margin-top: 1px;
  color: rgba(245, 239, 231, .62);
}

.footer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sand);
  font-size: var(--footer-label);
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.3;
}

.footer-connect,
.footer-explore {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-connect-item {
   color: rgba(245, 239, 231, .78);
   font-size: var(--footer-item);
   font-weight: 500;
   letter-spacing: .01em;
   line-height: 1.35;
 }

 .footer-connect-item,
 .footer-connect-item a {
   color: rgba(245, 239, 231, .78);
   text-decoration: none;
   transition: color .3s var(--ease);
 }

 .footer-connect-item a:hover {
   color: var(--sand);
 }

 .footer-brand-line a {
   color: rgba(245, 239, 231, .62);
   text-decoration: none;
   transition: color .3s var(--ease);
 }

 .footer-brand-line a:hover {
   color: var(--sand);
 }

 .footer-explore a {
  color: rgba(245, 239, 231, .78);
  font-size: var(--footer-caption);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.35;
  transition: color .3s var(--ease);
}

.footer-explore a:hover {
  color: var(--sand);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: clamp(16px, 1.8vw, 18px);
  padding-top: 14px;
  border-top: 1px solid var(--light-line);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 5vw, 56px);
}

.footer-legal-links span,
.footer-legal-links a {
  color: rgba(245, 239, 231, .78);
  font-size: var(--footer-caption);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.3;
  text-decoration: none;
  transition: color .25s var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: rgba(245, 239, 231, 1);
}

.footer-address {
  margin: 0;
  color: rgba(245, 239, 231, .58);
  font-size: var(--footer-caption);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.6;
  text-align: center;
}

/* Mirrors the type ladder home.css applies to --fs-caption / --fs-label, so
   the shared footer steps down identically on both pages. */
@media (max-width: 900px) {
  .site-footer {
    --footer-caption: .75rem;
    --footer-item: .78125rem;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 28px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal {
    margin-top: 18px;
    padding-top: 14px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    --footer-label: .625rem;
    --footer-item: .75rem;
  }

  .footer-main {
    gap: 16px 14px;
  }

  .footer-connect,
  .footer-explore {
    gap: 3px;
  }

  .footer-legal-links {
    gap: 24px;
  }
}