/* Scroll controls the opacity of one solid fixed canvas, never a gradient. */
body[data-closing-ready="true"] { isolation:isolate; }
.closing-canvas { position:fixed; inset:0; z-index:-1; background:#101010; opacity:0; pointer-events:none; }
body[data-closing-ready="true"] .team-contact,
body[data-closing-ready="true"] .site-footer { background:transparent; }
body[data-closing-tone="light"] { --closing-ink:#17181a; --closing-muted:#72757a; }
body[data-closing-tone="dark"] { --closing-ink:#fff; --closing-muted:#b6b6b6; }
body[data-closing-active="true"] .prompts-heading,
body[data-closing-active="true"] .prompts-heading p { color:var(--closing-ink); }
body[data-closing-ready="true"] .contact-copy { color:var(--closing-ink); }
body[data-closing-tone="light"] .contact-copy>img { filter:brightness(0); }
body[data-closing-ready="true"] .team-copyright { color:var(--closing-muted); }
body[data-closing-ready="true"] .site-footer { color:var(--closing-ink); }
body[data-closing-tone="light"] .site-footer .footer-group h3 { color:var(--closing-muted); }
body[data-closing-phase="mix"] .team-copyright,
body[data-closing-phase="mix"] .site-footer .footer-group h3 { color:var(--closing-ink); }
.team-contact {
  --footer-canvas: #101010;
  width:100%;
  margin:0;
  border-radius:0;
  background: var(--footer-canvas);
  color: var(--surface);
}
.team-contact::before,
[data-art="comic"] .team-contact::before {
  z-index: 1;
  pointer-events: none;
  background:none;
}
.site-footer {
  position:relative;
  width:100%;
  margin:0;
  padding:64px max(40px,calc((100% - var(--content))/2)) 56px;
  background:#101010;
  color:var(--surface);
  border-top:0;
}
.site-footer::before {
  content:"";
  position:absolute;
  top:0;
  inset-inline:max(40px,calc((100% - var(--content))/2));
  border-top:1px solid #45474e;
  pointer-events:none;
}
.site-footer .footer-group h3 { color:var(--closing-muted,#b6b6b6); }
.team-contact .contact-copy { padding-block:96px 120px; }
.team-contact .contact-copy { position: relative; z-index: 2; }
.team-contact .contact-copy { color: var(--surface); }
.team-contact .contact-copy > img { opacity: 1; }
.footer-trail-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  mask-image: radial-gradient(ellipse 340px 225px at 50% 50%, transparent 25%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 340px 225px at 50% 50%, transparent 25%, #000 100%);
}
.footer-trail-stamp {
  position: absolute;
  display: block;
  object-fit: cover;
  pointer-events: none;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px #00000038;
}
.footer-trail-moving { opacity: 0; will-change: transform, opacity; }
.footer-trail-static { width: clamp(125px, 17vw, 210px); height: auto; aspect-ratio: 1.4; opacity: .56; }
.footer-trail-static-0 { left: 5%; top: 9%; transform: rotate(-8deg); }
.footer-trail-static-1 { right: 5%; top: 13%; transform: rotate(7deg); }
.footer-trail-static-2 { left: 8%; bottom: 11%; transform: rotate(5deg); }
.footer-trail-static-3 { right: 6%; bottom: 9%; transform: rotate(-6deg); }

@media (max-width: 760px) {
  .team-contact { margin:0; border-radius:0; min-height:600px; }
  .site-footer { padding:44px 20px 48px; }
  .site-footer::before { inset-inline:20px; }
  .footer-trail-static { width: clamp(105px, 24vw, 165px); opacity: .4; }
  .footer-trail-static-0 { left: -3%; top: 4%; }
  .footer-trail-static-1 { right: -4%; top: 7%; }
  .footer-trail-static-2 { left: -2%; bottom: 5%; }
  .footer-trail-static-3 { right: -3%; bottom: 7%; }
  .footer-trail-layer {
    mask-image: linear-gradient(#000 0%, transparent 32%, transparent 68%, #000 100%);
    -webkit-mask-image: linear-gradient(#000 0%, transparent 32%, transparent 68%, #000 100%);
  }
}
