/* A quiet motion layer for the institutional home. It always honors reduced-motion preferences. */
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .hero-meta,
  .motion-enabled .kicker,
  .motion-enabled .hero h1,
  .motion-enabled .hero-bottom {
    animation: home-rise .9s cubic-bezier(.2,.8,.2,1) both;
  }
  .motion-enabled .hero-meta { animation-delay: .08s; }
  .motion-enabled .kicker { animation-delay: .18s; }
  .motion-enabled .hero h1 { animation-delay: .3s; }
  .motion-enabled .hero-bottom { animation-delay: .46s; }
  .motion-enabled .hero:after { animation: ambient-drift 13s ease-in-out infinite alternate; }
  .motion-enabled .hero-lines { animation: hero-lines-float 10s ease-in-out infinite; }
  .motion-enabled .hero-lines i { animation: line-breathe 5s ease-in-out infinite; }
  .motion-enabled .hero-lines i:nth-child(2) { animation-delay: -1.7s; }
  .motion-enabled .hero-lines i:nth-child(3) { animation-delay: -3.4s; }

  .motion-enabled .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .75s ease var(--reveal-delay,0ms), transform .75s cubic-bezier(.2,.8,.2,1) var(--reveal-delay,0ms);
  }
  .motion-enabled .reveal.is-visible { opacity: 1; transform: none; }
  .motion-enabled .org-pulse i { transform-origin: bottom; animation: pulse-shift 2.6s ease-in-out infinite; }
  .motion-enabled .org-pulse i:nth-child(2) { animation-delay: -.4s; }
  .motion-enabled .org-pulse i:nth-child(3) { animation-delay: -.8s; }
  .motion-enabled .org-pulse i:nth-child(4) { animation-delay: -1.2s; }
  .motion-enabled .org-pulse i:nth-child(5) { animation-delay: -1.6s; }
  .motion-enabled .org-pulse i:nth-child(6) { animation-delay: -2s; }
  .motion-enabled .radar { animation: radar-turn 20s linear infinite; }
  .motion-enabled .dashboard {
    transform: perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .motion-enabled .arrow-button,
  .motion-enabled .round-link { transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
  .motion-enabled .arrow-button:hover { transform: translate(4px,-4px); box-shadow: -5px 5px 0 rgba(17,30,27,.25); }
  .motion-enabled .round-link:hover { transform: translateY(5px) rotate(8deg); background: rgba(255,255,255,.12); }
  .motion-enabled nav a { position: relative; }
  .motion-enabled nav a:after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
  }
  .motion-enabled nav a:hover:after { transform: scaleX(1); transform-origin: left; }
  .motion-enabled .methodology-map .orbit { animation: orbit-spin 30s linear infinite; }
  .motion-enabled .methodology-map .orbit-two { animation-duration: 22s; animation-direction: reverse; }
  .motion-enabled .methodology-map .orbit-three { animation-duration: 14s; }
  .motion-enabled .core { animation: core-breathe 4s ease-in-out infinite; }
  .motion-enabled .context-mark i { animation: point-flicker 3s ease-in-out infinite; }
  .motion-enabled .context-mark i:nth-child(2) { animation-delay: -1s; }
  .motion-enabled .context-mark i:nth-child(3) { animation-delay: -2s; }

  /* Micro-responses for the quieter editorial sections. */
  .motion-enabled .product-features article {
    position: relative;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease;
  }
  .motion-enabled .product-features article:before {
    content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px;
    background: #e7bb66; transition: width .4s cubic-bezier(.2,.8,.2,1);
  }
  .motion-enabled .product-features article:hover { transform: translateY(-7px); border-color: #e7bb66; }
  .motion-enabled .product-features article:hover:before { width: 76%; }
  .motion-enabled .advisory-photo { overflow: hidden; }
  .motion-enabled .advisory-photo img { transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
  .motion-enabled .advisory:hover .advisory-photo img { transform: scale(1.045); filter: saturate(.82); }
  .motion-enabled .advisory li { transition: padding-left .3s ease, color .3s ease, border-color .3s ease; }
  .motion-enabled .advisory li:hover { padding-left: 10px; color: #e9bf68; border-color: rgba(233,191,104,.65); }
  .motion-enabled .proof-list span {
    position: relative; padding-left: 0;
    transition: padding-left .3s ease, color .3s ease, letter-spacing .3s ease;
  }
  .motion-enabled .proof-list span:before {
    content: "→"; position: absolute; left: 0; opacity: 0; color: #e1ad50; transition: opacity .25s ease;
  }
  .motion-enabled .proof-list span:hover { padding-left: 22px; color: var(--ink); letter-spacing: .14em; }
  .motion-enabled .proof-list span:hover:before { opacity: 1; }
  .motion-enabled .contact { position: relative; overflow: hidden; }
  .motion-enabled .contact:after {
    content: ""; position: absolute; width: 36vw; height: 36vw; min-width: 330px; min-height: 330px;
    border: 1px solid rgba(0,62,73,.16); border-radius: 50%; right: -12vw; bottom: -24vw;
    animation: contact-orbit 16s ease-in-out infinite alternate; pointer-events: none;
  }
  .motion-enabled .contact > * { position: relative; z-index: 1; }
  .motion-enabled .contact-link { transition: color .25s ease, letter-spacing .3s ease; }
  .motion-enabled .contact-link span { display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .motion-enabled .contact-link:hover { color: var(--blue); letter-spacing: .012em; }
  .motion-enabled .contact-link:hover span { transform: translate(6px,-6px); }
}

@keyframes home-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ambient-drift { from { transform: translate3d(-1%,0,0) scale(1); } to { transform: translate3d(1.5%,-1%,0) scale(1.04); } }
@keyframes hero-lines-float { 50% { transform: translateY(-9px); } }
@keyframes line-breathe { 50% { opacity: .38; transform: scaleX(.93); } }
@keyframes pulse-shift { 50% { transform: scaleY(.7); opacity: .55; } }
@keyframes radar-turn { to { transform: rotate(360deg); } }
@keyframes orbit-spin { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes core-breathe { 50% { transform: translate(-50%,-50%) scale(1.035); box-shadow: 0 0 0 11px rgba(230,185,96,.08); } }
@keyframes point-flicker { 50% { opacity: .3; transform: scale(.72); } }
@keyframes contact-orbit { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-4vw,-3vw,0) scale(1.08); } }

@media (max-width: 800px) {
  .motion-enabled .reveal { transform: translateY(18px); }
  .motion-enabled .hero h1 { animation-duration: .7s; }
  .motion-enabled .product-features article:hover { transform: none; }
  .motion-enabled .contact:after { right: -50vw; bottom: -43vw; }
}
