/* =====================================================================
   Pug IT Solution — foundation
   ---------------------------------------------------------------------
   The element rules the public website and the admin panel share: the
   box model, text sizing, selection and focus ring, the skip link and
   the reduced-motion cut. Linked right after tokens.css by both
   interfaces; each interface's own base.css follows with its type.
   ===================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

::selection {
  background: rgba(201, 162, 39, 0.34);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--on-gold); }


/* ---------------------------------------------------------------------
   Reduced motion: every animation and transition is cut to an instant,
   whichever stylesheet declares it.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
