/* Home hero: bit cuts, fittings, parametric arch (CSS only) */
.showcase { margin: 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.stage { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.stage-label { position: absolute; top: 20px; left: 24px; font: 500 13px/18px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.hs { position: absolute; inset: 0; opacity: 0; animation: hs 12s linear infinite; }
.hs2, .hs2 * { animation-delay: 4s !important; }
.hs3, .hs3 * { animation-delay: 8s !important; }
.board { position: absolute; left: 8%; right: 8%; top: 66%; height: 20%; background: #C9CED3; border: 1px solid var(--text); }
.groove { position: absolute; left: -1px; top: -1px; height: 45%; background: var(--surface-2); border-bottom: 1px solid var(--text); border-top: 1px solid var(--surface-2); }
.cutter { position: absolute; bottom: 25%; height: 56%; display: flex; flex-direction: column; align-items: center; }
.cutter img { display: block; height: 100%; width: auto; }
.cutter .spin-arrow { position: absolute; top: -22px; }
.chips { position: absolute; left: 0; bottom: 14%; width: 100%; height: 1px; }
.chips span { position: absolute; width: 4px; height: 4px; background: var(--muted); display: block; }
.cut-caption { position: absolute; left: 8%; bottom: 5%; font: 13px/18px var(--mono); color: var(--muted); }
.fit-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 32px 56px 0; }
.fit-item { display: flex; flex-direction: column; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.fit-item .ph { height: 120px; display: flex; align-items: center; }
.fit-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tag { background: #FFFFFF; border: 1px solid var(--text); border-radius: var(--r-sm); padding: 2px 8px; font: 500 13px/18px var(--mono); white-space: nowrap; }
.stage-arch { background: #FFFFFF; }
.stage-arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tabs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.tabs3 a { position: relative; display: block; padding: 16px 20px; border-right: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tabs3 a:last-child { border-right: 0; }
.tabs3 a:hover { background: var(--surface); color: var(--text); }
.tabs3 .num { display: block; font: 500 12px/16px var(--mono); color: var(--muted); }
.tabs3 .t { display: block; font-size: 16px; line-height: 22px; font-weight: 600; }
.tabs3 .s { display: block; font: 13px/20px var(--mono); color: var(--muted); }
.hp { position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--accent); display: block; transform: scaleX(0); transform-origin: left; animation: hp 12s linear infinite; }
.hp2 { animation-delay: 4s; } .hp3 { animation-delay: 8s; }
.ht1, .ht2, .ht3 { opacity: 0; }
.ht1 { animation: ht1 12s ease-out infinite; } .ht2 { animation: ht2 12s ease-out infinite; } .ht3 { animation: ht3 12s ease-out infinite; }
@keyframes hs { 0% { opacity: 0 } 3%, 31% { opacity: 1 } 34%, 100% { opacity: 0 } }
@keyframes hp { 0% { transform: scaleX(0) } 33.3% { transform: scaleX(1) } 33.4%, 100% { transform: scaleX(0) } }
@keyframes ht1 { 0%, 3% { opacity: 0; transform: translateY(10px) } 9%, 100% { opacity: 1; transform: none } }
@keyframes ht2 { 0%, 7% { opacity: 0; transform: translateY(10px) } 13%, 100% { opacity: 1; transform: none } }
@keyframes ht3 { 0%, 11% { opacity: 0; transform: translateY(10px) } 17%, 100% { opacity: 1; transform: none } }

.hcut-bit{left:85.3%;transform:translate(-50%,0);animation:hcut-bit 12s linear infinite}
.hcut-g{width:92%;animation:hcut-g 12s linear infinite}
.hcut-spin{transform:rotate(180deg);animation:hcut-spin .3s linear infinite}
.hcut-chips{opacity:0;animation:hcut-chips 12s linear infinite}
.hcut-c1{animation:hcut-c1 .45s linear infinite}.hcut-c2{animation:hcut-c2 .6s linear infinite}.hcut-c3{animation:hcut-c1 .5s linear .2s infinite}
@keyframes hcut-bit{0%{left:11.4%;transform:translate(-50%,-46px)}4%{left:11.4%;transform:translate(-50%,0)}6%{left:11.4%;transform:translate(-50%,0)}28%,100%{left:85.3%;transform:translate(-50%,0)}}
@keyframes hcut-g{0%,3%{width:0}5%,6%{width:4%}28%,100%{width:92%}}
@keyframes hcut-spin{0%,49.9%{transform:rotate(180deg) scaleX(1)}50%,100%{transform:rotate(180deg) scaleX(-1)}}
@keyframes hcut-chips{0%,5%{opacity:0}7%,27%{opacity:1}29%,100%{opacity:0}}
@keyframes hcut-c1{0%{transform:translate(0,0);opacity:1}100%{transform:translate(-22px,-26px);opacity:0}}
@keyframes hcut-c2{0%{transform:translate(0,0);opacity:1}100%{transform:translate(-34px,-12px);opacity:0}}
@media (prefers-reduced-motion: reduce){.hcut-bit,.hcut-g,.hcut-spin,.hcut-chips,.hcut-c1,.hcut-c2,.hcut-c3{animation:none !important}}
.hx2-g,.hx2-sp,.hx2-hl{transform-box:view-box;transform-origin:300px 300px}
.hx2-g{animation:hx2-g 12s ease-in-out infinite}
@keyframes hx2-g{0%{transform:scale(1)}15%{transform:scale(1)}28%{transform:scale(1.3)}100%{transform:scale(1.3)}}
.hx2-sp{animation:hx2-sp 12s ease-in-out infinite}
@keyframes hx2-sp{0%{transform:scaleX(1)}15%{transform:scaleX(1)}28%{transform:scaleX(1.3)}100%{transform:scaleX(1.3)}}
.hx2-hl{animation:hx2-hl 12s ease-in-out infinite}
@keyframes hx2-hl{0%{transform:scaleY(1)}15%{transform:scaleY(1)}28%{transform:scaleY(1.3)}100%{transform:scaleY(1.3)}}
.hx2-tl{animation:hx2-tl 12s ease-in-out infinite}
@keyframes hx2-tl{0%{transform:translateX(0px)}15%{transform:translateX(0px)}28%{transform:translateX(-45px)}100%{transform:translateX(-45px)}}
.hx2-tr{animation:hx2-tr 12s ease-in-out infinite}
@keyframes hx2-tr{0%{transform:translateX(0px)}15%{transform:translateX(0px)}28%{transform:translateX(45px)}100%{transform:translateX(45px)}}
.hx2-tt{animation:hx2-tt 12s ease-in-out infinite}
@keyframes hx2-tt{0%{transform:translateY(0px)}15%{transform:translateY(0px)}28%{transform:translateY(-45px)}100%{transform:translateY(-45px)}}
.hx2-base{stroke-dasharray:300}
.hx2-base{animation:hx2-base 12s linear infinite}
@keyframes hx2-base{0%{stroke-dashoffset:300}1%{stroke-dashoffset:300}4%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hx2-c{animation:hx2-c 12s linear infinite}
@keyframes hx2-c{0%{opacity:0}4%{opacity:0}5%{opacity:1}100%{opacity:1}}
.hx2-arc{stroke-dasharray:472}
.hx2-arc{animation:hx2-arc 12s linear infinite}
@keyframes hx2-arc{0%{stroke-dashoffset:472}5%{stroke-dashoffset:472}10%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
.hx2-d{animation:hx2-d 12s linear infinite}
@keyframes hx2-d{0%{opacity:0}10%{opacity:0}12%{opacity:1}100%{opacity:1}}
.hx2-t0{opacity:1}
.hx2-t0{animation:hx2-t0 12s linear infinite}
@keyframes hx2-t0{0%{opacity:1}20.5%{opacity:1}22.5%{opacity:0}100%{opacity:0}}
.hx2-t1{opacity:0}
.hx2-t1{animation:hx2-t1 12s linear infinite}
@keyframes hx2-t1{0%{opacity:0}20.5%{opacity:0}22.5%{opacity:1}100%{opacity:1}}
@media (prefers-reduced-motion: reduce){.hx2-g,.hx2-sp,.hx2-hl,.hx2-tl,.hx2-tr,.hx2-tt,.hx2-base,.hx2-c,.hx2-arc,.hx2-d,.hx2-all,.hx2-t0,.hx2-t1{animation:none !important}}

@media (max-width: 640px) {
  .stage { aspect-ratio: 4 / 3; }
  .stage-label { top: 12px; left: 14px; font-size: 11px; }
  .fit-row { gap: 10px; padding: 28px 12px 0; }
  .fit-item { gap: 10px; } .fit-item .ph { height: 64px; }
  .fit-item .tag { font-size: 11px; padding: 1px 5px; }
  .cut-caption { display: none; }
  .cutter .spin-arrow { top: -16px; width: 22px; }
  .chips span { width: 3px; height: 3px; }
  .tabs3 a { padding: 12px 10px; } .tabs3 .s { display: none; } .tabs3 .t { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase *, .showcase *::before, .showcase *::after { animation: none !important; }
  .hs { opacity: 0; } .hs1 { opacity: 1; } .ht1, .ht2, .ht3 { opacity: 1; }
}
