/* NotchBay shared site footer (finale image section + type-on-black footer).
   Ported from the home page; self-contained so any page can include it.
   The scroll-scrubbed galaxy canvas stays home-only: here .foot-top shows
   its poster frame, which is the home page's own no-JS presentation. */

.final { position: relative; overflow: hidden; text-align: center; background: #000; margin-top: 96px; }
.final-img { display: block; width: 100%; height: auto; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.7) 46%, rgba(255,255,255,0) 100%); }
.final::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0), #000); }
.final-copy { position: absolute; left: 0; right: 0; top: 28%; transform: translateY(-50%); z-index: 2; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.final h2 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; color: #16160f; }
.final h2 .serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: #4a463b; font-size: 1.04em; }
.final .cta-row { display: flex; justify-content: center; }
.final .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: #fff; background: #F34B38;
  border: none; border-radius: 100px; padding: 12px 24px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(243,75,56,.35);
  transition: transform .15s ease, box-shadow .2s, background .2s;
}
.final .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(243,75,56,.45); }
.final .btn:active { transform: translateY(0) scale(.98); }

footer.footer { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #fff; padding: 96px 0 0; min-height: max(700px, 78vh); display: flex; flex-direction: column; border-top: 0; }
/* only pad left/right here: the padding shorthand would out-specify and zero
   .footer-inner's padding-bottom (the 200px reserved for the wordmark) */
footer.footer .fwrap { max-width: 1080px; margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }
.footer-inner { position: relative; z-index: 2; flex: 1 1 auto; display: flex; flex-direction: column; width: 100%; padding-bottom: 200px; }
.foot-eyebrow { display: block; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.foot-top { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(20px, 2.4vw, 34px);
  display: grid; grid-template-columns: 36% 1fr; gap: 48px; align-items: center;
  padding: clamp(36px, 4vw, 60px) clamp(28px, 3.4vw, 54px); min-height: clamp(280px, 27vw, 380px);
  background: #05070d url(/media/footer-poster.webp?v=2) center / cover no-repeat; }
/* scroll-scrubbed galaxy: frame sequence painted to a canvas as the card moves through view
   (footer.js). Until a frame paints, the poster background shows through the transparent canvas. */
.foot-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.foot-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, rgba(4,6,12,.62) 0%, rgba(4,6,12,.34) 44%, rgba(4,6,12,.5) 100%); }
.foot-top > .foot-logo, .foot-top > .foot-statement { position: relative; z-index: 2; }
.foot-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: #fff; }
.foot-logo img { display: block; }
.foot-statement { max-width: 620px; }
.foot-statement .foot-eyebrow { font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #F34B38; }
.foot-statement p { margin-top: 14px; font-size: clamp(21px, 2.5vw, 33px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: #fff; }
.foot-statement .dim { color: rgba(255,255,255,.36); }
.foot-mid { display: grid; grid-template-columns: 36% 1fr; gap: 48px; align-items: start; margin-top: auto; padding-top: 100px; }
.foot-contact .foot-mail { display: inline-block; margin-top: 9px; font-size: clamp(19px, 2vw, 25px); font-weight: 600; color: #fff; transition: color .2s; }
.foot-contact .foot-mail:hover { color: #F34B38; }
.foot-cols { display: flex; gap: clamp(38px, 6vw, 96px); flex-wrap: wrap; }
footer.footer h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 16px; }
footer.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
footer.footer ul a { font-size: 13.5px; color: rgba(255,255,255,.66); transition: color .2s; text-decoration: none; }
footer.footer ul a:hover { color: #fff; }
.foot-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; font-size: 12px; color: rgba(255,255,255,.38); }
footer.footer .foot-bottom { border-top: 0; }
.foot-bottom a { color: rgba(255,255,255,.5); }
.foot-bottom a:hover { color: #fff; }
.foot-end { display: inline-flex; align-items: center; gap: 18px; }
.foot-x { display: inline-flex; color: rgba(255,255,255,.5); transition: color .2s; }
.foot-x:hover { color: #fff; }
@media (max-width: 720px) { .foot-top, .foot-mid { grid-template-columns: 1fr; gap: 30px; } }
.foot-wordmark {
  position: absolute; left: 50%; bottom: -0.13em; transform: translateX(-50%); z-index: 1;
  white-space: nowrap; font-weight: 800; letter-spacing: -0.035em; line-height: .82; font-size: min(18.2vw, 230px);
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.02) 86%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: blur(.6px); pointer-events: none; user-select: none;
}
