/* Motion layer. Only applies when motion.js adds .motion to <html>, so the page reads normally without it. */
.motion .hero-photo{overflow:hidden}
.motion .hero-photo img.settled{transition:opacity 1.2s ease}
.motion .hero-photo img{transform:translateY(var(--py,0px)) scale(1.24);opacity:0;transition:transform 1.8s cubic-bezier(.2,.7,.2,1),opacity 1.2s ease}
.motion .hero.in .hero-photo img{transform:translateY(var(--py,0px)) scale(1.15);opacity:1}
.motion .hero-copy>*,.motion .hero h1 .line{opacity:0;transform:translateY(26px);transition:opacity .9s ease,transform 1s cubic-bezier(.2,.7,.2,1)}
.motion .hero h1{opacity:1;transform:none}
.motion .hero h1 .line{display:inline-block}
.motion .hero.in .hero-copy>*,.motion .hero.in h1 .line{opacity:1;transform:none}
.motion .hero.in .eyebrow{transition-delay:.25s}
.motion .hero.in h1 .line:nth-of-type(1){transition-delay:.4s}
.motion .hero.in h1 .line:nth-of-type(2){transition-delay:.6s}
.motion .hero.in h1 .line:nth-of-type(3){transition-delay:.8s}
.motion .hero.in .hero-copy>p:not(.eyebrow){transition-delay:.85s}
.motion .hero.in .hero-copy>.text-link{transition-delay:1s}

.motion .reveal{opacity:0;transform:translateY(34px);transition:opacity .9s ease,transform 1s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.motion .reveal.in{opacity:1;transform:none}

/* Photos open like a blind, straight edges to match the brand's colour fields */
.motion .wipe{clip-path:inset(100% 0 0 0);transition:clip-path 1.3s cubic-bezier(.7,0,.2,1);transition-delay:var(--d,0s)}
.motion .wipe img{transform:scale(1.12);transition:transform 1.8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.motion .wipe.in{clip-path:inset(0 0 0 0)}
.motion .wipe.in img{transform:scale(1)}

.motion .path .arrow{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.motion .path:hover .arrow{transform:translate(4px,-4px)}
@media(max-width:760px){.motion .hero-photo img{transform:scale(1.08)}.motion .hero.in .hero-photo img{transform:scale(1)}}

/* Header: arrives on load, sweeping underlines, and stays reachable when scrolling back up */
.motion .header{position:sticky;top:0;transition:transform .45s cubic-bezier(.2,.7,.2,1),height .35s ease}
.motion .header.tuck{transform:translateY(-100%)}
@media(min-width:761px){.motion .header.compact{height:72px}}
.motion .brand{display:inline-block;opacity:0;transform:translateX(-18px);transition:opacity .8s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.motion .brand em{display:inline-block;transform:rotate(-14deg) scale(.6);opacity:0;transition:transform .9s cubic-bezier(.3,1.6,.4,1) .55s,opacity .4s ease .55s}
.motion .header.in .brand{opacity:1;transform:none}
.motion .header.in .brand em{transform:rotate(-4deg);opacity:1}
.motion .header .brand:hover em{transform:rotate(4deg) scale(1.08);transition-delay:0s}
.motion .nav a{background:linear-gradient(var(--sun),var(--sun)) no-repeat 0 100%/0 1px;padding-bottom:4px;transition:background-size .4s cubic-bezier(.2,.7,.2,1),opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.motion .nav a:hover{text-decoration:none;background-size:100% 1px}
.motion .header.in .nav a[aria-current=page]{background-size:100% 1px;transition-delay:1s}
@media(min-width:761px){
 .motion .nav a{opacity:0;transform:translateY(-12px);transition-delay:var(--d,0s)}
 .motion .header.in .nav a{opacity:1;transform:none}
 .motion .nav a:hover{transition-delay:0s}
}
