/* Jamaican Spiritual — Hero Slider (exact slide look) */

.jsr-hero {
  --jsr-gold: #fef3c7;
  --jsr-gold-deep: #e8c872;
  --jsr-script: #c4a0ff;
  --jsr-script-brand: #b388ff;
  position: relative;
  width: 100%;
  min-height: 640px;
  height: min(92vh, 820px);
  overflow: hidden;
  background: #12081f;
  isolation: isolate;
}

.jsr-hero__track {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.jsr-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  display: flex;
  align-items: center;
}

.jsr-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.jsr-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.jsr-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(18, 8, 31, 0.82) 0%,
    rgba(18, 8, 31, 0.55) 38%,
    rgba(18, 8, 31, 0.18) 62%,
    rgba(18, 8, 31, 0.05) 100%
  );
}

.jsr-hero__shell {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--jsr-content-width, 1140px);
  margin: 0 auto;
  padding: 100px var(--jsr-gutter, 20px);
  box-sizing: border-box;
}

.jsr-hero__content {
  width: 50%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px) {
  .jsr-hero {
    min-height: 560px;
    height: auto;
  }

  .jsr-hero__slide {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    min-height: 560px;
  }

  .jsr-hero__slide.is-active {
    display: flex;
  }

  .jsr-hero__track {
    position: relative;
    min-height: 560px;
  }

  .jsr-hero__content {
    width: 100%;
    max-width: 100%;
  }

  .jsr-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(18, 8, 31, 0.75) 0%,
      rgba(18, 8, 31, 0.55) 55%,
      rgba(18, 8, 31, 0.35) 100%
    );
  }
}

.jsr-hero__ornament {
  color: var(--jsr-gold);
  font-size: 14px;
  letter-spacing: 0.4em;
  margin-bottom: 14px;
  opacity: 0.95;
}

.jsr-hero__eyebrow {
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.jsr-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  line-height: 1.05;
}

.jsr-hero__l1,
.jsr-hero__l2,
.jsr-hero__l4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* Chapter + Universe defaults */
.jsr-hero__slide--chapter .jsr-hero__l1,
.jsr-hero__slide--universe .jsr-hero__l1 {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: none;
}

.jsr-hero__slide--chapter .jsr-hero__l2,
.jsr-hero__slide--universe .jsr-hero__l2 {
  font-size: clamp(36px, 4.6vw, 48px);
  color: #fef3c7;
  letter-spacing: 0.02em;
}

.jsr-hero__slide--universe .jsr-hero__l1,
.jsr-hero__slide--universe .jsr-hero__l2 {
  text-transform: none;
}

.jsr-hero__l3 {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: clamp(42px, 5.5vw, 64px);
  color: var(--jsr-script);
  line-height: 1.2;
  margin-top: 0.05em;
}

.jsr-hero__slide--universe .jsr-hero__l3 {
  color: #e8d9ff;
  font-size: clamp(38px, 5vw, 58px);
}

/* Brand slide — no overlapping script/title lines */
.jsr-hero__title--brand {
  position: relative;
  padding-bottom: 0.1em;
  gap: 0.12em;
}

.jsr-hero__slide--brand .jsr-hero__l1 {
  font-size: clamp(18px, 2.2vw, 26px);
  color: #fef3c7;
  letter-spacing: 0.28em;
  line-height: 1.2;
}

.jsr-hero__slide--brand .jsr-hero__l2 {
  font-size: clamp(36px, 4.8vw, 52px);
  color: #fef3c7;
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin: 0;
}

.jsr-hero__slide--brand .jsr-hero__l3 {
  position: relative;
  margin: 0.05em 0 0.05em;
  color: var(--jsr-script-brand);
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.15;
  z-index: 2;
}

.jsr-hero__slide--brand .jsr-hero__l4 {
  font-size: clamp(16px, 2vw, 24px);
  color: #fef3c7;
  letter-spacing: 0.22em;
  line-height: 1.25;
  margin-top: 0.15em;
  position: relative;
  z-index: 1;
}

.jsr-hero__content {
  overflow: visible;
}

.jsr-hero__title {
  overflow: visible;
}

.jsr-hero__divider {
  width: 120px;
  height: 1px;
  margin: 18px 0 16px;
  background: linear-gradient(90deg, transparent, #fef3c7, transparent);
  position: relative;
}

.jsr-hero__divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border: 1px solid #fef3c7;
  border-radius: 50%;
  background: #2d1b4e;
  box-shadow: 0 0 8px rgba(254, 243, 199, 0.45);
}

.jsr-hero__tagline {
  margin: 0 0 8px;
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: #ffffff;
}

.jsr-hero__text {
  margin: 0 0 22px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #d8cce8;
  max-width: 420px;
}

.jsr-hero__slide--brand .jsr-hero__text {
  color: #c4b0e0;
}

.jsr-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 26px;
  border-radius: 999px;
  border: 1px solid #fef3c7;
  background: rgba(60, 30, 110, 0.75);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(180, 120, 255, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.jsr-hero__btn:hover {
  transform: translateY(-1px);
  background: rgba(80, 40, 140, 0.9);
  box-shadow: 0 0 28px rgba(254, 243, 199, 0.28);
  color: #fff;
}

.jsr-hero__btn-arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #fef3c7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #fef3c7;
}

.jsr-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.jsr-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.jsr-hero__dot.is-active,
.jsr-hero__dot:hover {
  background: #fef3c7;
  transform: scale(1.1);
}
