/* v2: visible on touch screens as well. Text stays readable without the script. */
:root{--motion-ease:cubic-bezier(.16,1,.3,1)}
html.motion-enhanced{scroll-behavior:smooth}
.motion-enhanced .hero-bg{transform:scale(1.12) translate3d(0,var(--hero-drift,0px),0);transform-origin:center;will-change:transform}
.draft{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;justify-content:center}
.motion-replay{font:inherit;font-size:12px;font-weight:700;min-height:44px;padding:7px 14px;border:1px solid #9b7b44;border-radius:23px;color:#1b2833;background:#fff6e4;cursor:pointer;white-space:normal;line-height:1.3}
.motion-replay:disabled{cursor:default;opacity:1;border-color:#ac9d82;color:#534b3e;background:transparent}
.motion-replay:focus-visible{outline:3px solid #233e54;outline-offset:2px}
.motion-enhanced .nav a{transition:color 250ms ease}
.motion-enhanced .category-nav a,.motion-enhanced .filters button{transition:color 250ms ease,background-color 250ms ease,border-color 250ms ease}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .motion-enhanced .card,.motion-enhanced .course-card{transition:transform 650ms var(--motion-ease),box-shadow 650ms var(--motion-ease)}
 .motion-enhanced .card:hover,.motion-enhanced .course-card:hover{transform:translate3d(0,-7px,0);box-shadow:0 18px 42px #0003}
 .motion-enhanced .card>img,.motion-enhanced .course-card>img{transition:transform 950ms var(--motion-ease)}
 .motion-enhanced .card:hover>img,.motion-enhanced .course-card:hover>img{transform:scale(1.055)}
 .motion-enhanced .button{transition:transform 350ms var(--motion-ease),background-color 250ms ease,box-shadow 350ms ease}
 .motion-enhanced .button:hover{transform:translate3d(0,-3px,0);background:#ffe8b8;box-shadow:0 6px 18px #0002}
 .motion-enhanced .button:active{transform:translate3d(0,0,0);box-shadow:none;transition-duration:100ms}
 .motion-enhanced .gallery-grid img{transition:transform 950ms var(--motion-ease)}
 .motion-enhanced .gallery-grid button:hover img{transform:scale(1.04)}
}
@media(max-width:700px){
 .motion-replay{font-size:12px;padding:7px 12px;min-height:44px}
 .draft{padding:7px 12px;gap:4px;font-size:11px}
 .motion-enhanced .hero-bg{will-change:auto}
}
@media(prefers-reduced-motion:reduce){
 html.motion-enhanced{scroll-behavior:auto}
 .motion-enhanced .hero-bg{transform:none!important;will-change:auto}
 .motion-enhanced .card,.motion-enhanced .course-card,.motion-enhanced .button,.motion-enhanced .card>img,.motion-enhanced .course-card>img,.motion-enhanced .gallery-grid img,.motion-enhanced .nav a,.motion-enhanced .category-nav a,.motion-enhanced .filters button{transition:none!important;animation:none!important}
 .motion-enhanced .card:hover,.motion-enhanced .course-card:hover,.motion-enhanced .button:hover,.motion-enhanced .card:hover>img,.motion-enhanced .course-card:hover>img,.motion-enhanced .gallery-grid button:hover img{transform:none!important;box-shadow:none}
}

/* m175: desktop type +12%, phone/tablet sizes unchanged. */
@media(min-width:1101px){
.motion-replay{font-size:calc((12px) * 1.12);}
@media (max-width:700px){.motion-replay{font-size:calc((12px) * 1.12);}
.draft{font-size:calc((11px) * 1.12);}}
}
