:root {
  --motion-time: 600ms;
  --motion-feedback: 450ms;
  --motion-step: 75ms;
  --motion-ease: cubic-bezier(.2,.7,.2,1);
  --motion-rise: 20px;
  --motion-plane: translate(-21px, 12px);
  --motion-float: 3.5px;
  --motion-period: 6s;
  --motion-angle: 3deg;
  --motion-disc: .96;
  --motion-dot: .6;
  --motion-photo: 1.06;
  --motion-hover: 1.03;
  --motion-press: .97;
  --motion-arrow: translate(4px,-4px);
  --motion-rate-limit: 1.5;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-on [data-arrive]:not(.arrived) {opacity: 0;}
  .motion-on [data-arrive].arrived {
    animation: arrive var(--motion-time) var(--motion-ease) calc(var(--order,0) * var(--motion-step)) backwards;
  }
  @keyframes arrive {
    from {opacity: 0; transform: var(--from,translateY(var(--motion-rise))) var(--rest,translate(0));}
    to {opacity: 1; transform: var(--rest,translate(0));}
  }
  #hero-title > span {--from: translateX(calc(-1 * var(--motion-rise)));}
  .red-disc {--from: scale(var(--motion-disc));}
  .wx-paper {--from: rotate(var(--motion-angle)) translateY(10px);}
  .motion-on .flight-group.arrived {--from: var(--motion-plane); animation: arrive var(--motion-time) var(--motion-ease) backwards, drift var(--motion-period) ease-in-out var(--motion-time) infinite;}
  @keyframes drift {0%,100% {transform: translateY(0);} 50% {transform: translateY(calc(-1 * var(--motion-float)));}}
  .motion-on .studio-tag.arrived {animation-name: swing;}
  @keyframes swing {
    from {opacity: 0; transform: var(--rest) rotate(calc(-1 * var(--motion-angle)));}
    32% {transform: var(--rest) rotate(2deg);} 56% {transform: var(--rest) rotate(-1.4deg);}
    77% {transform: var(--rest) rotate(.7deg);} to {opacity: 1; transform: var(--rest);}
  }
  .motion-on :is(.bv-services--home,.wx-banner,.about-team dl > div,.focus-pair article) {position: relative; border-top-color: transparent;}
  .motion-on .rail + .bv-services--home {border-top-color: transparent;}
  .motion-on :is(.bv-services--home,.wx-banner,.about-team dl > div,.focus-pair article)::after {
    content: ''; position: absolute; inset: auto 0 100%; height: var(--rule-weight,4px); background: var(--rule-color,var(--red)); pointer-events: none;
  }
  .wx-banner {--rule-weight: 7px;}
  .focus-pair article {--rule-weight: 5px; --rule-color: var(--ink);}
  .about-team dl > div {--rule-color: var(--ink);}
  @media(max-width:760px) {.about-team dl > div {--rule-weight: 2px;}}
  .motion-on [data-line]::after,.motion-on :is(.pv4-track,.wx-contact h1,.about-principles h2,.offerings h1)::before {
    transform-origin: left center; transform: scaleX(0);
  }
  .motion-on [data-line].arrived::after,.motion-on :is(.pv4-track,.wx-contact h1,.about-principles h2,.offerings h1).arrived::before {
    animation: draw var(--motion-time) var(--motion-ease) both;
  }
  @keyframes draw {to {transform: scaleX(1);}}
  .motion-on .pv4-track:not(.arrived) .pv4-node {opacity: 0;}
  .motion-on .pv4-track.arrived .pv4-node {--from: scale(var(--motion-dot)); animation: arrive var(--motion-feedback) var(--motion-ease) var(--hit) backwards;}
  @media(max-width:720px) {
    .motion-on ol.pv4-track::before {transform: scaleY(0); transform-origin: center top;}
    .motion-on ol.pv4-track.arrived::before {animation-name: draw-down;}
    @keyframes draw-down {to {transform: scaleY(1);}}
  }
  .motion-on .about-intro {position: relative; isolation: isolate; overflow: clip; background: transparent;}
  .motion-on .about-intro::before {content: ''; position: absolute; inset: 0; z-index: -1; background: #a92518; transform: scaleX(0) skewX(-3deg); transform-origin: left center;}
  .motion-on .about-intro.arrived::before {animation: banner var(--motion-time) var(--motion-ease) both;}
  @keyframes banner {to {transform: none;}}
  .motion-on .about-intro:not(.arrived) .wrap {opacity: 0;}
  .motion-on .about-intro.arrived .wrap {animation: arrive var(--motion-time) var(--motion-ease) var(--motion-step) backwards;}
  .motion-on .cv-exhibit.arrived .cv-art,.motion-on .about-covers .arrived img {animation: pull-back var(--motion-time) var(--motion-ease) calc(var(--order,0) * var(--motion-step)) backwards;}
  @keyframes pull-back {from {transform: scale(var(--motion-photo));}}
  :is(.cv-exhibit-link,.about-covers a) :is(img,.cv-legend > span,strong > span),.bv-row-arrow {transition: transform var(--motion-feedback) var(--motion-ease);}
  :is(.cv-exhibit-link,.about-covers a):is(:hover,:focus-visible) img {transform: scale(var(--motion-hover));}
  .about-covers a {overflow: hidden;}
  .about-covers strong {position: relative; background: var(--paper);}
  :is(.cv-exhibit-link,.about-covers a):is(:hover,:focus-visible) :is(.cv-legend > span,strong > span),.bv-row:is(:hover,:focus-visible) .bv-row-arrow {transform: var(--motion-arrow);}
  .cv-exhibit-link:is(:hover,:focus-visible) .cv-mount::after {transform: var(--motion-arrow);}
  .cv-wall-home .cv-legend {position: relative;}
  .cv-wall-home .cv-legend::after {content: '↗' / ''; position: absolute; right: 0; opacity: 0; transition: opacity var(--motion-feedback) var(--motion-ease),transform var(--motion-feedback) var(--motion-ease);}
  .cv-wall-home .cv-exhibit-link:is(:hover,:focus-visible) .cv-legend::after {opacity: 1; transform: var(--motion-arrow);}
  @media(hover:hover) and (min-width:761px) {
    .bv-row::before,.bv-row:is(:hover,:focus-visible)::before {clip-path: polygon(0 0,98% 0,92% 100%,0 100%); transform-origin: left; transition: transform var(--motion-feedback) var(--motion-ease);}
    .bv-row:not(:hover):not(:focus-visible)::before {transform: scaleX(0);}
  }
  :is(.dark-button,.wx-copy,.wx-nav,.desktop-nav a:last-child,.cv-action,.cv-check summary) {isolation: isolate; position: relative;}
  :is(.dark-button,.wx-copy,.wx-nav,.desktop-nav a:last-child,.cv-action,.cv-check summary)::before {content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #a92518; transform: scaleX(0); transform-origin: left; transition: transform var(--motion-feedback) var(--motion-ease);}
  :is(.dark-button,.wx-copy,.wx-nav,.desktop-nav a:last-child,.cv-action,.cv-check summary):is(:hover,:focus-visible)::before {transform: scaleX(1);}
  .desktop-nav a:last-child:not([aria-current]):hover {background: var(--ink);}
  .dark-button:hover,.wx-footer .wx-copy:hover,.wx-details .wx-copy:hover {background: var(--ink); color: var(--paper);}
  .wx-details .wx-copy::before,.wx-banner .wx-copy::before {background: var(--red);}
  .wx-copy {transition: transform var(--motion-feedback) var(--motion-ease);}
  html .wx-account .wx-copy.pressing {animation: press var(--motion-feedback) var(--motion-ease);}
  @keyframes press {30% {transform: scale(var(--motion-press));}}
  :is(.text-link,.ink-link,.pv4-link,.cv-wall-tail a,.cv-study-tail a,.cv-study-head a,.strip-ledge a,.focus-extra a,.desktop-nav a,.page-footer nav a,.footer-bottom a) {position: relative;}
  :is(.text-link,.ink-link,.pv4-link,.cv-wall-tail a,.cv-study-tail a,.cv-study-head a,.strip-ledge a,.focus-extra a,.desktop-nav a,.page-footer nav a,.footer-bottom a)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; pointer-events: none; transform: scaleX(0); transform-origin: left;
  }
  :is(.text-link,.ink-link,.pv4-link):is(:hover,:focus-visible) {border-bottom-color: transparent;}
  :is(.text-link,.ink-link,.pv4-link,.cv-wall-tail a,.cv-study-tail a,.cv-study-head a,.strip-ledge a,.focus-extra a,.desktop-nav a,.page-footer nav a,.footer-bottom a):is(:hover,:focus-visible)::after {animation: draw var(--motion-feedback) var(--motion-ease) both;}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation: none !important; transition: none !important; scroll-behavior: auto !important;}
}
