/* Referee JW — personal intro / soft storytelling */
:root {
  --rjw-ink: #f7f3ec;
  --rjw-muted: #c5b8a8;
  --rjw-accent: #7ddea8;
  --rjw-accent-2: #f0b35a;
  --rjw-deep: #0b1c24;
  --rjw-mid: #14332c;
  --rjw-warm: #2a1f28;
  --rjw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html:has(.rjw-page),
body:has(.rjw-page) {
  background: var(--rjw-deep) !important;
  color: var(--rjw-ink);
}

body:has(.rjw-page) .navbar-custom,
body:has(.rjw-page) > nav.navbar,
body:has(.rjw-page) #footer,
body:has(.rjw-page) footer.bg-primary {
  display: none !important;
}

body:has(.rjw-page) .site-main,
body:has(.rjw-page) #wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.rjw-page {
  position: relative;
  isolation: isolate;
  font-family: "Nunito Sans", system-ui, sans-serif;
  min-height: 100vh;
  padding-top: 3.5rem;
  color: var(--rjw-ink);
  background: transparent;
}

.rjw-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    var(--rjw-deep)
    url("bg/rjw_bg_poster.jpg")
    center / cover no-repeat;
}

.rjw-page > .rjw-sec,
.rjw-page > .rjw-foot {
  position: relative;
  z-index: 1;
}

.rjw-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08);
  filter: saturate(0.82) brightness(0.68) contrast(0.98) blur(1.4px);
  transition: opacity 1s var(--rjw-ease);
  animation: rjwBgKen 32s ease-in-out infinite alternate;
}

.rjw-bg__video.is-ready {
  opacity: 0.58;
}

@keyframes rjwBgKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); }
}

.rjw-bg__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(11, 28, 36, 0.62) 0%, rgba(18, 53, 47, 0.55) 36%, rgba(26, 42, 56, 0.64) 70%, rgba(14, 22, 32, 0.76) 100%),
    radial-gradient(ellipse 80% 65% at 50% 30%, transparent 18%, rgba(11, 28, 36, 0.48) 100%);
}

.rjw-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  will-change: transform;
}

.rjw-bg__blob--a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: -8%;
  right: -10%;
  background: radial-gradient(circle, rgba(125, 222, 168, 0.45), transparent 70%);
  animation: rjwDriftA 22s ease-in-out infinite alternate;
}

.rjw-bg__blob--b {
  width: min(80vw, 640px);
  height: min(80vw, 640px);
  top: 35%;
  left: -20%;
  background: radial-gradient(circle, rgba(240, 179, 90, 0.28), transparent 68%);
  animation: rjwDriftB 28s ease-in-out infinite alternate;
}

.rjw-bg__blob--c {
  width: min(75vw, 560px);
  height: min(75vw, 560px);
  bottom: -5%;
  right: 5%;
  background: radial-gradient(circle, rgba(120, 140, 220, 0.28), transparent 70%);
  animation: rjwDriftC 24s ease-in-out infinite alternate;
}

@keyframes rjwDriftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 12%) scale(1.08); }
}

@keyframes rjwDriftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(10%, -8%) scale(1.06); }
}

@keyframes rjwDriftC {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6%, -10%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .rjw-bg__video {
    display: none !important;
    animation: none !important;
  }
  .rjw-bg__blob {
    animation: none !important;
  }
}

/* Nav */
.rjw-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  transition: background 0.25s, box-shadow 0.25s, backdrop-filter 0.25s;
}

.rjw-nav.is-float {
  background: rgba(11, 28, 36, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.rjw-nav a,
.rjw-audio-btn {
  color: var(--rjw-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.rjw-nav a:hover,
.rjw-audio-btn:hover { color: var(--rjw-ink); }

.rjw-nav__links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.rjw-nav__yt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rjw-nav__yt svg {
  flex-shrink: 0;
  color: #ff4d4d;
}

.rjw-nav__progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  max-width: 200px;
  width: 100%;
  margin: 0 auto;
}

.rjw-nav__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--rjw-accent), var(--rjw-accent-2));
}

.rjw-audio-btn {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px;
  padding: 0.28rem 0.7rem !important;
}

.rjw-audio-btn[aria-pressed="true"] {
  background: rgba(125, 222, 168, 0.2) !important;
  color: var(--rjw-accent) !important;
  border-color: rgba(125, 222, 168, 0.45) !important;
}

/* Type */
.rjw-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rjw-accent);
  font-weight: 700;
}

.rjw-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.55rem;
}

.rjw-kicker-row .rjw-kicker {
  margin: 0;
}

.rjw-org-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rjw-org-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  line-height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(125, 222, 168, 0.55),
    0 0 10px 1px rgba(125, 222, 168, 0.35);
  transition: transform 0.2s var(--rjw-ease), box-shadow 0.2s, background 0.2s;
}

.rjw-org-badges a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(125, 222, 168, 0.9),
    0 0 14px 2px rgba(125, 222, 168, 0.55);
}

.rjw-org-badges img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: none;
}

.rjw-league-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin: 0.15rem 0 1.1rem;
}

.rjw-league-badges img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  cursor: default;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(240, 179, 90, 0.5),
    0 0 12px 1px rgba(240, 179, 90, 0.3);
  filter: none;
  transition: transform 0.2s var(--rjw-ease), box-shadow 0.2s, background 0.2s;
}

.rjw-league-badges img:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(125, 222, 168, 0.75),
    0 0 14px 2px rgba(125, 222, 168, 0.4);
}

.rjw-brand,
.rjw-h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 0.9rem;
}

.rjw-brand { font-size: clamp(2.6rem, 8vw, 4.6rem); }
.rjw-h2 { font-size: clamp(1.85rem, 4.5vw, 2.8rem); }

/* Soft wash under copy (no hard border / black card) */
.rjw-hero__copy,
.rjw-sec__text,
.rjw-sec__intro,
.rjw-close > div:first-child,
.rjw-copy-card {
  position: relative;
  isolation: isolate;
  padding: 0.85rem 0.35rem 0.95rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-shadow: 0 1px 14px rgba(11, 28, 36, 0.55);
}

.rjw-hero__copy::before,
.rjw-sec__text::before,
.rjw-sec__intro::before,
.rjw-close > div:first-child::before,
.rjw-copy-card::before {
  content: "";
  position: absolute;
  inset: -0.35rem -0.85rem;
  border-radius: 28px;
  background: radial-gradient(
    ellipse 85% 80% at 50% 45%,
    rgba(11, 28, 36, 0.38) 0%,
    rgba(11, 28, 36, 0.16) 55%,
    transparent 78%
  );
  pointer-events: none;
  z-index: -1;
}

.rjw-sec--center .rjw-copy-card {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  text-align: center;
}

.rjw-lede,
.rjw-body,
.rjw-lead {
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(247, 243, 236, 0.9);
  max-width: 38rem;
  margin: 0 0 1rem;
}

.rjw-body--soft,
.rjw-lede { color: var(--rjw-muted); }

.rjw-lead {
  font-size: clamp(1.08rem, 2.2vw, 1.22rem);
  max-width: 42rem;
}

.rjw-sec--center {
  text-align: center;
}

.rjw-sec--center .rjw-body,
.rjw-sec--center .rjw-lead,
.rjw-sec--center .rjw-lede,
.rjw-sec--center .rjw-sec__note {
  margin-left: auto;
  margin-right: auto;
}

.rjw-sec--center .rjw-btn {
  margin-top: 0.25rem;
}

.rjw-inline {
  color: var(--rjw-accent) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rjw-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--rjw-accent), #5ecf9a);
  color: #062218 !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.rjw-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.rjw-btn--ghost {
  background: transparent;
  color: var(--rjw-ink) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rjw-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  filter: none;
}

.rjw-btn--yt {
  gap: 0.4rem;
}

.rjw-btn--yt svg {
  flex-shrink: 0;
  color: #ff4d4d;
}

.rjw-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

/* Sections */
.rjw-sec {
  --rjw-shift: 0px;
  position: relative;
  max-width: 1080px;
  width: min(1080px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
  padding: clamp(2.75rem, 7vh, 4.5rem) clamp(1.1rem, 4vw, 2rem);
  opacity: 0;
  transform: translate3d(var(--rjw-shift), 28px, 0);
  transition:
    opacity 0.7s var(--rjw-ease),
    transform 0.7s var(--rjw-ease);
}

.rjw-sec.is-in {
  opacity: 1;
  transform: translate3d(var(--rjw-shift), 0, 0);
}

.rjw-sec--shift-l { --rjw-shift: clamp(-28px, -3.5vw, -12px); }
.rjw-sec--shift-r { --rjw-shift: clamp(12px, 3.5vw, 28px); }

.rjw-hero {
  --rjw-shift: 0px;
  opacity: 1;
  transform: none;
  min-height: calc(100vh - 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-top: clamp(2rem, 6vh, 3.5rem);
}

@media (max-width: 720px) {
  .rjw-sec--shift-l,
  .rjw-sec--shift-r { --rjw-shift: 0px; }
}

@media (min-width: 880px) {
  .rjw-hero {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.rjw-hero__art {
  justify-self: center;
  max-width: 380px;
}

.rjw-hero__art img,
.rjw-float,
.rjw-sec__art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.35));
}

.rjw-bob {
  animation: rjwBob 5.5s ease-in-out infinite;
  animation-delay: var(--rjw-bob-delay, 0s);
}

@keyframes rjwBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.rjw-hero__copy[data-rjw-reveal],
.rjw-hero__art[data-rjw-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--rjw-ease), transform 0.7s var(--rjw-ease);
}

.rjw-hero__copy.is-in,
.rjw-hero__art.is-in {
  opacity: 1;
  transform: none;
}

.rjw-hero__art[data-rjw-reveal] {
  transition-delay: 0.12s;
}

.rjw-scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  animation: rjwPulse 2s ease-in-out infinite;
  grid-column: 1 / -1;
}

@keyframes rjwPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

.rjw-sec--split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .rjw-sec--split {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.rjw-sec__art {
  max-width: 260px;
  margin: 0 auto;
}

.rjw-sec--origin {
  background: linear-gradient(180deg, rgba(125, 222, 168, 0.06), rgba(240, 179, 90, 0.05));
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.rjw-story-art {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem auto 1.25rem;
  justify-items: center;
  max-width: 920px;
}

@media (min-width: 780px) {
  .rjw-story-art {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-items: end;
  }
}

.rjw-story-art .rjw-float {
  max-width: 300px;
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition:
    opacity 0.65s var(--rjw-ease),
    transform 0.65s var(--rjw-ease);
}

.rjw-sec--origin.is-in .rjw-story-art .rjw-float {
  opacity: 1;
  transform: none;
}

.rjw-sec--origin.is-in .rjw-story-art .rjw-float:nth-child(1) { transition-delay: 0.08s; }
.rjw-sec--origin.is-in .rjw-story-art .rjw-float:nth-child(2) { transition-delay: 0.2s; }
.rjw-sec--origin.is-in .rjw-story-art .rjw-float:nth-child(3) { transition-delay: 0.32s; }

.rjw-story-art .rjw-float:hover {
  transform: translateY(-8px) scale(1.03);
}

.rjw-sec__note { margin-bottom: 1.25rem; }

.rjw-float--sm { max-width: 200px; }

.rjw-story__points {
  display: grid;
  gap: 0.85rem;
  margin: 1.35rem 0;
}

@media (min-width: 720px) {
  .rjw-story__points { grid-template-columns: repeat(3, 1fr); }
}

.rjw-story__point {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s var(--rjw-ease),
    transform 0.55s var(--rjw-ease),
    background 0.25s,
    border-color 0.25s;
  text-align: left;
}

.rjw-story__point.is-in {
  opacity: 1;
  transform: none;
}

.rjw-story__point:nth-child(1).is-in { transition-delay: 0.05s; }
.rjw-story__point:nth-child(2).is-in { transition-delay: 0.15s; }
.rjw-story__point:nth-child(3).is-in { transition-delay: 0.25s; }

.rjw-story__point:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(125, 222, 168, 0.28);
}

.rjw-story__n {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  color: var(--rjw-accent-2);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.rjw-story__point h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #fff;
}

.rjw-story__point p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--rjw-muted);
}

.rjw-photo-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.2rem;
}

@media (min-width: 700px) {
  .rjw-photo-mosaic { grid-template-columns: repeat(3, 1fr); }
}

.rjw-photo-mosaic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--rjw-ease), filter 0.35s;
}

.rjw-photo-mosaic img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.06);
}

.rjw-sec--watch .rjw-watch-shots {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.rjw-watch-shots img {
  width: min(200px, 42vw);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.rjw-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.rjw-kpi__card {
  text-align: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  box-shadow: none;
  transition: transform 0.3s var(--rjw-ease), background 0.3s;
}

.rjw-kpi__card:hover {
  transform: translateY(-3px);
  background: rgba(125, 222, 168, 0.1);
}

.rjw-kpi__num {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--rjw-accent);
  line-height: 1;
}

.rjw-kpi__lbl {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rjw-muted);
}

.rjw-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.rjw-chart-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  padding: 0.75rem;
  box-shadow: none;
}

.rjw-chart-card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rjw-muted);
}

.rjw-chart { width: 100%; height: 210px; }

/* Soft-blended location map — match column width */
.rjw-map-block {
  margin-top: 2.25rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.rjw-map-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.55rem;
}

.rjw-map-shell {
  position: relative;
  margin: 1.1rem auto 0;
  width: 100%;
  height: min(68vh, 560px);
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.rjw-map {
  width: 100%;
  height: 100%;
  background: #e8e4dc;
  z-index: 0;
}

.rjw-map-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 78% 72% at 50% 48%, transparent 38%, rgba(11, 28, 36, 0.35) 72%, rgba(11, 28, 36, 0.92) 100%),
    linear-gradient(180deg, rgba(11, 28, 36, 0.55) 0%, transparent 16%, transparent 84%, rgba(18, 28, 36, 0.75) 100%),
    linear-gradient(90deg, rgba(11, 28, 36, 0.65) 0%, transparent 12%, transparent 88%, rgba(11, 28, 36, 0.65) 100%);
  box-shadow: inset 0 0 50px 14px rgba(11, 28, 36, 0.35);
}

.rjw-map .leaflet-control-attribution {
  background: transparent !important;
  color: rgba(197, 184, 168, 0.45) !important;
  font-size: 9px !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 6px 4px !important;
}

.rjw-map .leaflet-control-attribution a {
  color: rgba(125, 222, 168, 0.55) !important;
}

.rjw-map .leaflet-control-zoom {
  border: 0 !important;
  box-shadow: none !important;
  margin: 12px !important;
}

.rjw-map .leaflet-control-zoom a {
  background: rgba(11, 28, 36, 0.55) !important;
  color: var(--rjw-muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  backdrop-filter: blur(8px);
}

.rjw-map .leaflet-control-zoom a:hover {
  background: rgba(125, 222, 168, 0.18) !important;
  color: var(--rjw-ink) !important;
}

.rjw-map .leaflet-marker-icon {
  cursor: pointer !important;
}

.rjw-map .leaflet-marker-pane,
.rjw-map .leaflet-overlay-pane,
.rjw-map .leaflet-marker-icon {
  overflow: visible !important;
}

/* Blue core + pale-yellow centered pulse */
.rjw-map .leaflet-div-icon.rjw-pulse-marker {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
  overflow: visible !important;
}

.rjw-pulse-marker__core {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #30bcfd;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px 2px rgba(48, 188, 253, 0.65);
  box-sizing: border-box;
}

.rjw-pulse-marker__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  box-sizing: border-box;
  border: 2px solid #f1d96a;
  background: rgba(241, 217, 106, 0.2);
  box-shadow: 0 0 10px 2px rgba(241, 217, 106, 0.75);
  transform: translate(-50%, -50%) scale(0.75);
  transform-origin: center center;
  animation: rjwMapPulsate 1.6s ease-out infinite;
  will-change: transform, opacity;
}

@keyframes rjwMapPulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.75);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rjw-pulse-marker__ring {
    animation: none !important;
    opacity: 0.45 !important;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

.rjw-leaflet-popup .leaflet-popup-content-wrapper {
  background: rgba(11, 28, 36, 0.94);
  color: var(--rjw-ink);
  border-radius: 14px;
  border: 1px solid rgba(125, 222, 168, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.rjw-leaflet-popup .leaflet-popup-tip {
  background: rgba(11, 28, 36, 0.94);
  border: none;
  box-shadow: none;
}

.rjw-leaflet-popup .leaflet-popup-content {
  margin: 0.75rem 0.9rem;
  font-family: "Nunito Sans", system-ui, sans-serif;
}

.rjw-leaflet-popup a.leaflet-popup-close-button {
  color: var(--rjw-muted) !important;
  top: 4px !important;
  right: 6px !important;
}

.rjw-map-popup {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 140px;
  padding-right: 0.6rem;
}

.rjw-map-popup__name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}

.rjw-map-popup__count {
  font-size: 0.92rem;
  color: var(--rjw-accent);
  font-weight: 700;
}

.rjw-map-popup__note {
  font-size: 0.72rem;
  color: var(--rjw-muted);
  letter-spacing: 0.02em;
}

.rjw-close {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rjw-close .rjw-body {
  margin-left: auto;
  margin-right: auto;
}

.rjw-foot {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem 3rem;
  color: var(--rjw-muted);
  font-size: 0.9rem;
}

.rjw-foot a {
  color: var(--rjw-muted);
  text-decoration: none;
}

.rjw-foot a:hover { color: var(--rjw-accent); }

/* Origin full page */
.rjw-origin-prose {
  max-width: 720px;
}

.rjw-origin-prose p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(247, 243, 236, 0.92);
}

.rjw-origin-prose h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  margin: 1.85rem 0 0.7rem;
  color: #fff;
}

.rjw-origin-art {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 1.75rem;
  justify-items: center;
}

@media (min-width: 720px) {
  .rjw-origin-art { grid-template-columns: repeat(3, 1fr); }
}

.rjw-origin-art img {
  max-width: 260px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.35));
}

/* —— 成长笔记：glass blog showcase between philosophy & origin —— */
.rjw-sec--bridge {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.rjw-sec--bridge::before,
.rjw-sec--bridge::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 222, 168, 0.35),
    rgba(240, 179, 90, 0.28),
    transparent
  );
}

.rjw-sec--bridge::before { top: 0; opacity: 0.85; }
.rjw-sec--bridge::after { bottom: 0; opacity: 0.55; }

.rjw-sec--notes {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.rjw-notes__intro {
  display: grid;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 0.35rem;
}

@media (min-width: 820px) {
  .rjw-notes__intro {
    grid-template-columns: minmax(0, 1fr) auto;
    text-align: left;
    justify-items: stretch;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }

  .rjw-notes__intro .rjw-copy-card {
    text-align: left;
    margin: 0;
  }

  .rjw-notes__intro .rjw-copy-card::before {
    inset: -0.35rem -0.5rem -0.35rem -0.85rem;
  }
}

.rjw-notes__badge {
  position: relative;
  width: clamp(132px, 28vw, 188px);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.rjw-notes__badge img {
  width: 100%;
  height: auto;
  display: block;
}

.rjw-notes {
  margin-top: 0.35rem;
  width: 100%;
}

.rjw-notes__shell {
  position: relative;
  border-radius: 22px;
  padding: 0.85rem 0.35rem 0.95rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(11, 28, 36, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  overflow: hidden;
}

.rjw-notes__watermark {
  position: absolute;
  right: -1.5rem;
  bottom: -2.2rem;
  width: clamp(120px, 22vw, 200px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(0.15) saturate(1.1);
  transform: rotate(-8deg);
  user-select: none;
}

.rjw-notes__shell > .rjw-notes__fade,
.rjw-notes__shell > .rjw-notes__viewport {
  position: relative;
  z-index: 1;
}

.rjw-notes__edge {
  appearance: none;
  position: static;
  transform: none;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 28, 36, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f7f3ec;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: opacity 0.25s var(--rjw-ease), border-color 0.2s, background 0.2s;
}

.rjw-notes__edge:disabled {
  opacity: 0.35;
  cursor: default;
  animation: none !important;
}

.rjw-notes__edge:not(:disabled):hover {
  border-color: rgba(125, 222, 168, 0.55);
  background: rgba(18, 40, 48, 0.85);
}

.rjw-notes__edge.is-active:not(:disabled) {
  animation: rjwNotesEdgePulse 1.6s var(--rjw-ease) infinite;
}

.rjw-notes__edge-arrow {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--rjw-accent);
}

.rjw-notes__edge.is-active:not(:disabled).rjw-notes__edge--newer .rjw-notes__edge-arrow {
  animation: rjwNotesArrowL 1.1s ease-in-out infinite;
}

.rjw-notes__edge.is-active:not(:disabled).rjw-notes__edge--older .rjw-notes__edge-arrow {
  animation: rjwNotesArrowR 1.1s ease-in-out infinite;
}

@keyframes rjwNotesArrowL {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50% { transform: translateX(-4px); opacity: 1; }
}

@keyframes rjwNotesArrowR {
  0%, 100% { transform: translateX(0); opacity: 0.55; }
  50% { transform: translateX(4px); opacity: 1; }
}

@keyframes rjwNotesEdgePulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(125, 222, 168, 0.35); }
}

.rjw-notes__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 6vw, 3.5rem);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.35s var(--rjw-ease);
}

.rjw-notes__fade--l {
  left: 0;
  background: linear-gradient(90deg, rgba(11, 28, 36, 0.72), transparent);
}

.rjw-notes__fade--r {
  right: 0;
  background: linear-gradient(270deg, rgba(11, 28, 36, 0.72), transparent);
}

.rjw-notes.is-at-start .rjw-notes__fade--l,
.rjw-notes.is-at-end .rjw-notes__fade--r {
  opacity: 0;
}

.rjw-notes__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  outline: none;
  padding: 0.35rem 0.65rem 0.55rem;
  cursor: grab;
}

.rjw-notes__viewport::-webkit-scrollbar { display: none; }
.rjw-notes__viewport.is-dragging { cursor: grabbing; }
.rjw-notes__viewport:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(125, 222, 168, 0.45);
}

.rjw-notes__track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding-right: 1.25rem;
}

.rjw-note-card {
  flex: 0 0 auto;
  width: min(78vw, 240px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 32, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(0);
  transition:
    transform 0.35s var(--rjw-ease),
    border-color 0.3s,
    box-shadow 0.35s var(--rjw-ease),
    background 0.3s;
}

@media (min-width: 720px) {
  .rjw-note-card {
    /* ~4 cards visible in the shell */
    width: clamp(200px, 22vw, 248px);
  }
}

.rjw-note-card:hover,
.rjw-note-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(125, 222, 168, 0.45);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(125, 222, 168, 0.2);
  background: rgba(18, 40, 48, 0.72);
}

.rjw-note-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(125, 222, 168, 0.12), rgba(240, 179, 90, 0.1));
}

.rjw-note-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.55s var(--rjw-ease);
}

.rjw-note-card:hover .rjw-note-card__media img {
  transform: scale(1.08);
}

.rjw-note-card__media--empty .rjw-note-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(125, 222, 168, 0.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(240, 179, 90, 0.2), transparent 50%),
    rgba(11, 28, 36, 0.4);
}

.rjw-note-card__body {
  padding: 0.75rem 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.rjw-note-card__date {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rjw-muted);
  font-weight: 600;
}

.rjw-note-card__title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rjw-note-card__excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(197, 184, 168, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rjw-notes__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding: 0 0.35rem;
}

.rjw-notes__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rjw-notes__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--rjw-muted);
  letter-spacing: 0.02em;
  flex: 1 1 12rem;
}

.rjw-notes__hint.is-more {
  color: rgba(125, 222, 168, 0.95);
}

.rjw-notes__all {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .rjw-notes__edge.is-active,
  .rjw-notes__edge--newer .rjw-notes__edge-arrow,
  .rjw-notes__edge--older .rjw-notes__edge-arrow {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rjw-sec,
  .rjw-scroll-hint,
  .rjw-story-art .rjw-float,
  .rjw-bob,
  .rjw-bg__blob,
  .rjw-hero__copy,
  .rjw-hero__art,
  .rjw-story__point,
  .rjw-note-card,
  .rjw-note-card__media img {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .rjw-sec--shift-l,
  .rjw-sec--shift-r {
    --rjw-shift: 0px;
  }
}
