body:has(#motion:target) > .site-header {
  position: absolute;
  inset: 0 0 auto;
  padding-top: max(12px, env(safe-area-inset-top));
  padding-left: max(clamp(18px, 3.2vw, 64px), env(safe-area-inset-left));
  padding-right: max(clamp(18px, 3.2vw, 64px), env(safe-area-inset-right));
  height: calc(74px + env(safe-area-inset-top));
  color: #fff;
  background: transparent;
}
body:has(#motion:target) .site-header .yz-nav,
body:has(#motion:target) .site-header .yz-mail {
  color: #fff;
  background: rgb(15 17 16 / .78);
  border-color: rgb(255 255 255 / .32);
  box-shadow: none;
}
body:has(#motion:target) .yz-nav :is(a, button) { color: #fff; }
body:has(#motion:target) .yz-nav :is([aria-current], a:hover, button:hover) { color: #121411; background: #fff; }
body:has(#motion:target) .site-header :focus-visible { outline-color: var(--yellow); }
#motion { scroll-margin-top: 0; }
.movement-gallery {
  --coach-accent: var(--yellow);
  --movement-gutter: max(clamp(20px, 6vw, 112px), env(safe-area-inset-left));
  --movement-controls: max(68px, calc(env(safe-area-inset-bottom) + 54px));
  --movement-card-width: clamp(145px, 13.5vw, 225px);
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #0b0c0a;
}
.movement-stage { position: relative; }
.movement-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.movement-panel[hidden], .movement-strip[hidden] { display: none; }
.movement-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.movement-player img, .movement-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.movement-player::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgb(0 0 0 / .6), transparent 66%),
    linear-gradient(180deg, rgb(0 0 0 / .55), transparent 18%, transparent 68%, rgb(0 0 0 / .40));
}
.movement-player button {
  inset: auto var(--movement-gutter) var(--movement-controls) auto;
  z-index: 3;
}
.movement-intro, .movement-caption, .movement-strip {
  position: absolute;
  z-index: 2;
  left: var(--movement-gutter);
  pointer-events: none;
}
.movement-intro { top: max(20%, calc(env(safe-area-inset-top) + 88px)); }
.movement-intro h1 {
  margin: 0;
  font-size: clamp(50px, 6.4vw, 110px);
  line-height: .93;
  letter-spacing: -.075em;
  font-weight: 500;
}
.movement-intro h1 span { color: var(--yellow); }
.movement-caption {
  bottom: calc(var(--movement-controls) + var(--movement-card-width) / 2.14 + 49px);
}
.movement-caption p, .movement-strip h2 {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 550;
}
.movement-caption p { display: flex; align-items: center; gap: 9px; color: #f0efe9; }
.movement-caption p span { padding-left: 9px; border-left: 1px solid #babcb1; font-variant-numeric: tabular-nums; }
.movement-caption h2 {
  margin-top: 7px;
  font-size: clamp(22px, 2.35vw, 44px);
  font-weight: 500;
  letter-spacing: -.047em;
  line-height: 1.05;
}
.movement-strip {
  right: var(--movement-gutter);
  bottom: var(--movement-controls);
}
.movement-strip h2 { margin: 0 0 9px; }
.movement-choices {
  display: flex;
  gap: clamp(9px, 1vw, 18px);
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) rgb(255 255 255 / .18);
}
.movement-choice {
  position: relative;
  isolation: isolate;
  min-width: 0;
  flex: 0 0 var(--movement-card-width);
  width: var(--movement-card-width);
  pointer-events: auto;
  aspect-ratio: 2.14;
  padding: 0;
  overflow: hidden;
  border: 0;
  text-align: left;
  color: #fff;
  background: #20221e;
  font: inherit;
  cursor: pointer;
}
.movement-choice img, .movement-choice::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.movement-choice img { z-index: -2; object-fit: cover; object-position: center 48%; }
.movement-choice::before {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgb(0 0 0 / .79), transparent 82%);
}
.movement-choice::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--yellow);
}
.movement-choice[aria-selected="true"]::after { width: 37%; }
.movement-choice span {
  position: absolute;
  inset: auto 10px 9px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 550;
}
.movement-choice:focus-visible { outline: 2px solid var(--yellow); outline-offset: -3px; }
@media (hover: hover) {
  .movement-choice:hover img { transform: scale(1.055); }
}
@media (prefers-reduced-motion: no-preference) {
  .movement-choice img, .movement-choice::after { transition: transform 200ms ease-out, width 190ms ease-out; }
}
@media (orientation: portrait) {
  .movement-gallery { --movement-card-width: min(33vw, 174px); }
  .movement-player::after {
    background: linear-gradient(180deg, rgb(0 0 0 / .57), rgb(0 0 0 / .20) 25%, transparent 43%, transparent 58%, rgb(0 0 0 / .60) 91%, rgb(0 0 0 / .38));
  }
  .movement-intro { top: max(13%, calc(env(safe-area-inset-top) + 80px)); }
  .movement-intro h1 { font-size: clamp(35px, 8.5vw, 66px); line-height: 1; }
  .movement-intro h1 br { display: none; }
  .movement-caption { bottom: calc(var(--movement-controls) + var(--movement-card-width) / 2.14 + 40px); }
  .movement-caption h2 { margin-top: 4px; font-size: clamp(21px, 5.1vw, 34px); }
  .movement-caption p, .movement-strip h2 { font-size: 11px; }
  .movement-choice span { font-size: 12px; inset: auto 7px 7px; }
  .movement-player button { inset: 45% auto auto 50%; transform: translateX(-50%); }
}
@media (max-height: 530px) and (orientation: landscape) {
  .movement-gallery { --movement-card-width: clamp(90px, 14vw, 144px); --movement-controls: max(54px, calc(env(safe-area-inset-bottom) + 42px)); }
  .movement-intro { top: max(22%, calc(env(safe-area-inset-top) + 70px)); }
  .movement-intro h1 { font-size: clamp(32px, 5.3vw, 58px); }
  .movement-intro h1 br { display: none; }
  .movement-caption { bottom: calc(var(--movement-controls) + var(--movement-card-width) / 2.14 + 33px); }
  .movement-caption h2 { margin-top: 3px; font-size: 20px; }
  .movement-caption p, .movement-strip h2 { font-size: 10px; }
  .movement-strip h2 { margin-bottom: 5px; }
  .movement-choice span { font-size: 11px; inset: auto 6px 6px; }
}
