/* 지금 보고 있는 메뉴 표시 */
.site-header nav a[aria-current="page"],.nav-toggle.current{color:#304a2a}
.site-header nav a[aria-current="page"]::after{transform:scaleX(1)}
.nav-toggle.current{box-shadow:inset 0 -2px #304a2a}
@media (max-width:820px){.nav-toggle.current{box-shadow:inset 3px 0 #304a2a;padding-left:12px}}

/* 스크롤하면 떠오르기 */
.motion .reveal{opacity:0;translate:0 28px}
.motion .reveal.in{opacity:1;translate:0 0;transition:opacity .7s ease var(--d,0ms),translate .7s cubic-bezier(.2,.7,.2,1) var(--d,0ms)}

@media (prefers-reduced-motion:no-preference){
  @keyframes rise{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
  @keyframes pop{from{opacity:0;scale:.92}to{opacity:1;scale:1}}
  @keyframes drift{0%,100%{translate:0 0}50%{translate:0 -10px}}
  @keyframes drop{from{opacity:0;translate:0 -10px}to{opacity:1;translate:0 0}}

  /* 첫 화면 */
  .motion .hero-copy>*{animation:rise .75s cubic-bezier(.2,.7,.2,1) both}
  .motion .hero-copy>:nth-child(2){animation-delay:.1s}
  .motion .hero-copy>:nth-child(3){animation-delay:.22s}
  .motion .hero-copy>:nth-child(4){animation-delay:.32s}
  .motion .hero-copy>:nth-child(5){animation-delay:.42s}
  .motion .hero-brand{animation:pop .9s .2s cubic-bezier(.2,.7,.2,1) both,drift 7s 1.8s ease-in-out infinite}
  .motion .brand-formula>*{animation:rise .6s both}
  .motion .brand-formula>:nth-child(1){animation-delay:.55s}
  .motion .brand-formula>:nth-child(2){animation-delay:.8s}
  .motion .brand-formula>:nth-child(3){animation-delay:1.05s}
  .motion .brand-result{animation:pop .6s 1.4s both}

  /* 메뉴와 펼침 설명 */
  .nav-item.open>.submenu{animation:drop .25s ease both}
  .program-card[open]>:not(summary),.credential-more[open]>:not(summary){animation:drop .4s ease both}
}
@media (prefers-reduced-motion:no-preference) and (max-width:820px){
  .site-header.open nav{animation:drop .25s ease both}
}

/* 마우스를 올렸을 때 */
@media (prefers-reduced-motion:no-preference) and (hover:hover){
  .route-card,.signature-card,.strength-card{transition:translate .3s ease,box-shadow .3s ease,transform .18s,background-color .3s}
  .route-card:hover,.signature-card:hover{translate:0 -8px;box-shadow:0 24px 44px #16261b30}
  .strength-card:hover{translate:0 -6px;background-color:#f7f3e9}
  .route-icon,.strength-icon,.program-toggle{transition:rotate .3s ease,scale .3s ease}
  .route-card:hover .route-icon,.strength-card:hover .strength-icon{rotate:-10deg;scale:1.12}
  .program-card summary:hover .program-toggle{scale:1.15}
  .route-link svg,.signature-card strong svg,.contact-actions a svg,.button svg,.header-cta svg{transition:translate .25s ease}
  .route-card:hover .route-link svg,.signature-card:hover strong svg,.contact-actions a:hover svg,.button:hover svg,.header-cta:hover svg{translate:5px 0}
  .field-photo{overflow:hidden}
  .field-photo img,.publication-cover img{transition:scale .6s ease,rotate .6s ease}
  .field-photo:hover img{scale:1.04}
  .publication-cover:hover img{scale:1.04;rotate:-2deg}
}
@media print{.motion .reveal{opacity:1;translate:none}}
.site-header nav .submenu a[aria-current="page"]{background:#304a2a1f}
