/* Aceternity-style container scroll, restyled for PMK Advisors */
.scroll-spotlight {
  --scroll-ink: #07171d;
  --scroll-frame: #1a2a30;
  --scroll-paper: #f7f5f0;
  position: relative;
  height: 220vh;
  background:
    radial-gradient(1200px 480px at 50% 18%, rgba(0, 143, 163, 0.08), transparent 58%),
    linear-gradient(180deg, #0c1c22 0%, #10252c 42%, #0b181d 100%);
  color: #f4f1ea;
  overflow: clip;
}

.scroll-spotlight--home {
  height: 210vh;
}

.scroll-spotlight__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  perspective: 1000px;
}

.scroll-spotlight__stage {
  width: min(1080px, 100%);
  position: relative;
  transform-style: preserve-3d;
}

.scroll-spotlight__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px;
  will-change: transform;
}

.scroll-spotlight__header .eyebrow {
  color: #7fd4de;
  letter-spacing: 0.18em;
}

.scroll-spotlight__header h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: 0.98;
  color: #fbfaf7;
}

.scroll-spotlight__header h2 span {
  display: block;
  margin-top: 6px;
  color: #d8eee8;
}

.scroll-spotlight__lede {
  margin: 16px auto 0;
  max-width: 540px;
  color: rgba(247, 245, 240, 0.72);
  font-size: 1.02rem;
  line-height: 1.55;
}

.scroll-spotlight__card {
  width: 100%;
  border: 4px solid #5d676c;
  border-radius: 30px;
  padding: 10px;
  background: #1c1c1c;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform-origin: center top;
  will-change: transform;
  transform: rotateX(20deg) scale(1.05);
}

.scroll-spotlight__screen {
  height: min(40rem, 62vh);
  overflow: hidden;
  border-radius: 18px;
  background: var(--scroll-paper);
  color: var(--navy);
}

.scroll-spotlight__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #102a33;
  color: #eef7f6;
}

.scroll-spotlight__dots {
  display: flex;
  gap: 7px;
}

.scroll-spotlight__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5c7178;
}

.scroll-spotlight__dots span:nth-child(1) { background: #c9847a; }
.scroll-spotlight__dots span:nth-child(2) { background: #d2b57a; }
.scroll-spotlight__dots span:nth-child(3) { background: #7fb39a; }

.scroll-spotlight__toolbar-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(238, 247, 246, 0.72);
}

.scroll-spotlight__board {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: calc(100% - 48px);
}

.scroll-spotlight__rail {
  padding: 22px 18px;
  background: #e8efe9;
  border-right: 1px solid rgba(16, 42, 51, 0.08);
}

.scroll-spotlight__rail p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6b72;
}

.scroll-spotlight__rail strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  color: #102a33;
}

.scroll-spotlight__rail ul {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.scroll-spotlight__rail li {
  font-size: 13px;
  color: #3f4d54;
}

.scroll-spotlight__list {
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 40px),
    #f3f1eb;
}

.scroll-spotlight__item {
  display: grid;
  grid-template-columns: 46px 1fr 34px;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid rgba(16, 42, 51, 0.09);
  color: inherit;
  min-height: 76px;
  box-shadow: 0 2px 6px rgba(16, 42, 51, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.24s cubic-bezier(0.2, 0.72, 0.2, 1), border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
  position: relative;
}

.scroll-spotlight__item:hover,
.scroll-spotlight__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 163, 0.45);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 42, 51, 0.09), 0 2px 6px rgba(0, 143, 163, 0.08);
}

.scroll-spotlight__num {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 143, 163, 0.06);
  border: 1px solid rgba(0, 143, 163, 0.18);
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #007a8c;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scroll-spotlight__item:hover .scroll-spotlight__num {
  background: rgba(0, 143, 163, 0.12);
  border-color: rgba(0, 143, 163, 0.35);
  color: #00606e;
}

.scroll-spotlight__item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.28;
  color: #102a33;
  transition: color 0.2s ease;
}

.scroll-spotlight__item:hover h3 {
  color: #005c6a;
}

.scroll-spotlight__item p {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #5b6b72;
}

.scroll-spotlight__go {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 42, 51, 0.04);
  font-size: 15px;
  color: #008fa3;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.scroll-spotlight__item:hover .scroll-spotlight__go {
  background: #008fa3;
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 860px) {
  .scroll-spotlight {
    height: 190vh;
  }

  .scroll-spotlight__sticky {
    padding: 88px 12px 32px;
  }

  .scroll-spotlight__card {
    padding: 8px;
    border-width: 3px;
    border-radius: 22px;
  }

  .scroll-spotlight__screen {
    height: min(32rem, 58vh);
    border-radius: 14px;
  }

  .scroll-spotlight__board {
    grid-template-columns: 1fr;
  }

  .scroll-spotlight__rail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-spotlight {
    height: auto;
  }

  .scroll-spotlight__sticky {
    position: relative;
    min-height: 0;
  }

  .scroll-spotlight__card,
  .scroll-spotlight__header {
    transform: none !important;
  }
}
