/* PIES Industry Explorer widget. Generated from src/styles/main.css by wordpress/build-custom-code.cjs. */

.industries {
  z-index: 4;
}
.industries__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.industries__head .section-head {
  margin-bottom: 0;
}
.industries__head .lead {
  max-width: 30em;
}
.industries__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.industry {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-block: 40px;
  opacity: 0.3;
  transition: opacity 0.5s var(--ease);
}
.industry.is-active {
  opacity: 1;
}
.industry__tag {
  display: flex;
  align-items: center;
  gap: 14px;
}
.industry__glyph {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--white);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    stroke 0.4s var(--ease);
}
.industry.is-active .industry__glyph {
  background: var(--ink);
  border-color: var(--ink);
  stroke: var(--volt);
}
.industry__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.industry__title {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.industry__body {
  color: var(--fg-muted);
  max-width: 30em;
}
.spec-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  max-width: 34em;
  border-top: 1px solid var(--rule);
}
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  font-weight: 600;
}
.spec-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
  transform: translateY(-2px);
}
.industry__media-inline {
  display: none;
}
.industries__aside {
  position: sticky;
  top: max(calc(var(--header-h) + 24px), calc(50vh - 280px));
}
.field-sheet {
  padding: 10px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  box-shadow:
    0 50px 90px -40px rgba(7, 26, 51, 0.6),
    0 0 0 1px rgba(7, 26, 51, 0.06);
}
.field-sheet__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 2px 2px 10px;
}
.field-sheet__tabs a {
  position: relative;
  display: block;
  padding: 10px 8px 16px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition:
    color 0.25s,
    background-color 0.25s;
}
.field-sheet__tabs a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.field-sheet__tabs a[aria-current='true'] {
  color: var(--white);
}
.field-sheet__tabs i {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: rgba(169, 184, 201, 0.18);
  overflow: hidden;
}
.field-sheet__tabs i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--volt);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}
.field-sheet__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink-deep);
}
.field-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.field-shot img.data-center-photo {
  object-fit: contain;
}
.field-shot {
  position: absolute;
  inset: 0;
}
.field-sheet__frame .field-shot {
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.8s var(--ease),
    transform 1.6s var(--ease);
}
.field-sheet__frame .field-shot.is-active {
  opacity: 1;
  transform: none;
}
.field-shot__photo {
  position: absolute;
  inset: 0;
  container-type: size;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.industries[data-view='photo'] .field-shot__photo {
  opacity: 1;
}
.field-shot__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0) 55%, rgba(4, 16, 31, 0.45));
  pointer-events: none;
}
.field-shot__note {
  position: absolute;
  left: 2.2cqw;
  right: 2.2cqw;
  bottom: 2cqh;
  z-index: 1;
  font-size: clamp(0.5625rem, 1.5cqw, 0.75rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}
.field-sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px 2px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}
.field-sheet__foot b {
  font-weight: 500;
  color: var(--white);
}

.field-sheet__caption {
  flex: 1;
  text-align: center;
}
.view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}
.view-toggle button {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: pointer;
}
.view-toggle button[aria-pressed='true'] {
  background: rgba(91, 194, 127, 0.16);
  color: var(--white);
}
.dg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.dg {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(110% 120% at 50% 0%, #0f2f57 0%, var(--ink) 55%, var(--ink-deep) 100%);
}
.dg-bg {
  fill: url(#dg-grid);
}
.dg-lane,
.dg-ground {
  fill: none;
  stroke: rgba(169, 184, 201, 0.38);
  stroke-width: 1.5;
}
.dg-road {
  stroke: rgba(169, 184, 201, 0.26);
  stroke-width: 2;
  stroke-dasharray: 26 22;
  animation: ev-road 1s linear infinite;
}
.dg-body {
  fill: rgba(13, 42, 76, 0.6);
  stroke: var(--blueprint);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.dg-cabin {
  fill: rgba(127, 166, 207, 0.06);
  stroke: rgba(127, 166, 207, 0.55);
  stroke-width: 1.2;
  stroke-dasharray: 6 5;
}
.dg-thin {
  fill: none;
  stroke: rgba(127, 166, 207, 0.4);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.dg-tire {
  fill: #050d18;
  stroke: var(--blueprint);
  stroke-width: 1.5;
}
.dg-axle {
  stroke: rgba(169, 184, 201, 0.7);
  stroke-width: 3;
  stroke-linecap: round;
}
.dg-axle--solid {
  stroke: rgba(169, 184, 201, 0.5);
  stroke-width: 7;
}
.dg-box {
  fill: rgba(7, 26, 51, 0.92);
  stroke: var(--blueprint);
  stroke-width: 1.4;
}
.dg-box--battery,
.dg-box--target {
  stroke: var(--white);
}
.dg-charge {
  fill: var(--volt);
  opacity: 0.6;
  transform-box: fill-box;
  transform-origin: left center;
  animation: dg-charge 6s var(--ease) infinite;
}
.dg-cells {
  stroke: rgba(7, 26, 51, 0.95);
  stroke-width: 2;
}
.dg-gen {
  fill: rgba(7, 26, 51, 0.95);
  stroke: var(--volt);
  stroke-width: 2;
  filter: url(#dg-glow);
}
.dg-flow {
  fill: none;
  stroke: var(--volt);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 9 7;
  filter: url(#dg-glow);
  animation: ev-flow 0.7s linear infinite;
}
.dg-rotor {
  transform-box: fill-box;
  transform-origin: center;
  animation: dg-rotate 1.2s linear infinite;
}
.dg-rotor--paddle {
  animation-duration: 4.5s;
}
.dg-rim {
  fill: rgba(127, 166, 207, 0.05);
  stroke: rgba(169, 184, 201, 0.8);
  stroke-width: 2;
}
.dg-arm {
  stroke: rgba(169, 184, 201, 0.7);
  stroke-width: 2.5;
}
.dg-paddle,
.dg-board {
  fill: rgba(205, 215, 226, 0.9);
  stroke: rgba(4, 16, 31, 0.8);
  stroke-width: 1;
}
.dg-drum {
  fill: rgba(127, 166, 207, 0.05);
  stroke: rgba(127, 166, 207, 0.3);
  stroke-width: 1;
}
.dg-frame {
  fill: #0a1626;
  stroke: rgba(169, 184, 201, 0.85);
  stroke-width: 1.4;
}
.dg-board {
  transform: translateY(var(--y));
  animation: dg-board 2.25s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.9s);
}
@keyframes dg-board {
  from {
    transform: translateY(calc(var(--r) * -1));
  }
  to {
    transform: translateY(var(--r));
  }
}
.dg-node {
  fill: #0a1626;
  stroke: rgba(169, 184, 201, 0.75);
  stroke-width: 1.4;
}
.dg-node--new {
  stroke: var(--volt);
  stroke-dasharray: 4 3;
}
.dg-glyph {
  fill: none;
  stroke: rgba(205, 215, 226, 0.95);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dg-label--new text {
  fill: var(--volt);
}
.dg-hub {
  fill: #0a1626;
  stroke: rgba(169, 184, 201, 0.85);
  stroke-width: 1.4;
}
.dg-air {
  stroke: rgba(127, 166, 207, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: dg-air 0.9s linear infinite;
}
.dg-wind {
  fill: none;
  stroke: rgba(156, 196, 255, 0.55);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 30 18;
  animation: dg-wind 1.6s linear infinite;
}
.dg-speed {
  stroke: rgba(169, 184, 201, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 40 30;
  animation: dg-speed 1.2s linear infinite;
}
.dg-led {
  fill: var(--volt);
  animation: dg-blink 2.4s linear infinite;
  animation-delay: var(--d, 0s);
}
.dg-centerline {
  stroke: rgba(127, 166, 207, 0.3);
  stroke-width: 1;
  stroke-dasharray: 18 5 3 5;
}
.dg-label path {
  fill: none;
  stroke: rgba(169, 184, 201, 0.45);
  stroke-width: 1;
}
.dg-label circle {
  fill: var(--ink);
  stroke: rgba(169, 184, 201, 0.8);
  stroke-width: 1.2;
}
.dg-label text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--white);
}
.dg-label .dg-sub {
  font-size: 12px;
  fill: var(--mist);
}
.dg-label--on path {
  stroke: var(--volt);
}
.dg-label--on circle {
  fill: var(--volt);
}
.dg-label--plain text {
  font-size: 12px;
  fill: var(--mist);
}
.field-sheet__frame .field-shot:not(.is-active) .dg *,
.industries[data-view='photo'] .dg * {
  animation-play-state: paused;
}
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 0;
  height: 0;
}
.hotspot::before,
.hotspot::after {
  content: '';
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.hotspot::before {
  background: var(--volt);
  box-shadow:
    0 0 0 3px rgba(4, 16, 31, 0.75),
    0 0 22px rgba(91, 194, 127, 0.9);
}
.hotspot::after {
  border: 2px solid var(--volt);
  animation: hotspot-pulse 2.2s var(--ease) infinite;
}
@keyframes hotspot-pulse {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}
.hotspot__chip {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(91, 194, 127, 0.5);
  border-radius: var(--radius);
  background: rgba(4, 16, 31, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  transform: translateY(-50%);
  opacity: 0;
  transition:
    opacity 0.5s var(--ease) 0.45s,
    margin 0.5s var(--ease) 0.45s;
}
.hotspot__chip b {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
}
.hotspot[data-side='right'] .hotspot__chip {
  left: 22px;
  margin-left: 10px;
}
.hotspot[data-side='left'] .hotspot__chip {
  right: 22px;
  margin-right: 10px;
}
.hotspot[data-side='top'] .hotspot__chip {
  left: 0;
  top: auto;
  bottom: 26px;
  margin-bottom: 10px;
  transform: translateX(-50%);
}
.hotspot__lead {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: var(--dx);
  height: var(--dy);
  border-right: 2px solid var(--volt);
  border-bottom: 2px solid var(--volt);
  filter: drop-shadow(0 0 1.5px rgba(4, 16, 31, 0.95));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease) 0.35s;
}
.hotspot[data-side='below-left'] .hotspot__chip {
  right: var(--dx);
  top: var(--dy);
  margin-top: 10px;
  /* --maxw keeps the label inside the photo; it wraps to two lines when the photo is narrow */
  flex-wrap: wrap;
  row-gap: 2px;
  width: max-content;
  max-width: var(--maxw, none);
  white-space: normal;
}
.field-shot.is-active .hotspot__lead {
  opacity: 1;
}
.field-shot.is-active .hotspot__chip {
  opacity: 1;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-top: 0;
}

@media (max-width: 900px) {
  .industries__head {
    grid-template-columns: minmax(0, 1fr);
  }
  .industries__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .industries__aside {
    display: none;
  }
  .industry {
    min-height: 0;
    opacity: 1;
    padding-block: 40px;
    border-top: 1px solid var(--rule);
  }
  .industry:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .industry__media-inline {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 8px;
  }
  .industry__glyph {
    background: var(--ink);
    border-color: var(--ink);
    stroke: var(--volt);
  }
}
@media (max-width: 640px) {
  .dg-label {
    display: none;
  }
  .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .hotspot__chip {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }
}
@keyframes ev-road {
  to {
    stroke-dashoffset: -48;
  }
}
@keyframes dg-charge {
  0% {
    transform: scaleX(0.35);
  }
  85%,
  100% {
    transform: scaleX(0.92);
  }
}
@keyframes ev-flow {
  to {
    stroke-dashoffset: -16;
  }
}
@keyframes dg-rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dg-air {
  to {
    stroke-dashoffset: -18;
  }
}
@keyframes dg-wind {
  to {
    stroke-dashoffset: -48;
  }
}
@keyframes dg-speed {
  to {
    stroke-dashoffset: -70;
  }
}
@keyframes dg-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.2;
  }
}