/* Full-screen CAD construction, followed by the original five logo faces. */
.about-company-page #goal { overflow:hidden; }
.about-company-page #goal > .dc-label,
.about-company-page #goal > .company-content { position:relative; z-index:2; }
.company-cad-anchor { width:100%; aspect-ratio:1; min-width:0; }
.about-company-page #goal > .company-cad {
  position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden;
}
.company-cad svg { display:block; width:100%; height:100%; overflow:hidden; }
.cad-logo path {
  --cad-fill-start:calc(1.9s + var(--cad-face) * 120ms);
  --cad-fill-end:calc(var(--cad-fill-start) + 1.8s);
  --cad-runner-delay:calc(var(--cad-runner-start, 1.4s) + var(--cad-face) * 130ms);
}
.cad-guide {
  fill:none; stroke:#188d8c; stroke-width:.9; opacity:0;
  stroke-dasharray:1; stroke-dashoffset:1;
  animation:cad-construction 1.6s linear both;
  animation-delay:calc(var(--cad-order) * 25ms);
}
.cad-contours path {
  fill:none; stroke:#188d8c; stroke-width:.2; stroke-linejoin:round;
  stroke-dasharray:1; stroke-dashoffset:1; opacity:0;
  animation:cad-outline 2.2s ease-in-out both;
  animation-delay:calc(var(--cad-contour-start, 2.1s) + var(--cad-face) * 120ms);
}
.cad-fills path {
  opacity:0; animation:cad-fill 1.8s ease-in-out both;
  animation-delay:var(--cad-fill-start);
}
.cad-runners path {
  fill:none; stroke:#155e5e; stroke-width:.27; stroke-linecap:round;
  stroke-linejoin:round; stroke-dasharray:.78 .22; opacity:0;
  animation:cad-travel 14s linear both,
    cad-travel-fade calc(var(--cad-fill-end) - var(--cad-runner-delay)) linear both;
  animation-delay:var(--cad-runner-delay);
}
.cad-paused * { animation-play-state:paused !important; }
@keyframes cad-construction {
  0% { opacity:.36; stroke-dashoffset:1; }
  100% { opacity:.36; stroke-dashoffset:0; }
}
@keyframes cad-outline {
  0% { opacity:0; stroke-dashoffset:1; }
  12% { opacity:.85; }
  66%,85% { opacity:.85; stroke-dashoffset:0; }
  100% { opacity:0; stroke-dashoffset:0; }
}
@keyframes cad-fill { from {opacity:0} to {opacity:1} }
@keyframes cad-travel {
  from { stroke-dashoffset:0; }
  to { stroke-dashoffset:var(--cad-travel); }
}
@keyframes cad-travel-fade {
  0% { opacity:0; }
  10%,50% { opacity:.9; }
  100% { opacity:0; }
}
.cad-reduced .cad-guides, .cad-reduced .cad-contours, .cad-reduced .cad-runners { display:none; }
.cad-reduced .cad-fills path { animation:none; opacity:1; }
@media (prefers-reduced-motion:reduce) {
  .company-cad .cad-guides, .company-cad .cad-contours, .company-cad .cad-runners { display:none; }
  .company-cad .cad-fills path { animation:none; opacity:1; }
}
@media (max-width:960px), (max-width:1480px) and (pointer:coarse) {
  .company-cad, .company-cad-anchor { display:none !important; }
}
