/* WebPies — site footer (modern dark band). Compiled from scss/components-footer.scss.
   Always dark in both themes (hardcoded colors, not theme tokens). */
.site-footer{ position: relative; background: #0a0c0e; color: #f5f1ea; overflow: hidden; isolation: isolate; }
.site-footer::before{ /* soft lime glow top-left */
  content: ""; position: absolute; z-index: 0; top: -30%; left: -10%; width: 60%; height: 90%;
  background: radial-gradient(circle, rgba(200,242,92,.16), transparent 60%); pointer-events: none;
}
.site-footer .foot-inner{ position: relative; z-index: 2; padding-top: 80px; padding-bottom: 28px; }

/* ---- CTA ---- */
.foot-top{ display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,241,234,.55); margin-bottom: 20px; }
.foot-eyebrow .dot{ width: 6px; height: 6px; border-radius: 999px; background: #c8f25c; box-shadow: 0 0 0 3px rgba(200,242,92,.2); animation: footPulse 2.4s ease-in-out infinite; }
@keyframes footPulse{ 0%,100%{ opacity: 1; } 50%{ opacity: .4; } }
.foot-cta-title{ font-family: 'Instrument Serif', serif; font-size: clamp(40px, 7vw, 100px); line-height: .94; letter-spacing: -.02em; }
.foot-cta-title .it{ font-style: italic; }
.foot-cta-title .hl{ color: #c8f25c; }
.foot-arrow{
  flex: 0 0 auto; width: clamp(76px, 9vw, 120px); height: clamp(76px, 9vw, 120px); border-radius: 999px;
  display: grid; place-items: center; background: #c8f25c; color: #0d0f12; text-decoration: none;
  transition: background .25s ease, transform .3s cubic-bezier(.16,1,.3,1);
}
.foot-arrow svg{ width: 34%; height: 34%; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.foot-arrow:hover{ background: #fff; }
.foot-arrow:hover svg{ transform: translate(3px,-3px); }

/* ---- newsletter ---- */
.foot-news{ margin-top: 52px; max-width: 520px; }
.foot-news label{ display: block; font-size: 14px; color: rgba(245,241,234,.6); margin-bottom: 14px; }
.foot-news-row{ display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(245,241,234,.25); padding-bottom: 10px; transition: border-color .25s ease; }
.foot-news-row:focus-within{ border-color: #c8f25c; }
.foot-news input{ flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #f5f1ea; font-size: 17px; font-family: inherit; }
.foot-news input::placeholder{ color: rgba(245,241,234,.35); }
.foot-news button{ flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; cursor: pointer; color: #f5f1ea; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: color .2s ease; }
.foot-news button:hover{ color: #c8f25c; }
.foot-news-msg{ display: block; margin-top: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #c8f25c; }

/* ---- divider ---- */
.foot-divider{ height: 1px; background: rgba(245,241,234,.12); margin: 56px 0 44px; }

/* ---- columns ---- */
.foot-cols{ display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px){ .foot-cols{ grid-template-columns: 1fr 1fr; gap: 36px 24px; } .foot-brand{ grid-column: 1 / -1; } }
.foot-brand .foot-logo{ display: inline-flex; align-items: center; gap: 10px; font-family: 'Instrument Serif', serif; font-size: 24px; color: #f5f1ea; text-decoration: none; margin-bottom: 16px; }
.foot-brand p{ font-size: 14px; line-height: 1.6; color: rgba(245,241,234,.6); max-width: 320px; margin-bottom: 22px; }
.foot-socials{ display: flex; gap: 10px; }
.foot-socials a{ width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; border: 1px solid rgba(245,241,234,.2); color: #f5f1ea; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.foot-socials a:hover{ background: #c8f25c; color: #0d0f12; border-color: #c8f25c; transform: translateY(-2px); }
.foot-col h5{ font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: rgba(245,241,234,.4); margin-bottom: 18px; }
.foot-col ul{ display: flex; flex-direction: column; gap: 12px; }
.foot-col a{ position: relative; z-index: 0; font-size: 14.5px; color: rgba(245,241,234,.82); text-decoration: none; width: fit-content; transition: color .25s ease; }
/* same lime marker-highlight sweep as the main menu (text → ink for legibility) */
.foot-col a::before{ content: ""; position: absolute; z-index: -1; left: -5px; right: -5px; bottom: 1px; height: 0.66em; background: #c8f25c; border-radius: 3px; transform: scaleY(0); transform-origin: center bottom; opacity: 0; transition: transform .3s cubic-bezier(.6,0,.2,1), opacity .22s ease; }
.foot-col a:hover{ color: #0d0f12; }
.foot-col a:hover::before{ transform: scaleY(1); opacity: 1; }

/* ---- service marquee (replaces the old wordmark watermark) ---- */
.foot-marquee{ margin-top: 60px; overflow: hidden; border-top: 1px solid rgba(245,241,234,.12); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.foot-marquee-track{ display: flex; align-items: center; width: max-content; white-space: nowrap; will-change: transform; }
.foot-mq-item{ display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; }
.foot-mq-item .mq-title{ display: inline-flex; align-items: center; line-height: 1; }
.foot-mq-item .mq-title{ font-family: 'Instrument Serif', serif; font-size: clamp(32px, 4.6vw, 60px); line-height: 1; color: rgba(245,241,234,.92); transition: color .25s ease; }
.foot-mq-item .mq-sep{ width: 11px; height: 11px; border-radius: 999px; background: #c8f25c; flex: 0 0 auto; }
.foot-marquee:hover .mq-title{ color: rgba(245,241,234,.5); }
.foot-marquee .mq-title:hover{ color: #c8f25c; }

/* ---- bottom bar ---- */
.foot-bottom{ display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(245,241,234,.12); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,241,234,.5); }
.foot-bottom a{ color: rgba(245,241,234,.5); text-decoration: none; transition: color .2s ease; }
.foot-bottom a:hover{ color: #c8f25c; }
.foot-bottom .foot-legal{ display: flex; gap: 18px; flex-wrap: wrap; }
.foot-totop{ display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; cursor: pointer; color: rgba(245,241,234,.5); font: inherit; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.foot-totop:hover{ color: #c8f25c; }
.foot-totop svg{ transition: transform .3s ease; }
.foot-totop:hover svg{ transform: translateY(-3px); }

@media (max-width: 640px){
  .site-footer .foot-inner{ padding-top: 56px; }
  /* match the desktop lime glow on mobile (wider so it reads the same, not a band) */
  .site-footer::before{ top: -14%; left: -30%; width: 150%; height: 60%; background: radial-gradient(60% 80% at 30% 20%, rgba(200,242,92,.16), transparent 70%); }
  /* CTA: title full-width, arrow below + left-aligned, tighter */
  .foot-top{ align-items: flex-start; gap: 24px; }
  .foot-cta-title{ font-size: 46px; }
  .foot-arrow{ width: 72px; height: 72px; order: 2; }
  .foot-eyebrow{ margin-bottom: 16px; }
  .foot-news{ margin-top: 36px; }
  .foot-news label{ font-size: 13px; }
  .foot-news input{ font-size: 15px; }
  .foot-news button{ font-size: 10px; }
  .foot-marquee{ margin-top: 40px; padding: 16px 0; }
  .foot-divider{ margin: 44px 0 36px; }
}
@media (prefers-reduced-motion: reduce){ .foot-eyebrow .dot{ animation: none; } }
