/* Gold glint (port of sscks-site/deploy/assets/site.css:436-449: 115deg light band, screen
   blend). Round 3 (designer finding 2): 7 s loop resting 45%, first sweep about 1.6 s after load,
   brighter band, plus a resting two-tone (.gg-tone: pale top copy masked to the upper half) so the words read as metal at rest. Two targets:
   (a) .gg-logo  wrapping an <img>: overlay masked to the logo artwork (mask set by gold-glint.js).
   (b) .gg-word  gold display words: the word keeps a SOLID gold fill; gold-glint.js adds an
       aria-hidden copy in pale gold whose visibility is limited to the moving band by a
       mask-image gradient. No gradient is ever clipped to text.
   (c) .gg-btn   solid gold CTA with a glass-shine sweep on hover / keyboard focus. */
:root { --gg-gold: #d9a93f; --gg-ink: #0a0a0a; --gg-hi: #fff1c4; } /* #d9a93f on #0a0a0a = 9.1:1 */

.gg-logo { position: relative; display: inline-block; line-height: 0; }
.gg-logo > img { display: block; width: 100%; height: auto; }
.gg-logo .gg-glint {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  -webkit-mask: var(--gg-mask) center / 100% 100% no-repeat;
  mask: var(--gg-mask) center / 100% 100% no-repeat;
  background: linear-gradient(115deg, transparent 43%, rgba(255,246,214,.78) 49%, rgba(255,255,255,.62) 51%, transparent 59%);
  background-size: 260% 100%; background-position: 200% 0;
  mix-blend-mode: screen;
  animation: ggSweep 7s ease-in-out infinite; animation-delay: -1.6s;
}

.gg-word { position: relative; display: inline-block; white-space: nowrap; color: var(--gg-gold); }
.gg-word .gg-shine {
  position: absolute; left: 0; top: 0; pointer-events: none; user-select: none;
  color: var(--gg-hi); white-space: nowrap;
  -webkit-mask-image: linear-gradient(115deg, transparent 43%, #000 49%, rgba(0,0,0,.72) 51%, transparent 59%);
  mask-image: linear-gradient(115deg, transparent 43%, #000 49%, rgba(0,0,0,.72) 51%, transparent 59%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 200% 0; mask-position: 200% 0;
  mix-blend-mode: screen;
  animation: ggSweepMask 7s ease-in-out infinite;
  animation-delay: var(--gg-delay, -1.2s);
}

/* resting two-tone: a pale copy of the word, visible on the upper part of each letter only */
.gg-word .gg-tone {
  position: absolute; left: 0; top: 0; pointer-events: none; user-select: none; white-space: nowrap; color: #f6dc96;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 34%, transparent 70%); mask-image: linear-gradient(180deg, #000 0, #000 34%, transparent 70%);
}
@keyframes ggSweep { 0%, 45% { background-position: 200% 0; } 100% { background-position: -60% 0; } }
@keyframes ggSweepMask {
  0%, 45% { -webkit-mask-position: 200% 0; mask-position: 200% 0; }
  100% { -webkit-mask-position: -60% 0; mask-position: -60% 0; }
}

.gg-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .85em 1.6em; border: 0; border-radius: 999px;
  background: var(--gg-gold); color: var(--gg-ink);
  font: inherit; font-weight: 700; letter-spacing: .04em; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px -12px rgba(214,176,106,.6);
  transition: transform .25s cubic-bezier(0.34,1.56,0.64,1), box-shadow .3s ease;
}
.gg-btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.gg-btn:hover, .gg-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(214,176,106,.75); }
.gg-btn:hover::after, .gg-btn:focus-visible::after { animation: ggBtnSheen .9s ease-out 1; }
.gg-btn:focus-visible { outline: 2px solid var(--gg-hi); outline-offset: 3px; }
@keyframes ggBtnSheen { from { left: -60%; } to { left: 130%; } }

:where(html:not(.mo):not(.ms)) .gg-logo .gg-glint, :where(html:not(.mo):not(.ms)) .gg-word .gg-shine { animation: none; display: none; }
:where(html:not(.mo)) .gg-btn { transition: none; }
:where(html:not(.mo)) .gg-btn:hover, :where(html:not(.mo)) .gg-btn:focus-visible { transform: none; }
:where(html:not(.mo)) .gg-btn:hover::after, :where(html:not(.mo)) .gg-btn:focus-visible::after { animation: none; }
