/* ===== My Philosophy, round 5 ===== */
/* PR detective's desk around the files */
.pdesk{position:relative;max-width:1180px;margin:clamp(90px,12vw,150px) auto clamp(40px,6vw,70px);padding:clamp(20px,3vw,40px) 0;}
.desk-objs{position:absolute;inset:0;pointer-events:none;}
.desk-o{position:absolute;height:auto;filter:drop-shadow(4px 8px 0 rgba(36,29,51,.14)) drop-shadow(0 12px 14px rgba(36,29,51,.18));animation:deskFloat 7s ease-in-out infinite;}
.desk-o.o1{left:2%;top:-2%;width:clamp(120px,15vw,190px);--r:-8deg;}
.desk-o.o2{right:0;top:-4%;width:clamp(150px,19vw,240px);--r:6deg;animation-delay:-2s;animation-duration:8s;}
.desk-o.o3{left:6%;bottom:6%;width:clamp(110px,13.5vw,170px);--r:7deg;animation-delay:-4s;}
.desk-o.o4{right:5%;top:40%;width:clamp(110px,13vw,160px);--r:-6deg;animation-delay:-1s;animation-duration:6.5s;}
.desk-o.o5{left:9%;top:40%;width:clamp(70px,8vw,105px);--r:-4deg;animation-delay:-3s;animation-duration:6s;}
.desk-o.o6{right:3%;bottom:-2%;width:clamp(100px,11vw,145px);--r:4deg;animation-delay:-5s;animation-duration:9s;}
@keyframes deskFloat{0%,100%{transform:translateY(0) rotate(var(--r))}50%{transform:translateY(-10px) rotate(calc(var(--r) + 2deg))}}
.pdesk .pff{margin:0 auto!important;width:min(100%,520px);}
.pff-folder:hover{transform:translateY(-6px) rotate(-1deg);}
@media (max-width:820px){
  .desk-o.o3,.desk-o.o4{display:none;}
  .desk-o.o1{left:-4%;top:-6%;width:96px;} .desk-o.o2{right:-4%;top:-7%;width:120px;}
  .desk-o.o5{left:-2%;top:auto;bottom:4%;width:62px;} .desk-o.o6{right:-3%;bottom:2%;width:74px;}
  .pdesk .pff{width:78%;}
}
/* tap prompt on each file card */
.pff-tap{margin-top:auto;margin-bottom:8px;align-self:stretch;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.75);border:1.5px dashed #241D33;font:700 clamp(12px,1.35vw,15px)/1 "Caveat",cursive;font-style:normal;color:#C2427A;text-align:center;
  opacity:0;transform:translateY(4px);transition:opacity .3s,transform .3s;transition-delay:calc(var(--i) * 80ms + .45s);}
.pff.open .pff-tap{opacity:1;transform:none;animation:pffTap 1.6s calc(var(--i) * .2s + 1s) ease-in-out infinite;}
@keyframes pffTap{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media (max-width:640px){ .pff-tap{font-size:10.5px;padding:2px 3px;} }

/* ending: Less talk. More receipts. */
.ph-end2 .inner{display:flex;flex-direction:column;align-items:center;text-align:center;}
.ph-end2 h2{font-size:clamp(40px,7vw,96px)!important;line-height:1!important;margin-bottom:clamp(14px,2vw,22px)!important;}
.ph-end2 h2 .dot{display:inline-block;width:.18em;height:.18em;border-radius:50%;background:#C4B2E6;margin-left:.05em;}
.pe-work{position:relative;display:inline-flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:inherit;}
.pe-wand{width:30px;height:auto;animation:peWand 2s ease-in-out infinite;filter:drop-shadow(0 0 1.5px #FFF) drop-shadow(0 0 1.5px #FFF);}
@keyframes peWand{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(4deg)}}
.pe-t{font:700 clamp(24px,2.8vw,32px) "Caveat",cursive;color:#F7A8C8;}
.pe-t b{font:800 .72em "Poppins",sans-serif;letter-spacing:.16em;color:#FFFFFF;}
.pe-work:hover .pe-t b{color:#F8DF96;}
.pe-sp{position:absolute;left:50%;top:-4px;width:0;height:0;pointer-events:none;}
.pe-sp i{position:absolute;font-style:normal;color:#F8DF96;font-size:14px;opacity:0;animation:peSp 2s ease-out infinite;}
.pe-sp i:nth-child(1){--x:-26px;--y:-18px} .pe-sp i:nth-child(2){--x:22px;--y:-24px;animation-delay:-.7s;color:#FFF} .pe-sp i:nth-child(3){--x:4px;--y:-34px;animation-delay:-1.3s;color:#F7A8C8}
@keyframes peSp{0%{opacity:0;transform:translate(0,0) scale(.4)}30%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1.1) rotate(90deg)}}
.pe-book{position:relative;margin:clamp(30px,4vw,50px) auto 0;width:min(100%,720px);aspect-ratio:1536/1024;perspective:1600px;}
.pe-book img{display:block;width:100%;height:100%;filter:drop-shadow(0 26px 30px rgba(8,4,16,.45));}
/* blank leaves turning over from the right page to the left */
.pe-leaf{position:absolute;left:51.1%;top:24%;width:33.6%;height:50.5%;transform-origin:0 50%;transform-style:preserve-3d;opacity:0;animation:peTurn 7s cubic-bezier(.45,.05,.35,1) infinite;}
.pe-leaf.l2{animation-delay:-3.5s;}
.pe-leaf i{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:4px 30px 6px 4px/4px 18px 6px 4px;
  background:linear-gradient(90deg,#E9D2B4 0,#FBF0DF 10%,#FDF5E8 70%,#F2DFC4 100%);box-shadow:inset 0 0 0 1px rgba(110,70,30,.15);}
.pe-leaf .b{transform:rotateY(180deg);background:linear-gradient(270deg,#E9D2B4 0,#FBF0DF 10%,#FDF5E8 70%,#F2DFC4 100%);}
@keyframes peTurn{
  0%{opacity:0;transform:rotateY(0)}
  6%{opacity:1;transform:rotateY(-4deg)}
  14%{transform:rotateY(-12deg)}
  40%{transform:rotateY(-176deg);opacity:1}
  58%{transform:rotateY(-178deg);opacity:1}
  66%,100%{transform:rotateY(-178deg);opacity:0}}
@media (prefers-reduced-motion:reduce){ .desk-o,.pff-tap,.pe-wand,.pe-sp i,.pe-leaf{animation:none!important;} .pe-leaf{display:none;} .pff.open .pff-tap{opacity:1;} }
.pff-tap{margin-top:6px!important;margin-bottom:0!important;align-self:flex-start!important;padding:3px 8px!important;}
.pff-card span{overflow-wrap:normal!important;hyphens:manual!important;font-size:clamp(9.5px,1.15vw,12.5px);}
@media (max-width:820px){ .pdesk{padding:60px 0 40px;} .desk-o.o1{left:-2%;top:0;} .desk-o.o2{right:-2%;top:0;} }
@media (max-width:640px){ .pff-card b{font-size:17px;} .pff-card{padding:6px 5px 0;} .pff-tap{font-size:10px!important;padding:2px 4px!important;} }
@media (max-width:640px){ .pff-card span{font-size:8.4px!important;overflow-wrap:anywhere!important;letter-spacing:-.01em;} }

/* ending: light dotted background, dark text, coffee lady */
.ph-end2{background-color:#F1EBF8!important;background-image:radial-gradient(rgba(214,180,214,.55) 2.6px,transparent 3px),linear-gradient(180deg,#DAD3E2 0,#EDE6F4 22%,#F2ECF9 60%)!important;background-size:42px 41px,100% 100%!important;background-position:24px 32px,0 0!important;color:#241D33!important;}
.ph-end2 h2{color:#241D33!important;}
.ph-end2 .pe-t{color:#C2427A!important;}
.ph-end2 .pe-t b{color:#241D33!important;}
.ph-end2 .pe-work:hover .pe-t b{color:#7C6AA8!important;}
.ph-end2 .pe-sp i{text-shadow:0 0 4px rgba(194,66,122,.6);}
.ph-end2 .pe-sp i:nth-child(1){color:#E2A12A!important}.ph-end2 .pe-sp i:nth-child(2){color:#C2427A!important}
.pe-coffee{position:relative;margin:clamp(24px,3vw,40px) auto 0;width:min(100%,460px);aspect-ratio:3/2;}
.pe-coffee img{display:block;width:100%;height:100%;filter:drop-shadow(0 18px 22px rgba(36,29,51,.25));}
.pe-steam{position:absolute;width:5%;height:16%;border-radius:50%;pointer-events:none;
  background:radial-gradient(ellipse at 50% 60%,rgba(255,255,255,.95),rgba(255,248,240,.6) 40%,rgba(255,255,255,0) 70%);filter:blur(3px);opacity:0;animation:peSteam 3.4s ease-out infinite;}
.pe-steam.s1{left:15%;top:4%;}
.pe-steam.s2{left:21%;top:2%;animation-delay:-1.2s;width:4%;}
.pe-steam.s3{left:48.5%;top:12%;animation-delay:-2.2s;width:3.6%;height:12%;}
@keyframes peSteam{0%{opacity:0;transform:translate(0,30%) scale(.6)}25%{opacity:.9}60%{opacity:.55;transform:translate(-30%,-40%) scale(1.1) rotate(-8deg)}100%{opacity:0;transform:translate(25%,-110%) scale(1.4) rotate(8deg)}}
@media (prefers-reduced-motion:reduce){ .pe-steam{display:none;} }

/* "My philosophy" label, same as the homepage "About me" */
.ab-glit{position:relative;display:inline-block;justify-self:start;margin:14px 0 0;padding:0 26px 0 22px;}
.ab-glit .gt{font-family:"Poppins",sans-serif;font-weight:800;font-size:clamp(18px,1.9vw,23px);letter-spacing:.32em;text-transform:uppercase;background:linear-gradient(100deg,#C2427A 0%,#E8C66A 22%,#FFF6D8 30%,#E8C66A 38%,#C2427A 55%,#7C6AA8 75%,#C2427A 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:glitSweep 4s linear infinite;filter:drop-shadow(0 0 6px rgba(232,198,106,.45));}
@keyframes glitSweep{to{background-position:-250% 0;}}
.ab-glit .gs{position:absolute;color:#E8C66A;font-size:14px;animation:glitTw 2.2s ease-in-out infinite;}
.ab-glit .g1{left:0;top:-4px;} .ab-glit .g2{right:4px;top:-10px;font-size:12px;color:#C2427A;animation-delay:.7s;} .ab-glit .g3{right:-4px;bottom:-6px;font-size:10px;animation-delay:1.4s;}
@keyframes glitTw{0%,100%{opacity:.2;transform:scale(.6) rotate(0);}50%{opacity:1;transform:scale(1.15) rotate(25deg);}}
@media (prefers-reduced-motion:reduce){ .ab-glit .gt,.ab-glit .gs{animation:none;} }
.ab-hero .ab-glit{margin:0 0 22px;}
/* smaller Branding vs PR strip */
.bvp{max-width:720px!important;}
