/* ===== Rob Run announcement bar (temporary) =====
   Remove this file + the <a class="rr-bar"> block in index.html to take it down. */
:root { --rr-bar-h: 44px; }

body.has-rr-bar .main-wrapper { padding-top: var(--rr-bar-h); }

.rr-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--rr-bar-h);
  padding: 0 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  font-family: var(--typography--heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  background: radial-gradient(circle at 50% 120%, #944feb, #6505e0 55%, #3a0a85);
  border-bottom: 1px solid #9440fe;
  box-shadow: 0 6px 30px -8px #9c4fffaa;
}
.rr-bar:hover { filter: brightness(1.12); }
.rr-bar:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* light sweep */
.rr-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #ffffff40, transparent);
  transform: skewX(-20deg);
  animation: rr-sweep 3.2s ease-in-out infinite;
}
@keyframes rr-sweep { 0% { left: -40%; } 60%, 100% { left: 120%; } }

.rr-bar-pill {
  padding: 3px 10px;
  border-radius: 100px;
  background: #fff;
  color: #6505e0;
  font-size: 12px;
  letter-spacing: .08em;
  animation: rr-pulse 1.6s ease-in-out infinite;
}
@keyframes rr-pulse { 0%, 100% { box-shadow: 0 0 0 0 #ffffffaa; } 50% { box-shadow: 0 0 0 6px #ffffff00; } }

.rr-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid #ffffff80;
  font-size: 13px;
}
.rr-bar-cta svg { transition: transform .2s; }
.rr-bar:hover .rr-bar-cta svg { transform: translateX(3px); }

/* hero badge turned into a link to Rob Run */
a.label-badge.rr-badge { text-decoration: none; transition: filter .2s; }
a.label-badge.rr-badge:hover { filter: brightness(1.25); }
.rr-badge-new {
  padding: 1px 8px;
  border-radius: 100px;
  background: #9c4fff;
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}

@media (max-width: 767px) {
  .rr-bar { font-size: 13px; gap: 8px; }
  .rr-bar-cta span { display: none; }
  .rr-bar-cta { padding: 5px 8px; }
}
@media (max-width: 400px) {
  .rr-bar-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-bar::after, .rr-bar-pill { animation: none; }
}

/* ===== Rob Run pop-up (temporary) ===== */
.rr-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 0, 14, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.rr-modal[hidden] { display: none; }
.rr-modal.is-open { opacity: 1; visibility: visible; }
.rr-modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid transparent;
  background-image: linear-gradient(180deg, #160728, #0b0019 60%), linear-gradient(160deg, #9440fe, #341859 50%, #6a2db9);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 80px -10px #9c4fff99;
  transform: translateY(16px) scale(.97);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
  text-align: center;
  font-family: var(--typography--body);
}
.rr-modal.is-open .rr-modal-card { transform: none; }
.rr-modal-media { position: relative; aspect-ratio: 2788 / 1418; overflow: hidden; border-radius: 19px 19px 0 0; }
.rr-modal-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-modal-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, #110520);
}
.rr-modal-body { padding: 4px 28px 28px; }
.rr-modal-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 12px;
  border-radius: 100px;
  background: #9c4fff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}
.rr-modal-title {
  margin: 0 0 10px;
  font-family: var(--typography--heading);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #ebdcff;
}
.rr-modal-title span {
  background: linear-gradient(180deg, #d7b9fc, #9440fe);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #9440fe;
}
.rr-modal-text { margin: 0 0 22px; color: var(--color-primary--30); font-size: 16px; line-height: 24px; }
.rr-modal-cta { width: 100%; }
.rr-modal-later {
  margin-top: 12px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--color-primary--30);
  font-size: 14px;
  cursor: pointer;
}
.rr-modal-later:hover { color: #fff; }
.rr-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid #ffffff33;
  border-radius: 50%;
  background: rgba(11, 0, 25, .7);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.rr-modal-close:hover { background: #6505e0; }
.rr-modal-close:focus-visible, .rr-modal-later:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.rr-modal-lock { overflow: hidden; }
@media (max-width: 479px) {
  .rr-modal-title { font-size: 28px; }
  .rr-modal-body { padding: 0 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-modal, .rr-modal-card { transition: none; }
}
.rr-modal-card:focus { outline: none; }
