/* Shared, slow motion for the supplied texture. No new asset or colour. */
:root { --overlay-travel: 2px; --overlay-scale-start: 1.009; --overlay-scale-end: 1.014; }
[data-overlay-active] { --overlay-motion-state: running; }
html[data-overlay-hidden] [data-overlay-active] { --overlay-motion-state: paused; }
.hero-grain, .immersive-services__grain, .work-page-backdrop > span,
.site-footer::after, .about-face-section::after,
.about-process-section.process-scroll-section--dark::after,
.service-hero-sticky::after, .contact-hero-sticky::after,
.contact-page-section::after, .project-spec::after,
.service-panel--dark .service-panel-visual::after {
  animation: lange-overlay-breathe 96s ease-in-out infinite;
  animation-play-state: var(--overlay-motion-state, paused);
  transform-origin: center;
}
@keyframes lange-overlay-breathe {
  0%, 100% { translate: 0 0; scale: var(--overlay-scale-start); }
  50% { translate: var(--overlay-travel) calc(var(--overlay-travel) * -.7); scale: var(--overlay-scale-end); }
}
@media (max-width: 900px) {
  :root { --overlay-travel: .5px; --overlay-scale-start: 1.004; --overlay-scale-end: 1.006; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grain, .immersive-services__grain, .work-page-backdrop > span,
  .site-footer::after, .about-face-section::after,
  .about-process-section.process-scroll-section--dark::after,
  .service-hero-sticky::after, .contact-hero-sticky::after,
  .contact-page-section::after, .project-spec::after,
  .service-panel--dark .service-panel-visual::after {
    animation: none; translate: none; scale: none;
  }
}
/* The 404 reuses the existing dark texture, type and line button. */
.error-page { background: #14141d; color: #faf8f2; }
.error-page-main { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; place-items: center; padding: 160px 24px 100px; background: #14141d; }
.error-page-copy { position: relative; z-index: 2; text-align: center; }
.error-page-copy h1 { font: 500 clamp(112px, 21vw, 320px)/1 'PP Eiko', Georgia, serif; }
.error-page-copy p { margin: 24px 0 32px; }
.error-page-copy .hero-cta { position: relative; inset: auto; margin: 0 auto; }

.legal-content [data-cookie-open] { border: 0; background: none; color: inherit; font-size: 13px; text-align: left; margin: 20px 0; cursor: pointer; }

/* Keep the moving texture inside the existing contact composition. */
.contact-page-section { overflow-x: clip; }
