/* The site logo: "חי" as in the film ident, then "בסרט" (written by tools/chai-logo.mjs). */
.ch-defs{position:absolute;width:0;height:0;overflow:hidden}
/* a 44 px tap target with the name centred in it (wrap + align-content centres the one line; the items share a baseline) */
.logo--chai{display:inline-flex;flex-wrap:wrap;align-content:center;align-items:baseline;gap:.2em;min-height:44px;padding-block:0;line-height:1;flex:none;-webkit-tap-highlight-color:transparent} /* flex:none: the name never wraps under the mark */
.ch{height:.78em;width:auto;flex:none;overflow:visible;align-self:baseline;transform:translateY(.054em)}
@media (max-resolution:1.4dppx){.ch__holes{display:none}}
.logo--light,.top .logo--chai{--g:.42}
.ch__run{transform-box:view-box}
.ch__glow{opacity:var(--g,.18)}
/* phones: the mark a little bigger, so the run is seen (its own size from the start: nothing moves when it plays) */
@media (max-width:768px){.ch{height:.94em;transform:translateY(.07em)}}
/* a run (~1.2 s), made to be seen at 24 px on a phone (CEO 16.11): the mark pops up a little and settles, a glint sweeps across the letters,
   the film runs four frames through them (the pattern repeats each frame, so the start shows no jump), and the glow blooms at the end.
   Transform and opacity only: nothing around the logo moves. */
.ch__sheen{opacity:0;transform-box:view-box}
.ch.is-run{transform-origin:50% 85%;animation:ch-pop 1.2s cubic-bezier(.3,.7,.3,1) both}
@keyframes ch-pop{0%{scale:1;filter:none}14%{scale:1.22;filter:brightness(1.18) drop-shadow(0 0 .14em rgb(255 204 41/.95))}34%{scale:.97}50%{scale:1;filter:brightness(1.08) drop-shadow(0 0 .1em rgb(255 204 41/.6))}100%{scale:1;filter:none}}
@keyframes ch-y{from{transform:translateY(-95.68px)}to{transform:none}}
@keyframes ch-x{from{transform:translateX(-95.68px)}to{transform:none}}
@keyframes ch-sheen{0%{opacity:0;transform:translateX(0) skewX(-18deg)}15%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translateX(270px) skewX(-18deg)}}
@keyframes ch-glow{0%{opacity:var(--g,.18)}20%{opacity:.7}55%{opacity:var(--g,.18)}85%{opacity:1}100%{opacity:var(--g,.18)}}
.ch.is-run .ch__run--y{animation:ch-y 1.1s cubic-bezier(.35,.15,.25,1) both}
.ch.is-run .ch__run--x{animation:ch-x 1.1s cubic-bezier(.35,.15,.25,1) both}
.ch.is-run .ch__sheen{animation:ch-sheen .75s .18s ease-in-out both}
.ch.is-run .ch__glow{animation:ch-glow 1.25s ease-out both}
@media (prefers-reduced-motion:reduce){.ch.is-run,.ch.is-run .ch__run,.ch.is-run .ch__glow,.ch.is-run .ch__sheen{animation:none}}
/* the customer pages' dark header, and the guest page's mark centred above the title */
.top .logo--chai{font-family:"Suez One",Rubik,sans-serif;font-size:22px;color:var(--on-dark,#fbf5e8);text-decoration:none}
.top .logo--chai b{font-size:1em}
header .ch.hmark{display:block;height:30px;margin:0 auto 6px;transform:none}
