/* ============================================================
   TTCC — FOOTER
   Black footer shared verbatim by index.html and works.html.
   No border-radius anywhere in this file.
   ============================================================ */
.site-footer {
  background: #000000;
  color: #ffffff;
}

.site-footer__inner {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-footer a {
  color: inherit;
}

/* ----- Rows: label left, content starting at ~50% width ----- */
.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-row__label {
  font-size: 15px;
  font-weight: 400;
}

/* ----- Row 1: New Business Inquiries ----- */
.footer-business {
  display: flex;
  gap: 48px;
}

.footer-business__col {
  display: flex;
  flex-direction: column;
}

.footer-business__city,
.footer-business__email {
  line-height: 1.5;
}

.footer-business__email {
  text-decoration: underline;
}

/* ----- Row 2: Open Positions ----- */
.footer-jobs {
  display: flex;
  flex-direction: column;
}

.footer-job {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 26px;
}

.footer-job:last-child {
  padding-bottom: 0;
}

.footer-job + .footer-job {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-job__arrow {
  display: inline-block;
}

.footer-job__location {
  color: rgba(255, 255, 255, 0.5);
}

.footer-jobs__all {
  display: inline-block;
  margin-top: 26px;
  text-decoration: underline;
}

/* ----- Row 3: About ----- */
.footer-about {
  max-width: 540px;
  line-height: 1.5;
}

/* ----- Big logo ----- */
.site-footer__logo {
  display: block;
  width: 59.8%;          /* 65% of the previous 92% */
  height: auto;
  margin: 60px 0;
  /* Artwork is black on transparent — inverted to white, same technique
     used for the top bar logo on dark pages. */
  filter: invert(1);
}

/* ----- Walking mascot strip -----
   The ground line sits at the very bottom of the strip; the actor is
   anchored to that same edge, so the mascot's feet touch the line. */
.footer-walk {
  position: relative;
  height: 90px;
  overflow: hidden;
}

.footer-walk__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

/* The only element JS moves — one transform per frame. */
.footer-walk__actor {
  position: absolute;
  bottom: 0;
  left: 0;
  transform-origin: bottom center;
  will-change: transform;
}

/* The visual: inline SVG, so the legs are real elements that can be
   moved on their own. The motion code addresses .footer-walk__actor
   above (travel/bob/tilt) and the two .fw-leg paths (swing). */
.footer-walk__svg {
  display: block;
  height: 56px;
  width: auto;
}

/* Filled directly rather than filtered — the artwork is inline now, so
   no brightness/invert trick is needed. Scoped to the footer so these
   generic class names can't leak. */
.footer-walk .st1 {
  fill: #ffffff;
}

.footer-walk .st0 {
  fill: #a6b999;          /* the pupil keeps the artwork's own green */
}

/* transform-box: view-box makes transform-origin resolve in the SVG's
   own user units, so JS can set the hips as plain viewBox coordinates.
   (fill-box would resolve against each path's own bounding box, which
   is not what the measured hip values are expressed in.) The pivot
   values themselves come from the config in js/footer-mascot.js. */
.footer-walk .fw-leg {
  transform-box: view-box;
  will-change: transform;
}

/* ----- Bottom bar ----- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 34px;
  font-size: 15px;
}

.footer-bottom__links,
.footer-bottom__meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-bottom__meta {
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .footer-row {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

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

/* === MASCOT FALLBACK — known good, do not delete ===

   Verbatim copy of the live mascot rules above, kept as a restore
   point. Inline comment markers have been unwrapped to plain text —
   CSS comments do not nest, so a literal inner terminator would end
   this block early and turn the rest into live CSS.

   Pairs with js/footer-mascot.backup.js.

   ----- Walking mascot strip -----
   The ground line sits at the very bottom of the strip; the actor is
   anchored to that same edge, so the mascot's feet touch the line.

   .footer-walk {
     position: relative;
     height: 90px;
     overflow: hidden;
   }

   .footer-walk__ground {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     height: 1px;
     background: rgba(255, 255, 255, 0.35);
   }

   The only element JS moves — one transform per frame.

   .footer-walk__actor {
     position: absolute;
     bottom: 0;
     left: 0;
     transform-origin: bottom center;
     will-change: transform;
   }

   The visual. Swappable for an inline SVG without touching the motion
   code, which only ever addresses .footer-walk__actor.

   .footer-walk__mascot {
     display: block;
     height: 56px;
     width: auto;
     Black artwork on a black footer — flattened to black, then
     inverted to solid white so it reads against the background.
     filter: brightness(0) invert(1);
   }
   === end mascot fallback === */
