/* Interaction trial: keep the existing palettes, type, content and layout. */
:is(.hero,.projects,.experience,.contact) [data-section-motion="waiting"]{opacity:0;pointer-events:none}
.hero.hero-motion-ready :is(.hero-intro,h1>span,.sticker,.handnote,.hero-bottom,.preview-card){animation:none}
.projects-gallery{position:relative}
.projects-gallery.projects-outgoing{position:absolute;inset:0;margin:0;pointer-events:none;z-index:3}
.project-dialog[open]::backdrop{animation:preview-backdrop-in .28s ease both}
.project-dialog.is-closing::backdrop{animation:preview-backdrop-out .18s ease both}
@keyframes preview-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes preview-backdrop-out{from{opacity:1}to{opacity:0}}
.contact-copy{position:relative}
.contact-copy[data-copy-feedback]::after{content:attr(data-copy-feedback);position:absolute;right:0;bottom:calc(100% + 3px);padding:6px 9px;border-radius:6px;background:#294b3d;color:#fffdf0;white-space:nowrap;text-decoration:none;font-size:10px;pointer-events:none;animation:copy-confirm-in .18s ease both}
.contact-mail-cta{transition:background .2s,transform .2s,scale .15s}
.contact-mail-cta:active{scale:.98}
@keyframes copy-confirm-in{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){
  :is(.hero,.projects,.experience,.contact) [data-section-motion="waiting"]{opacity:1;translate:none;pointer-events:auto}
  .project-dialog::backdrop,.contact-copy::after{animation:none!important}
}
@media print{
  :is(.hero,.projects,.experience,.contact) [data-section-motion="waiting"]{opacity:1;translate:none;pointer-events:auto}
  .projects-outgoing,.contact-copy::after{display:none!important}
}
