/* Home page motion layer: interactive hero, animated impact numbers, value cards,
   chapters, references, section reveals and the rocket scroll meter.
   Loaded after theme.css on the home page only. Native scrolling, no scroll-jacking. */

.page{overflow-x:hidden}
@supports (overflow:clip){.page{overflow-x:clip}}

/* =================== HERO =================== */
.hx{background:#F6F4EF;color:#15171B;position:relative}
.hx-stage{position:relative;height:100vh;height:100svh;min-height:620px;max-height:1100px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);column-gap:clamp(24px,3vw,56px);padding:0 max(clamp(20px,4vw,64px),calc((100vw - 1500px) / 2))}
.hx-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;position:relative;z-index:6}
.hx .brand{color:#15171B}
.hx .navlinks a{color:#3A3F47}
.hx .navlinks a:hover{color:#15171B}
.hx .cvbtn{border-color:#15171B;color:#15171B}
.hx .mnav summary{border-color:#3A3F47;color:#15171B}
.hx .mnav-panel{box-shadow:0 18px 40px rgba(21,23,27,.18);border:1px solid #E6E1D6}
.hx .mnav-panel a{color:#15171B;text-decoration:none;padding:12px 14px;border-radius:10px;font-weight:500}
.hx .mnav-panel a:hover{background:#EDE9E0;color:#15171B}
.hx .sig .s{animation:hx-sig 1.5s ease .5s 1 both}
.hx .sig .s2{animation-delay:.68s}.hx .sig .s3{animation-delay:.86s}
@keyframes hx-sig{0%{opacity:1}12%{opacity:.15}24%{opacity:1}}

.hx-copy{grid-row:2;align-self:center;display:flex;flex-direction:column;gap:22px;position:relative;z-index:4;max-width:640px;padding-bottom:5vh}
.hx-copy>*{animation:hx-up .8s cubic-bezier(.2,.7,.2,1) both}
.hx-copy>*:nth-child(2){animation:none}
.hx-copy>*:nth-child(3){animation-delay:.16s}.hx-copy>*:nth-child(4){animation-delay:.24s}.hx-copy>*:nth-child(5){animation-delay:.32s}
@keyframes hx-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hx .label{color:#3A3F47}
.hx h1{margin:0;font-family:"Lora",Georgia,serif;font-weight:500;font-size:clamp(38px,4.3vw,74px);line-height:1.05;letter-spacing:-.025em}
.hx .w{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.14em;margin-bottom:-.14em}
.hx .w>span{display:inline-block;animation:hx-rise .9s cubic-bezier(.2,.75,.2,1) both;animation-delay:calc(var(--i) * 55ms + 120ms)}
@keyframes hx-rise{from{transform:translateY(105%)}to{transform:none}}
.hx h1 .bubble{animation:hx-bub .7s cubic-bezier(.3,1.6,.4,1) .85s both}
@keyframes hx-bub{from{opacity:0;transform:scale(.3) rotate(-14deg)}to{opacity:1;transform:rotate(-2deg)}}
.hx-desc{margin:0;max-width:600px;font-size:clamp(16px,1.2vw,19px);line-height:1.6;color:#3A3F47}
.hx-btns{display:flex;flex-wrap:wrap;gap:12px}
.hx .btn{min-height:50px;padding:0 22px;font-size:15px}
.hx .btn-light{background:#15171B;color:#F6F4EF !important}
.hx .btn-line{border-color:#3A3F47;color:#15171B}
.hx .status{color:#646A74}
.hx .dotlive{background:#1D5A46}

/* portrait + reveal */
.hx-pwrap{grid-row:2;grid-column:2;align-self:end;position:relative;width:min(46vw,calc((100svh - 70px) * .9323),800px);animation:hx-fade 1s ease .25s both}
@keyframes hx-fade{from{opacity:0}to{opacity:1}}
.hx-move{position:relative;z-index:1;will-change:transform}
#hx-rv{display:block;width:100%;height:auto;aspect-ratio:716/768;touch-action:pan-y;-webkit-user-select:none;user-select:none}
@media (pointer:fine){.hx-pwrap{cursor:none}.hx-chip,.hx-hint{cursor:auto}}
.hx-ch{transition:opacity .55s ease}
.hx-giant{position:absolute;z-index:0;right:-7vw;top:3%;margin:0;font-family:"Lora",Georgia,serif;font-weight:600;font-size:clamp(120px,18.5vw,360px);line-height:.8;letter-spacing:-.03em;white-space:nowrap;color:transparent;-webkit-text-stroke:1.5px rgba(21,23,27,.10);pointer-events:none;user-select:none}
.hx-giant .un{display:inline-block;max-width:1.6em;overflow:hidden;vertical-align:bottom;animation:hx-un 1.2s cubic-bezier(.6,0,.2,1) 1.1s both}
@keyframes hx-un{to{max-width:0;opacity:0}}

/* chapter card with auto-advancing progress dots */
.hx-chip{position:absolute;z-index:3;left:50%;transform:translateX(-50%);bottom:2.5%;width:min(92%,470px);background:#FFFFFF;color:#15171B;border:1px solid #E6E1D6;border-radius:22px 22px 22px 6px;padding:16px 18px;box-shadow:0 18px 40px rgba(21,23,27,.18)}
.hx-ctop{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.hx-cnum{font-size:12px;font-weight:600;letter-spacing:.14em;color:#646A74}
.hx-cnum b{color:#E2711D;font-weight:600}
.hx-dots{display:flex;gap:6px}
.hx-nav{display:flex;align-items:center;gap:8px}
.hx-arrow{all:unset;cursor:pointer;width:28px;height:28px;border-radius:50%;border:1.5px solid #DCD7CB;display:inline-flex;align-items:center;justify-content:center;color:#3A3F47;transition:border-color .2s ease,background-color .2s ease,color .2s ease,transform .2s ease}
.hx-arrow svg{width:14px;height:14px}
.hx-arrow:hover{border-color:#E2711D;background:#E2711D;color:#15171B}
.hx-arrow:active{transform:scale(.9)}
.hx-arrow:focus-visible{outline:2px solid #1D5A46;outline-offset:2px}
.hx-dots button{all:unset;cursor:pointer;position:relative;width:22px;height:6px;border-radius:6px;background:#DCD7CB;transition:width .3s ease,background .3s ease}
.hx-dots button::before{content:"";position:absolute;inset:-11px -3px}
.hx-dots button.on{width:40px;background:#F3D9C4}
.hx-dots button i{position:absolute;inset:0;background:#E2711D;border-radius:6px;transform:scaleX(0);transform-origin:left}
.hx-dots button.on i{animation:hx-prog var(--dur,6.5s) linear forwards}
.hx.paused .hx-dots button.on i{animation-play-state:paused}
@keyframes hx-prog{to{transform:scaleX(1)}}
.hx-dots button:focus-visible{outline:2px solid #1D5A46;outline-offset:3px}
.hx-cbody{display:grid;grid-template-columns:minmax(104px,auto) minmax(0,1fr);gap:16px;align-items:center;transition:opacity .25s ease,transform .25s ease}
.hx-cbody.swap{opacity:0;transform:translateY(6px)}
.hx-cnumb{display:flex;flex-direction:column;gap:4px;padding-right:16px;border-right:1px solid #DCD7CB}
.hx-cnumb b{font-family:"Lora",Georgia,serif;font-weight:600;font-size:34px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.hx-cnumb span{font-size:12px;line-height:1.35;color:#646A74;max-width:130px}
.hx-ccat{font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#1D5A46;margin-bottom:4px}
.hx-ctitle{font-family:"Lora",Georgia,serif;font-weight:600;font-size:22px;line-height:1.2;margin-bottom:6px}
.hx-cgo{font-size:14px;font-weight:600;color:#1D5A46;text-decoration:none}
.hx-cgo:hover{text-decoration:underline;text-underline-offset:4px}

/* hint bubble */
.hx-hint{position:absolute;z-index:3;right:0;top:9%;max-width:230px;padding:12px 16px;background:#E2711D;color:#15171B;border-radius:20px 20px 4px 20px;font-size:14px;font-weight:500;line-height:1.4;box-shadow:0 12px 28px rgba(21,23,27,.18);transition:opacity .4s ease,transform .4s ease;animation:hx-pop .5s cubic-bezier(.2,.8,.3,1.3) 2.4s backwards}
.hx-hint.gone{opacity:0;transform:translateY(-6px);pointer-events:none}
@keyframes hx-pop{from{opacity:0;transform:scale(.85) translateY(8px)}to{opacity:1;transform:none}}
.hx-hint .t-touch{display:none}
@media (pointer:coarse){.hx-hint .t-mouse{display:none}.hx-hint .t-touch{display:inline}}

/* cursor label, light trail and dropping keywords (mouse only) */
.hx-cur{position:fixed;left:0;top:0;z-index:50;pointer-events:none;display:flex;align-items:center;gap:8px;opacity:0;transition:opacity .2s ease}
.hx-cur i{width:10px;height:10px;border-radius:50%;background:#E2711D;box-shadow:0 0 0 3px rgba(226,113,29,.25)}
.hx-cur span{padding:5px 10px;border-radius:999px;background:#15171B;color:#F6F4EF;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.hx-cur.on{opacity:1}
.hx-trail{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.hx-words{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.hx-word{position:absolute;left:0;top:0;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#FFFFFF;border:1px solid #E6E1D6;box-shadow:0 8px 22px rgba(21,23,27,.12);font-size:12.5px;font-weight:600;color:#15171B;white-space:nowrap;animation:hx-drop 2.2s cubic-bezier(.25,.6,.3,1) forwards}
.hx-word::before{content:"";width:6px;height:6px;border-radius:50%;background:#E2711D}
@keyframes hx-drop{
  0%{opacity:0;transform:translate(var(--x),var(--y)) scale(.6) rotate(0deg)}
  12%{opacity:1;transform:translate(var(--x),var(--y)) scale(1.04) rotate(var(--r0))}
  22%{transform:translate(var(--x),var(--y)) scale(1) rotate(var(--r0))}
  75%{opacity:1}
  100%{opacity:0;transform:translate(calc(var(--x) + var(--dx)),calc(var(--y) + 90px)) scale(.96) rotate(var(--r1))}
}
@media (hover:none),(pointer:coarse){.hx-trail,.hx-words,.hx-cur{display:none}}

.hx-cue{position:absolute;z-index:4;left:max(clamp(20px,4vw,64px),calc((100vw - 1500px) / 2));bottom:18px;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:#646A74;display:flex;align-items:center;gap:8px}
.hx-cue svg{animation:hx-bob 1.8s ease-in-out infinite}
@keyframes hx-bob{50%{transform:translateY(4px)}}

/* phones and small tablets */
@media (max-width:899px){
  .hx-stage{display:contents}
  .hx-top{padding:16px clamp(16px,5vw,24px)}
  .hx-copy{padding:8px clamp(16px,5vw,24px) 28px;gap:18px;max-width:none}
  .hx h1{font-size:clamp(34px,8.6vw,46px)}
  .hx-desc{font-size:16px}
  .hx .btn{min-height:46px;padding:0 18px;font-size:14px}
  .hx-pwrap{position:relative;height:min(100svh,780px);width:100%;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;background:#F6F4EF}
  .hx-move{width:min(100vw,calc((min(100svh,780px) - 150px) * .9323));flex:0 0 auto}
  .hx-giant{right:auto;left:50%;translate:-50% 0;top:22%;font-size:34vw}
  .hx-chip{left:16px;right:16px;top:14px;bottom:auto;width:auto;transform:none;padding:12px 16px 14px}
  .hx-ctitle{font-size:17px;margin-bottom:4px}
  .hx-cnumb b{font-size:24px}
  .hx-cnumb span{font-size:11px;max-width:96px}
  .hx-cbody{grid-template-columns:auto minmax(0,1fr);gap:12px}.hx-cnumb{padding-right:12px}
  .hx-ccat{font-size:10.5px;letter-spacing:.12em}
  .hx-ctop{margin-bottom:8px}
  .hx-cnum{font-size:11px;letter-spacing:.1em}
  .hx-nav{gap:6px}
  .hx-dots{gap:5px}
  .hx-dots button{width:16px}
  .hx-dots button.on{width:28px}
  .hx-cgo{font-size:13px}
  .hx-hint{right:16px;top:clamp(150px,24svh,200px);max-width:200px;font-size:13px}
  .hx-cue,.hx-trail,.hx-words{display:none}
}

/* =================== SECTION REVEALS (whole page) =================== */
.js-motion [data-rv]{opacity:0;translate:0 26px;transition:opacity .7s ease var(--rd,0s),translate .85s cubic-bezier(.2,.7,.2,1) var(--rd,0s)}
.js-motion [data-rv="left"]{translate:-34px 0}
.js-motion [data-rv="right"]{translate:34px 0}
.js-motion [data-rv].in{opacity:1;translate:0 0}

/* headings rise word by word */
.js-motion .rv-split .w2{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .08em .14em 0;margin:0 -.08em -.14em 0}
.js-motion .rv-split .w2>span{display:inline-block;transform:translateY(108%);transition:transform .9s cubic-bezier(.2,.75,.2,1);transition-delay:calc(var(--i) * 45ms)}
.js-motion .rv-split.in .w2>span{transform:none}

/* section labels transmit their Morse signal */
.js-motion .label.in svg>*{animation:sig-b 1.4s ease both}
.js-motion .label.in svg>*:nth-child(2){animation-delay:.15s}
.js-motion .label.in svg>*:nth-child(3){animation-delay:.3s}
@keyframes sig-b{0%{opacity:.15}20%{opacity:1}35%{opacity:.25}55%{opacity:1}}

/* big faint section numbers behind headings */
.head{position:relative}
.ghost{position:absolute;right:0;top:-.42em;z-index:0;font-family:"Lora",Georgia,serif;font-style:italic;font-weight:600;font-size:clamp(110px,14vw,210px);line-height:1;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1.5px rgba(21,23,27,.08);pointer-events:none;user-select:none}
.dark .ghost{-webkit-text-stroke-color:rgba(246,244,239,.09)}
.head>*{position:relative;z-index:1}
.head>.ghost{position:absolute;z-index:0}
.js-motion .ghost{opacity:0;translate:60px 0;transition:opacity 1s ease .1s,translate 1.4s cubic-bezier(.2,.7,.2,1) .1s}
.js-motion .ghost.in{opacity:1;translate:0 0}
@media (max-width:700px){.ghost{font-size:96px;top:-.3em}}

/* =================== IMPACT NUMBERS: animated icons =================== */
.ic{display:block;width:58px;height:58px;margin-bottom:12px;overflow:visible}
.ic-bg{fill:#F3EEE4}
.ic-l{fill:none;stroke:#15171B;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);transition-delay:var(--d,.15s)}
.ic-o{stroke:#E2711D}
.ic-thick{stroke-width:5}
.ic-pop{transform-box:fill-box;transform-origin:center;transform:scale(0);transition:transform .5s cubic-bezier(.3,1.7,.5,1);transition-delay:var(--d,.6s)}
.ic-fade{opacity:0;transition:opacity .4s ease;transition-delay:var(--d,.8s)}
.stats.in .ic-l{stroke-dashoffset:0}
.stats.in .ic-pop{transform:scale(1)}
.stats.in .ic-fade{opacity:1}
.ic-cap{transform-box:view-box;transform-origin:28px 26px}
.stats.in .ic-cap{animation:ic-toss 1.1s cubic-bezier(.3,.7,.4,1) 1.1s 2 both}
@keyframes ic-toss{0%,100%{transform:none}35%{transform:translateY(-7px) rotate(-12deg)}60%{transform:translateY(1px) rotate(4deg)}}
.ic-lead{opacity:0}
.stats.in .ic-lead{animation:ic-pull 1.2s cubic-bezier(.5,0,.4,1) 3 both;animation-delay:var(--d,1s)}
@keyframes ic-pull{0%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.6)}20%{opacity:1}85%{opacity:1;transform:translate(0,0) scale(1)}100%{opacity:0;transform:translate(0,0) scale(.4)}}
.ic-wave{opacity:0}
.stats.in .ic-wave{animation:ic-wave 1.2s ease-out 4 both;animation-delay:var(--d,1s)}
@keyframes ic-wave{0%{opacity:0}30%{opacity:1}100%{opacity:0}}
.ic-lens{transform-box:view-box}
.stats.in .ic-lens{animation:ic-sweep 1.4s ease-in-out 1s both}
@keyframes ic-sweep{0%,100%{transform:none}30%{transform:translateX(-5px)}65%{transform:translateX(5px)}}
.stat b{font-variant-numeric:tabular-nums}
.js-motion .stats .stat>*{opacity:0;translate:0 14px;transition:opacity .6s ease,translate .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--sd,0s)}
.js-motion .stats .stat>b{transition-delay:calc(var(--sd,0s) + .1s)}
.js-motion .stats .stat>span,.js-motion .stats .stat>small{transition-delay:calc(var(--sd,0s) + .2s)}
.js-motion .stats.in .stat>*{opacity:1;translate:0 0}
.stat{transition:background .3s ease}
.stat:hover{background:#FFFBF6}

/* =================== HOW I CREATE VALUE =================== */
#value .cap{position:relative;overflow:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
#value .cap::before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:#E2711D;transform:scaleX(0);transform-origin:left;transition:transform 1s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--cd,0s) + .45s)}
#value .three.in .cap::before{transform:scaleX(1)}
#value .cap:hover{transform:translateY(-6px);box-shadow:0 24px 48px rgba(21,23,27,.12)}
#value .cap .n{display:inline-block;transition:transform .35s ease}
#value .cap:hover .n{transform:translateY(-2px) rotate(-4deg)}
.js-motion #value .cap{opacity:0;translate:0 30px;transition:opacity .7s ease var(--cd,0s),translate .8s cubic-bezier(.2,.7,.2,1) var(--cd,0s),transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
.js-motion #value .three.in .cap{opacity:1;translate:0 0}
.js-motion #value .cap li{opacity:0;translate:-10px 0;transition:opacity .5s ease,translate .5s ease;transition-delay:calc(var(--cd,0s) + .55s + var(--li,0s))}
.js-motion #value .three.in .cap li{opacity:1;translate:0 0}
.js-motion #value .cap .n{opacity:0;translate:0 40%;transition:opacity .5s ease calc(var(--cd,0s) + .15s),translate .7s cubic-bezier(.3,1.5,.5,1) calc(var(--cd,0s) + .15s),transform .35s ease}
.js-motion #value .three.in .cap .n{opacity:1;translate:0 0}

/* =================== FOUR CHAPTERS: expanding photo panels =================== */
.chx{display:flex;gap:14px;height:clamp(440px,60vh,580px)}
.chx-p{position:relative;flex:1 1 0;min-width:0;border-radius:26px;overflow:hidden;text-decoration:none;color:#F6F4EF;background:#15171B;transition:flex-grow .7s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;isolation:isolate}
.chx-p.is-open{flex-grow:3.2;box-shadow:0 26px 50px rgba(21,23,27,.18)}
.chx-p:hover,.chx-p:focus-visible{color:#F6F4EF}
.chx-p img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(1.08);transition:transform 1.2s cubic-bezier(.2,.7,.2,1),filter .6s ease;filter:grayscale(.55) brightness(.75)}
.chx-p img.left{object-position:left center}
.chx-p.is-open img{transform:scale(1);filter:none}
.chx-p::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(21,23,27,0) 30%,rgba(21,23,27,.55) 62%,rgba(21,23,27,.92) 100%)}
.chx-in{position:absolute;left:0;right:0;bottom:0;padding:22px;display:flex;flex-direction:column;gap:8px}
.chx-cn{display:flex;align-items:baseline;gap:10px;min-width:0}
.chx-cn b{font-family:"Lora",Georgia,serif;font-style:italic;font-weight:500;font-size:40px;line-height:1;color:#E2711D}
.chx-cn span{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#C9CCD1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chx-p h3{margin:0;font-family:"Lora",Georgia,serif;font-weight:600;font-size:clamp(20px,1.8vw,28px);line-height:1.15}
.chx-p p{margin:0;max-width:440px;font-size:15px;line-height:1.55;color:#D9DBDF}
.chx-go{font-size:14px;font-weight:600;color:#F6F4EF;display:inline-flex;align-items:center;gap:6px;border-bottom:1.5px solid #E2711D;align-self:flex-start;padding-bottom:2px}
.chx-p p,.chx-go{opacity:0;max-height:0;overflow:hidden;transition:opacity .45s ease .15s,max-height .6s ease}
.chx-p.is-open p,.chx-p.is-open .chx-go{opacity:1;max-height:120px}
.chx-short{display:none}
.chx-p:not(.is-open) .chx-full{display:none}
.chx-p:not(.is-open) .chx-short{display:inline}
.chx-p:not(.is-open) h3{font-size:19px}
.chx-p:not(.is-open) .chx-in{padding:18px}
.chx-p:not(.is-open) .chx-cn span{display:none}
.js-motion .chx .chx-p{opacity:0;translate:0 40px;transition:opacity .7s ease var(--rd,0s),translate .9s cubic-bezier(.2,.7,.2,1) var(--rd,0s),flex-grow .7s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease}
.js-motion .chx.in .chx-p{opacity:1;translate:0 0}
@media (max-width:900px){
  .chx{flex-direction:column;height:auto}
  .chx-p,.chx-p.is-open{flex:none;height:min(78vw,360px)}
  .chx-p img{transform:none;filter:none}
  .chx-p p,.chx-go{opacity:1;max-height:none}
  .chx-p:not(.is-open) h3{font-size:clamp(20px,5vw,24px)}
  .chx-p:not(.is-open) .chx-cn span{display:inline}
  .chx-p:not(.is-open) .chx-full{display:inline}
  .chx-p:not(.is-open) .chx-short{display:none}
  .chx-p::after{background:linear-gradient(180deg,rgba(21,23,27,.05) 0%,rgba(21,23,27,.6) 45%,rgba(21,23,27,.92) 100%)}
  .chx-p:not(.is-open) .chx-in{padding:22px}
}

/* =================== REFERENCES: chat pop + reaction =================== */
#references .three{position:relative}
#references .ref{position:relative;transition:transform .3s ease,box-shadow .3s ease}
#references .ref:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(21,23,27,.10)}
.js-motion #references .ref{opacity:0;scale:.86;transform-origin:0 100%}
.js-motion #references .ref.r2{transform-origin:100% 100%}
.js-motion #references .ref.pop{opacity:1;scale:1;transition:opacity .25s ease,scale .55s cubic-bezier(.3,1.5,.5,1),transform .3s ease,box-shadow .3s ease}
.typing{position:absolute;z-index:2;display:inline-flex;gap:5px;padding:12px 16px;background:#FFFFFF;border:1px solid #DCD7CB;border-radius:18px 18px 18px 4px;box-shadow:0 8px 20px rgba(21,23,27,.08);animation:hx-pop .3s ease both}
.typing i{width:7px;height:7px;border-radius:50%;background:#B9BDC4;animation:ty-b 1s ease-in-out infinite}
.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes ty-b{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.react{position:absolute;top:-14px;right:18px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#FFFFFF;border:1px solid #DCD7CB;box-shadow:0 8px 18px rgba(21,23,27,.12);transform:scale(0);transition:transform .45s cubic-bezier(.3,1.8,.5,1)}
.react svg{width:16px;height:16px}
.react::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid #E2711D;opacity:0}
.ref.liked .react{transform:scale(1)}
.ref.liked .react::after{animation:react-ring .7s ease-out .1s}
@keyframes react-ring{0%{opacity:.8;transform:scale(.8)}100%{opacity:0;transform:scale(1.9)}}
.ref.r2 .react{right:auto;left:18px}

/* =================== EXPERIENCE / ABOUT / PHOTOS / DNA / BLOG / CONTACT =================== */
.role summary{transition:padding-left .3s ease}
.role summary:hover{padding-left:8px}
.js-motion .arc li{border-top-color:transparent;position:relative}
.js-motion .arc li::before{content:"";position:absolute;left:0;right:0;top:-2px;height:2px;background:#1D5A46;transform:scaleX(0);transform-origin:left;transition:transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--rd,0s) + .2s)}
.js-motion .arc li:last-child::before{background:#E2711D}
.js-motion .arc li.in::before{transform:scaleX(1)}

.js-motion .wall .pol{opacity:0;translate:0 -46px;scale:1.1;transition:opacity .45s ease var(--rd,0s),translate .9s cubic-bezier(.3,1.45,.5,1) var(--rd,0s),scale .9s cubic-bezier(.3,1.45,.5,1) var(--rd,0s),transform .25s ease}
.js-motion .wall.in .pol{opacity:1;translate:0 0;scale:1}

.stamp{display:inline-block}
.js-motion .stamp{opacity:0;scale:2.3;rotate:-16deg;transition:opacity .2s ease .25s,scale .55s cubic-bezier(.5,0,.6,1.6) .25s,rotate .55s ease .25s}
.js-motion .stamp.in{opacity:1;scale:1;rotate:-5deg}
.js-motion .stamp-card.in{animation:stamp-hit .45s ease .72s}
@keyframes stamp-hit{0%,100%{translate:0 0}25%{translate:0 3px}50%{translate:0 -1px}}

.post .img{transition:box-shadow .35s ease}
.post:hover .img{box-shadow:0 18px 36px rgba(21,23,27,.12)}

.composer .typed::after{content:"";display:inline-block;width:2px;height:1.1em;margin-left:3px;vertical-align:-3px;background:#E2711D;animation:caret 1s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.morse.tx .dot,.morse.tx .dash{animation:tx 7s ease infinite;animation-delay:var(--k,0s)}
@keyframes tx{0%,6%{opacity:.25;box-shadow:none}2%{opacity:1;box-shadow:0 0 10px rgba(226,113,29,.9)}100%{opacity:1}}

@media (prefers-reduced-motion:reduce){
  .hx-copy>*,.hx-pwrap,.hx-hint,.hx .sig .s,.hx .w>span,.hx h1 .bubble{animation:none}
  .hx-giant .un{animation:none;max-width:0;opacity:0}
  .hx-cue svg{animation:none}
  .hx-ch,.hx-cbody{transition:none}
  .hx-trail,.hx-words{display:none}
  .hx-dots button.on i{animation:none;transform:none}
  .morse.tx .dot,.morse.tx .dash{animation:none}
  .chx-p,.chx-p img{transition:none}
}
