/* Gammage Print Shop first-visit splash + page-change ink bar. */
.gps-loader{
  position:fixed;inset:0;z-index:9999;
  display:flex;align-items:center;justify-content:center;
  background:#0F2138;color:#FBCF3A;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.gps-loader.is-out{opacity:0;pointer-events:none;transition:opacity .2s ease}
.gps-stage{width:min(440px,86vw);text-align:center}
.gps-sheet{
  background:#FAF8F3;border-radius:12px;padding:7% 7% 5%;
  box-shadow:0 18px 50px rgba(0,0,0,.35),0 0 0 3px #0F2138,0 0 0 6px #E6C03F;
  animation:gps-sheet .16s ease-out both;
}
@keyframes gps-sheet{from{transform:translateY(12px) scale(.97);opacity:0}}
.gps-art{position:relative;width:100%;aspect-ratio:942/550}
.gps-art svg,.gps-art .gps-gold{position:absolute;inset:0;width:100%;height:100%;display:block}
.gps-gold{object-fit:contain;opacity:0;animation:gps-fade .22s ease .82s forwards}
@keyframes gps-fade{to{opacity:1}}

/* Draw: outline is a second path group so stroke CSS does not fight the CMYK fills. */
.gps-outline{animation:gps-outline-out .2s ease .7s forwards}
@keyframes gps-outline-out{to{opacity:0}}
.gps-outline path{
  fill:none;stroke:#0F2138;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;
  vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;
}
.gps-outline path:nth-child(1){animation:gps-draw .5s ease .08s forwards}
.gps-outline path:nth-child(2){animation:gps-draw .5s ease .18s forwards}
.gps-outline path:nth-child(3){animation:gps-draw .5s ease .28s forwards}
.gps-outline path.rule{animation:gps-draw .28s ease .46s forwards}
.gps-outline path.since{animation:gps-draw .3s ease .54s forwards}
@keyframes gps-draw{to{stroke-dashoffset:0}}

.gps-inks{mix-blend-mode:multiply}
.gps-inks use{stroke:none;opacity:0}
.gps-inks .c{fill:#00AEEF;transform:translate(-10px,3px);animation:gps-reg .34s ease .58s forwards}
.gps-inks .m{fill:#EC008C;transform:translate(9px,-4px);animation:gps-reg .34s ease .66s forwards}
.gps-inks .y{fill:#FFF200;transform:translate(-4px,7px);animation:gps-reg .34s ease .74s forwards}
.gps-inks .k{fill:#0F2138;transform:translate(4px,-2px);animation:gps-reg-k .28s ease .82s forwards}
@keyframes gps-reg{0%{opacity:0}40%{opacity:.88}100%{opacity:.9;transform:none}}
@keyframes gps-reg-k{0%{opacity:0}100%{opacity:.3;transform:none}}

.gps-word{
  margin:16px 0 0;font:800 .82rem/1 Inter,system-ui,sans-serif;
  letter-spacing:.18em;color:#FBCF3A;opacity:0;animation:gps-fade .25s ease .86s forwards;
}
.gps-word em{
  font:800 .62rem/1 Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.2em;
  background:#FBCF3A;color:#0F2138;padding:3px 7px;border-radius:3px;margin-left:8px;
}
.gps-skip{
  position:absolute;bottom:18px;left:0;right:0;margin:0;text-align:center;
  font:600 .72rem/1 Inter,system-ui,sans-serif;letter-spacing:.08em;
  color:rgba(251,207,58,.55);opacity:0;animation:gps-fade .3s ease .4s forwards;
}

/* Alternate: sheet feeds through CMYK rollers and the logo prints */
.gps-loader.press .gps-press-row{
  display:flex;justify-content:center;gap:10px;margin-bottom:-8px;position:relative;z-index:2;
}
.gps-loader.press .gps-press-row::after{
  content:"";position:absolute;left:10%;right:10%;bottom:-7px;height:7px;
  background:#E6C03F;border:2px solid #0F2138;border-radius:3px;
}
.gps-loader.press .r{
  width:52px;height:52px;border-radius:50%;
  border:3px solid #0F2138;box-shadow:inset -6px -8px 0 rgba(0,0,0,.18),0 4px 0 #0F2138,0 8px 16px rgba(0,0,0,.25);
  animation:gps-spin .7s linear infinite;display:block;
  background-image:radial-gradient(circle at 32% 28%,rgba(255,255,255,.65),transparent 42%);
}
.gps-loader.press .r.c{background-color:#00AEEF}
.gps-loader.press .r.m{background-color:#EC008C}
.gps-loader.press .r.y{background-color:#FFF200}
.gps-loader.press .r.k{background-color:#1a1a1a;border-color:#FBCF3A}
@keyframes gps-spin{to{transform:rotate(360deg)}}
.gps-loader.press .gps-feed{overflow:hidden;padding-top:10px}
.gps-loader.press .gps-sheet{animation:gps-feed .72s cubic-bezier(.2,.7,.2,1) both}
@keyframes gps-feed{from{transform:translateX(-118%) rotate(-2deg)}}
.gps-loader.press .gps-gold{opacity:1;animation:gps-print .55s ease .26s forwards;clip-path:inset(0 100% 0 0)}
@keyframes gps-print{to{clip-path:inset(0)}}
.gps-loader.press .gps-word{animation-delay:.7s}

/* Light page-change loader */
.gps-nav{
  position:fixed;top:0;left:0;right:0;z-index:9998;pointer-events:none;
  opacity:0;transition:opacity .15s ease;
}
.gps-nav.is-on{opacity:1}
.gps-nav-bar{
  height:4px;
  background:linear-gradient(90deg,#00AEEF,#EC008C,#FFF200,#111,#FBCF3A,#00AEEF);
  background-size:220% 100%;animation:gps-inkbar .9s linear infinite;
}
@keyframes gps-inkbar{to{background-position:220% 0}}
.gps-nav-logo{
  position:absolute;top:14px;left:50%;height:34px;width:auto;
  background:#fff;border-radius:8px;padding:3px 8px;
  box-shadow:0 4px 16px rgba(15,33,56,.28);
  animation:gps-pulse 1s ease-in-out infinite;
}
@keyframes gps-pulse{0%,100%{transform:translateX(-50%)}50%{transform:translateX(-50%) scale(1.07)}}

@media (prefers-reduced-motion:reduce){
  .gps-loader,.gps-nav{display:none!important}
}