.cc-wrap {
	--cc-forest: #083F2A;
	--cc-yellow: #FFB700;
	--cc-char: #1F2326;
	--cc-mist: #CFE3D8;
	--cc-green: #0B5D3B;
	--cc-frame-height: clamp(220px,46svh,400px);
	--cc-stack: 1;
	--cc-cable-scale: 1;
	position: relative;
	width: 100%;
	height: auto;
	background: #FFF;
	font-family: Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
.cc-wrap, .cc-wrap *, .cc-wrap *::before, .cc-wrap *::after { box-sizing: border-box; }
.cc-pin { position: relative; width: 100%; height: auto; display: flex; align-items: center; justify-content: center; padding: 64px 0; overflow: visible; }
.cc-pin::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(11,93,59,.10) 2px,transparent 2px); background-size: 35px 35px; }
.cc-board { position: relative; z-index: 2; width: 90%; max-width: 1250px; min-height: 560px; display: flex; align-items: center; padding: 50px; overflow: hidden; border-radius: 35px; background: var(--cc-forest); box-shadow: 0 18px 36px rgba(0,0,0,.24); }
.cc-wrap .cc-text { position: relative; z-index: 50; width: 50%; }
.cc-wrap .cc-sub { display: inline-block; margin: 0 0 18px; padding-bottom: 6px; border-bottom: 3px solid var(--cc-yellow); color: var(--cc-yellow); font: 600 13px/1.2 Poppins,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.cc-wrap .cc-title { margin: 0 0 16px; color: #FFF; font: 700 clamp(28px,3.2vw,44px)/1.2 Poppins,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; letter-spacing: -.01em; }
.cc-wrap .cc-title span { color: var(--cc-yellow); }
.cc-wrap .cc-desc { max-width: 46ch; margin: 0; color: var(--cc-mist); font: 400 16px/1.65 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
.cc-stage { position: relative; width: 50%; min-height: 480px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: center; gap: 18px 12px; padding: 20px 0; }
.cc-arm { display: none; }
.cc-item { position: relative; min-width: 0; display: block; transform: none; }
.cc-rig { display: flex; flex-direction: column; align-items: center; transform-origin: top center; }
.cc-trolley { width: 20px; height: 10px; background: #3A4044; border: 2px solid #14181A; border-radius: 3px; }
.cc-cable { width: 3px; height: 28px; background: linear-gradient(to right,#666,#AAA,#444); }
.cc-hook { width: 24px; height: 16px; margin-bottom: -2px; background: #2B3033; border: 3px solid #14181A; border-top: 0; border-radius: 0 0 14px 14px; }
.cc-frame { position: relative; width: min(100%,180px); height: var(--cc-frame-height); max-height: 300px; background: var(--cc-char); border: 6px solid #14181A; border-bottom-width: 24px; border-radius: 9px; overflow: visible; box-shadow: -3px 8px 18px rgba(0,0,0,.38); transform: rotate(calc(var(--rot,0) * 1deg)); }
.cc-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 3px; background: #D9DCDA; }
.cc-frame::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -24px; height: 24px; border-radius: 0 0 6px 6px; background: repeating-linear-gradient(-45deg,var(--cc-yellow),var(--cc-yellow) 8px,var(--cc-char) 8px,var(--cc-char) 16px); }

.cc-crane-js { height: var(--cc-crane-height,600svh); }
.cc-crane-js .cc-pin { position: sticky; top: 0; height: 100svh; padding: 0; overflow: hidden; }
.cc-crane-js .cc-board { width: 90%; height: 78svh; min-height: 0; }
.cc-crane-js .cc-stage { position: absolute; top: 0; right: 0; width: 50%; height: 100%; min-height: 0; display: block; padding: 0; pointer-events: none; }
.cc-crane-js .cc-arm { position: absolute; top: 0; left: 0; right: 0; z-index: 1; display: block; height: 40px; background: var(--cc-char); border-bottom: 6px solid #14181A; box-shadow: 0 7px 14px rgba(0,0,0,.3); }
.cc-crane-js .cc-item { position: absolute; top: 0; left: calc(var(--ox) * var(--cc-stack) * 1px); z-index: calc(var(--i) + 5); width: 100%; height: 100%; display: flex; justify-content: center; padding-top: 34px; transform: translate3d(120%,0,0); }
.cc-crane-js .cc-rig { animation: cc-crane-swing 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); animation-play-state: paused; }
.cc-crane-js.cc-active .cc-item.cc-in .cc-rig { animation-play-state: running; }
.cc-crane-js .cc-trolley { width: 26px; height: 14px; }
.cc-crane-js .cc-cable { width: 4px; height: calc((var(--c) * 1px + 24px) * var(--cc-cable-scale)); }
.cc-crane-js .cc-hook { width: 30px; height: 22px; }
.cc-crane-js .cc-frame { width: calc(var(--cc-frame-height) * .78); height: var(--cc-frame-height); max-height: none; border: 8px solid #14181A; border-bottom-width: 30px; border-radius: 10px; box-shadow: -5px 12px 24px rgba(0,0,0,.38); }
.cc-crane-js .cc-frame::after { left: -8px; right: -8px; bottom: -30px; height: 30px; background: repeating-linear-gradient(-45deg,var(--cc-yellow),var(--cc-yellow) 15px,var(--cc-char) 15px,var(--cc-char) 30px); }
@keyframes cc-crane-swing { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

@media (max-width:1024px) {
	.cc-wrap { --cc-frame-height: clamp(150px,30svh,300px); --cc-stack: .35; --cc-cable-scale: .6; }
	.cc-pin { padding: 36px 0; }
	.cc-board { width: 92%; min-height: 0; flex-direction: column; align-items: stretch; padding: 22px 18px 16px; border-radius: 24px; }
	.cc-wrap .cc-text { width: 100%; flex: 0 0 auto; margin-bottom: 8px; text-align: center; }
	.cc-wrap .cc-sub { margin-bottom: 10px; padding-bottom: 4px; border-bottom-width: 2px; font-size: 11px; }
	.cc-wrap .cc-title { margin-bottom: 8px; font-size: clamp(24px,7vw,32px); }
	.cc-wrap .cc-desc { max-width: none; font-size: 14px; line-height: 1.55; }
	.cc-stage { width: 100%; min-height: 380px; grid-template-columns: repeat(3,minmax(0,1fr)); }
	.cc-frame { height: var(--cc-frame-height); }
	.cc-crane-js { height: var(--cc-crane-mobile-height,500svh); }
	.cc-crane-js .cc-pin { padding: 0; }
	.cc-crane-js .cc-board { height: 88svh; min-height: 0; padding: 22px 18px 16px; }
	.cc-crane-js .cc-stage { position: relative; top: auto; right: auto; flex: 1 1 auto; width: 100%; min-height: 0; height: auto; display: block; padding: 0; }
	.cc-crane-js .cc-arm { height: 22px; border-bottom-width: 4px; }
	.cc-crane-js .cc-item { padding-top: 16px; }
	.cc-crane-js .cc-frame { border-width: 6px; border-bottom-width: 24px; box-shadow: 0 7px 16px rgba(0,0,0,.38); }
	.cc-crane-js .cc-frame::after { left: -6px; right: -6px; bottom: -24px; height: 24px; background: repeating-linear-gradient(-45deg,var(--cc-yellow),var(--cc-yellow) 8px,var(--cc-char) 8px,var(--cc-char) 16px); }
	.cc-crane-js .cc-trolley { width: 20px; height: 10px; }
	.cc-crane-js .cc-hook { width: 24px; height: 16px; }
}
@media (max-width:1024px) and (max-height:640px) { .cc-wrap .cc-desc { display: none; } }
@media (max-width:600px) { .cc-wrap:not(.cc-crane-js) .cc-stage { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (prefers-reduced-motion:reduce) { .cc-wrap .cc-rig { animation: none !important; } }
