/* All framing stays outside the reading column. The course follows the athlete through a turn. */
.hero {
  --camera-x: 0px;
  --camera-y: 0px;
  --copy-drift: 0px;
  --course-x: 0px;
  --course-y: 0px;
  --slide-time: 12500ms;
}
.hero .hero-inner { z-index: 2; }
.hero.course-ready .hero-images,
.hero.course-ready .hero-film {
  transform: translate3d(var(--camera-x), var(--camera-y), 0) scale(1.06);
  transform-origin: 67% 45%;
}
.hero .hero-film {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero .hero-film :is(video, picture, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero.course-ready .hero-photo.current {
  animation: uta-camera 12.7s linear both;
  transform-origin: 64% 47%;
}
@keyframes uta-camera {
  0% { transform: translate3d(1.7%, -.25%, 0) scale(1.065); }
  46% { transform: translate3d(-.4%, .15%, 0) scale(1.095); }
  100% { transform: translate3d(-2%, .6%, 0) scale(1.14); }
}
.hero-course,.hero-wipe { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-course { transform: translate3d(var(--course-x),var(--course-y),0) scale(1.025); transform-origin: 85% 60%; }
.hero-course > svg { display: block; width: 100%; height: 100%; fill: none; }
.course-lines use,.course-runners use { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.course-lines { opacity: .79; }
.course-lines .course-outer { stroke: #f5caca; stroke-width: 1.15px; opacity: .38; }
.course-lines .course-shadow { stroke: #c26869; stroke-width: 1px; opacity: .33; }
.course-spine { stroke: #ff5261; stroke-width: 2px; opacity: .9; }
.course-runners { display: none; }
.course-ready .course-runners { display: block; }
.course-ready .course-lines use {
  stroke-dasharray: var(--course-length, 1350) var(--course-length,1350);
  animation: uta-course-draw 1.9s cubic-bezier(.31,.76,.35,1) backwards;
}
@keyframes uta-course-draw {
  from {stroke-dashoffset:var(--course-length,1350);opacity:0;}
  to {stroke-dashoffset:0;}
}
.course-runners .runner {
  stroke: #ff364e;
  stroke-width: 4px;
  stroke-dasharray: 135 var(--course-length, 1350);
  animation: uta-run .1s linear infinite;
  filter: drop-shadow(0 0 3px #ed203abe);
}
.course-runners .runner-primary {animation-duration: 4.4s;animation-delay:-1.1s;}
.course-runners .runner-ghost {
  stroke:#e0dce0;stroke-width:1.8px;stroke-dasharray:62 var(--course-length,1350);
  opacity:.92;animation-duration:5.5s;animation-delay:-2.2s;filter:none;
}
.course-runners .runner-tip {
  stroke:#ff7182;stroke-width:5px;stroke-dasharray:6 var(--course-length,1350);
  animation-duration:3.25s;animation-delay:-2.3s;
}
@keyframes uta-run {
  from {stroke-dashoffset:140;}
  to {stroke-dashoffset:calc(-1 * var(--course-length,1350));}
}
.hero-copy {transform:translateY(var(--copy-drift));}
.hero.course-ready .hero-kicker {animation:uta-intro-copy .68s ease-out backwards;}
.hero.course-ready .hero-description {animation:uta-intro-copy .65s .42s ease-out backwards;}
.hero.course-ready .hero-actions {animation:uta-intro-copy .65s .52s ease-out backwards;}
@keyframes uta-intro-copy {from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Individual words resolve from two different directions once, leaving the headline readable. */
.hero.course-ready h1 span {animation:uta-first-word .9s cubic-bezier(.13,.68,.19,1) both;}
.hero.course-ready h1 em {position:relative;animation:uta-second-word 1.02s .08s cubic-bezier(.13,.7,.21,1) both;}
@keyframes uta-first-word{
  from{clip-path:inset(0 100% -15% -1%);transform:translate3d(-33px,13px,0) skewX(-4deg);opacity:.05}
  75%{clip-path:inset(0 -2% -15% -1%);}
  to{clip-path:inset(0 -2% -15% -1%);transform:none;opacity:1}
}
@keyframes uta-second-word{
  from{clip-path:inset(-15% -1% 108% -5%);transform:translate3d(-36px,30px,0) skewX(-10deg);opacity:.05}
  72%{clip-path:inset(-15% -2% -20% -5%);}
  to{clip-path:inset(-15% -2% -20% -5%);transform:none;opacity:1}
}
.hero .slide-dots button[aria-pressed="true"]:before {background:#f0f2f47d;}
.hero.course-ready .slide-dots button[aria-pressed="true"]:after {
  content:"";position:absolute;left:0;width:100%;height:3px;top:calc(50% - 1.5px);
  background:var(--red);transform-origin:left;animation:uta-progress var(--slide-time) linear both;
}
@keyframes uta-progress{from{transform:scaleX(.05)}to{transform:scaleX(1)}}
.hero-wipe i {
  position:absolute;top:-18%;bottom:-18%;width:12%;opacity:0;left:0;
  clip-path:polygon(74% 0,100% 0,26% 100%,0 100%);background:#fb3449;
}
.hero-wipe i:nth-child(2){width:14%;background:#f4dce1;clip-path:polygon(79% 0,82% 0,3% 100%,0 100%);}
.hero.course-transition .hero-wipe i {animation:uta-shutter .75s cubic-bezier(.41,.02,.37,.98) both;}
.hero.course-transition .hero-wipe i:nth-child(2){animation-delay:45ms;}
@keyframes uta-shutter{
  0%{left:-20%;opacity:0}
  18%{opacity:.8}
  75%{opacity:.65}
  100%{left:112%;opacity:0}
}
.hero .slide-name {display:inline-block;}
.hero.course-transition .slide-name{animation:uta-intro-copy .45s ease-out;}
.hero.course-ready:not(.course-active) :is(.runner,.course-lines use,.hero-photo.current),
.hero.course-ready:not(.course-active) .slide-dots button:after {animation-play-state:paused;}
body.motion-off .hero-course {transform:none;}
body.motion-off .hero .course-runners,
body.motion-off .hero-wipe {display:none;}
body.motion-off .hero.course-ready :is(.hero-images,.hero-film,.hero-photo,.hero-copy) {transform:none;}
body.motion-off .hero.course-ready .slide-dots button[aria-pressed="true"]:after{transform:scaleX(1);animation:none;}
@media(max-width:640px){
  .hero-course{inset:0 -7% 0 7%;opacity:.82;}
  .hero .slide-name{display:none;}
  .hero-course > svg{width:124%;margin-left:-24%;}
  .course-lines .course-outer,.course-lines .course-shadow{stroke-width:.9px;}
  .course-spine{stroke-width:1.35px;}
  .course-runners .runner-primary,.course-runners .runner-tip{stroke-width:2.8px;}
  .hero.course-ready .hero-photo.current{transform-origin:72% 40%;}
  .hero-wipe i{width:23%;}
}
@media(prefers-reduced-motion:reduce){
  .hero.course-ready :is(.hero-course,.hero-images,.hero-film,.hero-photo.current,.hero-copy){transform:none!important;}
  .hero .course-runners,.hero .hero-wipe{display:none;}
  .hero.course-ready .slide-dots button[aria-pressed="true"]:after{animation:none;}
}
.hero.course-ready .timeline-reset button[aria-pressed="true"]:after { animation: none; }
.hero-depth-shot {
  position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden;opacity:0;
  transform:translate3d(var(--camera-x),var(--camera-y),0) scale(1.07);
  transform-origin:62% 43%;
  transition:opacity .36s ease;
}
.hero-depth-shot img {
  position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;
  object-position:59% 48%;max-width:none;transform-origin:64% 45%;
}
.motion-on .hero.depth-shot-ready[data-hero-scene="0"]:not(.film-playing) .hero-depth-shot {opacity:1;}
.hero.depth-shot-ready[data-hero-scene="0"]:not(.film-playing) .depth-plate {animation:uta-depth-plate 12.7s cubic-bezier(.18,.5,.58,.95) both;}
.hero.depth-shot-ready[data-hero-scene="0"]:not(.film-playing) .depth-runner {animation:uta-depth-runner 12.7s cubic-bezier(.18,.5,.58,.95) both;}
@keyframes uta-depth-plate {
  from{transform:translate3d(.9%,.25%,0) scale(1.025)}
  34%{transform:translate3d(-.35%,.1%,0) scale(1.05)}
  to{transform:translate3d(-1.35%,.25%,0) scale(1.095)}
}
@keyframes uta-depth-runner {
  from{transform:translate3d(calc(.9% + var(--subject-x,0px)),calc(.25% + var(--subject-y,0px)),0) scale(1.025)}
  34%{transform:translate3d(calc(.4% + var(--subject-x,0px)),calc(.1% + var(--subject-y,0px)),0) scale(1.06)}
  to{transform:translate3d(calc(.25% + var(--subject-x,0px)),calc(.25% + var(--subject-y,0px)),0) scale(1.112)}
}
.hero.film-playing .hero-depth-shot,body.motion-off .hero-depth-shot{display:none;}
.hero.course-ready:not(.course-active) .hero-depth-shot img{animation-play-state:paused;}
@media(max-width:640px){.hero-depth-shot img{object-position:66% 40%;transform-origin:72% 40%;}}
@media(prefers-reduced-motion:reduce){.hero-depth-shot{display:none;}}
