/* The same circuit vocabulary continues beyond the header. */
.circuit-site {
  position: relative;
}
.page-circuit {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.page-circuit path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.page-circuit-base {
  stroke: #95b2c2;
  stroke-width: 1.3;
  opacity: 0.55;
}
.page-circuit-live {
  stroke: #a5c947;
  stroke-width: 2.3;
}
.page-circuit-glow {
  stroke: #c3e572;
  stroke-width: 7;
  opacity: 0.18;
}
.page-circuit-tip {
  fill: #c3e572;
  stroke: #fff;
  stroke-width: 1.5;
}
.page-circuit-node {
  fill: #fff;
  stroke: #88a8bb;
  stroke-width: 1.5;
  transition:
    fill 0.3s,
    stroke 0.3s;
}
.page-circuit-node.is-powered {
  fill: #bfdf6b;
  stroke: #7c9c36;
}
.has-page-circuit .section-circuit {
  visibility: hidden;
}
.has-page-circuit .footer-circuit path:not(.footer-earth) {
  stroke: transparent;
}
.has-page-circuit .footer-circuit circle {
  visibility: hidden;
}
.has-page-circuit .footer-circuit {
  overflow: visible;
}
.has-page-circuit .footer-circuit::after {
  content: none;
}
@media (prefers-reduced-motion: reduce) {
  .page-circuit-glow,
  .page-circuit-tip {
    display: none;
  }
}

.circuit-site .section {
  position: relative;
}

.section-circuit {
  display: block;
  width: 100%;
  height: 64px;
  margin-bottom: 38px;
  overflow: visible;
  grid-column: 1 / -1;
}

.section-circuit path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.section-circuit-base {
  stroke: #bed0dc;
  stroke-width: 1.3;
}
.section-circuit-flow {
  stroke: #a0bf48;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.7s ease;
}
.section-contact,
.section-junction {
  fill: #fff;
  stroke: #799ab0;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.section-junction {
  transition: fill 0.5s 0.6s;
}
.section-breaker {
  stroke: #366b8b;
  stroke-width: 2;
  transform-origin: 65px 32px;
  transform: rotate(-28deg);
  transition: transform 0.4s;
}
.section-earth {
  stroke: #9ab0be;
  stroke-width: 1;
}
.section.is-live .section-circuit-flow {
  stroke-dashoffset: 0;
}
.section.is-live .section-breaker {
  transform: rotate(0deg);
}
.section.is-live .section-junction {
  fill: #bbd96d;
}

.circuit-site .section .kicker,
.circuit-site .circuit-detail > .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.circuit-site .section .kicker::before,
.circuit-site .circuit-detail > .kicker::before {
  content: '';
  width: 26px;
  height: 9px;
  border: 1px solid currentColor;
  border-left: 4px solid currentColor;
  opacity: 0.7;
}

.circuit-site .expertise-grid {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid #bad0dc;
}
.circuit-site .expertise-item {
  overflow: visible;
}
.circuit-site .expertise-item::before {
  top: -5px;
  left: calc(50% - 4px);
  right: auto;
  width: 8px;
  height: 8px;
  border: 2px solid #94ad65;
  border-radius: 50%;
  background: #e5efce;
  opacity: 1;
  transform: none;
  z-index: 1;
}
.circuit-site .expertise-item::after {
  content: '';
  position: absolute;
  top: -32px;
  left: 50%;
  right: auto;
  width: 0;
  height: 32px;
  border: 0;
  border-left: 2px solid #9db687;
  border-radius: 0;
  opacity: 1;
  transform: none;
  z-index: 0;
  transition: border-color 0.3s;
}
.circuit-site .expertise-item:hover::after,
.circuit-site .expertise-item:focus-visible::after {
  border-color: #92b72f;
}
.circuit-site .expertise-icon {
  position: relative;
  outline: 1px solid currentColor;
  outline-offset: 5px;
}
.circuit-site .expertise-more {
  border-top: 1px solid #8da6b540;
  padding-top: 18px;
}
.circuit-site .application-picture {
  border-bottom: 3px solid #8eaf43;
}
.circuit-site .application-picture::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  background: #b5d459;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ffffff22;
  transition: box-shadow 0.3s;
}
.circuit-site .application-picture:hover::after {
  box-shadow: 0 0 0 12px #c3e07533;
}
.circuit-site .about {
  row-gap: 30px;
}
.circuit-site .about .section-circuit {
  margin-bottom: 0;
}
.circuit-site .about-milestones {
  position: relative;
  border-top: 1px solid #9cb6c5;
  padding-top: 22px;
}
.circuit-site .about-milestones > div {
  position: relative;
}
.circuit-site .about-milestones > div::before {
  content: '';
  position: absolute;
  top: -27px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #7f9daa;
  border-radius: 50%;
  background: #c2dc7a;
}
.circuit-site .contact-layout {
  row-gap: 20px;
}
.circuit-site .contact-layout .section-circuit {
  margin-bottom: 15px;
}
.circuit-site .contact-details {
  position: relative;
  border-left: 1px solid #7c9baf;
  padding-left: 32px;
}
.circuit-site .contact-details > a {
  position: relative;
}
.circuit-site .contact-details > a::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 50%;
  width: 22px;
  border-top: 1px solid #9cbf52;
}
.circuit-site .site-footer {
  position: relative;
  padding-top: 88px;
}
.footer-circuit {
  position: absolute;
  left: 0;
  top: 20px;
  width: 100%;
  height: 44px;
  fill: #111;
  stroke: #89a448;
  stroke-width: 1.2;
}
.footer-circuit path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.circuit-site .bridge-steps li {
  position: relative;
}
.circuit-site .bridge-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -19px;
  width: 14px;
  height: 0;
  font-size: 0;
  border-top: 2px solid #b8d86b;
}

@media (max-width: 767px) {
  .section-circuit {
    height: 40px;
    margin-bottom: 24px;
  }
  .circuit-site .expertise-grid {
    border-top: 0;
    border-left: 2px solid #bad0dc;
    padding: 0 0 0 18px;
  }
  .circuit-site .expertise-item::after {
    left: -20px;
    top: 40px;
    width: 20px;
    height: 0;
    border-left: 0;
    border-top: 2px solid #9db687;
  }
  .circuit-site .expertise-item::before {
    left: -5px;
    top: 36px;
  }
  .circuit-site .contact-details {
    padding-left: 25px;
  }
  .circuit-site .contact-details > a::before {
    left: -26px;
    width: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-circuit-flow {
    stroke-dashoffset: 0;
  }
  .section-breaker {
    transform: none;
  }
}

.circuit-detail.is-live .section-circuit-flow {
  stroke-dashoffset: 0;
}
.circuit-detail.is-live .section-breaker {
  transform: none;
}
.circuit-detail.is-live .section-junction {
  fill: #bbd96d;
}
