#home-title {max-width:100%}
.weld-logo {
  --assembled-at:1740ms;--weld-start:1840ms;
  display:block;position:relative;isolation:isolate;
}
.steel-cast {display:none;position:absolute;inset:0;pointer-events:none;filter:drop-shadow(0 4px 15px #0009)}
.cast-piece {
  position:absolute;display:block;
  background-image:var(--forged-art,url('/assets/brand/fieldmate-1200.webp'));
  background-repeat:no-repeat;
}
.cast-symbol {--drop-start:clamp(-82px,-6.5vw,-40px);--travel:600ms;--fade:160ms}
.cast-silver {--drop-start:clamp(-54px,-4.4vw,-25px);--travel:320ms;--fade:125ms}
.cast-copper {--drop-start:clamp(-30px,-2.5vw,-14px);--travel:300ms;--fade:155ms}
.metal-reflection {display:none;position:absolute;inset:0;overflow:hidden;pointer-events:none}
.weld-fx {display:none;position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
/* A missing script can reveal the static logo. A slow load can still animate when ready. */
.weld-pending .weld-logo {animation:weld-poster 1ms 1700ms step-end both}
@keyframes weld-poster {from {opacity:0} to {opacity:1}}
.weld-logo[data-running] .weld-fx {display:block}
@media(prefers-reduced-motion:no-preference){
  .weld-logo[data-running] .steel-cast {
    display:block;animation:steel-assembled var(--assembled-at) step-end both;
  }
  .weld-logo[data-running] .logo-mark {animation:steel-original var(--assembled-at) step-end both}
  .weld-logo[data-running] .cast-piece {
    animation:steel-landing var(--travel) var(--cue) backwards, steel-appear var(--fade) var(--cue) ease-out backwards;
  }
  .weld-logo[data-running] .weld-head {animation:weld-travel 1110ms var(--weld-start) linear both}
  .weld-logo[data-running] .weld-pool {animation:weld-light 1218ms calc(var(--weld-start) - 8ms) linear both}
  .weld-logo[data-running] .weld-bead {animation:weld-cooling 1370ms var(--weld-start) linear both}
  .weld-logo[data-running] .weld-sparks line {animation:weld-spark var(--life) var(--cue) linear both}
}
/* A single reflection follows the weld across the actual metal, clipped to the approved mark. */
@supports ((mask-image:url("")) or (-webkit-mask-image:url(""))) {
  @media (prefers-reduced-motion:no-preference) {
    .weld-logo[data-running] .metal-reflection {
      display:block;
      -webkit-mask:var(--forged-art) center / 100% 100% no-repeat;
      mask:var(--forged-art) center / 100% 100% no-repeat;
    }
    .metal-reflection::after {
      content:"";position:absolute;top:-30%;bottom:-30%;left:-22%;width:21%;
      background:linear-gradient(105deg,transparent 8%,rgba(228,237,246,.11) 36%,rgba(255,249,233,.3) 51%,rgba(234,242,248,.08) 66%,transparent 92%);
      animation:roll-reflection 1120ms calc(var(--weld-start) + 100ms) cubic-bezier(.28,.43,.64,.84) both;
    }
  }
}
@keyframes roll-reflection {
  0% {transform:translateX(0);opacity:0}
  12%,80% {opacity:1}
  100% {transform:translateX(610%);opacity:0}
}
/* The two layers are registered to the same artwork and exchange on a single frame. */
@keyframes steel-assembled {from {visibility:visible} to {visibility:hidden}}
@keyframes steel-original {from {visibility:hidden} to {visibility:visible}}
/* Each piece drops vertically and arrests at its original position. */
@keyframes steel-landing {
  0% {
    transform:translate3d(0,var(--drop-start),0);
    animation-timing-function:cubic-bezier(.48,.02,.77,.58);
  }
  82% {
    transform:translate3d(0,calc(var(--drop-start) * .22),0);
    animation-timing-function:cubic-bezier(.20,.30,.62,1);
  }
  100% {transform:translate3d(0,0,0)}
}
@keyframes steel-appear {
  from {opacity:0}
  to {opacity:1}
}
/* SVG coordinates register the moving light to the bead in the original photograph. */
@keyframes weld-travel {
  0% {transform:translate(95px,149px)}
  25% {transform:translate(116px,134.375px)}
  50% {transform:translate(137px,118.5px)}
  75% {transform:translate(158px,101.375px)}
  100% {transform:translate(179px,83px)}
}
@keyframes weld-light {
  0%,100% {opacity:0}
  4%,89.8% {opacity:1}
}
@keyframes weld-cooling {
  0% {stroke-dasharray:0 1;stroke-dashoffset:0;opacity:0}
  4% {opacity:.82}
  19% {stroke-dasharray:.234 1;stroke-dashoffset:0}
  81% {stroke-dasharray:.234 1;stroke-dashoffset:-.766;opacity:.82}
  100% {stroke-dasharray:0 1;stroke-dashoffset:-1;opacity:0}
}
@keyframes weld-spark {
  0% {opacity:0;transform:translate(0,0)}
  9% {opacity:1}
  65% {opacity:.75;transform:translate(calc(var(--flight-x) * .65),calc(var(--flight-y) * .65))}
  100% {opacity:0;transform:translate(var(--flight-x),calc(var(--flight-y) + 4px))}
}
@media(max-width:620px){
  .weld-sparks line {vector-effect:non-scaling-stroke;stroke-width:1.05px}
  .weld-pool {transform:scale(1.22);transform-origin:0 0}
}
@media(prefers-reduced-motion:reduce){
  .weld-logo[data-running] .steel-cast {display:block;animation:steel-assembled var(--assembled-at) step-end both}
  .weld-logo[data-running] .logo-mark {animation:steel-original var(--assembled-at) step-end both}
  .weld-logo[data-running] .cast-piece {animation:steel-appear 170ms var(--cue) ease-out backwards}
  .weld-logo[data-running] .weld-fx {display:none}
}
