/* Golden Peak Media: shared layer loaded on every page.
   First step toward a single stylesheet; page <style> blocks stay until the partials migration. */

/* Skip link */
.skip-link{position:absolute;left:1rem;top:-100px;z-index:10000;padding:.75rem 1.1rem;border-radius:6px;
  background:var(--gold,#c9a24a);color:var(--navy-deep,#060f24);font:500 .95rem/1 'Jost',system-ui,sans-serif;text-decoration:none}
.skip-link:focus{top:1rem}
main:focus{outline:none}

/* Keyboard focus, themed from the palette */
:focus-visible{outline:2px solid var(--gold-bright,#e6c376);outline-offset:3px;border-radius:3px}
.btn-gold:focus-visible,.float-btn:focus-visible{outline-color:var(--ivory,#f5f1e8)}

/* Browser surfaces */
::selection{background:var(--gold,#c9a24a);color:var(--navy-deep,#060f24)}
html{scrollbar-color:var(--navy-soft,#142a55) var(--navy-deep,#060f24)}
a{text-underline-offset:.18em}

/* One accent per page: the H1 keeps its gold italic; section headings stop repeating the formula */
h2 em,h3 em,h2 [style*="italic"],h3 [style*="italic"]{font-style:normal!important;color:inherit!important}

/* Floating contact link: label on desktop, drawn icon on small screens */
.float-btn{text-decoration:none}
.float-icon{display:none}
@media (max-width:900px){
  .float-btn .float-icon{display:block}
  .float-btn{justify-content:center;padding:0}
}

/* Depth: real offset shadows instead of zero-offset gold glows */
.float-btn{box-shadow:0 6px 18px rgba(0,0,0,.35)!important}
.float-btn:hover{box-shadow:0 10px 24px rgba(0,0,0,.4)!important}

/* Contrast floor (WCAG AA). Main template: footer text was faded with opacity */
.site-footer .footer-bottom,.site-footer .footer-desc,.site-footer .footer-links-col a,
.site-footer .footer-links-col h5,.site-footer .footer-tag{opacity:1!important}
.why-row-no{color:#a3a9b5!important}

/* Article template (pages with the top bar): white-alpha text was too faint */
.logo-sub{color:rgba(255,255,255,.72)!important;font-size:.75rem!important}
.top-bar{font-size:.875rem!important}
footer:not(.site-footer) a{color:rgba(255,255,255,.72)}
footer:not(.site-footer) a:hover{color:var(--gold)}
footer:not(.site-footer) .footer-tagline{color:rgba(255,255,255,.62)!important;font-size:.875rem}
footer:not(.site-footer) .footer-bottom{color:rgba(255,255,255,.6)!important}
/* gold text on white needs a darker ink to reach 4.5:1 */
:root:has(.top-bar) h1 span,:root:has(.top-bar) .service-link[style*="gold"],
:root:has(.top-bar) .service-link:hover{color:#7d6118!important}
.btn-contact{color:var(--navy,#0d1b2e)!important}

/* Reduced motion: keep state changes, drop travel and loops */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:1ms!important;animation-iteration-count:1!important;
    transition-duration:120ms!important;scroll-behavior:auto!important}
  .reveal,.anim{opacity:1!important;transform:none!important}
  .marquee-track{animation:none!important}
}

/* Gold polish: a slow light sweep across every piece of gold text.
   gpm.js tags gold text with .gp-shine and sets --gp-base (its own gold) and --gp-hi (the glint):
   a pale glint on dark backgrounds, a deeper glint on light ones so text never washes out. */
.gp-shine{
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  background-image:linear-gradient(100deg,var(--gp-base) 0%,var(--gp-base) 38%,var(--gp-mid) 45%,var(--gp-hi) 50%,var(--gp-mid) 55%,var(--gp-base) 62%,var(--gp-base) 100%)!important;
  background-size:250% 100%!important;background-repeat:no-repeat;
  animation:gpPolish 5.5s cubic-bezier(.45,.05,.35,1) infinite;animation-delay:var(--gp-d,0s);
}
.gp-paused{animation-play-state:paused}
@keyframes gpPolish{0%{background-position:100% 0}55%,100%{background-position:0% 0}}
@media (prefers-reduced-motion:reduce){.gp-shine{animation:none!important;background-position:0 0!important}}
@media print{.gp-shine{-webkit-text-fill-color:currentColor!important;background:none!important}}
