/* Accessibility fixes (WCAG 2.0 AA): readable breadcrumb contrast, underlined links in body text. */
.breadcrumb li a { color: #595959; }
.content-text a { text-decoration: underline; }

/* Service pages: start-aligned text. Justified short lines with links stretch into wide gaps on phones. */
.lg-svc p, .lg-svc li, .lg-svc .lg-faq__a p { text-align: start !important; text-justify: none; word-spacing: normal; }
.lg-svc a { overflow-wrap: anywhere; }

/* Motion. Content below the fold rises in as it scrolls into view (chrome.js adds .gn-reveal, then .gn-in),
   and the service cards lift on hover. Nothing moves for visitors who ask for reduced motion, or once the
   accessibility menu's flicker blocker is on (it adds .Flickerblocks to <body>). */
.gn-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.gn-reveal.gn-in { opacity: 1; transform: none; }
.hp-icon__block.gn-reveal:nth-child(3n+2) { transition-delay: .1s; }
.hp-icon__block.gn-reveal:nth-child(3n) { transition-delay: .2s; }
body.Flickerblocks .gn-reveal { opacity: 1; transform: none; transition: none; }
@keyframes gn-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  body:not(.Flickerblocks) h1.title { animation: gn-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hp-icon__block:not(.gn-reveal) { transition: transform .25s ease, box-shadow .25s ease; }
  body:not(.Flickerblocks) .hp-icon__block:not(.gn-reveal):hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(117, 81, 20, .18); }
}
@media (prefers-reduced-motion: reduce) { .gn-reveal { opacity: 1; transform: none; transition: none; } }

/* Header logo: hidden until chrome.js restarts its animation; shown anyway after 2s if the script never runs. */
.logo img, .header-mobile__logo img { opacity: 0; animation: gn-logo-safety 0s 2s forwards; }
.logo img.gn-logo-ready, .header-mobile__logo img.gn-logo-ready { opacity: 1; animation: none; }
@keyframes gn-logo-safety { to { opacity: 1; } }
