/* C8 motion layer: progressive enhancement on the VIRNOX portfolio only. */
.c8-motion-ready [data-c8-reveal]{opacity:0;translate:0 22px;scale:1;transition:opacity .72s cubic-bezier(.2,.7,.2,1),translate .72s cubic-bezier(.2,.7,.2,1),scale .72s cubic-bezier(.2,.7,.2,1);transition-delay:var(--c8-delay,0ms);will-change:opacity,translate}
.c8-motion-ready [data-c8-reveal="left"]{translate:-28px 0}
.c8-motion-ready [data-c8-reveal="right"]{translate:28px 0}
.c8-motion-ready [data-c8-reveal="zoom"]{translate:0 10px;scale:.975}
.c8-motion-ready [data-c8-reveal].c8-revealed{opacity:1;translate:0 0;scale:1;will-change:auto}

/* Small pointer-precise cursor; never enabled on touch or reduced-motion devices. */
@media(min-width:761px) and (hover:hover) and (pointer:fine){[data-c8-parallax]{translate:0 var(--c8-parallax-y,0px);will-change:translate}}
.c8-cursor{position:fixed;z-index:9999;top:0;left:0;width:9px;height:9px;border:1.5px solid #087f8d;border-radius:50%;background:var(--turquoise,#64dbe8);opacity:0;pointer-events:none;transform:translate3d(-100px,-100px,0) translate(-50%,-50%);transition:width .18s ease,height .18s ease,background-color .18s ease,border-color .18s ease,opacity .18s ease;will-change:transform}
.c8-cursor.c8-cursor-visible{opacity:.9}
.c8-cursor.c8-cursor-hover{width:30px;height:30px;background:rgba(100,219,232,.3);border-color:#087f8d}
.c8-cursor.c8-cursor-down{width:7px;height:7px}
html.c8-cursor-active,html.c8-cursor-active body,html.c8-cursor-active body *{cursor:none!important}
html.c8-cursor-active input,html.c8-cursor-active textarea,html.c8-cursor-active select,html.c8-cursor-active [contenteditable="true"]{cursor:text!important}
html.c8-cursor-active button.c8-cursor-toggle{cursor:pointer!important}
.c8-cursor-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:600 11px/1.3 var(--font-body,inherit);text-align:center;transition:background-color .2s,color .2s,border-color .2s}
.c8-cursor-toggle:hover,.c8-cursor-toggle:focus-visible{background:var(--turquoise,#64dbe8);border-color:var(--turquoise,#64dbe8);color:var(--ink,#04141e)}
.c8-cursor-toggle[hidden]{display:none!important}

/* Added interaction polish uses composited transforms rather than layout changes. */
.project-card{transition:transform .42s cubic-bezier(.2,.7,.2,1),box-shadow .42s,border-color .3s}
.project-preview img{transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .5s}
.project-card:hover .project-preview img,.project-card:focus-within .project-preview img{transform:scale(1.035);filter:saturate(1.04)}
.project-discover span[aria-hidden="true"]{display:inline-block;transition:transform .2s ease}
.project-discover:hover span[aria-hidden="true"],.project-discover:focus-visible span[aria-hidden="true"]{transform:translate(3px,-2px)}
.case-hero-art img,.case-page-card,.template-block,.identity-panel{transition:transform .38s cubic-bezier(.2,.7,.2,1),box-shadow .38s,border-color .3s}
.case-page-card:hover,.case-page-card:focus-within,.template-block:hover,.identity-panel:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(4,20,30,.09)}
.case-hero-art:hover img{transform:scale(1.008)}
.site-header .main-nav a,.mobile-menu a,.text-link,.back-link{transition:color .22s ease,background-color .22s ease}

@media(prefers-reduced-motion:reduce){
  .c8-motion-ready [data-c8-reveal],.c8-motion-ready [data-c8-reveal="left"],.c8-motion-ready [data-c8-reveal="right"],.c8-motion-ready [data-c8-reveal="zoom"]{opacity:1;translate:none;scale:1;transition:none;will-change:auto}
  .c8-cursor{display:none!important}
  html.c8-cursor-active,html.c8-cursor-active body,html.c8-cursor-active body *{cursor:auto!important}
}
@media(max-width:760px),(hover:none),(pointer:coarse){
  .c8-cursor,.c8-cursor-toggle{display:none!important}
  html.c8-cursor-active,html.c8-cursor-active body,html.c8-cursor-active body *{cursor:auto!important}
  [data-c8-parallax]{translate:none!important}
  .project-card:hover,.case-page-card:hover,.template-block:hover,.identity-panel:hover{transform:none;box-shadow:inherit}
  .project-card:hover .project-preview img,.project-card:focus-within .project-preview img,.case-hero-art:hover img{transform:none;filter:none}
}

/* C9: slower, smoother motion without changing layout, copy, or palette. */
:root{--c9-motion-ease:cubic-bezier(.22,.61,.36,1);--c9-settle-ease:cubic-bezier(.16,1,.3,1);--c9-reveal-duration:.92s;--c9-card-duration:.52s}
.c8-motion-ready [data-c8-reveal]{opacity:0;translate:0 16px;scale:1;transition:opacity var(--c9-reveal-duration) var(--c9-settle-ease),translate var(--c9-reveal-duration) var(--c9-settle-ease),scale var(--c9-reveal-duration) var(--c9-settle-ease);transition-delay:var(--c8-delay,0ms);will-change:opacity,translate}
.c8-motion-ready [data-c8-reveal="left"]{translate:-20px 0}
.c8-motion-ready [data-c8-reveal="right"]{translate:20px 0}
.c8-motion-ready [data-c8-reveal="zoom"]{translate:0 8px;scale:.987}
.c8-motion-ready [data-c8-reveal].c8-revealed{opacity:1;translate:0 0;scale:1;will-change:auto}
.c8-motion-ready .reveal[data-c8-reveal]{transition:opacity var(--c9-reveal-duration) var(--c9-settle-ease),translate var(--c9-reveal-duration) var(--c9-settle-ease),scale var(--c9-reveal-duration) var(--c9-settle-ease)}
.js-ready .reveal{transition:opacity var(--c9-reveal-duration) var(--c9-settle-ease),transform var(--c9-reveal-duration) var(--c9-settle-ease);transform:translate3d(0,14px,0)}
.js-ready .reveal.is-visible{opacity:1;transform:none}
.c8-motion-ready [data-c8-parallax]{translate:0 var(--c9-parallax-y,0px);will-change:auto}
.c8-motion-ready [data-c8-parallax].c9-parallax-active{will-change:translate}
.c8-cursor{transition:width .24s var(--c9-motion-ease),height .24s var(--c9-motion-ease),background-color .24s ease,border-color .24s ease,opacity .18s ease}
.c8-cursor:before{content:"";position:absolute;left:50%;top:50%;width:24px;height:24px;border:1px solid rgba(8,127,141,.35);border-radius:50%;background:rgba(100,219,232,.08);opacity:.65;pointer-events:none;transform:translate3d(calc(-50% + var(--c9-cursor-follow-x,0px)),calc(-50% + var(--c9-cursor-follow-y,0px)),0);will-change:transform}
.c8-cursor.c8-cursor-hover:before{width:34px;height:34px;opacity:.45}
.project-card{transition:transform var(--c9-card-duration) var(--c9-motion-ease),box-shadow var(--c9-card-duration) var(--c9-motion-ease),border-color .38s ease}
.c8-motion-ready .project-card[data-c8-reveal]{transition:opacity var(--c9-reveal-duration) var(--c9-settle-ease),translate var(--c9-reveal-duration) var(--c9-settle-ease),scale var(--c9-reveal-duration) var(--c9-settle-ease),transform var(--c9-card-duration) var(--c9-motion-ease),box-shadow var(--c9-card-duration) var(--c9-motion-ease),border-color .38s ease;transition-delay:var(--c8-delay,0ms)}
.project-card:hover{transform:translateY(-4px);box-shadow:0 20px 52px rgba(4,20,30,.11);border-color:#ccebef}
.project-card:focus-within{transform:translateY(-2px);box-shadow:0 16px 42px rgba(4,20,30,.09)}
.project-preview img{transition:transform .78s var(--c9-motion-ease),filter .55s ease}
.project-card:hover .project-preview img,.project-card:focus-within .project-preview img{transform:scale(1.025)}
.case-hero-art img,.case-page-card,.template-block,.identity-panel{transition:transform .5s var(--c9-motion-ease),box-shadow .5s var(--c9-motion-ease),border-color .38s ease}
.case-page-card:hover,.case-page-card:focus-within,.template-block:hover,.identity-panel:hover{transform:translateY(-3px);box-shadow:0 17px 42px rgba(4,20,30,.085)}
@media(prefers-reduced-motion:reduce){
  .c8-motion-ready [data-c8-reveal],.c8-motion-ready [data-c8-reveal="left"],.c8-motion-ready [data-c8-reveal="right"],.c8-motion-ready [data-c8-reveal="zoom"]{opacity:1;translate:none;scale:1;transition:none;will-change:auto}
  .c8-motion-ready [data-c8-parallax]{translate:none!important;will-change:auto!important}
  .c8-cursor:before{display:none}
}
@media(max-width:760px),(hover:none),(pointer:coarse){
  .c8-cursor:before{display:none}
}

