:root { --work-paper: #fff; --work-ink: #241f29; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body.impact-work-page { margin: 0; background: var(--work-paper); color: var(--work-ink); font-family: "Inter", Arial, sans-serif; }
/* The page now ends on the shared footer, so it keeps the shell's footer lift
   (site-shell.css): main is an opaque sheet with a screen of space beneath it
   for the fixed footer to be revealed in. This previously cancelled the lift,
   which was right while the page had no footer at all. */
.impact-work-page main { box-shadow: none; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .75rem 1rem; background: #fff; color: #171717; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* The shared inner-page opening is the Impact page's first, full-bleed screen. */
.impact-work-page .tlh-opening { --op-image-position: 50% 52%; --op-image-filter: saturate(.78) contrast(.96) brightness(.83); }

/* A single moving picture opens out from the space between the two words. */
.work-scene { position: relative; height: 320svh; background: var(--work-paper); }
.work-scene__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; background: var(--work-paper); }
.work-scene__title {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 7rem);
  width: max-content; height: auto; margin: 0;
  color: var(--work-ink); font-family: "Inter", Arial, sans-serif;
  font-size: clamp(5.5rem, 10.5vw, 16rem); font-weight: 400;
  letter-spacing: -.075em; line-height: .83; white-space: nowrap; pointer-events: none;
  transform: translate(-50%, -50%);
}
.work-scene__word { display: block; will-change: transform; }
.work-scene__word--our { transform: translate3d(var(--work-our-x, 0px), 0, 0); }
.work-scene__word--impact { transform: translate3d(var(--work-impact-x, 0px), 0, 0); }
.work-scene__window {
  position: absolute; z-index: 1; top: 50%; left: calc(50% + var(--work-video-x, 0px));
  width: 100%; height: 100%; overflow: hidden; background: #1b1d21;
  transform: translate3d(-50%, -50%, 0) scale(var(--work-scale, 0));
  transform-origin: center; will-change: transform; backface-visibility: hidden;
}
.work-scene__window video { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-scene__cue {
  position: absolute; z-index: 1; right: 0; bottom: clamp(1.5rem, 4vh, 3rem); left: 0;
  color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .16em;
  text-align: center; text-shadow: 0 1px 8px #000; text-transform: uppercase;
  pointer-events: none; transition: opacity .35s ease;
}
.work-scene__window.is-playing .work-scene__cue { opacity: 0; }
.work-scene__sound {
  position: absolute; z-index: 3; top: clamp(1rem, 2.2vw, 2rem); right: clamp(1rem, 2.2vw, 2rem);
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  padding: .6rem 1.05rem .6rem .85rem; border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; background: rgba(12,8,18,.52);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font: 600 .62rem/1 "Inter", Arial, sans-serif;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.work-scene__sound[hidden] { display: none; }
.work-scene__sound:hover { background: rgba(12,8,18,.72); border-color: rgba(255,255,255,.5); }
.work-scene__sound:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.work-scene__sound-icon { display: grid; place-items: center; width: 1.15rem; height: 1.15rem; }
.work-scene__sound-icon svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill-rule: evenodd; }
.work-scene__sound-wave { fill: none; opacity: 0; transition: opacity .2s ease; }
.work-scene__sound-slash { opacity: 1; transition: opacity .2s ease; }
.work-scene__sound[aria-pressed="true"] .work-scene__sound-wave { opacity: 1; }
.work-scene__sound[aria-pressed="true"] .work-scene__sound-slash { opacity: 0; }

/* This image never pins. It moves with the page while its crop opens and closes. */
.work-divider { position: relative; height: 100svh; overflow: hidden; background: #fff; }
.work-divider__frame {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  clip-path: inset(var(--divider-inset-y, 15%) var(--divider-inset-x, 5.5%));
  will-change: clip-path;
}
.work-divider__frame img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%;
  transform: translate3d(0, var(--divider-image-y, 0px), 0) scale(1.035);
  will-change: transform;
}
.work-divider__breath { height: 100svh; background: #fff; }

@media (max-width: 767px) {
  .work-scene { height: 270svh; }
  .work-scene__title {
    display: flex; flex-direction: column; align-items: center; gap: 1.2em;
    width: max-content; height: auto; font-size: clamp(3.2rem, 16vw, 5.8rem);
    transform: translate(-50%, -50%);
  }
  .work-scene__word { position: static; }
  .work-scene__word--our { transform: translate3d(0, var(--work-our-y, 0px), 0); }
  .work-scene__word--impact { transform: translate3d(0, var(--work-impact-y, 0px), 0); }
  .work-divider__breath { height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  .work-scene { height: auto; }
  .work-scene__stage { position: relative; top: auto; display: grid; height: auto; min-height: 100svh; align-content: center; gap: 3rem; overflow: visible; padding: 7rem 1rem 3rem; }
  .work-scene__title { position: relative; top: auto; left: auto; display: flex; width: max-content; max-width: 100%; height: auto; gap: .2em; justify-self: center; font-size: clamp(3rem, 10vw, 8rem); transform: none; }
  .work-scene__word { position: static; transform: none; }
  .work-scene__window { position: relative; top: auto; left: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; transform: none; }
  .work-scene__cue { display: none; }
  .work-divider { height: min(85svh, 800px); margin-inline: clamp(1rem, 5vw, 5rem); }
  .work-divider__frame { clip-path: none; }
  .work-divider__frame img { transform: none; }
  .work-divider__breath { height: 12svh; }
}
