/* The case introduction scrolls away. Only its photograph or film stays behind the article. */
.page-case #main-content { position:relative; isolation:isolate; }
.page-case .case-stage {
  position:sticky; top:0; z-index:-1; height:100vh; height:100svh;
  margin-bottom:-100vh; margin-bottom:-100svh; overflow:hidden; pointer-events:none;
  background:var(--black); isolation:isolate;
}
.page-case .case-hero {
  position:relative; top:auto; height:100vh; height:100svh; min-height:0;
}
.page-case .case-article {
  background:rgba(25,25,25,.5);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
.page-case .case-stage .case-cover { z-index:0; }
.page-case .case-stage .case-photo { z-index:0; }
.page-home .home-hero { min-height:0; }
/* Keep the poster in layout so video readiness cannot resize the surrounding block. */
.media-poster-covered,.media-awaiting-frame {visibility:hidden!important}
.sound-toggle[hidden] {display:none!important}
.sound-toggle {
  min-height:36px; touch-action:manipulation; cursor:pointer;
}
.sound-track {flex:none;box-sizing:border-box}
.sound-toggle:focus-visible {outline:2px solid var(--yellow);outline-offset:2px}
[data-clock-sound]:empty {display:none}
.profile-audio-heading {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px;
}
.media-sound-overlay {
  position:absolute; bottom:8px; right:var(--gutter,20px); z-index:4;
}
.media-sound-overlay,.case-sound-dock .sound-toggle,.profile-audio-heading .sound-toggle {
  background:rgba(5,5,5,.7);border-radius:3px;padding:5px 10px;
}
.press-visual .media-sound-overlay {bottom:8px;right:12px}
.case-sound-dock {
  position:sticky;top:calc(100vh - 52px);top:calc(100svh - 52px - env(safe-area-inset-bottom,0px));
  display:flex;align-items:center;justify-content:flex-end;height:44px;margin-bottom:-44px;
  padding-right:var(--gutter,20px);z-index:3;pointer-events:none;
}
.case-sound-dock .sound-toggle {pointer-events:auto}
@media(pointer:coarse){.sound-toggle {min-height:44px}}
.ticker { width:100%; min-width:0; }
.ticker-track[data-period] {
  animation:bonchinche-ticker var(--ticker-seconds) linear infinite;
}
@keyframes bonchinche-ticker { to { transform:translateX(calc(-1 * var(--ticker-period))); } }

.projects-hero {display:flex;flex-direction:column;height:auto;min-height:100vh;min-height:100svh}
.projects-hero .new-hero-bottom {position:relative;margin-top:auto;padding-top:12px}
@media(max-width:767px) {
  .projects-hero .project-action {padding-inline-end:8px}
  .projects-hero .project-action .button {width:194px}
}
@media(min-width:768px) {
  .projects-hero .new-hero-inner, .services-hero .new-hero-inner {
    display:grid; grid-template-columns:minmax(0,1fr) clamp(148px,14.24vw,205px);
    column-gap:clamp(12px,1.67vw,24px); align-items:start;
  }
  .new-hero-inner>h1 { grid-column:1/-1; }
  .projects-hero .new-hero-inner>h2 { grid-column:1; grid-row:2; }
  .services-hero .new-editorial {
    grid-column:1; justify-self:end; width:70.12%; max-width:none; margin-inline:0;
  }
  .services-hero .offset-first,.services-hero .new-body {
    width:56.1%; margin-left:43.9%!important;
  }
  .projects-hero .new-editorial {
    grid-column:1; width:100%; max-width:none; min-width:0; margin-inline:0;
  }
  .projects-hero .new-offset {font-size:clamp(16px,1.389vw,20px);line-height:1.2}
  .projects-hero .offset-first {
    width:min(22.2em,100%); margin-inline:auto 0;
  }
  .projects-hero .offset-second {width:max-content;max-width:100%;margin-inline:auto 0}
  .projects-hero .new-jump a {white-space:nowrap;font-size:clamp(12px,.973vw,14px);padding-inline:clamp(8px,1.389vw,20px)}
  .projects-hero .project-action { grid-column:1; justify-self:end; margin-right:0; }
  .projects-hero .new-jump,.services-hero .new-jump {
    position:static; grid-column:2; grid-row:2 / span 3; max-width:100%; width:100%;
  }
  .services-hero .new-jump { margin-top:36px; }
}
@media (min-width:768px) and (max-width:1160px) {
  .services-hero .new-editorial { width:89%; }
  .services-hero .offset-first,.services-hero .new-body {
    width:70%; margin-left:30%!important;
  }
}
@media(max-width:767px) {
  .page-case .case-hero.case-split { display:block; }
  .page-case .case-stage.case-split .case-photo {
    position:absolute; top:var(--case-photo-top,44%); bottom:0; left:20px; right:20px;
    margin:0; max-height:calc((100vw - 40px) * 1.25); aspect-ratio:auto;
  }
  .page-case .case-split+.case-article { margin-top:0; }
  .page-case .case-stage.case-full .case-cover { bottom:0; max-height:64%; }
  .page-bonchinche-xv .case-stage.case-full .case-cover { max-height:none; }
}
.home-hero { touch-action:pan-y pinch-zoom; }
