.ref-section {
  --ref-ink: #28363b;
  --ref-muted: #65716f;
  --ref-stroke: #9aa9ac;
  --ref-accent: #5f7a85;
  --ref-surface: #f6f7f2;
  container-type: inline-size;
  padding-block: 34px;
  border-top: 1px solid #ced3cf;
  color: var(--ref-ink);
}
.ref-section .ref-section-copy h2 {
  margin: 0 0 15px;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .015em;
  text-wrap: pretty;
}
.ref-section .ref-section-copy h2 span { display: inline-block; }
.ref-section .ref-section-copy p {
  max-width: 45em;
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ref-muted);
  text-wrap: pretty;
}
.ref-section .ref-figure { margin: 27px 0 0; padding: 0; }
.ref-section .ref-svg { display: block; width: 100%; height: auto; max-width: 880px; margin-inline: auto; overflow: hidden; }
.ref-section .ref-svg--compact { display: none; max-width: 430px; }
.ref-section .ref-svg * { vector-effect: non-scaling-stroke; }
.ref-section .ref-svg text { fill: var(--ref-ink); font-family: inherit; font-weight: 500; letter-spacing: .005em; user-select: none; }
.ref-section .ref-label { font-size: 21px; }
.ref-section .ref-label--small { font-size: 19px; }
.ref-section .ref-row-label, .ref-section .ref-team-label, .ref-section .ref-quality-label { font-size: 21px; }
.ref-section .ref-role { font-size: 20px; }
.ref-section .ref-svg .ref-note { fill: var(--ref-muted); font-size: 17px; font-weight: 400; }
.ref-section .ref-svg .ref-note--small { font-size: 16px; }
.ref-section .ref-face { fill: var(--ref-surface); stroke: #a7b2b1; stroke-width: 1; }
.ref-section .ref-face--field { fill: #e4e9e5; stroke: #8d9f9f; }
.ref-section .ref-face--active { fill: #e5eceb; stroke: #8b9e9f; }
.ref-section .ref-face--human { fill: #fafaf6; stroke: #526b74; stroke-width: 1.2; }
.ref-section .ref-face--muted { fill: #eeefea; stroke: #c2c9c6; }
.ref-section .ref-wire, .ref-section .ref-bracket, .ref-section .ref-comparison-arrow {
  fill: none;
  stroke: var(--ref-stroke);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ref-section .ref-wire--return { stroke: #b3bfbe; }
.ref-section .ref-current {
  fill: none;
  stroke: #5e7a84;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 9 64;
  animation: ref-section-flow 4.2s linear infinite;
  animation-delay: var(--ref-phase, 0s);
}
.ref-section .ref-current--return { stroke: #8d9f9f; stroke-width: 1.35; }
.ref-section .ref-icon { fill: none; stroke: #627b81; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.ref-section .ref-icon-detail { stroke-dasharray: 15 7; animation: ref-section-etched 4.8s linear infinite; }
.ref-section .ref-pin { fill: #6d8890; stroke: var(--ref-surface); stroke-width: .5; animation: ref-section-pin 3.4s ease-in-out infinite; animation-delay: var(--ref-phase, 0s); }
.ref-section .ref-wave-bar { transform-box: fill-box; transform-origin: center; stroke-width: 2; animation: ref-section-wave var(--ref-time, 2s) ease-in-out infinite alternate; animation-delay: var(--ref-phase, 0s); }
.ref-section .ref-check-stroke { stroke-width: 1.8; stroke-dasharray: 45; animation: ref-section-check 5.4s ease-in-out infinite; }
.ref-section .ref-dock { fill: none; stroke: #bac5c3; stroke-width: .75; stroke-dasharray: 2 7; }
.ref-section .ref-solid-top { fill: #f7f8f3; stroke: #869b9e; stroke-width: .95; stroke-linejoin: round; }
.ref-section .ref-solid-side { fill: #dce4e1; stroke: #869b9e; stroke-width: .95; stroke-linejoin: round; }
.ref-section .ref-solid-front { fill: #bdcece; stroke: #869b9e; stroke-width: .95; stroke-linejoin: round; }
.ref-section .ref-etched { fill: none; stroke: #90a4a5; stroke-width: .85; }
.ref-section .ref-part { transform: translate(0, 0); transition: transform 950ms cubic-bezier(.2,.72,.18,1); }
.ref-section .ref-part-idle { animation: ref-section-part 5.4s ease-in-out infinite; animation-delay: var(--ref-phase, 0s); }
.ref-section[data-ref-expanded="true"] .ref-part { transform: translate(var(--ref-x, 0px), var(--ref-y, 0px)); }
.ref-section .ref-figure figcaption { margin: 8px 0 0; max-width: 48em; color: var(--ref-muted); font-size: 14px; line-height: 1.8; }
.ref-section[data-ref-paused="true"] .ref-current,
.ref-section[data-ref-paused="true"] .ref-icon-detail,
.ref-section[data-ref-paused="true"] .ref-pin,
.ref-section[data-ref-paused="true"] .ref-wave-bar,
.ref-section[data-ref-paused="true"] .ref-check-stroke,
.ref-section[data-ref-paused="true"] .ref-part-idle { animation-play-state: paused; }
@keyframes ref-section-flow { to { stroke-dashoffset: -146; } }
@keyframes ref-section-etched { to { stroke-dashoffset: -44; } }
@keyframes ref-section-pin { 0%,100% { opacity: .45; } 40%,65% { opacity: 1; } }
@keyframes ref-section-wave { from { transform: scaleY(.38); } to { transform: scaleY(1); } }
@keyframes ref-section-check { 0%,100% { stroke-dashoffset: 6; opacity: .6; } 35%,75% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ref-section-part { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@container (max-width: 649px) {
  .ref-section .ref-svg--wide { display: none; }
  .ref-section .ref-svg--compact { display: block; }
  .ref-section .ref-svg--compact .ref-label { font-size: 19px; }
  .ref-section .ref-svg--compact .ref-label--small { font-size: 17px; }
  .ref-section .ref-svg--compact .ref-note { font-size: 16px; }
  .ref-section .ref-svg--compact .ref-note--small { font-size: 15.5px; }
}
@media (max-width: 650px) {
  .ref-section { padding-block: 28px; }
  .ref-section .ref-section-copy h2 { font-size: 22px; }
  .ref-section .ref-section-copy p { font-size: 15px; }
  .ref-section .ref-figure { margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-section *, .ref-section *::before, .ref-section *::after { animation: none !important; transition: none !important; }
  .ref-section .ref-current { stroke-dasharray: 5 25; }
  .ref-section .ref-part { transform: none !important; }
}
