/* Shelton blocks � editor canvas: non-interactive previews, motion off */

.editor-styles-wrapper .sj-hero,
.editor-styles-wrapper .sj-intro,
.editor-styles-wrapper .sj-curriculum-bar,
.editor-styles-wrapper .sj-feed-row,
.editor-styles-wrapper .sj-cta,
.editor-styles-wrapper .sj-cta-wrap,
.editor-styles-wrapper .sj-values-block,
.editor-styles-wrapper .sj-key-card,
.editor-styles-wrapper .sj-news-card,
.editor-styles-wrapper .sj-action,
.editor-styles-wrapper .sj-power,
.editor-styles-wrapper .sj-subject,
.editor-styles-wrapper .sj-welcome-copy,
.editor-styles-wrapper .sj-welcome-copy a,
.editor-styles-wrapper .sj-welcome-media,
.editor-styles-wrapper .sj-latest-news,
.editor-styles-wrapper .sj-latest-news a,
.editor-styles-wrapper .sj-quick-panel,
.editor-styles-wrapper .sj-quick-panel a,
.editor-styles-wrapper .sj-feature-section,
.editor-styles-wrapper .sj-news-section,
.editor-styles-wrapper .sj-staff-band,
.editor-styles-wrapper .sj-staff-groups,
.editor-styles-wrapper .sj-staff-row,
.editor-styles-wrapper .sj-doc-band,
.editor-styles-wrapper .sj-doc-row,
.editor-styles-wrapper .sj-form-embed,
.editor-styles-wrapper .sj-google-map,
.editor-styles-wrapper .sj-pdf-embed,
.editor-styles-wrapper .sj-hex-links,
.editor-styles-wrapper .sj-key-section,
.editor-styles-wrapper .sj-stat-section,
.editor-styles-wrapper .sj-social-section,
.editor-styles-wrapper .sj-powers-section,
.editor-styles-wrapper .sj-quick-list,
.editor-styles-wrapper .sj-quick-list a {
  pointer-events: none;
  cursor: default;
}

.block-editor__container .sj-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* SSR wrapper fallback height while WordPress fetches the preview */
.block-editor__container .sj-editor-ssr__frame .components-placeholder {
  min-height: 120px;
}

.sj-pdf-embed.sj-doc-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.sj-pdf-embed .sj-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.sj-pdf-embed__head {
  max-width: 44rem;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.sj-pdf-embed__card {
  width: min(56rem, 100%) !important;
  margin-inline: auto !important;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10, 30, 61, 0.18);
}

.sj-pdf-embed__viewer {
  display: flex;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: linear-gradient(180deg, #f7f9fc, #e6f0fa);
}

.sj-pdf-embed__viewer iframe {
  display: block;
  width: min(100%, 50rem) !important;
  min-width: min(100%, 42rem);
  min-height: 520px;
  border: 1px solid rgba(10, 30, 61, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 30, 61, 0.12);
}

.sj-pdf-embed__actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem clamp(1.1rem, 3vw, 1.75rem) 1.25rem;
  background: #fff;
}

.sj-pdf-embed__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-family: var(--sj-font-head, inherit);
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
}

.sj-pdf-embed__button--primary {
  background: #ffc107 !important;
  color: #0a1e3d !important;
}

.sj-pdf-embed__button--secondary {
  background: #0a1e3d !important;
  color: #fff !important;
}

.sj-doc-band--tone-navy .sj-pdf-embed__button--secondary {
  background: #e6f0fa !important;
  color: #0a1e3d !important;
}

.sj-pdf-embed__empty {
  width: min(52rem, 100%);
  margin: 0 auto;
  padding: 1rem clamp(1.1rem, 3vw, 1.75rem) 1.25rem;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  text-align: center;
}

.editor-styles-wrapper .sj-pdf-embed.sj-doc-band {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.editor-styles-wrapper .sj-pdf-embed .sj-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.editor-styles-wrapper .sj-pdf-embed__head {
  max-width: 44rem;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.editor-styles-wrapper .sj-pdf-embed__card {
  width: min(52rem, 100%);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10, 30, 61, 0.18);
}

.editor-styles-wrapper .sj-pdf-embed__viewer {
  display: flex;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: linear-gradient(180deg, #f7f9fc, #e6f0fa);
}

.editor-styles-wrapper .sj-pdf-embed__viewer iframe {
  display: block;
  width: min(100%, 46rem);
  min-height: 420px;
  border: 1px solid rgba(10, 30, 61, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 30, 61, 0.12);
}

.editor-styles-wrapper .sj-pdf-embed__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem clamp(1.1rem, 3vw, 1.75rem) 1.25rem;
  background: #fff;
}

.editor-styles-wrapper .sj-pdf-embed__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-family: var(--sj-font-head, inherit);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.editor-styles-wrapper .sj-pdf-embed__button--primary {
  background: #ffc107;
  color: #0a1e3d;
}

.editor-styles-wrapper .sj-pdf-embed__button--secondary {
  background: #0a1e3d;
  color: #fff;
}

.editor-styles-wrapper .sj-doc-band--tone-navy .sj-pdf-embed__button--secondary {
  background: #e6f0fa;
  color: #0a1e3d;
}

.editor-styles-wrapper .sj-pdf-embed__empty {
  width: min(52rem, 100%);
  margin: 0 auto;
  padding: 1rem clamp(1.1rem, 3vw, 1.75rem) 1.25rem;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  text-align: center;
}

.wp-block-shelton-core-blocks-cta-band.sj-cta-wrap,
.sj-page__content > .wp-block-shelton-core-blocks-cta-band.sj-cta-wrap,
.sj-page-stack > .wp-block-shelton-core-blocks-cta-band.sj-cta-wrap,
.sj-main .wp-block-shelton-core-blocks-cta-band.sj-cta-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

.sj-cta-wrap > .sj-wrap {
  width: min(1280px, 100%) !important;
  margin-inline: auto;
}

.sj-cta-wrap {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 193, 7, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 20%, rgba(30, 99, 182, 0.24), transparent 28rem),
    linear-gradient(135deg, var(--sj-navy-mid, #113d7c), var(--sj-navy, #0a1e3d)) !important;
}

.sj-cta-wrap .sj-cta {
  background: transparent !important;
}

.sj-social-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 193, 7, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(30, 99, 182, 0.28), transparent 28rem),
    linear-gradient(168deg, var(--sj-navy-mid, #113d7c) 0%, var(--sj-navy, #0a1e3d) 48%, #061125 100%) !important;
  color: var(--sj-white, #fff);
}

.sj-social-section .sj-head h2,
.sj-social-section .sj-head__lede {
  color: var(--sj-white, #fff);
}

.sj-social-section .sj-eyebrow {
  color: var(--sj-yellow, #ffc107);
}

.sj-key-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 193, 7, 0.16), transparent 22rem),
    radial-gradient(circle at 90% 20%, rgba(30, 99, 182, 0.28), transparent 26rem),
    linear-gradient(168deg, var(--sj-navy-mid, #113d7c) 0%, var(--sj-navy, #0a1e3d) 48%, #061125 100%) !important;
  color: var(--sj-white, #fff);
}

.sj-key-section .sj-head h2,
.sj-key-section .sj-head__lede {
  color: var(--sj-white, #fff);
}

.sj-key-section .sj-eyebrow {
  color: var(--sj-yellow, #ffc107);
}

.sj-key-section .sj-key-card {
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.sj-key-section .sj-key-card__label {
  color: var(--sj-navy, #0a1e3d);
}

.sj-key-section .sj-key-card__desc {
  color: var(--sj-text, #333);
}

.sj-curriculum-bar {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 30, 61, 0.92) 0%, rgba(17, 61, 124, 0.86) 45%, rgba(10, 30, 61, 0.9) 100%),
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    var(--sj-navy-mid, #113d7c) !important;
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  clip-path: polygon(0 0, 100% min(2.5vw, 1.5rem), 100% 100%, 0 calc(100% - min(3vw, 2rem))) !important;
}

.sj-curriculum-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 193, 7, 0.1), transparent 18%),
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 0.7;
  pointer-events: none;
}

.sj-curriculum-bar__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.6fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.sj-curriculum-bar__head,
.sj-curriculum-bar--center .sj-curriculum-bar__head,
.sj-curriculum-bar--left .sj-curriculum-bar__head {
  display: block;
  text-align: left;
  margin: 0;
}

.sj-curriculum-bar__head-inner,
.sj-curriculum-bar--center .sj-curriculum-bar__head-inner {
  max-width: 34rem;
  margin-inline: 0;
}

.sj-curriculum-bar .sj-eyebrow {
  color: var(--sj-yellow, #ffc107);
}

.sj-curriculum-bar h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.5vw, 4.6rem) !important;
  line-height: 0.95;
  text-transform: none !important;
  letter-spacing: -0.04em;
  color: var(--sj-white, #fff);
}

.sj-curriculum-bar__lede {
  max-width: 34rem;
  margin: clamp(1.2rem, 3vw, 2rem) 0 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: clamp(1rem, 1.6vw, 1.08rem) !important;
  line-height: 1.7;
}

.sj-curriculum-bar__footer-link {
  text-align: left !important;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0 !important;
}

.sj-curriculum-bar__explore {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--sj-white, #fff) !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease;
}

.sj-curriculum-bar__explore:hover {
  background: rgba(255, 193, 7, 0.18);
  transform: translateY(-2px);
}

.sj-curriculum-bar__subjects {
  min-width: 0;
}

.sj-curriculum-bar .sj-subjects {
  display: grid;
  grid-template-columns: repeat(4, minmax(7rem, 1fr));
  gap: clamp(1.35rem, 3vw, 2.25rem) clamp(1rem, 2.5vw, 1.75rem);
  max-width: 100%;
  margin: 0;
}

.sj-curriculum-bar .sj-subject {
  position: relative;
  min-width: 0;
  padding: 0;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  text-decoration: none !important;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}

.sj-curriculum-bar .sj-reveal.is-visible .sj-subject {
  animation: sj-curriculum-pop 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.block-editor__container .sj-curriculum-bar .sj-subject,
.editor-styles-wrapper .sj-curriculum-bar .sj-subject {
  opacity: 1;
  transform: none;
}

.sj-curriculum-bar .sj-subject:nth-child(1) { animation-delay: 40ms; }
.sj-curriculum-bar .sj-subject:nth-child(2) { animation-delay: 90ms; }
.sj-curriculum-bar .sj-subject:nth-child(3) { animation-delay: 140ms; }
.sj-curriculum-bar .sj-subject:nth-child(4) { animation-delay: 190ms; }
.sj-curriculum-bar .sj-subject:nth-child(5) { animation-delay: 240ms; }
.sj-curriculum-bar .sj-subject:nth-child(6) { animation-delay: 290ms; }
.sj-curriculum-bar .sj-subject:nth-child(7) { animation-delay: 340ms; }
.sj-curriculum-bar .sj-subject:nth-child(8) { animation-delay: 390ms; }
.sj-curriculum-bar .sj-subject:nth-child(n + 9) { animation-delay: 440ms; }

.sj-curriculum-bar .sj-subject:hover,
.sj-curriculum-bar .sj-subject:focus-visible {
  background: transparent !important;
  transform: translateY(-4px);
}

.sj-curriculum-bar .sj-subject__icon {
  position: relative;
  width: clamp(5.9rem, 9vw, 8.25rem);
  height: clamp(5.9rem, 9vw, 8.25rem);
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 32%),
    rgba(230, 240, 250, 0.28);
  color: var(--sj-white, #fff);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.sj-curriculum-bar .sj-subject__icon::before,
.sj-curriculum-bar .sj-subject__icon::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
  pointer-events: none;
}

.sj-curriculum-bar .sj-subject__icon::after {
  inset: -15%;
  border-width: 2px;
  opacity: 0.45;
  transform: rotate(18deg);
}

.sj-curriculum-bar .sj-subject:hover .sj-subject__icon,
.sj-curriculum-bar .sj-subject:focus-visible .sj-subject__icon {
  transform: translateY(-5px) scale(1.04);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.3), transparent 32%),
    rgba(255, 193, 7, 0.2);
}

.sj-curriculum-bar .sj-subject__icon svg {
  position: relative;
  z-index: 1;
  width: 42%;
  height: 42%;
  stroke-width: 1.7;
}

.sj-curriculum-bar .sj-subject__label {
  max-width: 9.5rem;
  font-size: clamp(0.72rem, 1.05vw, 0.85rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes sj-curriculum-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .sj-curriculum-bar__layout {
    grid-template-columns: 1fr;
  }

  .sj-curriculum-bar__head,
  .sj-curriculum-bar__footer-link {
    text-align: center !important;
  }

  .sj-curriculum-bar__head-inner {
    max-width: 42rem;
    margin-inline: auto;
  }

  .sj-curriculum-bar .sj-subjects {
    grid-template-columns: repeat(3, minmax(6.5rem, 1fr));
  }
}

@media (max-width: 620px) {
  .sj-curriculum-bar .sj-subjects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sj-stat-section--power {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 30, 61, 0.94) 0%, rgba(17, 61, 124, 0.9) 52%, rgba(10, 30, 61, 0.94) 100%),
    radial-gradient(circle at 22% 12%, rgba(255, 193, 7, 0.13), transparent 30%),
    var(--sj-navy-mid, #113d7c) !important;
  color: var(--sj-white, #fff);
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
  clip-path: polygon(0 0, 100% min(2.5vw, 1.5rem), 100% 100%, 0 calc(100% - min(3vw, 2rem)));
  isolation: isolate;
}

.sj-stat-section--power::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 193, 7, 0.08), transparent 18%),
    radial-gradient(circle at 70% 55%, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
}

.sj-stat-section--power .sj-wrap {
  position: relative;
  z-index: 1;
}

.sj-stat-section--power .sj-stat-section__head {
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
}

.sj-stat-section--power .sj-eyebrow {
  color: var(--sj-yellow, #ffc107);
}

.sj-stat-section--power h2 {
  margin: 0.3rem 0 0;
  color: var(--sj-white, #fff);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.sj-stats--power {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 2.4vw, 1.75rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.sj-stat--power {
  position: relative;
  width: clamp(8.6rem, 15vw, 11.5rem);
  min-height: clamp(8.6rem, 15vw, 11.5rem);
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--sj-white, #fff);
  text-align: center;
  outline: none;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.sj-reveal.is-visible .sj-stat--power {
  animation: sj-power-orb-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--sj-stat-delay, 0) * 90ms);
}

.block-editor__container .sj-stat--power,
.editor-styles-wrapper .sj-stat--power {
  opacity: 1;
  transform: none;
}

.sj-stat--power .sj-stat__orb {
  position: relative;
  z-index: 3;
  width: clamp(8.6rem, 15vw, 11.5rem);
  height: clamp(8.6rem, 15vw, 11.5rem);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 32%),
    rgba(230, 240, 250, 0.25);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), background 0.42s ease;
}

.sj-stat--power .sj-stat__orb::before,
.sj-stat--power .sj-stat__orb::after {
  content: "";
  position: absolute;
  inset: -9%;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}

.sj-stat--power .sj-stat__orb::after {
  inset: -15%;
  border-width: 2px;
  opacity: 0.45;
  transform: rotate(18deg);
}

.sj-stat--power .sj-stat__value {
  position: relative;
  z-index: 1;
  color: var(--sj-white, #fff) !important;
  font-family: var(--sj-font-head, inherit);
  font-size: clamp(2.8rem, 6vw, 4.6rem) !important;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}

.sj-stat--power .sj-stat__label {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(100% + 0.75rem);
  width: min(18rem, 86vw);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: rgba(10, 30, 61, 0.96);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.45;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transform: translate(-50%, -0.35rem);
  transform-origin: top center;
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sj-stat--power:hover,
.sj-stat--power:focus-visible {
  z-index: 5;
}

.sj-stat--power:hover .sj-stat__orb,
.sj-stat--power:focus-visible .sj-stat__orb {
  transform: translateY(-10px) scale(1.05);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.3), transparent 32%),
    rgba(255, 193, 7, 0.2);
}

.sj-stat--power:hover .sj-stat__orb::before,
.sj-stat--power:focus-visible .sj-stat__orb::before {
  transform: rotate(24deg);
}

.sj-stat--power:hover .sj-stat__orb::after,
.sj-stat--power:focus-visible .sj-stat__orb::after {
  transform: rotate(-24deg);
  opacity: 0.65;
}

.sj-stat--power:hover .sj-stat__label,
.sj-stat--power:focus-visible .sj-stat__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes sj-power-orb-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 780px) {
  .sj-stats--power {
    gap: 1.25rem 0.8rem;
  }

  .sj-stat--power .sj-stat__label {
    position: static;
    width: auto;
    min-height: 0;
    margin: 0.75rem auto 0;
    padding: 0.9rem;
    opacity: 1;
    transform: none;
  }
}

.sj-powers-section--selector {
  --sj-power-count: 5;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-block: 0;
  padding: 0 !important;
  overflow: visible;
  color: var(--sj-white, #fff);
  background: transparent;
  isolation: isolate;
  clip-path: none;
}

.sj-powers-section--selector::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
}

.sj-powers-selector {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  margin-inline: auto;
  padding: clamp(5rem, 8vh, 7rem) max(1rem, calc((100vw - 1220px) / 2)) clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 193, 7, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 24%, rgba(98, 168, 222, 0.24), transparent 24rem),
    linear-gradient(180deg, var(--sj-navy-mid, #0d2d5c) 0%, var(--sj-navy, #061d3d) 100%);
  clip-path: polygon(0 min(4vw, 2.5rem), 100% 0, 100% calc(100% - min(4vw, 2.5rem)), 0 100%);
}

.sj-powers-selector::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.5) 48% 52%, transparent 54% 100%) 0 0 / 5rem 5rem,
    linear-gradient(45deg, transparent 0 46%, rgba(255, 255, 255, 0.36) 48% 52%, transparent 54% 100%) 0 0 / 5rem 5rem;
  pointer-events: none;
}

.sj-powers-selector__head {
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}

.sj-powers-selector__head .sj-eyebrow {
  color: var(--sj-yellow, #ffc107);
}

.sj-powers-selector__head h2 {
  margin: 0.35rem 0 0;
  color: var(--sj-white, #fff);
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 7px 28px rgba(0, 0, 0, 0.28);
}

.sj-powers-selector__head p {
  max-width: 44rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.sj-powers-stage {
  position: relative;
  min-height: min(76vh, 52rem);
}

.sj-powers-stage__characters {
  position: absolute;
  inset: 0 0 clamp(8rem, 16vh, 11rem);
}

.sj-power-character {
  --sj-power-x: 0rem;
  --sj-power-y: 0rem;
  --sj-power-scale: 0.78;
  --sj-power-opacity: 0.58;
  --sj-power-blur: 1px;
  --sj-power-z: 1;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: var(--sj-power-z);
  width: clamp(20rem, 36vw, 37rem);
  height: clamp(32rem, 72vh, 54rem);
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 0;
  background: transparent;
  pointer-events: none;
  opacity: var(--sj-power-opacity);
  filter: blur(var(--sj-power-blur)) saturate(0.82);
  transform:
    translateX(calc(-50% + var(--sj-power-x)))
    translateY(var(--sj-power-y))
    scale(var(--sj-power-scale));
  transform-origin: 50% 100%;
  transition:
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.58s ease,
    filter 0.58s ease;
}

.sj-power-character:focus-visible {
  outline: 3px solid var(--sj-yellow, #ffc107);
  outline-offset: 0.45rem;
  border-radius: 1rem;
}

.sj-power-character img,
.sj-power-character__placeholder {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.sj-powers-stage.is-over-character {
  cursor: pointer;
}

.sj-power-character__placeholder {
  width: clamp(18rem, 30vw, 30rem);
  height: clamp(18rem, 30vw, 30rem);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--sj-white, #fff);
  font: 900 clamp(3.5rem, 8vw, 7rem) / 1 var(--sj-font-head, inherit);
}

.sj-power-character.is-active {
  --sj-power-opacity: 1;
  --sj-power-blur: 0px;
  filter: blur(0) saturate(1.08);
}

.sj-power-character:first-child {
  --sj-power-z: 40;
}

.sj-power-character:nth-child(2) {
  --sj-power-x: clamp(7rem, 15vw, 13rem);
  --sj-power-y: 1rem;
  --sj-power-scale: 0.74;
  --sj-power-opacity: 0.82;
  --sj-power-z: 23;
}

.sj-power-character:nth-child(3) {
  --sj-power-x: calc(0rem - clamp(7rem, 15vw, 13rem));
  --sj-power-y: 1rem;
  --sj-power-scale: 0.74;
  --sj-power-opacity: 0.82;
  --sj-power-z: 24;
}

.sj-power-character:nth-child(4) {
  --sj-power-x: clamp(14rem, 29vw, 24rem);
  --sj-power-y: 2.35rem;
  --sj-power-scale: 0.64;
  --sj-power-opacity: 0.62;
  --sj-power-z: 13;
}

.sj-power-character:nth-child(5) {
  --sj-power-x: calc(0rem - clamp(14rem, 29vw, 24rem));
  --sj-power-y: 2.35rem;
  --sj-power-scale: 0.64;
  --sj-power-opacity: 0.62;
  --sj-power-z: 14;
}

.sj-power-character:first-child.is-active {
  --sj-power-scale: 0.94;
}

.sj-power-character:nth-child(2).is-active,
.sj-power-character:nth-child(3).is-active {
  --sj-power-scale: 0.82;
}

.sj-power-character:nth-child(4).is-active,
.sj-power-character:nth-child(5).is-active {
  --sj-power-scale: 0.72;
}

.sj-powers-stage__spotlight {
  position: absolute;
  left: 50%;
  bottom: clamp(7.4rem, 14vh, 10rem);
  width: clamp(17rem, 32vw, 30rem);
  height: clamp(3rem, 7vw, 5.2rem);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 193, 7, 0.52) 0%, rgba(255, 193, 7, 0.18) 38%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(3px);
  pointer-events: none;
}

.sj-powers-details {
  position: absolute;
  left: 50%;
  bottom: clamp(0.25rem, 2vh, 1rem);
  width: min(46rem, calc(100% - 1rem));
  transform: translateX(-50%);
}

.sj-powers-details__item {
  position: absolute;
  inset: auto 0 0;
  min-height: clamp(6rem, 13vh, 8rem);
  padding: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(1.2rem) scale(0.97);
  transition:
    opacity 0.38s ease,
    transform 0.58s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.sj-powers-details__item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sj-powers-details__item span {
  display: inline-flex;
  margin-bottom: 0.25rem;
  color: var(--sj-yellow, #ffc107);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 8px 24px rgba(0, 0, 0, 0.55);
}

.sj-powers-details__item h3 {
  margin: 0;
  color: var(--sj-white, #fff);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(10, 30, 61, 0.75),
    0 8px 18px rgba(0, 0, 0, 0.72),
    0 0 34px rgba(255, 193, 7, 0.42);
}

.sj-powers-details__item p {
  max-width: 34rem;
  margin: 0.55rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  line-height: 1.45;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.82),
    0 8px 24px rgba(0, 0, 0, 0.62);
}

.block-editor__container .sj-powers-section--selector,
.editor-styles-wrapper .sj-powers-section--selector {
  min-height: auto;
  overflow: visible;
}

.block-editor__container .sj-powers-selector,
.editor-styles-wrapper .sj-powers-selector {
  position: relative;
  min-height: 42rem;
}

@media (max-width: 760px) {
  .sj-powers-section--selector {
    min-height: 100vh;
    min-height: 100svh;
  }

  .sj-powers-selector {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding-block: clamp(3.5rem, 10vw, 5rem);
  }

  .sj-powers-stage {
    min-height: 52rem;
  }

  .sj-powers-stage__characters {
    bottom: 13rem;
  }

  .sj-power-character {
    width: clamp(16rem, 68vw, 24rem);
    height: clamp(27rem, 65vh, 38rem);
    transform:
      translateX(calc(-50% + var(--sj-power-x)))
      translateY(var(--sj-power-y))
      scale(var(--sj-power-scale));
  }

  .sj-power-character:nth-child(2) {
    --sj-power-x: clamp(4rem, 25vw, 6.8rem);
  }

  .sj-power-character:nth-child(3) {
    --sj-power-x: calc(0rem - clamp(4rem, 25vw, 6.8rem));
  }

  .sj-power-character:nth-child(4) {
    --sj-power-x: clamp(7.4rem, 44vw, 11.5rem);
  }

  .sj-power-character:nth-child(5) {
    --sj-power-x: calc(0rem - clamp(7.4rem, 44vw, 11.5rem));
  }

  .sj-powers-details {
    width: min(100%, 30rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sj-powers-section--selector {
    min-height: auto;
  }

  .sj-powers-selector {
    position: relative;
  }

  .sj-power-character,
  .sj-powers-details__item {
    transition: none;
  }
}

.sj-image-buttons {
  --sj-image-button-cols: 3;
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  margin-bottom: var(--sj-section-gap, clamp(0.35rem, 1.5vw, 1rem));
  isolation: isolate;
}

.sj-image-buttons--cols-2 {
  --sj-image-button-cols: 2;
}

.sj-image-buttons--cols-4 {
  --sj-image-button-cols: 4;
}

.sj-image-buttons--tone-light {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 193, 7, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--sj-blue-light, #e6f0fa) 100%);
}

.sj-image-buttons--tone-navy {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 193, 7, 0.18), transparent 30%),
    linear-gradient(180deg, var(--sj-navy-mid, #113d7c), var(--sj-navy, #0a1e3d));
  color: var(--sj-white, #fff);
}

.sj-image-buttons--tone-navy .sj-eyebrow,
.sj-image-buttons--tone-navy .sj-image-buttons__heading {
  color: var(--sj-white, #fff);
}

.sj-image-buttons__wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.sj-image-buttons__head {
  max-width: 48rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.sj-image-buttons__heading {
  margin: 0.35rem 0 0;
  font-family: var(--sj-font-head, inherit);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--sj-navy, #0a1e3d);
}

.sj-image-buttons__lede {
  margin: 0.75rem 0 0;
  line-height: 1.6;
  opacity: 0.88;
}

.sj-image-buttons__grid {
  display: grid;
  grid-template-columns: repeat(var(--sj-image-button-cols), minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.sj-image-button {
  position: relative;
  display: grid;
  min-height: clamp(13rem, 24vw, 19rem);
  overflow: hidden;
  border-radius: 10px;
  color: var(--sj-white, #fff);
  text-decoration: none !important;
  background: var(--sj-navy, #0a1e3d);
  box-shadow: 0 18px 42px rgba(10, 30, 61, 0.18);
  transform: rotate(-0.6deg);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sj-image-button:nth-child(even) {
  transform: rotate(0.7deg);
}

.sj-image-button:hover,
.sj-image-button:focus-visible {
  color: var(--sj-white, #fff);
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 26px 56px rgba(10, 30, 61, 0.26);
}

.sj-image-button__media,
.sj-image-button__shade,
.sj-image-button__content,
.sj-image-button__rule {
  grid-area: 1 / 1;
}

.sj-image-button__media img,
.sj-image-button__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.sj-image-button:hover .sj-image-button__media img,
.sj-image-button:focus-visible .sj-image-button__media img {
  transform: scale(1.08);
}

.sj-image-button__placeholder {
  background:
    linear-gradient(135deg, rgba(255, 193, 7, 0.18), transparent 42%),
    linear-gradient(180deg, var(--sj-navy-mid, #113d7c), var(--sj-navy, #0a1e3d));
}

.sj-image-button__shade {
  background:
    linear-gradient(180deg, rgba(10, 30, 61, 0.1) 0%, rgba(10, 30, 61, 0.22) 42%, rgba(10, 30, 61, 0.84) 100%),
    linear-gradient(90deg, rgba(10, 30, 61, 0.36), transparent 55%);
  z-index: 1;
}

.sj-image-button__rule {
  position: relative;
  z-index: 2;
}

.sj-image-button__rule::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--sj-yellow, #ffc107), #2ec4b6, var(--sj-blue, #1e63b6));
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.sj-image-button__content {
  position: relative;
  z-index: 3;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.8vw, 1.35rem);
}

.sj-image-button__title {
  font-family: var(--sj-font-head, inherit);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.sj-image-button__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: var(--sj-yellow, #ffc107);
  color: var(--sj-navy, #0a1e3d);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.sj-image-button:hover .sj-image-button__arrow,
.sj-image-button:focus-visible .sj-image-button__arrow {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .sj-image-buttons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .sj-image-buttons__grid {
    grid-template-columns: 1fr;
  }

  .sj-image-button {
    min-height: 14rem;
    transform: none;
  }

  .sj-image-button:nth-child(even) {
    transform: none;
  }
}

.sj-hex-links {
  position: relative;
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  margin-bottom: var(--sj-section-gap, clamp(0.35rem, 1.5vw, 1rem));
  overflow: hidden;
  isolation: isolate;
  --sj-hex-gap: clamp(0.9rem, 2.2vw, 1.35rem);
  --sj-hex-row-lift: calc(var(--sj-hex-size, 190px) * -0.2);
  --sj-hex-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 320'%3E%3Cpath fill='black' d='M100 3 C107 3 114 5 120 9 L178 47 C188 54 193 64 193 76 L193 244 C193 256 188 266 178 273 L120 311 C108 319 92 319 80 311 L22 273 C12 266 7 256 7 244 L7 76 C7 64 12 54 22 47 L80 9 C86 5 93 3 100 3 Z'/%3E%3C/svg%3E");
}

.sj-hex-links--tone-light {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 193, 7, 0.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--sj-blue-light, #e6f0fa) 100%);
}

.sj-hex-links--tone-navy-stripe {
  background:
    linear-gradient(110deg, transparent 0 10%, rgba(255, 193, 7, 0.12) 10% 11%, transparent 11% 100%),
    linear-gradient(180deg, var(--sj-navy-mid, #113d7c), var(--sj-navy, #0a1e3d));
  color: var(--sj-white, #fff);
}

.sj-hex-links--tone-navy-stripe::before,
.sj-hex-links--tone-navy-stripe::after {
  content: "";
  position: absolute;
  inset-inline: -8vw;
  height: clamp(1.2rem, 3vw, 2.25rem);
  background: var(--sj-yellow, #ffc107);
  transform: rotate(-1.2deg);
  opacity: 0.92;
  z-index: 0;
}

.sj-hex-links--tone-navy-stripe::before {
  top: clamp(0.7rem, 2vw, 1.5rem);
}

.sj-hex-links--tone-navy-stripe::after {
  bottom: clamp(0.7rem, 2vw, 1.5rem);
  opacity: 0.18;
}

.sj-hex-links__wrap {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.sj-hex-links__head {
  max-width: 56rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.sj-hex-links--tone-navy-stripe .sj-eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.sj-hex-links__heading {
  margin: 0;
  font-family: var(--sj-font-head, inherit);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--sj-navy, #0a1e3d);
}

.sj-hex-links--tone-navy-stripe .sj-hex-links__heading {
  color: var(--sj-white, #fff);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.26);
}

.sj-hex-links__subheading {
  margin: 0.25rem 0 0;
  font-family: var(--sj-font-head, inherit);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.1;
  color: var(--sj-navy-mid, #113d7c);
}

.sj-hex-links--tone-navy-stripe .sj-hex-links__subheading {
  color: rgba(255, 255, 255, 0.9);
}

.sj-hex-links__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--sj-hex-gap);
  padding-top: 0.25rem;
}

.sj-hex-link {
  position: relative;
  display: block;
  flex: 0 1 var(--sj-hex-size, 190px);
  width: var(--sj-hex-size, 190px);
  min-width: min(var(--sj-hex-size, 190px), 42vw);
  height: calc(var(--sj-hex-size, 190px) * 1.62);
  color: var(--sj-white, #fff);
  text-decoration: none !important;
  filter: drop-shadow(0 18px 26px rgba(10, 30, 61, 0.18));
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: sj-hex-pop 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--sj-hex-delay, 0) * 95ms);
}

.sj-hex-link:nth-child(n + 7) {
  margin-top: var(--sj-hex-row-lift);
}

.sj-hex-link:nth-child(odd) {
  transform-origin: 50% 65%;
}

.sj-hex-link__shape {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: visible;
  border-radius: 28px;
  background: transparent;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), filter 0.42s ease;
}

.sj-hex-link__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--sj-hex-mask) center / 100% 100% no-repeat;
  mask: var(--sj-hex-mask) center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 4;
}

.sj-hex-link:hover .sj-hex-link__shape,
.sj-hex-link:focus-visible .sj-hex-link__shape {
  transform: translateY(-5px) scale(1.02);
  filter: saturate(1.08);
}

.sj-hex-link__shape img,
.sj-hex-link__placeholder,
.sj-hex-link__shade,
.sj-hex-link__accent,
.sj-hex-link__title {
  grid-area: 1 / 1;
}

.sj-hex-link__shape img,
.sj-hex-link__placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.08);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.28));
  z-index: 1;
}

.sj-hex-link:hover .sj-hex-link__shape img,
.sj-hex-link:focus-visible .sj-hex-link__shape img {
  transform: translateY(-4px) scale(1.12);
}

.sj-hex-link__placeholder {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(180deg, var(--sj-hex-accent, #1e63b6), var(--sj-navy, #0a1e3d));
}

.sj-hex-link__shade {
  background: linear-gradient(180deg, transparent 0%, transparent 48%, rgba(10, 30, 61, 0.18) 100%);
  z-index: 1;
  -webkit-mask: var(--sj-hex-mask) center / 100% 100% no-repeat;
  mask: var(--sj-hex-mask) center / 100% 100% no-repeat;
}

.sj-hex-link__accent {
  align-self: end;
  justify-self: center;
  width: 100%;
  height: 24%;
  background: var(--sj-hex-accent, #1e63b6);
  clip-path: polygon(6% 0, 94% 0, 50% 100%);
  opacity: 0.95;
  z-index: 2;
  transition: height 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(4%);
}

.sj-hex-link:hover .sj-hex-link__accent,
.sj-hex-link:focus-visible .sj-hex-link__accent {
  height: 27%;
}

.sj-hex-link__title {
  position: relative;
  z-index: 3;
  align-self: end;
  justify-self: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  width: 76%;
  min-height: 2.45em;
  max-height: 2.55em;
  overflow: hidden;
  margin-bottom: calc(var(--sj-hex-size, 190px) * 0.145);
  padding: 0;
  font-family: var(--sj-font-head, inherit);
  font-weight: 800;
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.18;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

@keyframes sj-hex-pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .sj-hex-links {
    --sj-hex-size: min(178px, 34vw) !important;
    --sj-hex-row-lift: calc(var(--sj-hex-size, 178px) * -0.12);
  }

  .sj-hex-link:nth-child(n + 5) {
    margin-top: var(--sj-hex-row-lift);
  }
}

@media (max-width: 540px) {
  .sj-hex-links {
    --sj-hex-size: min(190px, 78vw) !important;
    --sj-hex-row-lift: 0px;
  }

  .sj-hex-links__grid {
    gap: 1rem;
  }

  .sj-hex-link,
  .sj-hex-link:nth-child(n + 5),
  .sj-hex-link:nth-child(n + 7) {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sj-hex-link {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .sj-hex-link__shape,
  .sj-hex-link__shape img,
  .sj-hex-link__accent {
    transition: none;
  }
}

/* Welcome + Video: editable canvas (RichText) */
.sj-editor-video-showcase .sj-welcome-copy__eyebrow,
.sj-editor-video-showcase .sj-welcome-copy__title,
.sj-editor-video-showcase .sj-welcome-copy__body {
  outline: 1px dashed transparent;
}
.sj-editor-video-showcase .sj-welcome-copy__eyebrow:focus,
.sj-editor-video-showcase .sj-welcome-copy__title:focus,
.sj-editor-video-showcase .sj-welcome-copy__body:focus {
  outline-color: rgba(30, 99, 182, 0.45);
}
.sj-editor-video-showcase__embed-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  font-size: 13px;
  line-height: 1.5;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.92);
  min-height: 100%;
  box-sizing: border-box;
}
.sj-editor-video-showcase__poster-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 13px;
  line-height: 1.45;
  color: #e2e8f0;
  background: rgba(10, 30, 61, 0.35);
  min-height: 100%;
  box-sizing: border-box;
}
.sj-editor-video-showcase__link-note {
  cursor: default;
}

/* Editor: Welcome + Video is edited in-canvas (RichText) */
.editor-styles-wrapper .sj-editor-video-showcase,
.editor-styles-wrapper .sj-editor-video-showcase a,
.editor-styles-wrapper .sj-editor-video-showcase .sj-welcome-copy__text-link {
  pointer-events: auto;
  cursor: text;
}
.editor-styles-wrapper .sj-editor-video-showcase .sj-welcome-copy__text-link {
  cursor: default;
}
.editor-styles-wrapper .sj-video-showcase {
  clip-path: none;
}

/*
 * Frontend: Shelton block layout (mirrors theme so styles apply even if theme CSS is cached).
 * Theme main.css remains the source of truth for the full site; this file ensures blocks look correct.
 */
/* Full-bleed sections (hero, video row, CTA, etc. � class sj-bleed on block wrapper) */
.sj-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

.wp-block-shelton-core-blocks-hero-banner {
  overflow: visible !important;
}
body.home .wp-block-shelton-core-blocks-hero-banner .sj-hero__bg,
body.sj-front-page .wp-block-shelton-core-blocks-hero-banner .sj-hero__bg,
body.home .sj-home-stack > .sj-hero .sj-hero__bg,
body.sj-front-page .sj-home-stack > .sj-hero .sj-hero__bg {
  background-position: center 24% !important;
}
body.home .sj-home-stack .sj-hero::after,
body.sj-front-page .sj-home-stack .sj-hero::after,
body.home .sj-main .sj-hero::after,
body.sj-front-page .sj-main .sj-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(6rem, 15vw, 12rem);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 30, 61, 0) 0%, rgba(10, 30, 61, 0.42) 100%);
}
body.home .sj-home-stack .sj-hero,
body.sj-front-page .sj-home-stack .sj-hero,
body.home .sj-main .sj-hero,
body.sj-front-page .sj-main .sj-hero {
  box-shadow: none;
}
body.home .sj-home-stack .sj-hero::before,
body.sj-front-page .sj-home-stack .sj-hero::before,
body.home .sj-main .sj-hero::before,
body.sj-front-page .sj-main .sj-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(4.25rem, 12vw, 8.25rem);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 30, 61, 0) 0%, rgba(10, 30, 61, 0.34) 100%);
}
.sj-hero--text-bottom-line {
  align-items: flex-end;
  padding-bottom: calc(var(--sj-clip-safe-pad) + clamp(1.5rem, 4vw, 2.75rem));
}
.sj-hero--text-bottom-line .sj-hero__content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--sj-clip-safe-pad) + clamp(0.95rem, 2.2vw, 1.5rem));
  width: min(1200px, calc(100% - 2rem));
  z-index: 3;
  text-align: center;
  align-items: center;
}
.sj-hero__bottom-line {
  margin: 0;
  display: block;
  color: var(--sj-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 0.15rem;
}
.sj-hero__bottom-line-slogan {
  display: block;
  font-family: var(--sj-font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sj-hero__bottom-line-tagline {
  display: block;
  margin-top: clamp(0.3rem, 0.9vw, 0.55rem);
  font-family: var(--sj-font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
  opacity: 0.96;
}

:root {
  --sj-navy: #0a1e3d;
  --sj-navy-mid: #113d7c;
  --sj-blue: #1e63b6;
  --sj-blue-light: #e6f0fa;
  --sj-yellow: #ffc107;
  --sj-white: #ffffff;
  --sj-text: #333333;
  --sj-section-gap: clamp(0.35rem, 1.5vw, 1rem);
  --sj-video-overlap-hero: clamp(6.5rem, 14vw, 12.5rem);
  --sj-video-media-lift: 0;
  --sj-video-wedge-blue-start: clamp(2rem, 4.5vw, 3.75rem);
  --sj-video-after-hero-pad-top: calc(var(--sj-video-wedge-blue-start) + clamp(2rem, 5vw, 3.5rem));
  --sj-hero-v-drop-shadow:
    drop-shadow(0 10px 14px rgba(10, 30, 61, 0.1))
    drop-shadow(0 4px 7px rgba(10, 30, 61, 0.06));
  --sj-font-head: "Raleway", "Segoe UI", system-ui, sans-serif;
  --sj-font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}
body.home,
body.sj-front-page {
  --sj-front-hero-lift: clamp(1.25rem, 3.8vw, 2.6rem);
  --sj-front-hero-top-headroom: clamp(1.6rem, 3.8vw, 2.75rem);
}

/* Flush first block under header (homepage) */
body.home .sj-main,
body.sj-front-page .sj-main,
body.home #main-content,
body.sj-front-page #main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.home .sj-home-stack > *:first-child,
body.sj-front-page .sj-home-stack > *:first-child {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
body.home .sj-home-stack > .wp-block-post-content > *:first-child,
body.sj-front-page .sj-home-stack > .wp-block-post-content > *:first-child,
body.home .sj-home-stack .is-layout-flow > *:first-child,
body.sj-front-page .sj-home-stack .is-layout-flow > *:first-child {
  margin-block-start: 0 !important;
}
body.home .sj-home-stack .sj-hero,
body.sj-front-page .sj-home-stack .sj-hero {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
body.home .sj-home-stack > p:first-child:empty,
body.sj-front-page .sj-home-stack > p:first-child:empty,
body.home .sj-home-stack > .wp-block-paragraph:first-child:empty,
body.sj-front-page .sj-home-stack > .wp-block-paragraph:first-child:empty {
  display: none;
}

body.home .sj-home-stack .wp-block-post-content,
body.sj-front-page .sj-home-stack .wp-block-post-content {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding-top: 0 !important;
  --wp--style--root--padding-top: 0;
}
body.home .wp-block-shelton-core-blocks-hero-banner .sj-hero,
body.sj-front-page .wp-block-shelton-core-blocks-hero-banner .sj-hero {
  min-height: clamp(42rem, 98vh, 62rem) !important;
  padding-top: calc(clamp(2.25rem, 5vw, 4rem) + var(--sj-front-hero-lift, 0rem) + var(--sj-floating-header-overlap, 0rem) + var(--sj-front-hero-top-headroom, 0rem)) !important;
}
body.home .wp-block-shelton-core-blocks-hero-banner .sj-hero.sj-hero--valign-bottom,
body.sj-front-page .wp-block-shelton-core-blocks-hero-banner .sj-hero.sj-hero--valign-bottom {
  padding-top: calc(clamp(2.5rem, 6vw, 4.5rem) + var(--sj-front-hero-lift, 0rem) + var(--sj-floating-header-overlap, 0rem) + var(--sj-front-hero-top-headroom, 0rem)) !important;
}
body.home .sj-home-stack > .wp-block-group:first-child:has(.sj-hero),
body.sj-front-page .sj-home-stack > .wp-block-group:first-child:has(.sj-hero),
body.home .sj-home-stack > .wp-block-group:first-child:has(.wp-block-shelton-core-blocks-hero-banner),
body.sj-front-page .sj-home-stack > .wp-block-group:first-child:has(.wp-block-shelton-core-blocks-hero-banner) {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding-top: 0 !important;
}
body.home .sj-home-stack > .wp-block-shelton-core-blocks-hero-banner,
body.sj-front-page .sj-home-stack > .wp-block-shelton-core-blocks-hero-banner,
body.home .sj-home-stack .wp-block-post-content > .wp-block-shelton-core-blocks-hero-banner:first-child,
body.sj-front-page .sj-home-stack .wp-block-post-content > .wp-block-shelton-core-blocks-hero-banner:first-child {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

body.home .sj-main .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner:has(~ .wp-block-group .wp-block-shelton-core-blocks-video-showcase) {
  margin-bottom: calc(-1 * var(--sj-video-overlap-hero)) !important;
}
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase),
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) {
  margin-block-start: 0 !important;
  margin-top: calc(-1 * var(--wp--style--block-gap, 0rem)) !important;
  padding-top: 0 !important;
  padding-block-start: 0 !important;
}
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase)[class*="is-layout-flex"],
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase)[class*="is-layout-flex"],
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase)[class*="is-layout-flex"],
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase)[class*="is-layout-flex"] {
  gap: 0 !important;
}
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .wp-block-shelton-core-blocks-video-showcase,
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .wp-block-shelton-core-blocks-video-showcase {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}
body.home .sj-home-stack .wp-block-post-content[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-home-stack .wp-block-post-content[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-main .wp-block-post-content[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-post-content[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase),
body.home .sj-main .wp-block-group[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase),
body.sj-front-page .sj-main .wp-block-group[class*="is-layout-flex"]:has(> .wp-block-shelton-core-blocks-hero-banner + .wp-block-shelton-core-blocks-video-showcase) {
  gap: 0 !important;
}
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.home .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.home .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase,
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase {
  margin-block-start: 0 !important;
  margin-top: calc(-1 * var(--wp--style--block-gap, 0rem)) !important;
}
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.home .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.sj-front-page .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.home .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.sj-front-page .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase__media-inner,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase__media-inner,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase__media-inner,
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase__media-inner,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase__media-inner {
  margin-top: calc(-1 * var(--sj-video-media-lift)) !important;
}
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.home .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.sj-front-page .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.home .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.sj-front-page .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase,
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase {
  overflow: visible;
  padding-top: var(--sj-video-after-hero-pad-top) !important;
}
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-blue,
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-blue,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-blue {
  -webkit-clip-path: polygon(0 0, 50% min(4.5vw, 3.5rem), 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 50% min(4.5vw, 3.5rem), 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(
    180deg,
    rgba(10, 30, 61, 0.05) 0,
    var(--sj-blue-light) clamp(2rem, 5vw, 3.5rem),
    var(--sj-blue-light) 100%
  ) !important;
}
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-main .wp-block-post-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-main .entry-content .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-main .wp-block-group .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-shelton-core-blocks-video-showcase .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-main .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-white,
body.home .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-white,
body.sj-front-page .sj-home-stack .wp-block-shelton-core-blocks-hero-banner ~ .wp-block-group:has(.wp-block-shelton-core-blocks-video-showcase) .sj-video-showcase.sj-video-showcase--tone-white {
  -webkit-clip-path: polygon(0 0, 50% min(4.5vw, 3.5rem), 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 50% min(4.5vw, 3.5rem), 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(
    180deg,
    rgba(10, 30, 61, 0.04) 0,
    var(--sj-white) clamp(2rem, 5vw, 3.5rem),
    var(--sj-white) 100%
  ) !important;
}

/* Welcome + Video (frontend) */
.sj-video-showcase {
  position: relative;
  z-index: 2;
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  margin-bottom: var(--sj-section-gap);
  overflow: hidden;
  isolation: isolate;
}
.sj-video-showcase--tone-blue {
  background: var(--sj-blue-light);
}
.sj-video-showcase--tone-white {
  background: var(--sj-white);
}
.sj-video-showcase::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23113d7c' fill-opacity='0.08' d='M0 200V120c180-40 360-55 540-40s360 45 540 30 240-60 360-50v140H0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
}
.sj-video-showcase__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, 4vw);
  box-sizing: border-box;
}
.sj-video-showcase__grid {
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  width: 100%;
  max-width: min(1420px, 100%);
  margin-inline: auto;
}
.sj-video-showcase--media-right .sj-video-showcase__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
}
.sj-video-showcase--media-left .sj-video-showcase__grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
}
@media (max-width: 900px) {
  .sj-video-showcase__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .sj-video-showcase__copy {
    order: 1;
  }
  .sj-video-showcase__media {
    order: 2;
  }
}
.sj-video-showcase__copy {
  position: relative;
  z-index: 1;
}
.sj-video-showcase__copy .sj-welcome-copy__eyebrow {
  font-family: var(--sj-font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sj-navy-mid);
  margin: 0 0 0.65rem;
}
.sj-video-showcase__copy .sj-welcome-copy__title {
  font-family: var(--sj-font-head);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  text-transform: uppercase;
  color: var(--sj-navy);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.sj-video-showcase__copy .sj-welcome-copy__body {
  font-family: var(--sj-font-body);
  color: var(--sj-text);
  margin: 0 0 1.25rem;
  max-width: 52ch;
  line-height: 1.65;
}
.sj-video-showcase__media {
  position: relative;
  z-index: 1;
}
.sj-video-showcase__media-inner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(10, 30, 61, 0.24);
  transform: rotate(-1deg);
  aspect-ratio: 16 / 9;
  background: var(--sj-navy);
  max-height: min(72vh, 540px);
}
.sj-video-showcase__media-inner iframe,
.sj-video-showcase__media-inner img {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.sj-video-showcase .sj-welcome-media__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 30, 61, 0.38);
  color: var(--sj-white);
  pointer-events: none;
}
.sj-video-showcase .sj-welcome-media__play span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sj-yellow);
  color: var(--sj-navy);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.sj-video-showcase .sj-welcome-copy__text-link {
  font-family: var(--sj-font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sj-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.sj-video-showcase .sj-welcome-copy__text-link svg {
  stroke: var(--sj-yellow);
}

/* --- Styled paragraph (Shelton interior copy) --- */
.sj-styled-p {
  margin: 0 0 1.15rem;
  font-family: var(--sj-font-body);
  color: var(--sj-text);
  font-size: 1.05rem;
  line-height: 1.65;
}
.sj-styled-p:last-child {
  margin-bottom: 0;
}
/* Inner <p> inherits typography from the block wrapper (Gutenberg font size / line height / colour). */
.sj-styled-p__rich {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: inherit;
}
.sj-styled-p__rich > *:first-child {
  margin-top: 0;
}
.sj-styled-p__rich > *:last-child {
  margin-bottom: 0;
}
.sj-styled-p__rich a {
  color: var(--sj-blue);
  font-weight: 600;
  text-underline-offset: 0.15em;
}
.sj-styled-p__rich a:hover {
  color: var(--sj-navy);
}
.wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--bg-navy,
.sj-page__content > .wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--bg-navy,
.sj-page-stack > .wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--bg-navy,
.sj-main .wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--bg-navy {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}
.sj-styled-p__box {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1.15rem, 3vw, 2rem);
}
.sj-styled-p__box--navy {
  background: var(--sj-navy-mid);
  color: var(--sj-white);
  padding: calc(var(--sj-clip-safe-pad, clamp(2.75rem, 6vw, 5.5rem)) * 0.55) 0
    calc(var(--sj-clip-safe-pad, clamp(2.75rem, 6vw, 5.5rem)) * 0.75);
  clip-path: polygon(0 0, 100% min(2.5vw, 1.5rem), 100% 100%, 0 calc(100% - min(3vw, 2rem)));
  isolation: isolate;
}
.sj-styled-p__box--navy .sj-styled-p__rich {
  width: min(1280px, 96vw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
  box-sizing: border-box;
  color: inherit;
}
.sj-styled-p__box--navy .sj-styled-p__rich a {
  color: var(--sj-yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.sj-styled-p__box--navy .sj-styled-p__rich a:hover {
  color: #ffe082;
}
.sj-styled-p--bg-navy.sj-styled-p--lead .sj-styled-p__rich,
.sj-styled-p--bg-navy.sj-styled-p--caption .sj-styled-p__rich {
  color: inherit;
}
.sj-styled-p--bg-navy.sj-styled-p--emphasis .sj-styled-p__rich {
  background: transparent;
  color: inherit;
  border-left-color: var(--sj-yellow);
}
.sj-styled-p__rich img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.sj-styled-p--lead {
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  line-height: 1.6;
  color: var(--sj-navy);
  font-weight: 600;
}
.sj-styled-p--emphasis {
  margin: 1.25rem 0;
}
.sj-styled-p--emphasis .sj-styled-p__rich {
  border-left: 4px solid var(--sj-yellow);
  padding: 0.4rem 0 0.4rem 1.15rem;
  font-style: italic;
  color: var(--sj-navy-mid);
  background: linear-gradient(90deg, rgba(230, 240, 250, 0.65) 0%, transparent 100%);
  border-radius: 0 6px 6px 0;
}
.sj-styled-p--caption {
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: 0.92;
}
.sj-styled-p--align-center,
.sj-styled-p.has-text-align-center {
  text-align: center;
}
.sj-styled-p--align-left,
.sj-styled-p.has-text-align-left {
  text-align: left;
}
.sj-styled-p--align-right,
.sj-styled-p.has-text-align-right {
  text-align: right;
}
.sj-styled-p--align-justify,
.sj-styled-p.has-text-align-justify {
  text-align: justify;
}
.block-editor__container .sj-styled-p__rich {
  min-height: 2.75rem;
  outline: 1px dashed transparent;
  border-radius: 4px;
}
.block-editor__container .sj-styled-p__rich:focus {
  outline-color: rgba(30, 99, 182, 0.45);
}

/* --- Styled paragraph: full-width section bands with shaped edges (blend between blocks) --- */
/* Break the WordPress block wrapper out of theme prose / content-card columns (viewport width).
   Band class lives on this same element as the block class (render.php + get_block_wrapper_attributes), not a child � :has(.sj-styled-p--band-bleed) would never match. */
.wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--band-bleed {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box !important;
  position: relative;
  left: auto;
  right: auto;
}

.sj-page__content > .wp-block-shelton-core-blocks-styled-paragraph.sj-styled-p--band-bleed {
  grid-column: 1 / -1 !important;
}

.sj-styled-p--band-bleed {
  margin-block: 0;
  width: 100%;
  max-width: none;
}

.sj-styled-p__band {
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

/* Readable column inside viewport-wide shapes */
.sj-styled-p__inner {
  width: min(1280px, 96vw);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  box-sizing: border-box;
}

/* Shared: links on dark bands */
.sj-styled-p__band--navy-gradient .sj-styled-p__rich a,
.sj-styled-p__band--brand-ribbon .sj-styled-p__rich a,
.sj-styled-p__band--split-skew .sj-styled-p__rich a {
  color: var(--sj-yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.sj-styled-p__band--navy-gradient .sj-styled-p__rich a:hover,
.sj-styled-p__band--brand-ribbon .sj-styled-p__rich a:hover,
.sj-styled-p__band--split-skew .sj-styled-p__rich a:hover {
  color: #ffe082;
}
.sj-styled-p__band--navy-gradient .sj-styled-p__rich,
.sj-styled-p__band--brand-ribbon .sj-styled-p__rich,
.sj-styled-p__band--split-skew .sj-styled-p__rich {
  color: inherit;
}

/*
 * Section surfaces � same language as the homepage: clip-path ribbons, V-cuts, wedges, jagged edges.
 * Palette: navy #0A1E3D, mid #113D7C, bright #1E63B6, ice #E6F0FA, yellow #FFC107.
 * Drop-shadow follows the clipped silhouette (like .sj-hero).
 */

/* 1 � Hero echo: bottom V-notch, soft ice gradient */
.sj-styled-p__band--slant-blue {
  isolation: isolate;
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - min(5.5vw, 3.5rem)),
    50% 100%,
    0 calc(100% - min(5.5vw, 3.5rem))
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - min(5.5vw, 3.5rem)),
    50% 100%,
    0 calc(100% - min(5.5vw, 3.5rem))
  );
  background: linear-gradient(
    180deg,
    rgba(10, 30, 61, 0.05) 0%,
    var(--sj-blue-light) 40%,
    #c4daf0 100%
  );
  padding: clamp(2.5rem, 6.5vw, 4.25rem) 0 calc(clamp(2.75rem, 7vw, 4.5rem) + min(2.5vw, 1.5rem));
  filter: drop-shadow(0 14px 32px rgba(17, 61, 124, 0.14)) drop-shadow(0 4px 10px rgba(10, 30, 61, 0.08));
}

/* 2 � Video band echo: inverted V along the top, slanted bottom (curriculum-style) */
.sj-styled-p__band--gradient-ice {
  isolation: isolate;
  -webkit-clip-path: polygon(
    0 min(4.5vw, 3.5rem),
    50% 0,
    100% min(4.5vw, 3.5rem),
    100% calc(100% - min(2.75vw, 1.75rem)),
    0 100%
  );
  clip-path: polygon(
    0 min(4.5vw, 3.5rem),
    50% 0,
    100% min(4.5vw, 3.5rem),
    100% calc(100% - min(2.75vw, 1.75rem)),
    0 100%
  );
  background: linear-gradient(168deg, var(--sj-white) 0%, var(--sj-blue-light) 48%, #b6d2eb 100%);
  padding: calc(clamp(2rem, 5vw, 3.5rem) + min(2.5vw, 1.5rem)) 0 clamp(2.75rem, 6.5vw, 4.25rem);
  filter: drop-shadow(0 10px 28px rgba(10, 30, 61, 0.1));
}

/* 3 � Dark ribbon: navy stack + asymmetric �scoop� toward bottom-right (mockup / hero family) */
.sj-styled-p__band--navy-gradient {
  isolation: isolate;
  color: var(--sj-white);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 68%, 78% 88%, 52% 100%, 0 88%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 78% 88%, 52% 100%, 0 88%);
  background: linear-gradient(195deg, var(--sj-navy-mid) 0%, var(--sj-navy) 45%, #050a18 92%);
  padding: clamp(2.75rem, 7.5vw, 4.75rem) 0 calc(clamp(3rem, 8vw, 5rem) + min(3vw, 2rem));
  filter: drop-shadow(0 18px 40px rgba(10, 30, 61, 0.35)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

/* 4 � Accent jag: yellow cap + light field + zig-zag bottom edge */
.sj-styled-p__band--yellow-notch {
  isolation: isolate;
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% 90%,
    94% 100%,
    88% 92%,
    81% 100%,
    74% 92%,
    67% 100%,
    60% 92%,
    53% 100%,
    46% 92%,
    39% 100%,
    32% 92%,
    25% 100%,
    18% 92%,
    12% 100%,
    6% 92%,
    0 100%
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% 90%,
    94% 100%,
    88% 92%,
    81% 100%,
    74% 92%,
    67% 100%,
    60% 92%,
    53% 100%,
    46% 92%,
    39% 100%,
    32% 92%,
    25% 100%,
    18% 92%,
    12% 100%,
    6% 92%,
    0 100%
  );
  background:
    linear-gradient(180deg, var(--sj-yellow) 0, var(--sj-yellow) 5px, transparent 5px),
    linear-gradient(180deg, var(--sj-blue-light) 0%, #d8e8f4 100%);
  padding: clamp(2.35rem, 6vw, 3.85rem) 0 calc(clamp(2.6rem, 6.5vw, 4.1rem) + min(2vw, 1.25rem));
  filter: drop-shadow(0 8px 26px rgba(10, 30, 61, 0.1));
}

/* 5 � Diagonal ribbon: skewed top & bottom (intro / blend-bottom family) */
.sj-styled-p__band--card-cloud {
  isolation: isolate;
  -webkit-clip-path: polygon(
    0 min(3.5vw, 2.25rem),
    100% 0,
    100% calc(100% - min(4vw, 2.5rem)),
    50% 100%,
    0 calc(100% - min(2.25vw, 1.5rem))
  );
  clip-path: polygon(
    0 min(3.5vw, 2.25rem),
    100% 0,
    100% calc(100% - min(4vw, 2.5rem)),
    50% 100%,
    0 calc(100% - min(2.25vw, 1.5rem))
  );
  background: linear-gradient(185deg, var(--sj-white) 0%, var(--sj-blue-light) 52%, #c9dff2 100%);
  padding: calc(clamp(2rem, 5vw, 3.25rem) + min(2vw, 1rem)) 0 calc(clamp(2.75rem, 7vw, 4.5rem) + min(2vw, 1.25rem));
  filter: drop-shadow(0 12px 32px rgba(17, 61, 124, 0.11));
}

/* 6 � Bright brand ribbon: angled �banner� top + hero-style V at bottom */
.sj-styled-p__band--brand-ribbon {
  isolation: isolate;
  margin-top: clamp(0.75rem, 2.5vw, 1.75rem);
  color: var(--sj-white);
  -webkit-clip-path: polygon(
    0 min(6vw, 3.75rem),
    8% min(1.5vw, 0.85rem),
    92% min(1.5vw, 0.85rem),
    100% min(6vw, 3.75rem),
    100% calc(100% - min(5vw, 3.25rem)),
    50% 100%,
    0 calc(100% - min(5vw, 3.25rem))
  );
  clip-path: polygon(
    0 min(6vw, 3.75rem),
    8% min(1.5vw, 0.85rem),
    92% min(1.5vw, 0.85rem),
    100% min(6vw, 3.75rem),
    100% calc(100% - min(5vw, 3.25rem)),
    50% 100%,
    0 calc(100% - min(5vw, 3.25rem))
  );
  background: linear-gradient(185deg, #3a8ee8 0%, var(--sj-blue) 42%, #144a8c 100%);
  padding: calc(clamp(2.25rem, 6vw, 3.75rem) + min(3vw, 2rem)) 0
    calc(clamp(2.5rem, 6.5vw, 4.25rem) + min(2.5vw, 1.5rem));
  filter: drop-shadow(0 20px 44px rgba(17, 61, 124, 0.28)) drop-shadow(0 4px 12px rgba(10, 30, 61, 0.15));
}

/* 7 � Split valley: twin peak at bottom + soft light bloom (stacked W) */
.sj-styled-p__band--split-skew {
  isolation: isolate;
  color: var(--sj-white);
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - min(4.25vw, 2.75rem)),
    72% 100%,
    50% calc(100% - min(2.25vw, 1.5rem)),
    28% 100%,
    0 calc(100% - min(4.25vw, 2.75rem))
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - min(4.25vw, 2.75rem)),
    72% 100%,
    50% calc(100% - min(2.25vw, 1.5rem)),
    28% 100%,
    0 calc(100% - min(4.25vw, 2.75rem))
  );
  background:
    radial-gradient(110% 70% at 50% -15%, rgba(230, 240, 250, 0.5) 0%, transparent 55%),
    linear-gradient(180deg, var(--sj-navy-mid) 0%, var(--sj-navy) 50%, #030814 100%);
  padding: clamp(2.85rem, 8vw, 5rem) 0 calc(clamp(3rem, 7.5vw, 4.75rem) + min(2.5vw, 1.5rem));
  filter: drop-shadow(0 16px 38px rgba(10, 30, 61, 0.32));
}

.block-editor__container .sj-styled-p__band {
  min-height: 0.5rem;
}

.block-editor__container .sj-styled-p.sj-styled-p--band-bleed.sj-editor-block-root,
.editor-styles-wrapper .sj-styled-p.sj-styled-p--band-bleed.sj-editor-block-root {
  background: transparent;
  box-shadow: none;
  outline: 1px dashed rgba(30, 99, 182, 0.4);
}

/* --- Interior pages: tame full-bleed only inside the article card (.sj-page__content) --- */
/* Banded pages use <section class="sj-page"> without that card; do not strip .sj-bleed there or intro/bands stay column-width. */
.sj-page__content .sj-bleed {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.sj-page .sj-key-section .sj-wrap,
.sj-page__content .sj-key-section .sj-wrap {
  max-width: 100%;
  box-sizing: border-box;
}

.sj-page .sj-key-grid,
.sj-page__content .sj-key-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.sj-page__content .wp-block-list,
.sj-page .sj-page__content .wp-block-list {
  margin: 1rem 0 1.5rem;
  padding-left: 1.35rem;
  border-left: 3px solid rgba(30, 99, 182, 0.35);
  list-style-position: outside;
}
.sj-page__content .wp-block-list li {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

/* --- Page intro (interior H1 band) --- */
.sj-page-intro {
  margin: 0 0 clamp(1.35rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.75rem) clamp(0.25rem, 1vw, 0.5rem) clamp(1.25rem, 2.5vw, 1.85rem);
  box-sizing: border-box;
  position: relative;
  border-bottom: none;
}
/* When .sj-bleed is present, width/margins come from theme .sj-bleed (must not override after main.css). */
.sj-page-intro:not(.sj-bleed) {
  width: 100%;
}
.sj-page-intro--elevated {
  background:
    radial-gradient(circle at 88% 0%, rgba(30, 99, 182, 0.12), transparent 22rem),
    linear-gradient(120deg, rgba(230, 240, 250, 0.98) 0%, rgba(239, 246, 253, 0.96) 48%, rgba(255, 255, 255, 0.92) 100%);
  border-radius: 0 0 14px 14px;
  border-bottom: 1px solid rgba(10, 30, 61, 0.08);
  box-shadow:
    0 1px 0 rgba(10, 30, 61, 0.06),
    0 18px 48px rgba(10, 30, 61, 0.09);
}
/* Interior banded pages: match homepage-style full-width angled sections (no floating card) */
body.page .sj-page-stack .sj-page-intro--elevated {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: var(--sj-section-gap, clamp(0.35rem, 1.5vw, 1rem));
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1rem, 4vw, 2rem);
  clip-path: polygon(0 0, 100% min(2.5vw, 1.5rem), 100% 100%, 0 calc(100% - min(3vw, 2rem)));
  isolation: isolate;
}
body.page .sj-page-stack .sj-page-intro--elevated::after {
  left: clamp(1rem, 4vw, 2rem);
}
.sj-page-intro--elevated::after {
  content: "";
  position: absolute;
  left: clamp(0.15rem, 1vw, 0.35rem);
  bottom: 0;
  width: min(5.5rem, 28%);
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sj-yellow), var(--sj-blue));
  pointer-events: none;
}
.sj-page-intro .sj-eyebrow {
  color: var(--sj-blue);
}
.sj-page-intro h1 {
  font-family: var(--sj-font-head);
  font-weight: 700;
  color: var(--sj-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.12;
  margin: 0.35rem 0 0;
}
.sj-page-intro__lede {
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--sj-navy-mid, #3d4f6f);
  max-width: 46rem;
  margin-top: 0.75rem;
}
.sj-page-intro__lede a {
  color: var(--sj-blue);
  font-weight: 600;
  text-underline-offset: 0.18em;
}
.sj-page-intro__lede a:hover {
  color: var(--sj-navy);
}
.sj-page-intro__lede p:first-child {
  margin-top: 0;
}
.sj-page-intro__lede p:last-child {
  margin-bottom: 0;
}
.block-editor__container .sj-page-intro__lede {
  min-height: 2.5rem;
  outline: 1px dashed transparent;
  border-radius: 4px;
}
.block-editor__container .sj-page-intro__lede:focus {
  outline-color: rgba(30, 99, 182, 0.45);
}

/* Pattern inserter leaders: tiny core blocks so each pattern starts differently (editor + front). */
.sj-pattern-anchor,
.wp-block-separator.sj-pattern-anchor,
.wp-block-spacer.sj-pattern-anchor,
.wp-block-heading.sj-pattern-anchor:empty,
p.sj-pattern-anchor:empty {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
}
ul.sj-pattern-anchor:empty {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  min-height: 0 !important;
}
.block-editor__container .sj-pattern-anchor {
  opacity: 0.15;
  max-height: 4px !important;
  position: relative !important;
  clip: auto !important;
}

/* Mobile optimisation layer: scoped to handheld breakpoints so desktop remains unchanged. */
@media (max-width: 768px) {
  .sj-bleed {
    max-width: 100vw;
    overflow-x: clip;
  }
  .sj-hero__bottom-line {
    white-space: normal;
    flex-wrap: wrap;
  }

  .sj-image-buttons,
  .sj-hex-links,
  .sj-doc-band,
  .sj-key-section,
  .sj-social-section,
  .sj-stat-section,
  .sj-pdf-embed,
  .sj-page-intro,
  .sj-styled-p__band {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }

  .sj-image-button,
  .sj-hex-link,
  .sj-doc-row,
  .sj-key-card,
  .sj-action,
  .sj-pdf-embed__shell {
    transform: none;
    filter: none;
    box-shadow: 0 10px 24px rgba(10, 30, 61, 0.12);
  }

  .sj-image-button__media img,
  .sj-hex-link__shape img {
    transform: none;
  }

  .sj-doc-band,
  .sj-key-section,
  .sj-social-section,
  .sj-page-intro--elevated,
  .sj-styled-p__box--navy,
  .sj-styled-p__band {
    clip-path: none;
  }

  body.page .sj-page-stack .sj-page-intro--elevated {
    clip-path: none;
    padding-block: clamp(1.5rem, 7vw, 2.35rem);
  }

  .sj-page-intro h1,
  .sj-hex-links__heading,
  .sj-image-buttons__heading {
    overflow-wrap: anywhere;
  }

  .sj-pdf-embed__viewer iframe {
    min-height: min(64vh, 34rem);
  }

  .wp-block-columns:has(.wp-block-shelton-core-blocks-feature-video),
  .wp-block-columns:has(.wp-block-shelton-core-blocks-video-showcase),
  .wp-block-columns.is-not-stacked-on-mobile:has(.wp-block-shelton-core-blocks-feature-video),
  .wp-block-columns.is-not-stacked-on-mobile:has(.wp-block-shelton-core-blocks-video-showcase),
  .wp-block-columns.is-layout-flex:has(.wp-block-shelton-core-blocks-feature-video),
  .wp-block-columns.is-layout-flex:has(.wp-block-shelton-core-blocks-video-showcase),
  .wp-block-columns.sj-columns-has-feature-video,
  .wp-block-columns.sj-columns-has-media-feature {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
  }

  .wp-block-columns:has(.wp-block-shelton-core-blocks-feature-video) > .wp-block-column,
  .wp-block-columns:has(.wp-block-shelton-core-blocks-video-showcase) > .wp-block-column,
  .wp-block-columns.is-not-stacked-on-mobile:has(.wp-block-shelton-core-blocks-feature-video) > .wp-block-column,
  .wp-block-columns.is-not-stacked-on-mobile:has(.wp-block-shelton-core-blocks-video-showcase) > .wp-block-column,
  .wp-block-columns.is-layout-flex:has(.wp-block-shelton-core-blocks-feature-video) > .wp-block-column,
  .wp-block-columns.is-layout-flex:has(.wp-block-shelton-core-blocks-video-showcase) > .wp-block-column,
  .wp-block-columns.sj-columns-has-feature-video > .wp-block-column,
  .wp-block-columns.sj-columns-has-media-feature > .wp-block-column {
    display: block !important;
    flex: 0 0 auto !important;
    flex-basis: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .wp-block-shelton-core-blocks-feature-video.sj-welcome-media {
    width: 100% !important;
    max-width: 100% !important;
    min-height: clamp(12rem, 52vw, 18rem);
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .sj-powers-selector {
    overflow: hidden;
    padding-inline: 0.75rem;
    padding-block: clamp(2.5rem, 8vw, 3.75rem);
  }

  .sj-powers-selector::before {
    opacity: 0.08;
    background-size: 7rem 7rem;
  }

  .sj-powers-selector__head h2 {
    font-size: clamp(1.8rem, 11vw, 3rem);
  }

  .sj-powers-selector__head p {
    font-size: 0.98rem;
  }

  .sj-powers-stage {
    min-height: 40rem;
  }

  .sj-powers-stage__characters {
    bottom: 11rem;
  }

  .sj-power-character {
    width: clamp(12rem, 54vw, 18rem);
    height: clamp(22rem, 55vh, 32rem);
    filter: none;
    transition: opacity 0.28s ease, transform 0.32s ease;
  }

  .sj-power-character img,
  .sj-power-character__placeholder {
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
  }

  .sj-power-character:nth-child(2) {
    --sj-power-x: clamp(3.25rem, 21vw, 5.4rem);
  }

  .sj-power-character:nth-child(3) {
    --sj-power-x: calc(0rem - clamp(3.25rem, 21vw, 5.4rem));
  }

  .sj-power-character:nth-child(4) {
    --sj-power-x: clamp(5.75rem, 34vw, 9rem);
  }

  .sj-power-character:nth-child(5) {
    --sj-power-x: calc(0rem - clamp(5.75rem, 34vw, 9rem));
  }

  .sj-powers-details__item h3 {
    font-size: clamp(1.45rem, 9vw, 2.25rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  .sj-power-character {
    filter: none;
  }

  .sj-image-button:hover,
  .sj-hex-link:hover .sj-hex-link__shape,
  .sj-subject:hover,
  .sj-action:hover,
  .sj-key-card:hover {
    transform: none;
  }
}
