/* Site-wide polish: brighter ink, real hover states, gentle scroll depth. Loads last. */
.ekh-enhanced{
  --polish-ink:#1e3326;
  --polish-body:#4d5a4f;
  --polish-muted:#6d7a6f;
  --polish-green:#91c63e;
  --polish-green-dark:#7fbb33;
}

/* 1. ink: replace the dull green-grey copy with a cleaner, livelier set */
.ekh-enhanced #main :is(h1,h2,h3,h4),
body .ekh-enhanced #main :is(h1,h2,h3,h4){color:var(--polish-ink)!important}
.ekh-enhanced #main h3{letter-spacing:-.02em}
.ekh-enhanced #main :is(p,li,dd,figcaption),
body .ekh-enhanced #main :is(p,li,dd,figcaption){color:var(--polish-body)}
.ekh-enhanced #main :is(.ekh-kicker,.ekh-home-intro-label,.ekh-home-people-label,small,.price small){color:var(--polish-muted)!important}
.ekh-enhanced #main :is(a,.ekh-text-link){color:#2f4a1f}
.ekh-enhanced #main :is(a:hover,.ekh-text-link:hover){color:#3f6b16}
.ekh-enhanced #main blockquote{color:#31402f}
.ekh-enhanced #main :is(.woocommerce-breadcrumb,.woocommerce-result-count){color:var(--polish-muted)}

/* 2. buttons: one shape, clear hover feedback */
.ekh-enhanced :is(#main,.ekh-header,.ekh-home-enquiry) :is(
  .ekh-button,
  .wpcf7-submit,
  input.wpcf7-submit,
  .single_add_to_cart_button,
  a.button,
  button.button,
  .ekh-header-cta,
  .ekh-product-quote,
  .ekh-quote-link
){
  background:var(--polish-green);
  border:1px solid var(--polish-green);
  color:#1f3413;
  border-radius:8px;
  font-weight:600;
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}
.ekh-enhanced :is(#main,.ekh-header,.ekh-home-enquiry) :is(
  .ekh-button,
  .wpcf7-submit,
  input.wpcf7-submit,
  .single_add_to_cart_button,
  a.button,
  button.button,
  .ekh-header-cta,
  .ekh-product-quote,
  .ekh-quote-link
):hover{
  background:var(--polish-green-dark);
  border-color:var(--polish-green-dark);
  color:#152a0d;
  transform:translateY(-2px);
  box-shadow:0 10px 22px -12px #3f6b16cc;
}
.ekh-enhanced :is(#main,.ekh-header) :is(.ekh-button,a.button,button.button,.wpcf7-submit,.ekh-header-cta,.ekh-product-quote):active{
  transform:translateY(0);
  box-shadow:none;
}
.ekh-enhanced #main :is(.ekh-button,.ekh-product-quote) svg{transition:transform .2s ease}
.ekh-enhanced #main :is(.ekh-button,.ekh-product-quote):hover svg{transform:translateX(3px)}

/* outline / secondary actions keep their quiet look but gain a hover */
.ekh-enhanced #main .ekh-button-outline{background:transparent;color:#2f4a1f;border-color:#c9d8b8}
.ekh-enhanced #main .ekh-button-outline:hover{background:#f1f7e6;color:#26401a;box-shadow:none}

/* 3. cards and tiles react on hover without moving their text */
.ekh-enhanced #main :is(.ekh-project-card,.ekh-home-project-card,.ekh-studio-service-spread,.ekh-home-journal article,.ekh-journal article,.ekh-about-team-grid li,.ekh-service) {
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.ekh-enhanced #main :is(.ekh-project-card,.ekh-home-project-card,.ekh-home-journal article,.ekh-journal article,.ekh-service):hover{
  transform:translateY(-3px);
  box-shadow:0 18px 38px -22px #1e332666;
}
.ekh-enhanced #main .ekh-project-card figure img,
.ekh-enhanced #main .ekh-home-project-card figure img,
.ekh-enhanced #main .ekh-home-journal article img{
  transition:transform .5s ease;
}
.ekh-enhanced #main :is(.ekh-project-card,.ekh-home-project-card,.ekh-home-journal article):hover img{transform:scale(1.03)}
.ekh-enhanced #main .ekh-about-team-grid li{border-color:#dfe7d5}
.ekh-enhanced #main .ekh-about-team-grid li:hover{border-color:#b9d59a;box-shadow:0 14px 30px -20px #1e332655}

/* shop cards */
.ekh-enhanced.ekh-catalog #main .products .box{
  border-color:#e4ebdc;
  transition:box-shadow .25s ease,border-color .25s ease,transform .25s ease;
}
.ekh-enhanced.ekh-catalog #main .products .box:hover{
  transform:translateY(-3px);
  border-color:#c3ddac;
  box-shadow:0 18px 38px -24px #1e332659;
}

/* 4. gentle depth on scroll — only when JS is active and motion is allowed */
@media(prefers-reduced-motion:no-preference){
  body.polish-js #main .polish-reveal{
    opacity:0;
    transform:translate3d(0,20px,0);
    transition:opacity .62s cubic-bezier(.22,1,.36,1),transform .62s cubic-bezier(.22,1,.36,1);
    will-change:opacity,transform;
  }
  body.polish-js #main .polish-reveal.polish-in{opacity:1;transform:none;will-change:auto}
  .ekh-enhanced #main .ekh-service .ekh-service-number,
  .ekh-enhanced #main .ekh-studio-service-spread>div{transition:border-color .25s ease}
}

/* 5. header feedback once the page is scrolled */
.ekh-enhanced .ekh-header{transition:box-shadow .2s ease,background-color .2s ease}
body.polish-scrolled .ekh-enhanced .ekh-header,
.ekh-enhanced .ekh-header.is-scrolled{box-shadow:0 8px 24px -18px #1e3326a8}

@media(prefers-reduced-motion:reduce){
  .ekh-enhanced #main *,.ekh-enhanced .ekh-header *{transition:none!important;animation:none!important}
  body.polish-js #main .polish-reveal{opacity:1!important;transform:none!important}
  .ekh-enhanced #main :is(.ekh-project-card,.ekh-home-project-card,.ekh-home-journal article,.ekh-journal article,.ekh-service):hover{transform:none}
  .ekh-enhanced #main :is(.ekh-project-card,.ekh-home-project-card,.ekh-home-journal article):hover img{transform:none}
}
