/* Corporate Carpentry: subtle, performance-minded interaction layer */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.cc-pointer,body.cc-pointer *{cursor:none!important}
  .cc-cursor{position:fixed;left:0;top:0;width:43px;height:43px;z-index:9999;pointer-events:none;display:flex;align-items:center;justify-content:center;transform:translate3d(-100px,-100px,0);will-change:transform;opacity:0;filter:drop-shadow(0 2px 4px #0006)}
  .cc-cursor-logo{font:900 25px/1 Georgia,serif;letter-spacing:-2px;color:#f5f3e9;text-shadow:-1px -1px 0 #26362e,1px -1px 0 #26362e,-1px 1px 0 #26362e,1px 1px 0 #26362e;transition:transform .2s var(--motion-ease),color .2s}
  .cc-cursor.is-hover .cc-cursor-logo{transform:scale(1.25);color:#c4e49a}
  .cc-cursor.is-project .cc-cursor-logo{transform:scale(1.4);color:#c4e49a}
  .cc-reveal{opacity:0;transform:translateY(28px);transition:opacity .85s var(--motion-ease),transform .85s var(--motion-ease)}
  .cc-reveal.cc-visible{opacity:1;transform:translateY(0)}
  .cc-image-wrap{overflow:hidden;position:relative;isolation:isolate}
  .cc-image-wrap img{transition:transform .75s var(--motion-ease);will-change:transform}
  .cc-image-wrap:hover img{transform:scale(1.055)}
  .cc-magnetic{transition:transform .25s var(--motion-ease),background-color .2s;will-change:transform}
  .photo-card,.service,.teamcard{transition:box-shadow .35s,transform .35s var(--motion-ease)}
  .photo-card:hover,.service:hover,.teamcard:hover{transform:translateY(-5px);box-shadow:0 14px 38px #17231f1e}
  nav a{transition:color .2s}
  nav a:hover{color:#789468}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Native browser cursor: the actual pointer is the Corporate Carpentry logo. */
@media (hover:hover) and (pointer:fine) {
  html, body, body *, body *::before, body *::after {
    cursor: url('/cc-cursor.png') 20 20, auto !important;
  }
}
