.journey-line {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  width: 17.5rem;
  height: 100vh;
  opacity: 0.08;
  pointer-events: none;
  display: none;
}
@media (min-width: 80rem) { .journey-line { display: block; } }
.journey-line path { fill: none; }
.journey-line__track { stroke: var(--blue); stroke-width: 3; stroke-dasharray: 14 8; }
.journey-line__progress { stroke: var(--green); stroke-width: 3.5; transition: stroke-dashoffset 0.1s linear; }
.is-front-page main > section { position: relative; z-index: 1; }

.hero { position: relative; isolation: isolate; overflow: hidden; background-color: #145f57; border-bottom: 1px solid var(--border); }
.hero__bg {
  position: absolute;
  inset: -180px -3%;
  z-index: -1;
  background-image: url('../images/textures/chalkboard.jpg');
  background-position: center 38%;
  background-size: cover;
  will-change: transform;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 37, 34, 0.72) 0%, rgba(7, 47, 43, 0.5) 58%, rgba(5, 37, 34, 0.28) 100%),
    linear-gradient(rgba(8, 49, 45, 0.2), rgba(5, 36, 33, 0.5));
}
.hero__orbit {
  position: absolute;
  top: 50%;
  right: -8vw;
  z-index: 0;
  width: min(44vw, 35rem);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: conic-gradient(from -34deg, rgba(30, 104, 194, 0.34) 0 36%, transparent 36% 49%, rgba(32, 120, 64, 0.38) 49% 85%, transparent 85%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 24px), #000 0);
  pointer-events: none;
}

.hero__legacy {
  position: absolute;
  z-index: 0;
  right: 3%;
  top: 1.25rem;
  width: min(30rem, 44vw);
  aspect-ratio: 750 / 164;
  background: url('../../../../uploads/2026/11/cjpride-legacy-logo.png') center / contain no-repeat;
  opacity: 0.16;
  filter: blur(2.5px);
  rotate: -4deg;
  pointer-events: none;
}
@media (max-width: 63.99rem) { .hero__legacy { right: -2rem; top: 0.75rem; width: 18rem; } }
.hero__wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 5rem; color: var(--cream); opacity: 0.15; pointer-events: none; }

.hero__inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; align-items: center; }
@media (min-width: 40rem) { .hero__inner { gap: 3.5rem; padding-block: 5rem 3rem; } }
@media (min-width: 64rem) { .hero__inner { grid-template-columns: 3fr 2fr; gap: 5rem; padding-block: 6rem 3rem; } }

.hero__title { font-size: clamp(2.1rem, 5vw, 4.25rem); line-height: 1.1; margin-bottom: 1.5rem; color: var(--chalk-text); }
.hero__title .ink-underline { color: var(--cream); }
.hero__title .ink-underline::after { border-color: var(--cream); }
.hero__motto { margin-bottom: 1.1rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); }
.hero__lede { max-width: 42rem; margin-bottom: 2rem; font-size: 1rem; line-height: 1.75; color: rgba(255, 253, 244, 0.86); }
.hero__lede strong { color: var(--chalk-text); }

@media (max-width: 39.99rem) { .hero__copy .cluster .btn { flex: 1 1 12rem; justify-content: center; text-align: center; } }
.hero__photo { max-width: 28rem; justify-self: center; color: var(--slate); }
@media (min-width: 64rem) { .hero__photo { justify-self: end; } }
.hero__photo > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(18%); }
.hero__photo figcaption { margin-top: 0.75rem; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 0.875rem; }
@media (max-width: 63.99rem) {
  .hero__photo { width: min(100%, 22rem); }
  .hero__photo-seal { top: -1.25rem; right: -0.75rem; bottom: auto; width: 4.5rem; height: 4.5rem; }
}
.hero__photo-seal { position: absolute; right: -1.5rem; bottom: -1.75rem; width: 6rem; height: 6rem; object-fit: contain; transform: rotate(6deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }

.hero-slides { position: relative; z-index: 1; }
.hero-slides__viewport { display: grid; }
.hero-slide { grid-area: 1 / 1; min-width: 0; align-self: start; }
.hero-slides:not(.is-enhanced) .hero-slide:not(:first-child) { display: none; }
.hero-slides.is-enhanced .hero-slide { opacity: 0; visibility: hidden; }
.hero-slides.is-enhanced .hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-note {
  display: grid;
  gap: 1.5rem;
  max-width: 28rem;
  justify-self: center;
  width: 100%;
  margin: 0;
  padding: 2.25rem;
  list-style: none;
  color: var(--slate);
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22);
}
@media (min-width: 64rem) { .hero-note { justify-self: end; } }
.hero-note li { display: grid; gap: 0.3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--paper-border); }
.hero-note li:last-child { padding-bottom: 0; border-bottom: 0; }
.hero-note strong { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; color: var(--green-dark); }
.hero-note strong::before { content: ''; flex: none; width: 0.6rem; height: 0.6rem; background: var(--blue); }
.hero-note span { font-size: 0.9375rem; line-height: 1.7; color: var(--body-text); }

@media (max-width: 39.99rem) {
  .hero-slide--topic .hero__inner { gap: 2.5rem; }
  .hero-note { gap: 0.9rem; padding: 1.5rem; }
  .hero-note li { padding-bottom: 0.9rem; }
  .hero-note span { display: none; }
}

.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding-bottom: 2.5rem; color: var(--chalk-text); }
.hero-controls[hidden] { display: none; }
.hero-arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--chalk-text);
  background: transparent;
  border: 1px solid rgba(255, 253, 244, 0.55);
  font-size: 1.125rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.hero-arrow:hover { background: rgba(255, 253, 244, 0.14); border-color: var(--cream); }
.hero-dots { display: flex; align-items: center; gap: 0.5rem; }
.hero-dot {
  position: relative;
  width: 2rem;
  height: 0.5rem;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 253, 244, 0.3);
  border: 0;
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}
.hero-dot::before { content: ''; position: absolute; inset: -0.75rem 0; } 
.hero-dot:hover { background: rgba(255, 253, 244, 0.55); }
.hero-dot.is-active { width: 3.5rem; background: rgba(255, 253, 244, 0.45); }
.hero-dot::after { content: ''; position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { transform: scaleX(1); } 
.hero-pause {
  padding: 0.65rem 1rem;
  font: 700 0.75rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--chalk-text);
  background: transparent;
  border: 1px solid rgba(255, 253, 244, 0.55);
  cursor: pointer;
}
.hero-pause:hover { background: rgba(255, 253, 244, 0.14); border-color: var(--cream); }
.hero-count { margin-left: auto; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255, 253, 244, 0.75); font-variant-numeric: tabular-nums; }
.hero-arrow:focus-visible, .hero-dot:focus-visible, .hero-pause:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.highlights { position: relative; z-index: 1; display: grid; margin: 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
  min-height: 6.75rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  color: #fff;
  background: var(--box-bg);
}
@media (min-width: 40rem) { .highlight { min-height: 8.5rem; } }
@media (min-width: 56rem) { .highlight { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem; min-height: 15rem; padding-block: 2.25rem; } }
.highlight--red { --box-bg: var(--red); }
.highlight--blue { --box-bg: var(--blue); }
.highlight--green { --box-bg: var(--green); }
.highlight__title { max-width: 18ch; font-family: var(--font-display); font-size: clamp(1.4rem, 5.2vw, 2rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.highlight__arrow { flex: none; font-size: 1.5rem; line-height: 1; }
@media (min-width: 56rem) { .highlight__title { max-width: 14ch; font-size: clamp(1.75rem, 3.2vw, 2.4rem); } }
.highlight:hover { filter: brightness(1.1); }
.highlight:focus-visible { outline-offset: -6px; }

.carousel-controls { display: flex; gap: 0.5rem; }

.carousel {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1rem 3rem;
  margin: -1.25rem -1rem -1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.icon-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.service-card { flex: none; width: 84vw; min-height: 16rem; padding: 2rem; scroll-snap-align: start; transition: transform var(--transition), box-shadow var(--transition); }
@media (min-width: 40rem) { .service-card { width: 48%; } }
@media (min-width: 64rem) { .service-card { width: 31.5%; } }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(28, 43, 69, 0.14); }
.service-card__num { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.service-card__title { margin: 0.5rem 0; font-size: 1.1875rem; color: var(--slate); }
.service-card:hover .service-card__title { color: var(--blue); }
.service-card.card--chalk:hover .service-card__title { color: var(--cream); }
.service-card__text { font-size: 0.8125rem; line-height: 1.7; color: var(--muted); }
.service-card__cta { margin-top: auto; padding-top: 1.25rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.carousel-foot .eyebrow { font-size: 0.625rem; }

.mission-photo { position: relative; }
.mission-photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blue-light); }
.mission-photo__badge { position: absolute; top: -14px; right: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.1em; color: var(--green); }
.mission-photo__badge .pin { width: 2rem; }
.mission-photo__quote { position: absolute; left: -1rem; bottom: -1.1rem; max-width: 16rem; padding: 0.9rem 1.1rem; background: var(--green); color: #fff; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 700; line-height: 1.5; }
@media (max-width: 40rem) { .mission-photo__quote { left: 0.5rem; max-width: 14rem; } }

.pd-cover { position: relative; max-width: 24rem; margin-inline: auto; }
.pd-cover__photo { transform: rotate(-1.7deg); }

.benefit-card { display: flex; flex-direction: column; gap: 1.1rem; padding: 2.25rem 2rem; }
.benefit-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.benefit-card__top .pin { width: 1.75rem; }
.benefit-card__step { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.benefit-card__title { font-size: 1.125rem; line-height: 1.35; color: var(--slate); }
.benefit-card__text { font-size: 0.875rem; line-height: 1.7; color: #526071; }

.event-list { display: grid; gap: 2.25rem; margin-bottom: 3rem; }
@media (min-width: 48rem) { .event-list { grid-template-columns: 1fr 1fr; } .event-list > li:first-child { grid-column: 1 / -1; } }
.event-card { position: relative; overflow: hidden; background: var(--off-white); transition: transform var(--transition), box-shadow var(--transition); }
.event-card:hover { transform: translateY(-4px); box-shadow: 9px 10px 0 rgba(4, 34, 31, 0.3); }
.event-card__link { display: flex; gap: 1.5rem; padding: 2rem 1.75rem; }
.event-card:first-child .event-card__link { gap: 2.25rem; padding: 2.75rem 2.5rem; }
.event-card:first-child::after { content: ''; position: absolute; right: -88px; bottom: -104px; width: 180px; height: 180px; border: 18px solid rgba(30, 104, 194, 0.1); border-left-color: rgba(32, 120, 64, 0.14); border-radius: 50%; pointer-events: none; }
.event-card__date { flex: none; display: flex; flex-direction: column; align-items: center; align-self: flex-start; width: 3.5rem; padding-top: 0.5rem; background: var(--blue); color: #fff; text-align: center; }
.event-card:first-child .event-card__date { width: 4.5rem; padding-top: 0.75rem; }
.event-card__date--green { background: var(--green); }
.event-card__month { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.12em; }
.event-card__day { font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; line-height: 1; }
.event-card:first-child .event-card__day { font-size: 2.125rem; }
.event-card__year { font-size: 0.5625rem; color: #fff; padding-bottom: 0.4rem; }
.event-card__date .pin { display: none; }
.event-card__body { display: flex; flex-direction: column; gap: 0.25rem; align-items: flex-start; min-width: 0; flex: 1; }
.event-card:first-child .event-card__title { margin-top: 0.6rem; font-family: var(--font-display); font-size: 1rem; line-height: 1.3; }
.event-card:first-child .event-card__title { font-size: 1.5rem; }
.event-card__theme { font-size: 0.75rem; font-weight: 600; color: var(--blue); }
.event-card__location { font-size: 0.75rem; color: var(--muted); }
.event-card__desc { margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.65; color: #526071; }
.callout.paper-card { margin-top: 0; }

.resource-rows { border-top: 1px solid var(--border); }
.resource-row { display: flex; gap: 1.75rem; align-items: flex-start; padding-block: 1.75rem; border-bottom: 1px solid var(--border); }
.resource-row .pin { margin-top: 0.15rem; }
.resource-row__title { font-family: var(--font-body); font-size: 0.9375rem; margin-bottom: 0.25rem; letter-spacing: 0; }
.resource-row__text { font-size: 0.8125rem; line-height: 1.65; color: var(--muted); }

.join-banner { overflow: hidden; }
.join-banner__wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 75rem);
  max-width: none; 
  height: min(100%, 23.25rem);
  translate: -50% -50%;
  color: #fff;
  opacity: 0.12;
  pointer-events: none;
}

.join-banner__wave path { vector-effect: non-scaling-stroke; }
.join-banner__inner { position: relative; display: grid; gap: 4rem; align-items: center; padding-block: 6rem 7rem; }
@media (min-width: 64rem) { .join-banner__inner { grid-template-columns: 2fr 1fr; } }
.join-banner__title { margin-bottom: 0.75rem; font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff; }
.join-banner__text { font-size: 1rem; line-height: 1.75; color: #c3e6cd; }
.join-banner__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 64rem) { .join-banner__actions { align-items: flex-end; } .join-banner__actions .btn { min-width: 13rem; } }

.contact-list { display: grid; gap: 1.4rem; margin-block: 2.5rem 3.5rem; }
.contact-list__row { display: flex; align-items: center; gap: 0.75rem; --accent: var(--blue); }
.contact-list__row--green { --accent: var(--green); }
.contact-list__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.25rem; height: 2.25rem; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.contact-list__row a { font-size: 0.875rem; font-weight: 600; color: var(--accent); }
.contact-list__row a:hover { text-decoration: underline; }
.seal-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem; background: var(--off-white); border: 1px solid var(--border); }
.seal-card img { width: 3.25rem; height: 3.25rem; object-fit: contain; flex: none; }
.seal-card strong { display: block; font-family: var(--font-display); font-size: 0.875rem; }
.seal-card span { font-size: 0.6875rem; line-height: 1.5; color: var(--muted); }

.hero__photo--topic { margin-bottom: 2.75rem; }
.hero-note--overlay {
  position: absolute;
  left: -1.5rem;
  bottom: -2.25rem;
  z-index: 3;
  width: 16rem;
  max-width: calc(100% - 1rem);
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.22);
}
.hero-note--overlay li { gap: 0; padding-bottom: 0.6rem; }
.hero-note--overlay li:last-child { padding-bottom: 0; }
.hero-note--overlay strong { font-size: 0.9375rem; }
.hero-note--overlay span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 39.99rem) { .hero-note--overlay { left: 0.6rem; width: 14rem; } }
