/* Shared motion on every page: headings rise word by word, marked blocks float in.
   Quiet by design; everything holds still for people who prefer less motion. */
:root{--ease:cubic-bezier(.2,.7,.2,1)}
.motion [data-reveal]{opacity:0;transform:translateY(42px);transition:opacity 1.1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,0ms)}
.motion [data-reveal].in{opacity:1;transform:none}
.motion .split .w{display:inline-block;opacity:0;transform:translateY(.45em);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:calc(var(--i) * 60ms)}
.motion .split.in .w{opacity:1;transform:none}
/* Arrows stretch a little on hover */
.button .arrow,.text-link .arrow,.menu-more .arrow{transition:width .4s var(--ease)}
.button:hover .arrow,.text-link:hover .arrow,.menu-more:hover .arrow{width:36px}
/* "Not Linh?" in the greeting bar */
.preview .not-me{margin-left:14px;padding:0;font-size:9px;letter-spacing:1px;color:#d1ccc2;border-bottom:1px solid rgba(209,204,194,.5);text-transform:none}
.preview .not-me:hover{color:#fff;border-color:#fff}
@media(prefers-reduced-motion:reduce){.motion [data-reveal],.motion .split .w{opacity:1!important;transform:none!important;transition:none}}
/* Drifting photo rows */
.drift{overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.drift-track{display:flex;width:max-content;animation:drift var(--drift-dur,60s) linear infinite;will-change:transform;backface-visibility:hidden}
.drift-track>*{flex:0 0 auto;width:clamp(220px,24vw,330px);margin:0 14px 0 0!important}
.drift-track>* img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}
.drift:hover .drift-track,.drift:focus-within .drift-track{animation-play-state:paused}
@keyframes drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.drift.drift-still{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
.drift.drift-still .drift-track{animation:none}
@media(prefers-reduced-motion:reduce){.drift-track{animation:none}}

/* Photos riding the drift keep still themselves, so the row glides without a shimmer */
.drift-track img.ph{animation:none!important;opacity:1;transform:none}
/* The top of every page arrives gently: the heading word by word, then the lines and buttons beneath it */
.motion .home-hero-copy h1.split .w,.motion .home-hero-copy h2.split .w{transition-duration:1.1s;transition-delay:calc(200ms + var(--i) * 90ms)}
.motion .home-hero-copy>:not(h1):not(h2){animation:hero-rise 1.1s var(--ease,cubic-bezier(.2,.7,.2,1)) both}
.motion .home-hero-copy>:nth-child(1){animation-delay:.05s}
.motion .home-hero-copy>:nth-child(3){animation-delay:.75s}
.motion .home-hero-copy>:nth-child(4){animation-delay:.95s}
.motion .home-hero-copy>:nth-child(5){animation-delay:1.15s}
.motion .home-hero-copy>:nth-child(n+6){animation-delay:1.3s}
@keyframes hero-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.motion .home-hero-copy>*{animation:none!important}}
/* The menu and Find us page tops arrive the same way */
.motion .menu-hero>div>:not(h1),.motion .calendar-intro>div>:not(h1){animation:hero-rise 1.1s var(--ease,cubic-bezier(.2,.7,.2,1)) both}
.motion .menu-hero>div>:nth-child(1),.motion .calendar-intro>div:first-child>:nth-child(1){animation-delay:.05s}
.motion .menu-hero>div>:nth-child(3){animation-delay:.75s}
.motion .menu-hero>div>:nth-child(4){animation-delay:.95s}
.motion .calendar-intro>div:nth-child(2)>:nth-child(1){animation-delay:.7s}
.motion .calendar-intro>div:nth-child(2)>:nth-child(2){animation-delay:.85s}
.motion .calendar-intro>div:nth-child(2)>:nth-child(3){animation-delay:1s}
.motion .menu-hero h1.split .w,.motion .calendar-intro h1.split .w{transition-duration:1.1s;transition-delay:calc(200ms + var(--i) * 90ms)}
@media(prefers-reduced-motion:reduce){.motion .menu-hero>div>*,.motion .calendar-intro>div>*{animation:none!important}}
