/*
 * Strategic Enrollment OS: how it works (blocks/seos-how-it-works). The look of that page's custom
 * section, and its diagram's animation states (set by assets/js/seos-how-it-works.js through the
 * svg's data-* attributes). Palette colours come from template_main's variables; the others are
 * this section's own and set here. The drawing's colours are in the drawing (diagram.php).
 */
.seos-exp {
  --seos-exp-muted: #545B66;
  box-sizing: border-box;
  color: var(--oxford-blue);
  margin: 0 auto;
  max-width: var(--container-width);
}
.seos-exp * {
  box-sizing: border-box;
}
.seos-exp__copy {
  max-width: 760px;
}
.seos-exp__eyebrow {
  color: var(--dark-magenta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.seos-exp__title {
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
}
.seos-exp__intro {
  color: var(--seos-exp-muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}
.seos-exp__exs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.seos-exp__exlabel {
  color: var(--seos-exp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-right: 4px;
  text-transform: uppercase;
}
.seos-exp__ex {
  all: unset;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--c);
  border-radius: 999px;
  box-sizing: border-box;
  color: var(--c);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  padding: 9px 18px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
/* Darker than the palette's teal and orange, so the button text is readable. */
.seos-exp__ex--teal {
  --c: #00838B;
  --ring: rgba(0, 131, 139, .22);
}
.seos-exp__ex--orange {
  --c: #A85A08;
  --ring: rgba(168, 90, 8, .22);
}
.seos-exp__ex--blue {
  --c: var(--celadon-blue);
  --ring: rgba(0, 118, 170, .22);
}
.seos-exp__ex i {
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
  height: 10px;
  width: 9px;
}
.seos-exp__ex:hover,
.seos-exp__ex[aria-pressed="true"] {
  background: var(--c);
  color: var(--white);
}
.seos-exp__ex:hover {
  transform: translateY(-1px);
}
.seos-exp__ex[aria-pressed="true"] {
  box-shadow: 0 0 0 4px var(--ring);
}
.seos-exp__ex:focus-visible {
  outline: 3px solid var(--oxford-blue);
  outline-offset: 3px;
}
.seos-exp__wide {
  margin-top: 24px;
}
.seos-exp__svg {
  display: block;
  height: auto;
  width: 100%;
}
@media (max-width: 860px) {
  .seos-exp__title {
    font-size: 26px;
  }
  .seos-exp__intro {
    font-size: 16px;
  }
  .seos-exp__wide {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
  .seos-exp__svg {
    min-width: 880px;
  }
}

/* The diagram's animation states (the section's own rules, scoped to its svg). */
.seos-exp__svg text { font-family: inherit; }
.seos-exp__svg [class*="ys"] { transition: opacity .45s ease; }
.seos-exp__svg g[opacity="0.55"] { transition: fill .45s ease, opacity .45s ease; }
.seos-exp__svg .seosx-yo { opacity: 0; }
.seos-exp__svg .seosx-ystill { opacity: 1; }
.seos-exp__svg .seosx-yp { opacity: 0; }
.seos-exp__svg .seosx-yring { opacity: 0; transform-box: fill-box; transform-origin: center; }
.seos-exp__svg .seosx-yp.run { animation: seosx-ypulse 1.1s ease-in-out both; }
.seos-exp__svg .seosx-yring.run { animation: seosx-yring 1.2s ease-out both; }
@keyframes seosx-ypulse { 0% { opacity: 1; stroke-dashoffset: 40; } 92% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -100; } }
@keyframes seosx-yring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
.seos-exp__svg .seosx-ystill.seosx-ys1a, .seos-exp__svg .seosx-ystill.seosx-ys1c, .seos-exp__svg .seosx-ystill.seosx-ys2a, .seos-exp__svg .seosx-ystill.seosx-ys2c { cursor: pointer; }
.seos-exp__svg[data-active="1"][data-m1="1"] .seosx-yo.seosx-ys1a,
.seos-exp__svg[data-active="1"][data-m1="2"] .seosx-yo.seosx-ys1a,
.seos-exp__svg[data-active="1"][data-m1="3"] .seosx-yo.seosx-ys1a,
.seos-exp__svg[data-active="1"][data-m1="2"] .seosx-yo.seosx-ys1b,
.seos-exp__svg[data-active="1"][data-m1="3"] .seosx-yo.seosx-ys1b,
.seos-exp__svg[data-active="1"][data-m1="3"] .seosx-yo.seosx-ys1c { opacity: 1; }
.seos-exp__svg[data-focus="1"] .seosx-ystill.seosx-ys2a, .seos-exp__svg[data-focus="1"] .seosx-ystill.seosx-ys2c { opacity: 0; pointer-events: none; }
.seos-exp__svg[data-focus="1"] g[fill="#009EA7"][opacity="0.55"] { fill: #B9C7D6; opacity: 1; }
.seos-exp__svg[data-active="2"][data-m2="1"] .seosx-yo.seosx-ys2a,
.seos-exp__svg[data-active="2"][data-m2="2"] .seosx-yo.seosx-ys2a,
.seos-exp__svg[data-active="2"][data-m2="3"] .seosx-yo.seosx-ys2a,
.seos-exp__svg[data-active="2"][data-m2="2"] .seosx-yo.seosx-ys2b,
.seos-exp__svg[data-active="2"][data-m2="3"] .seosx-yo.seosx-ys2b,
.seos-exp__svg[data-active="2"][data-m2="3"] .seosx-yo.seosx-ys2c { opacity: 1; }
.seos-exp__svg[data-focus="2"] .seosx-ystill.seosx-ys1a, .seos-exp__svg[data-focus="2"] .seosx-ystill.seosx-ys1c { opacity: 0; pointer-events: none; }
.seos-exp__svg[data-focus="2"] g[fill="#E3841B"][opacity="0.55"] { fill: #B9C7D6; opacity: 1; }
.seos-exp__svg[data-m1="0"] .seosx-ystill.seosx-ys1a,
.seos-exp__svg[data-m1="0"] .seosx-ystill.seosx-ys1c,
.seos-exp__svg[data-m1="1"] .seosx-ystill.seosx-ys1c,
.seos-exp__svg[data-m1="2"] .seosx-ystill.seosx-ys1c,
.seos-exp__svg[data-m2="0"] .seosx-ystill.seosx-ys2a,
.seos-exp__svg[data-m2="0"] .seosx-ystill.seosx-ys2c,
.seos-exp__svg[data-m2="1"] .seosx-ystill.seosx-ys2c,
.seos-exp__svg[data-m2="2"] .seosx-ystill.seosx-ys2c { opacity: 0; }
.seos-exp__svg .seosx-ystill.seosx-ys3a, .seos-exp__svg .seosx-ystill.seosx-ys3c { opacity: 0; pointer-events: none; }
.seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys3a, .seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys3c { opacity: 1; pointer-events: auto; }
.seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys1a, .seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys1c, .seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys2a, .seos-exp__svg[data-focus="3"] .seosx-ystill.seosx-ys2c { opacity: 0; pointer-events: none; }
.seos-exp__svg[data-focus="3"] g[fill="#E3841B"][opacity="0.55"], .seos-exp__svg[data-focus="3"] g[fill="#009EA7"][opacity="0.55"] { fill: #B9C7D6; opacity: 1; }
.seos-exp__svg[data-active="3"][data-m3="1"] .seosx-yo.seosx-ys3a,
.seos-exp__svg[data-active="3"][data-m3="2"] .seosx-yo.seosx-ys3a,
.seos-exp__svg[data-active="3"][data-m3="3"] .seosx-yo.seosx-ys3a,
.seos-exp__svg[data-active="3"][data-m3="2"] .seosx-yo.seosx-ys3b,
.seos-exp__svg[data-active="3"][data-m3="3"] .seosx-yo.seosx-ys3b,
.seos-exp__svg[data-active="3"][data-m3="3"] .seosx-yo.seosx-ys3c { opacity: 1; }
/* No movement for visitors who ask for less (the same selectors as above, so these win by order). */
@media (prefers-reduced-motion: reduce) {
  .seos-exp__svg .seosx-yp.run, .seos-exp__svg .seosx-yring.run { animation: none; }
  .seos-exp__svg [class*="ys"], .seos-exp__svg g[opacity="0.55"] { transition: none; }
}
