/* Type and motion enhancements for the public site. */
body{
    font-family:'Inter',Arial,sans-serif
}
h1,h2,h3,.brand{
    font-family:'Inter',Arial,sans-serif
}
.nav-toggle,.nav-cta,.button,.text-link,.service-card a,.work-card a{
    font-family:'Inter',Arial,sans-serif
}
/* Keep the above-the-fold content visible at first paint so it remains eligible
   for Largest Contentful Paint measurement. */
.site-header{
    animation:header-drop .45s both
}
.button,.nav-cta{
    transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease
}
.button:hover,.nav-cta:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(11,29,39,.18)
}
.button:active,.nav-cta:active{
    transform:translateY(0);
    box-shadow:none
}
.button-lime:hover{
    background:#e2f47a
}
.text-link{
    transition:color .2s ease,transform .2s ease
}
.text-link:hover{
    color:var(--teal);
    transform:translateX(3px)
}
.service-card{
    transition:background-color .28s ease,color .28s ease,transform .28s ease,box-shadow .28s ease
}
.service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 28px rgba(17,41,53,.11)
}
.work-card{
    transition:transform .25s ease
}
.work-card:hover{
    transform:translateY(-4px)
}
.work-card:hover .work-visual{
    transform:none;
    box-shadow:0 16px 25px rgba(17,41,53,.15)
}
.work-card .work-visual{
    transition:box-shadow .25s ease
}
.site-footer a{
    transition:color .2s ease
}
.site-footer a:hover{
    color:var(--lime)
}
.page-hero>*{
    animation:hero-rise .6s both
}
.page-hero .eyebrow{
    animation-delay:.05s
}
.page-hero h1{
    animation-delay:.12s
}
.page-hero .lede{
    animation-delay:.2s
}
.reveal{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .65s ease,transform .65s ease
}
.reveal.is-visible{
    opacity:1;
    transform:translateY(0)
}
.service-card:nth-child(2),.work-card:nth-child(2){
    transition-delay:.07s
}
.service-card:nth-child(3),.work-card:nth-child(3){
    transition-delay:.14s
}
.service-card:nth-child(4){
    transition-delay:.21s
}
.portfolio-hero__copy{
    animation:hero-rise .7s both
}
.portfolio-hero__visual{
    animation:hero-visual .9s .08s both
}
.portfolio-glow{
    animation:glow-breathe 8s ease-in-out infinite alternate
}
.portfolio-code-card{
    animation:code-card-float 6s ease-in-out infinite
}
.portfolio-preview{
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease
}
.portfolio-preview--main:hover,.portfolio-preview--main:focus-visible{
    transform:rotate(-2deg) translateY(-5px);
    border-color:rgba(255,174,71,.55);
    box-shadow:0 30px 80px rgba(0,0,0,.56)
}
.portfolio-preview--small:hover,.portfolio-preview--small:focus-visible{
    transform:rotate(3deg) translateY(-6px);
    border-color:rgba(189,99,255,.65);
    box-shadow:0 25px 60px rgba(0,0,0,.5)
}
.portfolio-strip span{
    transition:color .2s ease,transform .2s ease
}
.portfolio-strip span:hover{
    color:#ffb44d;
    transform:translateY(-2px)
}
.portfolio-service-card{
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,background .28s ease
}
.portfolio-service-card:hover{
    transform:translateY(-5px);
    border-color:rgba(194,111,255,.45);
    background:linear-gradient(145deg,rgba(170,83,255,.12),rgba(255,157,56,.035));
    box-shadow:0 18px 36px rgba(0,0,0,.2)
}
.portfolio-text-link{
    transition:color .2s ease,border-color .2s ease,transform .2s ease
}
.portfolio-text-link:hover{
    color:#ffb44d;
    border-color:#ffb44d;
    transform:translateX(3px)
}
.portfolio-project-card__image{
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease
}
.portfolio-project-card__image:hover,.portfolio-project-card__image:focus-visible{
    transform:translateY(-4px);
    border-color:rgba(255,174,71,.55);
    box-shadow:0 18px 38px rgba(0,0,0,.34)
}
.portfolio-approach-grid article{
    transition:transform .28s ease,border-color .28s ease,background .28s ease,box-shadow .28s ease
}
.portfolio-approach-grid article:hover{
    transform:translateY(-5px);
    border-color:rgba(189,99,255,.45);
    background:rgba(150,71,220,.07);
    box-shadow:0 16px 34px rgba(0,0,0,.2)
}
.portfolio-contact{
    transition:border-color .3s ease,box-shadow .3s ease
}
.portfolio-contact:hover{
    border-color:rgba(255,174,71,.45);
    box-shadow:0 20px 60px rgba(0,0,0,.2)
}
.post-card,.article-cta{
    transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease
}
.post-card:hover{
    transform:translateY(-5px);
    border-color:rgba(189,99,255,.45);
    box-shadow:0 18px 42px rgba(0,0,0,.28)
}
.article-cta:hover{
    border-color:rgba(255,174,71,.42);
    box-shadow:0 14px 34px rgba(0,0,0,.24)
}
.contact-form{
    transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease
}
.contact-form:focus-within{
    border-color:rgba(189,99,255,.5);
    box-shadow:0 18px 48px rgba(0,0,0,.25);
    transform:translateY(-2px)
}
.contact-details a{
    transition:color .2s ease,transform .2s ease
}
.contact-details a:hover{
    color:#ffb44d;
    transform:translateX(3px)
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
    outline:2px solid #ffac42;
    outline-offset:3px
}
@keyframes hero-rise{
    from{
        opacity:0;
        transform:translateY(20px)
    }
    to{
        opacity:1;
        transform:translateY(0)
    }
}
@keyframes media-reveal{
    from{
        opacity:0;
        transform:translateX(26px)
    }
    to{
        opacity:1;
        transform:translateX(0)
    }
}
@keyframes header-drop{
    from{
        opacity:0;
        transform:translateY(-9px)
    }
    to{
        opacity:1;
        transform:translateY(0)
    }
}
@keyframes hero-visual{
    from{opacity:0;transform:translateX(24px) scale(.98)}
    to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes glow-breathe{
    from{opacity:.55;transform:scale(.94)}
    to{opacity:1;transform:scale(1.04)}
}
@keyframes code-card-float{
    0%,100%{transform:rotate(3deg) translateY(0)}
    50%{transform:rotate(3deg) translateY(-8px)}
}
@keyframes typing-caret{
    50%{opacity:0}
}
@media(max-width:620px){
    .service-card:hover,.work-card:hover{
        transform:none
    }
    .hero-media,.hero-media *{
        animation:none!important
    }
}
@media(prefers-reduced-motion:reduce){
    *,*:before,*:after{
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        scroll-behavior:auto!important;
        transition-duration:.01ms!important
    }
    .reveal{
        opacity:1;
        transform:none
    }
    .portfolio-code-card,.portfolio-glow{
        animation:none
    }
}
