.about {
  position: relative;
  isolation: isolate;
  scroll-margin-top: clamp(.85rem, 1.5vw, 1.45rem);
  background: radial-gradient(ellipse at 22% 56%, #3e4956 0%, #2b323b 28%, transparent 64%),
    linear-gradient(124deg, #25282e, #1b1e23 60%, #17191d);
}
.about .about-grid {
  width: min(100% - clamp(2rem, 4.4vw, 6rem), 107rem);
  grid-template-columns: minmax(0, .61fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4.5vw, 5.25rem);
  padding-block: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}
.about-visual { min-width: 0; position: relative; align-self: stretch; display: grid; place-items: center; }
.about .about-photo {
  width: min(100%, 58rem);
  max-height: min(46rem, 85vw);
  height: auto;
  object-fit: contain;
}
.about .about-photo.about-cutout { width: min(100%, 58rem); }
.welder { display: block; width: 100%; height: auto; aspect-ratio: 860 / 680; overflow: visible; }
.about-copy { min-width: 0; max-width: 49rem; }
.about-copy h2 { max-width: 17ch; color: var(--red); font-size: clamp(2.55rem, 5.1vw, 5.5rem); }
.about .about-copy #about-text p {
  margin: .8rem 0;
  max-width: 62ch;
  color: #d7dce2;
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
}
.about .about-copy #about-text { margin-block: 1.25rem; }
.about-differences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  gap: .6rem;
  padding: 0;
  margin: 1.3rem 0 1.4rem;
}
.about-differences li {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  min-height: 3.2rem;
  padding: .55rem .65rem;
  border: 1px solid #ffffff30;
  border-radius: .38rem;
  background: linear-gradient(120deg, #ffffff12, #ffffff04);
  box-shadow: inset 0 1px #ffffff0b;
  font-size: .92rem;
  font-weight: 680;
  overflow-wrap: anywhere;
}
.about-differences svg { flex: none; width: 1.25rem; height: 1.25rem; color: #ff7777; }

#nosotros { --weld-level: .7; --shutter-duration: 1.8s; --shutter-color: #d50000; }
.weld-arc { opacity: calc(var(--weld-level) * .62); }
.weld-core { opacity: calc(var(--weld-level) * .85); }
.weld-bounce { opacity: calc(var(--weld-level) * .28); }
.weld-visor-light, .weld-sparks { opacity: 0; }
.weld-arm { transform-origin: 158px 338px; }
.weld-sparks, .weld-core, .weld-arc { transform-origin: 630px 480px; }
.welding-active .weld-arm { animation: welder-arm 4.8s ease-in-out infinite; }
.welding-active .weld-arc { animation: welder-arc 3.8s ease-in-out infinite; }
.welding-active .weld-core { animation: welder-core 3.8s ease-in-out infinite; }
.welding-active .weld-bounce { animation: welder-bounce 3.8s ease-in-out infinite; }
.welding-active.welding-reflections .weld-visor-light { animation: welder-visor 3.8s ease-in-out infinite; }
.welding-active.welding-sparks .weld-sparks { animation: welder-spark 2.5s ease-out infinite; }
@keyframes welder-arm { 0%, 100% { transform: rotate(-.35deg); } 52% { transform: rotate(.3deg) translate(1px, -.4px); } }
@keyframes welder-arc {
  0%, 100% { opacity: calc(var(--weld-level) * .56); transform: scale(.85); }
  40% { opacity: calc(var(--weld-level) * .92); transform: scale(1.06); }
  72% { opacity: calc(var(--weld-level) * .66); transform: scale(.93); }
}
@keyframes welder-core {
  0%, 100% { opacity: calc(var(--weld-level) * .7); transform: scale(.9); }
  40% { opacity: var(--weld-level); transform: scale(1.14); }
  72% { opacity: calc(var(--weld-level) * .83); transform: scale(.95); }
}
@keyframes welder-bounce {
  0%, 100% { opacity: calc(var(--weld-level) * .29); }
  42% { opacity: calc(var(--weld-level) * .72); }
  72% { opacity: calc(var(--weld-level) * .4); }
}
@keyframes welder-visor {
  0%, 100% { opacity: calc(var(--weld-level) * .16); }
  42% { opacity: calc(var(--weld-level) * .62); }
  73% { opacity: calc(var(--weld-level) * .26); }
}
@keyframes welder-spark {
  0%, 17%, 75%, 100% { opacity: 0; }
  20% { transform: scale(.52); }
  29% { opacity: calc(var(--weld-level) * .9); }
  66%, 100% { transform: translate(9px, 5px) scale(1.55); }
}

.about-shutter { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.shutter-sheet {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(106deg, #171c25aa, #fff0 27%, #f0f4fa62 46%, #fff0 65%, #1217219d 94%),
    repeating-linear-gradient(0deg, #323944 0 2px, #5e6976 3px, #b5bfc8 8px, #d9e1e9 13px, #929eaa 20px, #707d8a 24px, #48505b 29px);
  box-shadow: 0 .8rem 1.3rem #080b10af;
}
.shutter-sheet::after {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(92deg, #edfbff0a 0 1px, transparent 1px 4px),
    repeating-linear-gradient(17deg, #dbedf609 0 1px, transparent 1px 7px);
}
.shutter-mechanism {
  --motor-width: clamp(5.5rem, 12vw, 10rem);
  --mechanism-height: clamp(1.65rem, 3vw, 2.9rem);
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  block-size: var(--mechanism-height);
  transform: translateY(-50%);
  pointer-events: none;
}
.shutter-roll, .shutter-axle {
  position: absolute;
  inset-inline: 0 calc(var(--motor-width) * .68);
  border-radius: 999px;
}
.shutter-roll {
  inset-block-start: 43%;
  block-size: 39%;
  transform-origin: top;
  background-image: linear-gradient(#101621b0, #d9e4f07d 42%, #1b2531aa),
    repeating-linear-gradient(#4b5866 0 2px, #acb9c5 3px 5px, #45525f 6px);
  background-position: 0 0, 0 -18px;
  box-shadow: 0 .19rem .5rem #0506099c;
}
.shutter-axle {
  inset-block-start: 50%;
  block-size: 25%;
  transform: translateY(-50%);
  background: linear-gradient(#373f49, #c5d1dc 31%, #748390 52%, #414c58 78%, #232b35);
  box-shadow: 0 .1rem .23rem #030609ba, inset 0 0 0 1px #ffffff22;
}
.shutter-motor {
  position: absolute;
  inline-size: var(--motor-width);
  block-size: 100%;
  inset: 0 0 auto auto;
  filter: drop-shadow(0 .17rem .27rem #0b101ad9);
}
.shutter-coupling { transform-box: fill-box; transform-origin: center; }
.shutter-mark {
  position: relative;
  z-index: 1;
  width: clamp(6.5rem, 14vw, 12rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: clamp(.9rem, 2.25vw, 1.9rem);
  border: clamp(.22rem, .55vw, .5rem) solid var(--shutter-color);
  border-radius: 50%;
  background: radial-gradient(ellipse at 28% 22%, #424951, #181e25 73%);
  box-shadow: inset 0 0 0 .15rem #ffffff3f, 0 .45rem 1.2rem #0009;
}
.shutter-mark svg, .shutter-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 8rem;
  object-fit: contain;
}
.about-shutter:not([hidden]) + .shutter-mechanism .shutter-roll {
  transform: scaleY(.35);
  background-position: 0 0, 0 0;
}
.about-shutter.is-opening .shutter-sheet { animation: shutter-open var(--shutter-duration) cubic-bezier(.53,.06,.21,1) both; }
.about-shutter.is-opening + .shutter-mechanism .shutter-roll { animation: shutter-wind var(--shutter-duration) cubic-bezier(.53,.06,.21,1) both; }
.about-shutter.is-opening + .shutter-mechanism .shutter-coupling { animation: coupling-turn var(--shutter-duration) cubic-bezier(.53,.06,.21,1) both; }
@keyframes shutter-open {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
@keyframes shutter-wind {
  from { transform: scaleY(.35); background-position: 0 0, 0 0; }
  to { transform: scaleY(1); background-position: 0 0, 0 -18px; }
}
@keyframes coupling-turn {
  from { transform: rotate(0turn); }
  to { transform: rotate(2turn); }
}

@media (max-width: 860px) {
  .about .about-grid { grid-template-columns: minmax(0, 1fr); gap: .4rem; padding-top: 1.4rem; }
  .about-visual { max-width: min(100%, 39rem); justify-self: center; width: 100%; }
  .welder { width: 70%; }
  .about-copy { max-width: none; }
}
@media (max-width: 360px) {
  .about-differences { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .about-shutter { display: none; }
  .about-shutter:not([hidden]) + .shutter-mechanism .shutter-roll { transform: none; }
  .shutter-mechanism * { animation: none !important; }
  .welding-active .welder * { animation: none !important; }
}
