/* GPS HOME V3 — editorial layer (new elements only; overrides of existing
   components live in the GPS-HOME-V3-LATE belt so they print after everything). */

body.home #gps-home > header.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 20, 16, 0.36);
  box-shadow: 0 8px 24px rgba(23, 20, 16, 0.07);
}
body.admin-bar.home #gps-home > header.hd { top: 32px; }

body.home #gps-home > section { position: relative; }

body.home #gps-home > section[data-section-label]::before {
  content: attr(data-section-label);
  position: absolute;
  z-index: 4;
  top: 26px;
  left: max(30px, calc((100% - 1110px) / 2));
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid #171410;
  border-radius: 999px;
  background: #fcfaf3;
  color: #171410;
  font: 700 10px/1.2 "Space Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home #gps-home > section[data-section-label] + section[data-section-label] {
  border-top: 1px solid rgba(23, 20, 16, 0.36);
}

.gps-v3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.gps-v3-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid #171410;
  border-radius: 999px;
  box-shadow: 3px 4px 0 #171410;
  font: 700 11px/1 "Space Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.gps-v3-actions a:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 6px 0 #171410;
}
.gps-v3-actions .gps-v3-primary { background: #b5e633; color: #171410 !important; }
.gps-v3-actions .gps-v3-secondary { background: #fcfaf3; color: #171410 !important; }

body.home #gps-home a:focus-visible,
body.home #gps-home button:focus-visible,
body.home #gps-home input:focus-visible {
  outline: 3px solid #7c3aed !important;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body.admin-bar.home #gps-home > header.hd { top: 46px; }
  body.home #gps-home > section[data-section-label]::before { top: 20px; left: 18px; }
  .gps-v3-actions { display: grid; grid-template-columns: 1fr; }
  .gps-v3-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.home #gps-home *,
  body.home #gps-home *::before,
  body.home #gps-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
