/* /partners only — specialist intro desk / directory */

body.bv-page.pa-body,
.pa-page {
  background:
    radial-gradient(ellipse 70% 50% at 8% 10%, color-mix(in srgb, #4FA0EA 12%, transparent), transparent 62%),
    radial-gradient(ellipse 58% 44% at 94% 16%, color-mix(in srgb, #C67C4E 10%, transparent), transparent 64%),
    radial-gradient(ellipse 52% 38% at 48% 92%, color-mix(in srgb, #37C6A0 8%, transparent), transparent 66%),
    repeating-linear-gradient(
      180deg,
      transparent 0 86px,
      color-mix(in srgb, #4FA0EA 4%, transparent) 86px 87px
    ),
    var(--bv-cream);
}

.pa-hero {
  position: relative;
  overflow: hidden;
  min-height: min(90vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 7vw, 88px) 0 clamp(48px, 8vw, 96px);
}
.pa-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.pa-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.5;
  animation: pa-glow 20s ease-in-out infinite;
}
.pa-hero__glow--a {
  width: 48vw;
  height: 48vw;
  left: -14%;
  top: -20%;
  background: radial-gradient(circle, color-mix(in srgb, #4FA0EA 28%, transparent), transparent 68%);
}
.pa-hero__glow--b {
  width: 36vw;
  height: 36vw;
  right: -10%;
  top: 8%;
  background: radial-gradient(circle, color-mix(in srgb, #C67C4E 24%, transparent), transparent 68%);
  animation-delay: -8s;
}
.pa-hero__glow--c {
  width: 40vw;
  height: 40vw;
  left: 28%;
  bottom: -22%;
  background: radial-gradient(circle, color-mix(in srgb, #37C6A0 22%, transparent), transparent 68%);
  animation-delay: -14s;
}
.pa-hero__tabs {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 18px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.72;
}
.pa-hero__tabs em {
  padding: 8px 14px 6px;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid color-mix(in srgb, var(--bv-line) 55%, transparent);
  border-bottom: 0;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bv-ink) 48%, transparent);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
}
.pa-hero__tabs em:nth-child(2n) {
  background: rgba(79, 160, 234, 0.1);
}
.pa-hero__tabs em:nth-child(3n) {
  background: rgba(198, 124, 78, 0.1);
}
.pa-hero__intros {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.pa-hero__intros path {
  fill: none;
  stroke: color-mix(in srgb, #4FA0EA 42%, #C67C4E);
  stroke-width: 1.4;
  stroke-dasharray: 6 14;
  stroke-linecap: round;
  animation: pa-intro 22s linear infinite;
}
.pa-hero__intros path:nth-child(even) {
  stroke: color-mix(in srgb, #C67C4E 46%, #4FA0EA);
  animation-direction: reverse;
  animation-duration: 28s;
}
.pa-hero__stubs .pa-stub,
.pa-hero__drift span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  white-space: nowrap;
}
.pa-stub {
  min-width: 168px;
  padding: 12px 14px 11px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.38));
  border: 1px solid color-mix(in srgb, var(--bv-line) 60%, transparent);
  box-shadow:
    6px 8px 0 -2px color-mix(in srgb, #4FA0EA 8%, transparent),
    0 12px 26px rgba(17, 24, 39, 0.06);
  transform: rotate(var(--r));
  animation: pa-stub 16s ease-in-out infinite;
  animation-delay: var(--d);
}
.pa-stub b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--bv-ink) 62%, transparent);
}
.pa-stub span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: color-mix(in srgb, var(--bv-ink) 46%, transparent);
}
.pa-hero__drift span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid color-mix(in srgb, var(--bv-line) 55%, transparent);
  color: color-mix(in srgb, var(--bv-ink) 50%, transparent);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: pa-chip 16s ease-in-out infinite;
  animation-delay: var(--d);
}
.pa-hero__copy {
  position: relative;
  padding-inline-start: clamp(20px, 4vw, 56px);
}
.pa-hero__copy::before {
  content: "";
  position: absolute;
  inset: -28px -36px -36px -40px;
  background: radial-gradient(ellipse at 30% 40%, color-mix(in srgb, var(--bv-cream) 92%, transparent), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.pa-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.pa-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 13em;
}
.pa-hero h1 em {
  font-style: normal;
  background: var(--bv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pa-hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--bv-muted);
  font-size: 16px;
  line-height: 1.65;
}

.pa-desk {
  position: relative;
  min-height: 450px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(79, 160, 234, 0.18), transparent 46%),
    radial-gradient(80% 60% at 100% 100%, rgba(198, 124, 78, 0.16), transparent 50%),
    #111318;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.18);
  color: #fff;
  overflow: hidden;
}
.pa-desk__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.pa-desk__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.pa-desk__bar span:first-child { background: #4FA0EA; }
.pa-desk__bar span:nth-child(2) { background: #C67C4E; }
.pa-desk__stage {
  position: relative;
  min-height: 320px;
  margin: 28px 12px 10px;
}
.pa-card {
  position: absolute;
  inset: 18px 8px auto;
  min-height: 220px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #1a1e26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(18px, 16px, 0) rotate(3deg) scale(0.94);
  pointer-events: none;
  transition: opacity 500ms var(--bv-ease), transform 500ms var(--bv-ease);
}
.pa-card:nth-child(1) { --shift: 0px; }
.pa-card:nth-child(2) { --shift: 8px; }
.pa-card:nth-child(3) { --shift: 16px; }
.pa-card:nth-child(4) { --shift: 24px; }
.pa-card.is-back {
  opacity: 0.38;
  transform: translate3d(var(--shift), 22px, 0) rotate(4deg) scale(0.94);
}
.pa-card.is-mid {
  opacity: 0.62;
  transform: translate3d(calc(var(--shift) * 0.4), 10px, 0) rotate(1.5deg) scale(0.97);
}
.pa-card.is-front {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  z-index: 3;
}
.pa-card__tab {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(79, 160, 234, 0.2);
  border: 1px solid rgba(79, 160, 234, 0.35);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fd0ff;
}
.pa-card:nth-child(even) .pa-card__tab {
  background: rgba(198, 124, 78, 0.2);
  border-color: rgba(198, 124, 78, 0.4);
  color: #f0c3a2;
}
.pa-card strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pa-card p {
  margin: 12px 0 0;
  max-width: 22em;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}
.pa-desk__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 8px 12px;
  border: 2px solid rgba(198, 124, 78, 0.7);
  border-radius: 6px;
  color: #f0c3a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  opacity: 0.28;
  transition: opacity 400ms;
}
.pa-desk.is-on .pa-desk__stamp {
  opacity: 0.9;
}
.pa-desk__note {
  margin: 8px 8px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.pa-directory {
  position: relative;
  padding-top: 8px;
}
.pa-directory::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, #4FA0EA 8%, transparent), transparent 28%),
    radial-gradient(circle at 88% 72%, color-mix(in srgb, #C67C4E 7%, transparent), transparent 30%);
}
.pa-cta {
  position: relative;
  background: transparent;
}
.pa-cta .cta-panel {
  position: relative;
  overflow: hidden;
}
.pa-cta .cta-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, #4FA0EA 22%, transparent), transparent 70%);
  pointer-events: none;
}

@keyframes pa-glow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -4%, 0) scale(1.06); }
}
@keyframes pa-intro {
  to { stroke-dashoffset: -240; }
}
@keyframes pa-stub {
  0%, 100% { transform: rotate(var(--r)) translate3d(0, 0, 0); opacity: 0.52; }
  50% { transform: rotate(var(--r)) translate3d(8px, -10px, 0); opacity: 0.9; }
}
@keyframes pa-chip {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.5; }
  40% { transform: translate3d(10px, -12px, 0); opacity: 0.9; }
  70% { transform: translate3d(-8px, 8px, 0); opacity: 0.64; }
}

.pa-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pa-lane {
  appearance: none;
  width: 100%;
  padding: 28px 26px;
  border: 1px solid var(--bv-line);
  border-radius: 22px;
  background: var(--bv-paper);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 180ms var(--bv-ease), box-shadow 180ms var(--bv-ease), background 180ms var(--bv-ease), color 180ms var(--bv-ease);
}
.pa-lane h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
}
.pa-lane p { margin: 0; color: var(--bv-muted); }
.pa-lane__go {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 650;
  color: #4FA0EA;
}
.pa-lane.is-on {
  border-color: color-mix(in srgb, #4FA0EA 42%, var(--bv-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, #4FA0EA 14%, transparent);
}
.pa-lane:focus-visible {
  outline: 2px solid #4FA0EA;
  outline-offset: 3px;
}

body.pa-theme-kehillah.bv-page.pa-body,
body.pa-theme-kehillah .pa-page {
  --kh-navy: #071833;
  --kh-deep: #0b2a55;
  --kh-blue: #1d4f91;
  --kh-sky: #6babf0;
  --kh-ice: #e8f1fb;
  --kh-paper: #f3f7fc;
  background:
    radial-gradient(ellipse 70% 50% at 8% 10%, rgba(107, 171, 240, 0.16), transparent 62%),
    radial-gradient(ellipse 58% 44% at 94% 16%, rgba(29, 79, 145, 0.12), transparent 64%),
    var(--kh-paper);
  color: #0d2240;
}
body.pa-theme-kehillah .pa-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% 12%, rgba(130, 190, 255, 0.5), transparent 56%),
    radial-gradient(ellipse 55% 60% at 6% 90%, rgba(20, 70, 160, 0.35), transparent 62%),
    linear-gradient(160deg, #123a7a 0%, #1d5aad 52%, #2f78d0 100%);
  color: #f4f8fc;
}
body.pa-theme-kehillah .pa-hero__glow--a {
  background: radial-gradient(circle, rgba(107, 171, 240, 0.55), transparent 70%);
}
body.pa-theme-kehillah .pa-hero__glow--b {
  background: radial-gradient(circle, rgba(47, 108, 186, 0.5), transparent 70%);
}
body.pa-theme-kehillah .pa-hero__glow--c {
  background: radial-gradient(circle, rgba(29, 79, 145, 0.4), transparent 70%);
}
body.pa-theme-kehillah .pa-hero__tabs em {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(186, 216, 255, 0.28);
  color: rgba(232, 241, 251, 0.72);
}
body.pa-theme-kehillah .pa-hero__intros path { stroke: rgba(186, 216, 255, 0.45); }
body.pa-theme-kehillah .pa-stub,
body.pa-theme-kehillah .pa-hero__drift span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(186, 216, 255, 0.28);
  color: rgba(232, 241, 251, 0.78);
  box-shadow: none;
}
body.pa-theme-kehillah .pa-stub b { color: #f7fbff; }
body.pa-theme-kehillah .pa-hero__copy::before { display: none; }
body.pa-theme-kehillah .pa-hero h1 { color: #f7fbff; }
body.pa-theme-kehillah .pa-hero h1 em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #8ec5ff;
}
body.pa-theme-kehillah .pa-hero__lede { color: rgba(232, 241, 251, 0.78); }
body.pa-theme-kehillah .pa-hero .bv-kicker { color: #c5ddff; }
body.pa-theme-kehillah .pa-hero .bv-btn--primary {
  background: #fff;
  color: #071833;
  box-shadow: 0 8px 24px rgba(7, 24, 51, 0.18);
}
body.pa-theme-kehillah .pa-hero .bv-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}
body.pa-theme-kehillah .pa-desk {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(107, 171, 240, 0.2), transparent 46%),
    radial-gradient(80% 60% at 100% 100%, rgba(29, 79, 145, 0.35), transparent 50%),
    #071833;
}
body.pa-theme-kehillah .bv-section--deep,
body.pa-theme-kehillah .pa-directory::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(107, 171, 240, 0.14), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(29, 79, 145, 0.1), transparent 30%);
}
body.pa-theme-kehillah .bv-kicker { color: #1d4f91; }
body.pa-theme-kehillah .pa-lane {
  background: #fff;
  border-color: rgba(29, 79, 145, 0.12);
}
body.pa-theme-kehillah .pa-lane.is-on {
  background: #0b2a55;
  color: #f4f8fc;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(7, 24, 51, 0.16);
}
body.pa-theme-kehillah .pa-lane.is-on p { color: rgba(232, 241, 251, 0.72); }
body.pa-theme-kehillah .pa-lane.is-on .bv-kicker,
body.pa-theme-kehillah .pa-lane.is-on .pa-lane__go { color: #8ec5ff; }
body.pa-theme-kehillah .pa-lane__go { color: #1d4f91; }
body.pa-theme-kehillah .partner-card {
  border-color: rgba(29, 79, 145, 0.12);
  background: #fff;
}
body.pa-theme-kehillah .partner-avatar {
  background: #e8f1fb;
  color: #1d4f91;
}
body.pa-theme-kehillah .partner-card__cta { color: #1d4f91; }
body.pa-theme-kehillah .pa-cta .cta-panel {
  background:
    radial-gradient(ellipse 60% 70% at 80% 0%, rgba(76, 143, 219, 0.28), transparent 55%),
    linear-gradient(165deg, #071833, #0d3368);
  color: #f4f8fc;
  border-color: transparent;
}
body.pa-theme-kehillah .pa-cta .cta-panel h2,
body.pa-theme-kehillah .pa-cta .cta-panel p { color: inherit; }
body.pa-theme-kehillah .pa-cta .cta-panel p { color: rgba(232, 241, 251, 0.72); }
body.pa-theme-kehillah .pa-cta .cta-panel::before {
  background: radial-gradient(circle, rgba(107, 171, 240, 0.28), transparent 70%);
}
body.pa-theme-kehillah .site-nav,
body.pa-theme-kehillah .site-footer { border-color: rgba(29, 79, 145, 0.12); }

@media (max-width: 860px) {
  .pa-lanes { grid-template-columns: 1fr; }
  .pa-hero { min-height: 0; }
  .pa-hero__inner { grid-template-columns: 1fr; }
  .pa-hero__tabs,
  .pa-hero__stubs,
  .pa-hero__drift { display: none; }
  .pa-desk { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-hero__glow,
  .pa-hero__intros path,
  .pa-stub,
  .pa-hero__drift span { animation: none; }
  .pa-card,
  .pa-lane { transition: none; }
}
