:root {
  --ink: #141414;
  --paper: #fffef8;
  --yellow: #ffd414;
  --band-top: 30%;
  --band-height: 34%;
  color: var(--paper);
  background: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 6; top: -6rem; left: 1rem; padding: .7rem 1rem; color: var(--ink); background: var(--yellow); }
.skip:focus { top: 1rem; }

/* Keep the portfolio controls on the photograph. The entire strip below is selectable. */
.site-header { position: absolute; inset: 0 0 auto; height: 78px; background: transparent; color: white; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .yz-brand { color: white; }
.site-header .yz-nav { background: #19191999; border-color: #ffffff55; box-shadow: none; }
.site-header .yz-nav :is(a,button) { color: #fff; background: transparent; }
.site-header .yz-nav a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.site-header .yz-nav :is(a,button):is(:hover,:focus-visible) { color: var(--ink); background: var(--yellow); }
.site-header .yz-mail { color: white; background: #19191999; border: 1px solid #ffffff55; }
.site-header .yz-mail:hover { color: var(--ink); background: var(--yellow); }
.site-header :focus-visible { outline: 2px solid var(--yellow); }
.sport-portals {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 300px;
  isolation: isolate;
}
.sport-panel {
  min-width: 0;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.sport-panel > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--subject-x,50%) var(--subject-y,50%);
  z-index: -1;
}
.panel-coach { --subject-x: 44%; --subject-y: 59%; }
.panel-competition { --subject-x: 0%; --subject-y: 15%; }
.panel-competition > img { width: 160%; }
.panel-motion { --subject-x: 58%; --subject-y: 69%; }
.sport-panel::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,#0003,transparent 16%,transparent 86%,#0002);
}
.panel-band {
  position: absolute;
  inset: var(--band-top) 0 auto;
  height: var(--band-height);
  display: grid;
  place-items: center;
}
.panel-band::before, .panel-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  pointer-events: none;
}
.panel-band::before { mix-blend-mode: multiply; }
.panel-band::after { mix-blend-mode: overlay; opacity: .72; }
.panel-name {
  position: relative;
  z-index: 1;
  color: var(--paper);
  text-align: center;
  text-shadow: 0 1px 5px #000b;
  font-size: clamp(22px, 3.3vw, 84px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.025em;
  line-height: 1.03;
  text-transform: uppercase;
}
.panel-name::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.55em -1em;
  background: radial-gradient(ellipse, #0006, transparent 73%);
  pointer-events: none;
}
.panel-name::after {
  content: "";
  position: absolute;
  inset: auto 0 .035em .02em;
  height: max(1px,.034em);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.sport-panel:is(:focus-visible,:active) .panel-name::after,
.sport-panel[data-pointed] .panel-name::after { transform: scaleX(1); }
.sport-panel:focus-visible { outline: 3px solid var(--paper); outline-offset: -5px; z-index: 2; }
@media (any-hover: hover) {
  .sport-panel:hover .panel-name::after { transform: scaleX(1); }
}
@media (min-width: 701px) and (hover: hover), (min-width: 1001px) {
  html[data-motion="play"] .sport-portals { transition: grid-template-columns 1.25s cubic-bezier(.22,.64,.2,1); }
  html[data-motion="play"] .sport-portals[data-selection="coach"] { grid-template-columns: minmax(0,1.14fr) minmax(0,.93fr) minmax(0,.93fr); }
  html[data-motion="play"] .sport-portals[data-selection="competition"] { grid-template-columns: minmax(0,.93fr) minmax(0,1.14fr) minmax(0,.93fr); }
  html[data-motion="play"] .sport-portals[data-selection="motion"] { grid-template-columns: minmax(0,.93fr) minmax(0,.93fr) minmax(0,1.14fr); }
}
html[data-motion="play"] .sport-panel > img { transition: transform 1.5s cubic-bezier(.2,.7,.2,1); }
html[data-motion="play"] .sport-panel[data-spotlight] > img { transform: scale(1.025); }
html[data-motion="play"] .panel-name::after { transition: transform .25s ease; }
@media (max-width: 700px), (max-width: 1000px) and (max-height: 560px) and (hover: none) {
  :root { --sport-nav-height: 56px; }
  .site-header { position: relative; height: var(--sport-nav-height); background: var(--ink); }
  .sport-portals {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: repeat(3,minmax(0,1fr));
    height: calc(100vh - var(--sport-nav-height));
    height: calc(100svh - var(--sport-nav-height));
    min-height: 240px;
  }
  .sport-panel + .sport-panel { border-top: 1px solid var(--ink); }
  .panel-band { inset: 0 auto 0 0; width: 37%; height: 100%; }
  .panel-name { font-size: clamp(16px,4.15vw,27px); font-weight: 550; }
  .panel-coach { --subject-x: 0%; --subject-y: 32%; }
  .panel-coach > img { width: 117%; }
  .panel-motion { --subject-y: 69%; }
}
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1000px) and (hover: none) {
  :root { --sport-nav-height: 47px; }
  .site-header { padding-block: 0; }
  .sport-panel > img { left: 37%; width: 63%; }
  .panel-competition > img { width: 76%; }
  .panel-band { background: var(--yellow); }
  .panel-name { color: var(--ink); text-shadow: none; }
  .panel-name::before { content: none; }
  .panel-coach { --subject-y: 35%; }
  .panel-competition { --subject-y: 21%; }
  .panel-motion { --subject-y: 50%; }
}
