/* Feature illustrations, not measured performance comparisons. */
.performance-section {
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.9fr);
  gap: clamp(36px, 4vw, 64px);
  padding-block: 80px 88px;
}
.performance-section .experience-copy h2 {
  max-width: 410px;
  font-size: clamp(30px, 2.65vw, 40px);
  line-height: 1.16;
  margin-bottom: 23px;
}
.performance-section .experience-copy p {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.performance-section .text-link {
  font-size: 18px;
}
.performance-art {
  --perf-pink: #d259c8;
  --perf-violet: #8b72e2;
  --perf-track: #eae7f0;
  --perf-shade: #f5f3f9;
  --perf-edge: #d7d0e3;
  --perf-symbol: #76688c;
  --perf-muted: #655e70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(14px, 2vw, 30px);
  min-width: 0;
  width: 100%;
}
.performance-feature {
  min-width: 0;
  text-align: center;
}
.performance-symbol {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1.18;
  margin-bottom: 26px;
}
.performance-symbol svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.performance-feature h3 {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.performance-feature p {
  max-width: 220px;
  min-height: 3.1em;
  margin: 10px auto 0;
  color: var(--perf-muted);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.55;
  text-wrap: balance;
}
.perf-pink {
  stop-color: var(--perf-pink);
}
.perf-violet {
  stop-color: var(--perf-violet);
}
.perf-shade {
  stop-color: var(--perf-shade);
}
.perf-track {
  stop-color: var(--perf-track);
}
.perf-edge {
  stroke: var(--perf-edge);
}
.perf-motion {
  stroke: var(--perf-symbol);
}
.perf-accent-line {
  stroke-dasharray: 1 1;
}
html[data-theme="dark"] .performance-art {
  --perf-pink: #d964d1;
  --perf-violet: #9a7de6;
  --perf-track: #343238;
  --perf-shade: #222123;
  --perf-edge: #45414a;
  --perf-symbol: #a394bb;
  --perf-muted: #ccc6d5;
}
[data-performance-state="playing"] .perf-accent-line {
  animation: performance-draw 1500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-performance-state="playing"] .perf-cache-top {
  animation: performance-reveal 1000ms 80ms ease both;
}
[data-performance-state="playing"] .perf-cache-middle {
  animation: performance-reveal 1000ms 180ms ease both;
}
[data-performance-state="playing"] .perf-cache-bottom {
  animation: performance-reveal 1000ms 280ms ease both;
}
[data-performance-state="playing"] .perf-motion,
[data-performance-state="playing"] .perf-media-content {
  animation: performance-reveal 1100ms 250ms ease both;
}
[data-performance-state="playing"] .perf-compress {
  animation: performance-compress 1300ms 160ms cubic-bezier(0.22, 1, 0.36, 1)
    both;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes performance-draw {
  from {
    stroke-dasharray: 0 1;
  }
  to {
    stroke-dasharray: 1 1;
  }
}
@keyframes performance-reveal {
  from {
    opacity: 0.15;
  }
  to {
    opacity: 1;
  }
}
@keyframes performance-compress {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 1199px) {
  .performance-section {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.75fr);
    gap: 28px;
  }
  .performance-art {
    gap: 14px;
  }
  .performance-feature h3 {
    font-size: 18px;
  }
  .performance-feature p {
    font-size: 14px;
  }
}
@media (max-width: 959px) {
  .performance-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px 64px;
  }
  .performance-section .experience-copy h2 {
    max-width: 580px;
  }
  .performance-section .experience-copy p {
    max-width: 580px;
  }
  .performance-art {
    max-width: 780px;
    margin-inline: auto;
    gap: 24px;
  }
  .performance-feature h3 {
    font-size: 22px;
  }
  .performance-feature p {
    font-size: 16px;
  }
}
@media (max-width: 599px) {
  .performance-section {
    padding-block: 40px 50px;
    gap: 32px;
  }
  .performance-section .experience-copy h2 {
    font-size: 30px;
    margin-bottom: 18px;
  }
  .performance-section .experience-copy p {
    font-size: 17px;
    margin-bottom: 21px;
  }
  .performance-section .text-link {
    font-size: 17px;
  }
  .performance-art {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 26px;
  }
  .performance-speed {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 235px;
    justify-self: center;
  }
  .performance-symbol {
    aspect-ratio: auto;
    max-width: 175px;
    margin: 0 auto 17px;
  }
  .performance-speed .performance-symbol {
    max-width: none;
  }
  .performance-feature h3 {
    font-size: 20px;
  }
  .performance-feature p {
    font-size: 14px;
    margin-top: 8px;
  }
  .performance-speed p {
    min-height: 0;
    max-width: none;
  }
}
@media (max-width: 359px) {
  .performance-art {
    gap: 24px 18px;
  }
  .performance-feature h3 {
    font-size: 18px;
  }
  .performance-feature p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .performance-art * {
    animation: none !important;
  }
}
/* Decorative gauge with synchronized spring motion on hover or tap. */
.performance-speed .performance-symbol {
  position: relative;
}
.perf-speedometer {
  --dial-track: #e2e2e2;
  --dial-tick: #8f8f8f;
  --dial-blue: #0196ff;
  --dial-pink: #ff1e56;
  --metal-light: #171717;
  --metal-mid: #8e8e8e;
  --metal-shadow: #7d7d7d;
  --pin-top: #f2f2f2;
  --pin-bottom: #e7e7e7;
  touch-action: manipulation;
}
html[data-theme="dark"] .perf-speedometer {
  --dial-track: #262626;
  --dial-tick: #888;
  --dial-blue: #52c7ff;
  --dial-pink: #ff5c9a;
  --metal-light: #ededed;
  --metal-mid: #8e8e8e;
  --metal-shadow: #a0a0a0;
  --pin-top: #1a1a1a;
  --pin-bottom: #333;
}
.perf-dial-track {
  stroke: var(--dial-track);
}
.perf-dial-ticks {
  stroke: var(--dial-tick);
}
.perf-dial-blue {
  stop-color: var(--dial-blue);
}
.perf-dial-pink {
  stop-color: var(--dial-pink);
}
.perf-dial-glow {
  opacity: 0.25;
}
.perf-dial-inner {
  opacity: 0.3;
}
.perf-dial-remainder {
  fill: var(--dial-tick);
  opacity: 0.3;
}
.perf-metal-light {
  stop-color: var(--metal-light);
}
.perf-metal-mid {
  stop-color: var(--metal-mid);
}
.perf-metal-shadow {
  stop-color: var(--metal-shadow);
}
.perf-pin-top {
  stop-color: var(--pin-top);
}
.perf-pin-bottom {
  stop-color: var(--pin-bottom);
}
.perf-hub-edge {
  fill: var(--dial-tick);
  opacity: 0.75;
}
.perf-hub-pin {
  stroke: var(--dial-tick);
}
html[data-theme="dark"] .perf-dial-glow {
  opacity: 0.4;
}
html[data-theme="dark"] .perf-dial-inner {
  opacity: 0.25;
}
html[data-theme="dark"] .perf-dial-remainder {
  opacity: 0.2;
}
