/* The Route Pack diagram kit: shared scene styles for /route-packs and the
   /route-packs/<use-case> walkthrough pages. Scenes step through on scroll via
   data-uc-step groups toggled by the runtime. */

.iq-sc {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.iq-sc--tall {
  display: none;
}
.iq-sc__part {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.iq-sc__part[data-on] {
  opacity: 1;
  transform: none;
}
.iq-sc__arrow,
.iq-sc__trace {
  fill: none;
  stroke: #2a4bd7;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.25s;
}
.iq-sc__trace {
  stroke: #9aa0a8;
  stroke-width: 1.4;
  stroke-dasharray: 1;
}
.iq-sc__arrow[data-on],
.iq-sc__trace[data-on] {
  stroke-dashoffset: 0;
}
.iq-sc__arrow--block {
  stroke: #e0241a;
}
.iq-sc__arrow--loop {
  stroke-dasharray: 1;
}

/* Isometric vocabulary. */
.iq-sc__box polygon {
  stroke: #131519;
  stroke-width: 0.6;
  stroke-linejoin: round;
}
.iq-sc__plateLabel {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  fill: #5c636b;
}
.iq-sc__floor path {
  stroke: #e3e4e6;
  stroke-width: 0.8;
  fill: none;
}
.iq-sc__dot {
  fill: #d5d9dd;
}
.iq-sc__dot--ink {
  fill: #131519;
}
.iq-sc__dot--blue {
  fill: #2a4bd7;
}

/* Flat vocabulary: entity cards, callouts, traces. */
.iq-sc__cardFrame {
  fill: #fff;
  stroke: #d5d9dd;
  stroke-width: 1;
}
.iq-sc__cardTitle {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  fill: #1e1f2b;
}
.iq-sc__cardTitle--blue {
  fill: #2a4bd7;
}
.iq-sc__cardLine {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 14px;
  fill: #55585e;
}
.iq-sc__calloutLabel {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  fill: #131519;
}
.iq-sc__calloutLine {
  stroke: #9aa0a8;
  stroke-width: 1;
}

/* Credentialing station 1: the documents you already hold. */
.iq-sc__sheet {
  fill: #fff;
  stroke: #d5d9dd;
  stroke-width: 1;
}
.iq-sc__sheet--mid {
  fill: #f9fafb;
}
.iq-sc__sheet--back {
  fill: #f4f5f7;
}
.iq-sc__docHead {
  fill: #1e1f2b;
}
.iq-sc__docTitle {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  fill: #fff;
}
.iq-sc__seal {
  fill: #2a4bd7;
}
.iq-sc__sealRing {
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
}
.iq-sc__docLine {
  fill: #e3e4e6;
}
.iq-sc__chip {
  fill: #e8ecfb;
}
.iq-sc__chipText {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 13px;
  fill: #2a4bd7;
  text-anchor: middle;
}

/* Credentialing station 2: the countable exception list, each finding sourced. */
.iq-sc__cardFace {
  fill: #fff;
  stroke: #e3e4e6;
  stroke-width: 1;
}
.iq-sc__cardShadow {
  fill: #1e1f2b;
  opacity: 0.05;
}
.iq-sc__cardBand {
  fill: #e8ecfb;
}
.iq-sc__cardHead {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  fill: #1e1f2b;
}
.iq-sc__cardCount {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 13px;
  fill: #8a8f97;
  text-anchor: end;
}
.iq-sc__cardRule {
  stroke: #ececee;
  stroke-width: 1;
}
.iq-sc__finding {
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.4s ease 0.35s,
    transform 0.4s ease 0.35s;
}
.iq-sc__finding:nth-of-type(2) {
  transition-delay: 0.5s;
}
.iq-sc__part[data-on] .iq-sc__finding {
  opacity: 1;
  transform: none;
}
.iq-sc__alert {
  fill: #2a4bd7;
}
.iq-sc__alertMark {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  fill: #fff;
  text-anchor: middle;
}
.iq-sc__findingTitle {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  fill: #1e1f2b;
}
.iq-sc__findingSource {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 13px;
  fill: #8a8f97;
}
.iq-sc__mag {
  opacity: 0;
  transform: translateY(10px) rotate(-6deg);
  transition:
    opacity 0.45s ease 0.65s,
    transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.65s;
}
.iq-sc--wide .iq-sc__mag {
  transform-origin: 742px 118px;
}
.iq-sc--tall .iq-sc__mag {
  transform-origin: 347px 388px;
}
.iq-sc__part[data-on] .iq-sc__mag {
  opacity: 1;
  transform: none;
}
.iq-sc__magGlass {
  fill: #fff;
  fill-opacity: 0.8;
  stroke: #1e1f2b;
  stroke-width: 6;
}
.iq-sc__magHandle {
  stroke: #1e1f2b;
  stroke-width: 6;
  stroke-linecap: round;
}

/* Credentialing station 3: the named reviewer. */
.iq-sc__avatar {
  fill: #2a4bd7;
}
.iq-sc__person {
  fill: #fff;
}
.iq-sc__reviewer {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 16px;
  fill: #1e1f2b;
  text-anchor: middle;
}

/* Section shell for the /route-packs narrative sections. */
.iq-rpd {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) var(--h-spacing) clamp(48px, 6vw, 80px);
  box-sizing: content-box;
  border-top: 1px solid #ececee;
}
.iq-rpd__head {
  max-width: 820px;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.iq-rpd__title {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-feature-settings: 'ss04' on;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: #1e1f2b;
  margin: 20px 0 18px;
  text-wrap: balance;
}
.iq-rpd__lede {
  margin: 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.55;
  color: #55585e;
  text-wrap: pretty;
}
.iq-rpd__stage {
  max-width: 1180px;
  margin: 0 auto;
}
.iq-rpd__more {
  max-width: 1180px;
  margin: 28px auto 0;
}
.iq-rpd__foot {
  max-width: 1180px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 20px;
  border-top: 1px solid #e3e4e6;
  font-size: 13px;
  color: #8a8f97;
}

/* Scene labels, nodes, spines, diamonds and pack frames. */
.iq-sc__arrowLabel {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  fill: #5c636b;
}
.iq-sc__node {
  fill: #1e1f2b;
}
.iq-sc__spine {
  stroke: #9aa0a8;
  stroke-width: 2;
  fill: none;
}
.iq-sc__diamond {
  fill: #fff;
  stroke: #1e1f2b;
  stroke-width: 1.4;
}
.iq-sc__phaseLine {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 14px;
  fill: #55585e;
}
.iq-sc__packFrame {
  fill: #fbfbfc;
  stroke: #9aa0a8;
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
}
.iq-sc__packTag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  fill: #6b7178;
}
.iq-sc__packLine {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 13px;
  fill: #55585e;
}
.iq-sc__calloutSub {
  font-family: 'Alliance No.1', system-ui, sans-serif;
  font-size: 13px;
  fill: #8a8f97;
}

@media (max-width: 60em) {
  .iq-sc--wide {
    display: none;
  }
  .iq-sc--tall {
    display: block;
    max-width: 460px;
    margin: 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iq-sc__part,
  .iq-sc__arrow,
  .iq-sc__trace,
  .iq-sc__finding,
  .iq-sc__mag {
    transition: none;
  }
}
