/* The site's shared motion (js/motion.js has the vocabulary). Every starting state here applies only under html.mo-js,
   which a page's head sets when motion is welcome: without it, with reduced motion, or if the script doesn't start,
   every element is already in its final place. The script adds .mo-in when an element's turn comes and sets
   --mo-delay; the transitions below carry it there. Only transform, opacity, clip-path and filter move. */
:root{--mo-settle:cubic-bezier(.16,1,.3,1);--mo-draw:cubic-bezier(.65,0,.35,1)}
[data-mo]{--mo-delay:0s}

/* sheet: laid on the table, settling the last few millimetres. */
.mo-js [data-mo~="sheet"]{transition:opacity .55s ease-out var(--mo-delay),transform 1.15s var(--mo-settle) var(--mo-delay)}
.mo-js [data-mo~="sheet"]:not(.mo-in){opacity:0;transform:translateY(30px) scale(.985)}

/* lines: hidden only until the script has set them below their line; each line then rises into place. Each mask
   clips a little beyond its line (a negative inset, so nothing in the layout moves), so an ascender or a descender is
   never cut, and keeps the headline's own alignment. */
.mo-js:not(.mo-nosplit) [data-mo~="lines"]:not(.mo-split){visibility:hidden}
/* SplitText writes text-align:start on each line; a centred headline must stay centred, so the page's alignment wins. */
.mo-mask,.mo-line{text-align:inherit!important}
/* SplitText writes overflow:clip on each mask; the clip-path below replaces it with a clip that reaches past the line. */
.mo-mask{overflow:visible!important;clip-path:inset(-.14em -.1em -.22em -.1em)}

/* fade: words that follow a headline settle in just after it. */
.mo-js [data-mo~="fade"]{transition:opacity .8s ease-out var(--mo-delay),transform 1s var(--mo-settle) var(--mo-delay)}
.mo-js [data-mo~="fade"]:not(.mo-in){opacity:0;transform:translateY(10px)}

/* print: the mount is laid down from a slight angle; the photograph then comes up on its mat, pale and warm at first,
   as a print does in the tray. --mo-tilt sets the angle it arrives at. */
.mo-js [data-mo~="print"]{transition:opacity .6s ease-out var(--mo-delay),transform 1.25s var(--mo-settle) var(--mo-delay)}
.mo-js [data-mo~="print"]:not(.mo-in){opacity:0;transform:translateY(22px) rotate(var(--mo-tilt,-1.4deg))}
.mo-js [data-mo~="print"] img{transition:opacity .9s ease-out calc(var(--mo-delay) + .12s),filter 2s cubic-bezier(.3,.6,.3,1) calc(var(--mo-delay) + .12s)}
.mo-js [data-mo~="print"]:not(.mo-in) img{opacity:0;filter:sepia(.55) saturate(.45) contrast(.72) brightness(1.18)}

/* quote: the review's large gold mark drops into place; the words rise line by line (its blockquote is "lines");
   who said it follows. */
.mo-js [data-mo~="quote"]::before{transition:opacity .6s ease-out var(--mo-delay),transform 1s var(--mo-settle) var(--mo-delay)}
.mo-js [data-mo~="quote"]:not(.mo-in)::before{opacity:0;transform:translateY(-14px) scale(.85)}
.mo-js [data-mo~="quote"] .review-meta{transition:opacity .7s ease-out calc(var(--mo-delay) + .6s),transform 1s var(--mo-settle) calc(var(--mo-delay) + .6s)}
.mo-js [data-mo~="quote"]:not(.mo-in) .review-meta{opacity:0;transform:translateY(8px)}

/* group: the children arrive one after another. */
.mo-js [data-mo~="group"] > *{transition:opacity .7s ease-out calc(var(--mo-delay) + var(--mo-i,0) * .13s),
  transform 1.05s var(--mo-settle) calc(var(--mo-delay) + var(--mo-i,0) * .13s)}
.mo-js [data-mo~="group"]:not(.mo-in) > *{opacity:0;transform:translateY(16px)}

/* Prime dates (site.css .dates-cal): once the month has filled, the few dates still open catch the light, one by one. */
.mo-js .dates-cal .open{position:relative}
.mo-js .dates-cal .open::after{content:"";position:absolute;inset:-1px;border:1px solid var(--gold-soft);opacity:0;pointer-events:none}
.mo-js .dates-cal.in .open::after{animation:mo-glint 1.6s ease-out both;animation-delay:calc(1.55s + var(--mo-o,0) * .2s)}
@keyframes mo-glint{0%{opacity:0;transform:none}20%{opacity:1}100%{opacity:0;transform:scale(1.8)}}

/* ---------- The photo-led pages (your night, the rooftop, the event pages, questions, 404; 2026-11-04) ---------- */
/* light: a room's photograph comes into the lamplight as its screen arrives. It starts a touch closer and dimmer, as
   a room does before its lamps are up, and settles into its own light; the photographer's credit follows. The
   opening photograph comes up from further, as the page's one long breath. */
.mo-js [data-mo~="light"] > img{transition:transform 2.2s var(--mo-settle) var(--mo-delay),filter 1.9s cubic-bezier(.3,.6,.3,1) var(--mo-delay)}
.mo-js [data-mo~="light"]:not(.mo-in) > img{transform:scale(1.045);filter:brightness(.6) saturate(.86)}
.mo-js .opener[data-mo~="light"] > img{transition-duration:2.8s,2.4s}
.mo-js .opener[data-mo~="light"]:not(.mo-in) > img{transform:scale(1.09);filter:brightness(.42) saturate(.8)}
.mo-js [data-mo~="light"] > .credit{transition:opacity .8s ease-out calc(var(--mo-delay) + 1.3s)}
.mo-js [data-mo~="light"]:not(.mo-in) > .credit{opacity:0}
/* The opening's scroll cue (site.js) waits for the opening's words. */
.mo-js [data-mo~="light"] > .scroll-cue{animation-delay:2.1s}
.mo-js [data-mo~="light"] > .scroll-cue .chev{animation-delay:2.9s}

/* open: a photograph beside its words opens from the seam it shares with them, like a door onto the room, and
   settles back as it opens. Its photo on the left opens from its right edge; on the right, from its left; stacked
   above its words on a phone, from its foot. The photo is clipped, never its frame: a frame clipped to nothing is
   never seen to arrive (IntersectionObserver counts the element's own clip). */
.mo-js [data-mo~="open"] img{clip-path:inset(0);transform-origin:100% 50%;
  transition:clip-path 1.2s cubic-bezier(.45,0,.15,1) var(--mo-delay),transform 2.1s var(--mo-settle) var(--mo-delay),
  filter 1.8s cubic-bezier(.3,.6,.3,1) calc(var(--mo-delay) + .2s)}
.mo-js [data-mo~="open"]:not(.mo-in) img{clip-path:inset(0 0 0 100%);transform:scale(1.12);filter:brightness(.66)}
.mo-js .flip > [data-mo~="open"] img{transform-origin:0 50%}
.mo-js .flip > [data-mo~="open"]:not(.mo-in) img{clip-path:inset(0 100% 0 0)}
.mo-js [data-mo~="open"]::after,.mo-js [data-mo~="open"] .credit{transition:opacity .8s ease-out calc(var(--mo-delay) + 1.1s)}
.mo-js [data-mo~="open"]:not(.mo-in)::after,.mo-js [data-mo~="open"]:not(.mo-in) .credit{opacity:0}
@media (max-width:1000px){
  .mo-js [data-mo~="open"] img,.mo-js .flip > [data-mo~="open"] img{transform-origin:50% 100%}
  .mo-js [data-mo~="open"]:not(.mo-in) img,.mo-js .flip > [data-mo~="open"]:not(.mo-in) img{clip-path:inset(100% 0 0 0)}
}

/* draw, on the photo-led pages: a kicker's gold rule is drawn out from its left end (the sheet pages say their own). */
.mo-js :is(.ch-body,.split-copy,.inc-head,.tri-head,.q-index) > .kicker[data-mo~="draw"]::before{transform-origin:left;transition:transform .9s var(--mo-draw) var(--mo-delay)}
.mo-js :is(.ch-body,.split-copy,.inc-head,.tri-head,.q-index) > .kicker[data-mo~="draw"]:not(.mo-in)::before{transform:scaleX(0)}
/* A button that settles in keeps its quick answer to the pointer (site.css .cta). */
.mo-js .cta[data-mo~="fade"]{transition:opacity .8s ease-out var(--mo-delay),transform 1s var(--mo-settle) var(--mo-delay),
  background-color .18s,color .18s,border-color .18s,filter .18s}

/* quote, for a compact review: its gold rule is drawn down beside the words as they rise; who said it follows. */
.mo-js .review-compact[data-mo~="quote"] .pull{position:relative;border-left-color:transparent}
.mo-js .review-compact[data-mo~="quote"] .pull::before{content:"";position:absolute;left:-2px;top:0;bottom:0;width:2px;
  background:var(--gold);transform-origin:top;transition:transform 1.1s var(--mo-draw) var(--mo-delay)}
.mo-js .review-compact[data-mo~="quote"]:not(.mo-in) .pull::before{transform:scaleY(0)}

/* write: a row written in along its gold rule, left to right, as a pen passes; a list's rows in turn as they arrive.
   The clip reaches past the row, so a focus ring is never cut. */
.mo-js [data-mo~="write"] > li,.mo-js details[data-mo~="write"]{clip-path:inset(-12px);
  transition:clip-path .95s cubic-bezier(.5,0,.2,1) var(--mo-delay)}
.mo-js [data-mo~="write"] > li:not(.mo-in),.mo-js details[data-mo~="write"]:not(.mo-in){clip-path:inset(-12px 100% -12px -12px)}

/* unfold: an answer the visitor opens unfolds in place; it's there at once and settled in under half a second. */
.mo-js .qa[open] > :not(summary){animation:mo-unfold .42s var(--mo-settle)}
@keyframes mo-unfold{from{opacity:0;transform:translateY(-6px);clip-path:inset(0 0 100% 0)}30%{opacity:1}to{clip-path:inset(0 0 -40% 0)}}
