/* Turncircles V4 explode animation. Dark theme: video on black + screen; light theme: video on
   white + multiply. Either way the video's background vanishes into the section behind it. */
.tc-motor-explode { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; }
.tc-motor-explode video, .tc-motor-explode-still { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.theme-dark .tc-motor-explode video, .theme-dark .tc-motor-explode-still { mix-blend-mode: screen; }
.tc-motor-explode [hidden] { display: none; }
.tc-motor-explode-play { position: absolute; top: 50%; left: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; padding: 0; border: 0; border-radius: 9999px; background: #e68207; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .35); cursor: pointer; transition: transform .15s; }
.tc-motor-explode-play::before { content: ""; position: absolute; top: 1.25rem; left: 1.75rem; border-style: solid; border-width: 1rem 0 1rem 1.6rem; border-color: transparent transparent transparent #fff; }
.tc-motor-explode-play:hover, .tc-motor-explode-play:focus-visible { transform: scale(1.1); }
.tc-motor-explode-play:focus-visible { outline: 3px solid #1d1a16; outline-offset: 3px; }
.tc-motor-explode-replay { position: absolute; right: .75rem; bottom: .75rem; width: 2.25rem; height: 2.25rem; padding: 0; border: 2px solid #e68207; border-radius: 9999px; background: transparent; color: #e68207; cursor: pointer; opacity: .7; transition: opacity .15s; }
.tc-motor-explode-replay::before { content: ""; position: absolute; top: .55rem; left: .55rem; width: .8rem; height: .8rem; border: 2px solid currentColor; border-top-color: transparent; border-radius: 9999px; }
.tc-motor-explode-replay::after { content: ""; position: absolute; top: .4rem; left: 1.15rem; border-style: solid; border-width: .25rem 0 .25rem .35rem; border-color: transparent transparent transparent currentColor; transform: rotate(-30deg); }
.tc-motor-explode-replay:hover, .tc-motor-explode-replay:focus-visible { opacity: 1; }
/* live 3D viewer (takes over after the clip) */
.tc-m3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; mix-blend-mode: multiply; cursor: grab; }
.theme-dark .tc-m3d-canvas { mix-blend-mode: screen; }
.tc-motor-explode.is-live .tc-m3d-canvas { display: block; }
.tc-motor-explode.is-live video { visibility: hidden; }
.tc-m3d-canvas:active { cursor: grabbing; }
.tc-m3d-label, .tc-m3d-hint, .tc-m3d-explode { display: none; }
.tc-motor-explode.is-live .tc-m3d-hint, .tc-motor-explode.is-live .tc-m3d-explode { display: block; }
.tc-motor-explode.is-live .tc-m3d-label:not([hidden]) { display: block; }
.tc-m3d-label { position: absolute; top: 0; left: 0; max-width: 16rem; padding: .5rem .75rem; border-radius: .5rem; background: rgba(29, 26, 22, .92); color: #f4f2f0; font-size: .875rem; line-height: 1.35; pointer-events: none; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .25); }
.tc-m3d-label strong { display: block; color: #e68207; font-size: 1rem; }
.tc-m3d-hint { position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%); padding: .25rem .75rem; border-radius: 9999px; background: rgba(29, 26, 22, .7); color: #f4f2f0; font-size: .8125rem; white-space: nowrap; pointer-events: none; transition: opacity .6s; }
.tc-m3d-hint.is-gone { opacity: 0; }
.tc-m3d-explode { position: absolute; left: .75rem; bottom: .75rem; padding: .375rem .875rem; border: 2px solid #e68207; border-radius: 9999px; background: transparent; color: #e68207; font-weight: 600; font-size: .875rem; cursor: pointer; }
.tc-m3d-explode:hover, .tc-m3d-explode:focus-visible { background: #e68207; color: #fff; }
.tc-motor-explode-replay { z-index: 1; }
.tc-motor-explode-pause { position: absolute; z-index: 1; right: .75rem; bottom: .75rem; width: 2.25rem; height: 2.25rem; padding: 0; border: 2px solid #e68207; border-radius: 9999px; background: transparent; color: #e68207; cursor: pointer; opacity: .7; transition: opacity .15s; }
.tc-motor-explode-pause::before, .tc-motor-explode-pause::after { content: ""; position: absolute; top: .6rem; width: .22rem; height: .8rem; background: currentColor; }
.tc-motor-explode-pause::before { left: .7rem; } .tc-motor-explode-pause::after { left: 1.08rem; }
.tc-motor-explode-pause.is-paused::before { left: .8rem; width: 0; height: 0; background: none; border-style: solid; border-width: .4rem 0 .4rem .65rem; border-color: transparent transparent transparent currentColor; }
.tc-motor-explode-pause.is-paused::after { display: none; }
.tc-motor-explode-pause:hover, .tc-motor-explode-pause:focus-visible { opacity: 1; }
.tc-m3d-perf { position: absolute; left: .5rem; top: .5rem; padding: .25rem .5rem; border-radius: .25rem; background: rgba(0, 0, 0, .7); color: #fff; font: 12px/1.3 ui-monospace, monospace; pointer-events: none; }
.tc-hero-photo { display: block; width: 100%; max-width: 30rem; height: auto; margin-left: auto; margin-right: auto; }
/* hero on /v4-preview-3d: headline first in the source (mobile order), motor on the left from md up */
@media (min-width: 768px) {
  .tc-hero-motor { grid-column: 1; grid-row: 1; }
  .tc-hero-text { grid-column: 2; grid-row: 1; }
}
.tc-signup-shot img { display: block; width: 100%; max-width: 28rem; height: auto; margin-left: auto; margin-right: auto; }
/* the four stat cards as a 2x2 block in the left half of their row */
.tc-cards-2x2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .tc-cards-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
