/* /case-studies/jacksonville-jewish-center */

.jjc-page { position: relative; }
.jjc-copy { min-width: 0; }
.jjc-copy h2 { max-width: 16em; }
.jjc-copy p { max-width: 42em; color: var(--bv-muted); line-height: 1.6; }
.jjc-copy--wide p { max-width: 46em; }
.jjc-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: center;
}
.jjc-split--loop { align-items: start; }

.jjc-spine { display: none; }

@media (min-width: 1360px) {
  .jjc-page { padding-left: 132px; }
  .jjc-spine {
    display: block;
    position: absolute;
    top: 140px;
    bottom: 180px;
    left: 18px;
    width: 108px;
    pointer-events: none;
    z-index: 2;
  }
  .jjc-spine::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f3e8d8;
  }
  .jjc-spine i {
    position: absolute;
    left: 9px;
    top: 0;
    width: 2px;
    height: 8%;
    background: #d8a14a;
  }
  .jjc-spine ol {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .jjc-spine li {
    position: relative;
    padding-left: 22px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--bv-faint);
    line-height: 1.25;
  }
  .jjc-spine li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.35em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f3e8d8;
  }
  .jjc-spine li.is-on { color: #9a3412; }
  .jjc-spine li.is-on::before { background: #d8a14a; box-shadow: 0 0 0 4px rgba(216, 161, 74, 0.18); }
}

.jjc-screen,
.jjc-hub,
.jjc-collab li,
.jjc-time li,
.jjc-yearpath article,
.jjc-pairs article > div,
.jjc-hero__sign,
.jjc-invite li {
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.07);
}

/* ---------- HERO ---------- */
.jjc-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 8vw, 88px);
}
.jjc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(24px, 4.5vw, 56px);
  align-items: center;
}
.jjc-hero .bv-kicker { color: #9a3412; }
.jjc-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #d8a14a, #c67c4e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jjc-hero__stage {
  position: relative;
  min-height: 340px;
}
.jjc-hero__sign {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 11;
}
.jjc-hero__sign img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.jjc-screen {
  padding: 12px;
  max-width: 260px;
}
.jjc-hero__stage .jjc-screen {
  position: absolute;
  right: -8px;
  bottom: -18px;
  transform: rotate(-2deg);
}
.jjc-hero__stage.is-on .jjc-screen {
  transform: rotate(-2deg) translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.jjc-screen header,
.jjc-yearpath article header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.jjc-screen header span,
.jjc-yearpath article header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d3c6;
}
.jjc-screen header em,
.jjc-yearpath article header em {
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--bv-faint);
}
.jjc-screen__grid {
  padding: 12px;
  border-radius: 12px;
  background: var(--bv-cream);
}
.jjc-screen__grid b { display: block; letter-spacing: -0.03em; }
.jjc-screen__grid p { margin: 6px 0 0; font-size: 13px; color: var(--bv-muted); }
.jjc-screen__grid span { display: block; margin-top: 10px; font-size: 11px; color: var(--bv-faint); }
.jjc-hero__tags {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jjc-hero__tags li {
  position: absolute;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--bv-line);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
}
.jjc-hero__tags li:nth-child(1) { top: 14px; left: 12px; }
.jjc-hero__tags li:nth-child(2) { top: 18%; right: 6%; }
.jjc-hero__tags li:nth-child(3) { left: 8px; bottom: 22%; }
.jjc-hero__tags li:nth-child(4) { right: 36%; bottom: 6px; }
.jjc-hero__stage.is-on .jjc-hero__tags li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.jjc-hero__stage.is-on .jjc-hero__tags li:nth-child(2) { transition-delay: 0.08s; }
.jjc-hero__stage.is-on .jjc-hero__tags li:nth-child(3) { transition-delay: 0.16s; }
.jjc-hero__stage.is-on .jjc-hero__tags li:nth-child(4) { transition-delay: 0.24s; }

/* ---------- HUB ---------- */
.jjc-hub {
  position: relative;
  min-height: 360px;
  padding: 18px;
  background: #fffaf3;
}
.jjc-hub__lines {
  position: absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
  stroke: #e8d2a8;
  stroke-width: 1.2;
}
.jjc-hub__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  min-width: 7.6em;
  padding: 14px 16px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid color-mix(in srgb, #d8a14a 35%, var(--bv-line));
  color: #9a3412;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-align: center;
  box-shadow: 0 10px 24px rgba(154, 52, 18, 0.08);
}
.jjc-hub ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jjc-hub li {
  position: absolute;
  width: 42%;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
  opacity: 0;
  text-align: left;
}
.jjc-hub__n1 { top: 10px; left: 50%; transform: translate(-50%, 8px); }
.jjc-hub__n2 { top: 50%; right: 10px; transform: translate(8px, -50%); width: 38%; }
.jjc-hub__n3 { top: 50%; left: 10px; transform: translate(-8px, -50%); width: 38%; }
.jjc-hub__n4 { bottom: 10px; left: 50%; transform: translate(-50%, 8px); }
.jjc-hub.is-on li {
  opacity: 1;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.jjc-hub.is-on .jjc-hub__n1 { transform: translate(-50%, 0); }
.jjc-hub.is-on .jjc-hub__n2 { transform: translate(0, -50%); }
.jjc-hub.is-on .jjc-hub__n3 { transform: translate(0, -50%); }
.jjc-hub.is-on .jjc-hub__n4 { transform: translate(-50%, 0); }
.jjc-hub.is-on .jjc-hub__n2 { transition-delay: 0.08s; }
.jjc-hub.is-on .jjc-hub__n3 { transition-delay: 0.16s; }
.jjc-hub.is-on .jjc-hub__n4 { transition-delay: 0.24s; }
.jjc-hub small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8a14a;
}
.jjc-hub b { display: block; margin-top: 4px; font-size: 13px; letter-spacing: -0.02em; }

/* ---------- COLLAB LOOP ---------- */
.jjc-collab {
  position: relative;
}
.jjc-collab__ring {
  position: absolute;
  inset: 16%;
  border: 2px dashed #ead9b8;
  border-radius: 50%;
}
.jjc-collab.is-on .jjc-collab__ring {
  animation: jjc-spin 28s linear infinite;
}
.jjc-collab__core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 132px;
  transform: translate(-50%, -50%);
  padding: 12px 10px;
  border-radius: 18px;
  background: #1c1610;
  color: #fff8ef;
  text-align: center;
  box-shadow: 0 16px 32px rgba(28, 22, 16, 0.18);
}
.jjc-collab__core em {
  display: block;
  font-style: normal;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 13px;
}
.jjc-collab__core span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 248, 239, 0.7);
}
.jjc-collab ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 148px 24px;
  position: relative;
  z-index: 3;
}
.jjc-collab li {
  padding: 12px 13px 14px;
  opacity: 0.55;
}
.jjc-collab__s1 { grid-area: 1 / 1; }
.jjc-collab__s2 { grid-area: 1 / 2; }
.jjc-collab__s3 { grid-area: 2 / 2; }
.jjc-collab__s4 { grid-area: 2 / 1; }
.jjc-collab li.is-on {
  opacity: 1;
  border-color: color-mix(in srgb, #d8a14a 45%, var(--bv-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, #d8a14a 16%, transparent), 0 18px 40px rgba(17, 24, 39, 0.07);
}
.jjc-collab small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8a14a;
}
.jjc-collab b { display: block; margin: 4px 0 4px; letter-spacing: -0.03em; font-size: 14px; }
.jjc-collab p { margin: 0; font-size: 12px; color: var(--bv-muted); }
.jjc-mini {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #111827;
  color: #e5e7eb;
  text-align: left;
}
.jjc-mini em { display: block; font-style: normal; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #d8a14a; }
.jjc-mini span { font-size: 12px; }

@keyframes jjc-spin {
  to { transform: rotate(360deg); }
}

/* ---------- TIMELINE ---------- */
.jjc-time {
  list-style: none;
  position: relative;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.jjc-time::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 18px;
  height: 2px;
  background: #f3e8d8;
}
.jjc-time li {
  position: relative;
  padding: 28px 10px 14px;
  min-height: 104px;
}
.jjc-time li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #d8a14a;
  box-shadow: 0 0 0 4px #fffaf3;
}
.jjc-time li {
  opacity: 0;
  transform: translateY(10px);
}
.jjc-time.is-on li {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.jjc-time.is-on li:nth-child(2) { transition-delay: 0.06s; }
.jjc-time.is-on li:nth-child(3) { transition-delay: 0.12s; }
.jjc-time.is-on li:nth-child(4) { transition-delay: 0.18s; }
.jjc-time.is-on li:nth-child(5) { transition-delay: 0.24s; }
.jjc-time.is-on li:nth-child(6) { transition-delay: 0.3s; }
.jjc-time.is-on li:nth-child(7) { transition-delay: 0.36s; }
.jjc-time .is-start { background: #fff7ed; border-color: color-mix(in srgb, #d8a14a 35%, var(--bv-line)); }
.jjc-time small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bv-faint);
}
.jjc-time b { display: block; margin-top: 4px; font-size: 13px; letter-spacing: -0.02em; }

/* ---------- SCHOOL YEAR ---------- */
.jjc-yearpath { margin-top: 28px; }
.jjc-yearpath nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.jjc-yearpath nav button {
  appearance: none;
  border: 1px solid var(--bv-line);
  background: var(--bv-paper);
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  color: var(--bv-muted);
}
.jjc-yearpath nav button.is-on {
  background: #1c1610;
  color: #fff;
  border-color: #1c1610;
}
.jjc-yearpath__stage {
  position: relative;
  min-height: 230px;
}
.jjc-yearpath article {
  position: absolute;
  inset: 0 auto auto 0;
  width: min(100%, 460px);
  padding: 14px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.jjc-yearpath article.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.4s ease, transform 0.45s ease;
}
.jjc-yearpath label {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 650;
}
.jjc-yearpath input {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream);
  font: inherit;
}
.jjc-yearpath article > em {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #d8a14a;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}
.jjc-yearpath article > p { margin: 6px 0 0; font-size: 14px; }
.jjc-yearpath article > b { display: block; margin-top: 8px; font-size: 28px; letter-spacing: -0.04em; }
.jjc-yearpath article[data-jjc-year-card="1"] {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  align-items: start;
}
.jjc-note {
  padding: 12px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px dashed color-mix(in srgb, #d8a14a 40%, var(--bv-line));
}
.jjc-note small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8a14a;
}
.jjc-note b { display: block; margin: 6px 0; letter-spacing: -0.03em; }
.jjc-note p { margin: 0; font-size: 13px; color: var(--bv-muted); }
.jjc-screen--ghost {
  margin: 0;
  opacity: 0.78;
  transform: none;
  box-shadow: none;
}
.jjc-yearpath article.is-on .jjc-note {
  animation: jjc-slide 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes jjc-slide {
  from { transform: translateX(-12px); opacity: 0.4; }
}

/* ---------- QUOTE ---------- */
.jjc-voice {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 110px) 0;
  background: #1c1610;
  color: #fff8ef;
}
.jjc-voice__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.jjc-voice__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) saturate(0.7);
  opacity: 0.22;
  transform: scale(1.08);
}
.jjc-voice .bv-wrap {
  position: relative;
  z-index: 1;
  max-width: 38em;
  text-align: center;
}
.jjc-voice .bv-quote {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.28;
  color: #fff8ef;
  opacity: 0;
  transform: translateY(10px);
}
.jjc-voice.is-on .bv-quote {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.jjc-voice p {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(255, 248, 239, 0.72);
}
.jjc-voice strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.jjc-voice span { display: block; margin-top: 2px; }

/* ---------- PAIRS ---------- */
.jjc-pairs {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.jjc-pairs article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.jjc-pairs article > div { padding: 16px; }
.jjc-pairs article > div:last-child {
  position: relative;
}
.jjc-pairs article > div:last-child::before {
  content: "→";
  position: absolute;
  left: -14px;
  top: 18px;
  color: #d8a14a;
  font-weight: 700;
}
.jjc-pairs small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8a14a;
}
.jjc-pairs b { font-size: 15px; letter-spacing: -0.02em; line-height: 1.4; font-weight: 650; }
.jjc-pairs article > div:last-child {
  background: #fff7ed;
  border-color: color-mix(in srgb, #d8a14a 28%, var(--bv-line));
}

.jjc-invite {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.jjc-invite li {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .jjc-hero__grid,
  .jjc-split,
  .jjc-pairs article {
    grid-template-columns: 1fr;
  }
  .jjc-hero__stage { min-height: 0; }
  .jjc-hero__stage .jjc-screen {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -42px 16px 0 auto;
  }
  .jjc-hero__tags li:nth-child(3),
  .jjc-hero__tags li:nth-child(4) { display: none; }
  .jjc-hub { min-height: 0; padding: 16px; }
  .jjc-hub__lines { display: none; }
  .jjc-hub__core {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 12px;
    width: max-content;
  }
  .jjc-hub ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .jjc-hub li,
  .jjc-hub.is-on li {
    position: static;
    width: auto;
    transform: none;
    opacity: 1;
  }
  .jjc-collab { min-height: 0; }
  .jjc-collab__ring { display: none; }
  .jjc-collab__core {
    position: static;
    width: auto;
    transform: none;
    margin-bottom: 12px;
  }
  .jjc-collab ol { display: grid; gap: 8px; }
  .jjc-collab li,
  .jjc-collab__s1,
  .jjc-collab__s2,
  .jjc-collab__s3,
  .jjc-collab__s4 {
    position: static;
    width: auto;
    transform: none;
  }
  .jjc-time { grid-template-columns: 1fr 1fr; }
  .jjc-time::before { display: none; }
  .jjc-time li::before { display: none; }
  .jjc-time li { padding: 12px 12px 14px; min-height: 0; }
  .jjc-yearpath__stage { min-height: 250px; }
  .jjc-yearpath article[data-jjc-year-card="1"] { grid-template-columns: 1fr; }
  .jjc-pairs article > div:last-child::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .jjc-hero__tags li,
  .jjc-screen,
  .jjc-hub li,
  .jjc-time li,
  .jjc-yearpath article,
  .jjc-voice .bv-quote,
  .jjc-note {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .jjc-collab__ring { animation: none !important; }
}
