/* Univolt ONE — equipment and progressive motion, 21 October 2026. */
.equipment {
  background: #f2f5e9;
  border-top: 1px solid #dce4d9;
}

.equipment .section-heading > p:last-child {
  margin-bottom: 0;
}

.brand-showcase {
  margin: 0 0 34px;
}

.brand-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.brand-caption {
  margin: 0;
  color: #53694f;
  font-size: 12px;
  letter-spacing: .3px;
}

.motion-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #a9b99f;
  border-radius: 4px;
  color: #173c30;
  background: transparent;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.motion-toggle[hidden] {
  display: none;
}

.motion-toggle[aria-pressed="true"] {
  background: #e2eadb;
  border-color: #7aa640;
}

.brand-viewport {
  overflow: hidden;
  border-radius: 4px;
}

.brand-track {
  width: 100%;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-list-copy {
  display: none;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 104px;
  padding: 21px 16px;
  text-align: center;
  background: #fafbf6;
  border: 1px solid #d8e1d2;
  border-radius: 4px;
}

.brand-name {
  color: #173c30;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  letter-spacing: -.55px;
  line-height: 1.3;
  white-space: nowrap;
}

.brand-kind {
  display: block;
  margin-top: 7px;
  color: #5b6d61;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .3px;
}

.motion-enabled .marquee-ready .brand-track {
  display: flex;
  width: max-content;
  animation: univolt-brands 34s linear infinite;
}

.motion-enabled .marquee-ready .brand-list {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}

.motion-enabled .marquee-ready .brand-item {
  flex: 0 0 202px;
  width: 202px;
}

.motion-enabled .marquee-ready .brand-viewport:focus-within .brand-track,
.motion-enabled .marquee-ready.is-paused .brand-track {
  animation-play-state: paused;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 29px 30px;
  background: #fafbf6;
  border: 1px solid #d8e1d2;
  border-radius: 4px;
}

.equipment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 27px;
  border: 1px solid #c4d5b3;
  border-radius: 4px;
  color: #638526;
  background: #e9efdf;
}

.equipment-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

.equipment-card .eyebrow {
  margin-bottom: 15px;
  color: #638526;
  font-size: 10px;
  letter-spacing: 1.2px;
}

.equipment-card h3 {
  margin: 0 0 17px;
  font-size: clamp(24px, 2.1vw, 30px);
}

.equipment-card > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: #53694f;
  font-size: 14px;
  line-height: 1.8;
}

.equipment-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.equipment-brands li {
  padding: 5px 10px;
  border: 1px solid #cbd7c4;
  border-radius: 20px;
  color: #173c30;
  font-size: 10px;
  line-height: 1.5;
}

.equipment-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12px;
}

.equipment-note {
  max-width: 850px;
  margin: 24px 0 0;
  color: #53694f;
  font-size: 12px;
  line-height: 1.7;
}

/* Content stays visible until the optional motion enhancement is enabled. */
.reveal-target {
  opacity: 1;
}

.motion-enabled .reveal-target:not(.is-visible) {
  opacity: 0;
}

.motion-enabled .reveal-target.is-visible {
  animation: univolt-reveal .65s cubic-bezier(.22, 1, .36, 1)
    var(--reveal-delay, 0ms) both;
}

.motion-enabled .hero-art > img {
  animation: univolt-hero 12s ease-in-out infinite;
}

.motion-enabled .art-tag {
  animation: univolt-tag 7s ease-in-out infinite;
}

.motion-enabled .dot {
  animation: univolt-pulse 3s ease-in-out infinite;
}

.motion-enabled .energy-flow > div > span {
  animation: univolt-energy 4.8s ease-in-out infinite;
}

.motion-enabled .energy-flow > div:nth-of-type(2) > span {
  animation-delay: .8s;
}

.motion-enabled .energy-flow > div:nth-of-type(3) > span {
  animation-delay: 1.6s;
}

.motion-enabled .energy-flow > b {
  animation: univolt-arrow 2.8s ease-in-out infinite;
}

.motion-enabled .energy-flow > b:nth-of-type(2) {
  animation-delay: .8s;
}

@keyframes univolt-brands {
  to { transform: translateX(-50%); }
}

@keyframes univolt-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes univolt-hero {
  0%, 100% { transform: scale(1.025) translateY(0); }
  50% { transform: scale(1.025) translateY(-6px); }
}

@keyframes univolt-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes univolt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

@keyframes univolt-energy {
  0%, 100% { opacity: .8; transform: translateY(0); }
  45% { opacity: 1; transform: translateY(-4px); }
}

@keyframes univolt-arrow {
  0%, 100% { opacity: .5; transform: translateX(-3px); }
  55% { opacity: 1; transform: translateX(3px); }
}

@media (hover: hover) and (pointer: fine) {
  .motion-enabled .marquee-ready .brand-viewport:hover .brand-track {
    animation-play-state: paused;
  }

  .button,
  .text-link,
  .motion-toggle,
  .solution,
  .equipment-card,
  .service-grid article,
  .finance-options article {
    transition: translate .24s ease, background-color .24s ease,
      border-color .24s ease, box-shadow .24s ease;
  }

  .button:hover,
  .text-link:hover {
    translate: 0 -2px;
  }

  .motion-toggle:hover {
    background: #e2eadb;
    border-color: #7aa640;
  }

  .solution:hover,
  .equipment-card:hover {
    translate: 0 -5px;
    box-shadow: 0 12px 26px #173c3010;
  }

  .equipment-card:hover {
    border-color: #9db58a;
  }

  .service-grid article:hover,
  .finance-options article:hover {
    translate: 0 -3px;
    border-color: #638526;
  }
}

@media (max-width: 1050px) {
  .menu {
    display: block;
    background: none;
    border: 1px solid #a9b99f;
    padding: 8px 12px;
    color: #173c30;
    font-size: 12px;
  }

  nav {
    display: none;
    position: absolute;
    top: 98px;
    left: 0;
    right: 0;
    padding: 24px 6%;
    background: #fff;
    box-shadow: 0 14px 20px #173c3010;
    align-items: stretch;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  nav a {
    padding: 8px 0;
    font-size: 14px;
  }

  .equipment-grid {
    gap: 16px;
  }

  .equipment-card {
    padding: 27px 22px;
  }
}

@media (max-width: 720px) {
  nav {
    top: 78px;
  }

  .brand-toolbar {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-caption {
    max-width: 185px;
    font-size: 11px;
  }

  .motion-toggle {
    max-width: 138px;
    min-height: 44px;
    font-size: 10px;
  }

  .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .brand-item {
    min-height: 96px;
    padding: 18px 10px;
  }

  .motion-enabled .marquee-ready .brand-item {
    flex-basis: 178px;
    width: 178px;
  }

  .equipment-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .equipment-card {
    padding: 28px;
  }

  .equipment-card h3 {
    font-size: 28px;
  }

  .equipment-icon {
    margin-bottom: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-enabled .reveal-target,
  .motion-enabled .reveal-target:not(.is-visible),
  .motion-enabled .reveal-target.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .motion-enabled .hero-art > img,
  .motion-enabled .art-tag,
  .motion-enabled .dot,
  .motion-enabled .energy-flow > div > span,
  .motion-enabled .energy-flow > b {
    animation: none;
    transform: none;
  }

  .motion-enabled .marquee-ready .brand-track {
    display: block;
    width: 100%;
    animation: none;
    transform: none;
  }

  .motion-enabled .marquee-ready .brand-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-right: 0;
  }

  .motion-enabled .marquee-ready .brand-list-copy,
  .motion-toggle {
    display: none !important;
  }

  .motion-enabled .marquee-ready .brand-item {
    width: auto;
  }

  .button,
  .text-link,
  .motion-toggle,
  .solution,
  .equipment-card,
  .service-grid article,
  .finance-options article {
    transition: none;
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .motion-enabled .marquee-ready .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
