/* Content is visible at rest and before JavaScript. Only decoration enters. */
/* Preserve the paper's existing resting rotation and shadow; translate is independent. */
html.lw-motion .sheet.lw-enter{animation:lw-sheet .68s cubic-bezier(.2,.7,.2,1)}
@keyframes lw-sheet{from{translate:0 20px}to{translate:0 0}}

/* Small, contained camera movement; captions and headings stay fixed and readable. */
html.lw-motion .duo figure.lw-enter img{animation:lw-photo .9s cubic-bezier(.2,.7,.2,1)}
@keyframes lw-photo{from{scale:1.025}to{scale:1}}

/* Typed services log (lower.js adds these only while a row is being typed; the original text returns after). */
.tw-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tw-c{visibility:hidden;position:relative}
/* a typebar strike: the letter lands a hair low and heavy, then settles (relative offset, so no line moves) */
.tw-c.on{visibility:visible;animation:tw-strike .09s ease-out}
@keyframes tw-strike{from{top:.07em;text-shadow:0 0 .6px currentColor,0 0 .6px currentColor}to{top:0;text-shadow:none}}
/* the description is written in: a soft-edged ink line travelling left to right */
.tw-ink{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 46%,transparent 54%);mask-image:linear-gradient(90deg,#000 0,#000 46%,transparent 54%);
  -webkit-mask-size:220% 100%;mask-size:220% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:100% 0;mask-position:100% 0}
.tw-ink.tw-go{-webkit-mask-position:0 0;mask-position:0 0;
  transition:-webkit-mask-position .9s cubic-bezier(.45,.1,.3,1),mask-position .9s cubic-bezier(.45,.1,.3,1)}

/* Override the old script-dependent logo concealment in the base stylesheet. */
.cta .lock .j{clip-path:none;transition:none}
.cta .lock .w{opacity:1;transform:none;transition:none}
.cta .lock .w path,.cta .lock .j path{opacity:1;translate:none}

/* Closing logo, stamped (2026-11-24): the jet opens from the center and the letters rise in one by one in light ink,
   then the mark is pressed like an inspector's stamp and the ink comes up to full. The heading, button and email
   beside it never wait. */
html.lw-motion .lock.lw-enter{animation:lw-press .35s cubic-bezier(.3,.6,.3,1) 1.55s both}
@keyframes lw-press{0%{opacity:.42;scale:1}45%{opacity:.93;scale:.982}100%{opacity:.93;scale:1}}
html.lw-motion .lock.lw-enter .j{animation:lw-jet 1.2s cubic-bezier(.2,.7,.2,1) both}
@keyframes lw-jet{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0 0 0 0)}}
html.lw-motion .lock.lw-enter .w path{animation:lw-letter .5s cubic-bezier(.2,.7,.2,1) calc(.35s + var(--i) * .05s) both}
@keyframes lw-letter{from{opacity:0;translate:0 22px}to{opacity:1;translate:none}}

/* A single restrained glint adds a finish after the stamp lands. */
.cta .lock::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(100deg,transparent 42%,rgba(199,181,151,.65) 50%,transparent 58%) no-repeat;
  background-size:300% 100%;background-position:100% 0;
  -webkit-mask-image:var(--lw-j);mask-image:var(--lw-j);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
html.lw-motion .lock.lw-glint-ready.lw-enter::after{animation:lw-glint 1.4s cubic-bezier(.45,.1,.4,1) 2s}
@keyframes lw-glint{0%{background-position:100% 0;opacity:0}15%{opacity:1}85%{opacity:1}100%{background-position:0 0;opacity:0}}

@media (max-width:759px){
  @keyframes lw-sheet{from{translate:0 10px}to{translate:0 0}}
}
/* CSS also cancels an in-flight effect immediately when the preference changes. */
@media (prefers-reduced-motion:reduce){
  .sheet.lw-enter,.duo figure.lw-enter img,.lock.lw-enter,.lock.lw-enter .j,.lock.lw-enter .w path,.lock.lw-enter::after{animation:none!important}
  .tw-c{visibility:visible!important;animation:none!important}
  .tw-ink{-webkit-mask-image:none!important;mask-image:none!important}
}
html.is-static .sheet.lw-enter,html.is-static .duo figure.lw-enter img,
html.is-static .lock.lw-enter,html.is-static .lock.lw-enter .j,html.is-static .lock.lw-enter .w path,
html.is-static .lock.lw-enter::after{animation:none!important}
html.is-static .tw-c{visibility:visible!important;animation:none!important}
html.is-static .tw-ink{-webkit-mask-image:none!important;mask-image:none!important}
