/* Functional colours use the green already present in the approved hover state.
   Decorative brand accents, photographs and product swatches keep their colours. */
:root{--ggm-green-readable:#47765f;--ggm-green-action:#47765f}
.contact,.pill,.pill.light,.reference-hero-copy .pill,.family-image-banner .pill,
#newsletter-form button,.kassia-doc-action,.kassia-palette-open,
.category-filters a:hover,.category-filters a.is-active,
.real-filters button:hover,.real-filters button.is-active,
header nav.mobile-open .mobile-quote{
  background:var(--ggm-green-action);color:#fff;
}
.contact:hover,.pill:hover,.pill.light:hover,.reference-hero-copy .pill:hover,
.family-image-banner .pill:hover,#newsletter-form button:hover{background:var(--deep);color:#fff}
:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--deep);outline-offset:4px;box-shadow:0 0 0 3px #fff;
}
#main-nav .nav-dropdown.is-dismissed>.nav-submenu,
#main-nav .nav-dropdown.is-dismissed>.nav-mega{display:none}

/* Keep the approved hero composition. Only the control hit areas and the
   space they need change; the thin slide indicators remain visually compact. */
.reference-hero-copy{padding-bottom:84px}
.reference-hero-arrows{pointer-events:none}
.reference-hero-arrows button{width:44px;height:44px;pointer-events:auto;background:rgba(16,39,27,.82)}
.reference-hero-dots{bottom:14px;gap:4px;align-items:center}
.reference-hero-dots button{position:relative;display:grid;place-items:center;width:44px;height:44px;background:transparent;color:#fff}
.reference-hero-dots button[data-slide]::before{content:"";display:block;width:32px;height:3px;background:rgba(255,255,255,.65)}
.reference-hero-dots button[data-slide].is-active{background:transparent}
.reference-hero-dots button[data-slide].is-active::before{background:#fff}
.reference-hero-dots .hero-rotation-toggle{border-radius:50%;background:rgba(16,39,27,.82);font-size:17px;font-weight:700;line-height:1}
.reference-hero-dots .hero-rotation-toggle:hover,.reference-hero-arrows button:hover{background:var(--deep)}
.reference-hero.hero-logo-active .reference-hero-dots button[data-slide]::before{background:rgba(27,36,32,.6)}
.reference-hero.hero-logo-active .reference-hero-dots button[data-slide].is-active::before{background:var(--ink)}
@media(max-width:1000px){
  .reference-hero-arrows{inset:auto 12px 14px;transform:none}
  .reference-hero-copy{padding-bottom:84px}
}
@media(prefers-reduced-motion:reduce){
  .reference-hero-slide,.reference-hero-full-logo,.reference-hero-logo-rule,
  .reference-hero-logo-stage p{animation:none!important;transition:none!important}
}
