/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 18, 26, .92) 0%, rgba(12, 18, 26, .7) 45%, rgba(12, 18, 26, .2) 100%), linear-gradient(0deg, rgba(12, 18, 26, .95) 0%, transparent 40%); }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -1%); } }
.hero-sparks { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 30%, rgba(200, 16, 46, .35), transparent 40%); mix-blend-mode: screen; animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .4; } to { opacity: 1; } }
.hero-in { padding: 180px 0 60px; max-width: 1240px; }
.hero-title { color: #fff; font-size: clamp(2.7rem, 7vw, 6rem); max-width: 14ch; margin-bottom: 22px; }
.hero-title span { display: block; font-size: .42em; letter-spacing: .08em; color: #ff5a6e; margin-top: 14px; }
.hero-lead { max-width: 60ch; font-size: 1.1rem; color: #d6dde5; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(12, 18, 26, .55); backdrop-filter: blur(8px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font: 700 2.6rem/1 var(--head); color: #fff; }
.stat span { font-size: .88rem; color: #aeb9c5; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-soft { background: var(--steel); }
.section-dark { background: linear-gradient(135deg, var(--ink), var(--navy-2)); color: #c8d1db; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--mute); font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* Filters + machine cards */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font: 600 .9rem/1 var(--body); color: var(--ink); cursor: pointer; transition: all .25s; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mgrid-3 { grid-template-columns: repeat(3, 1fr); }
.mcard { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, opacity .8s var(--ease); }
.mcard.is-hidden { display: none; }
@media (hover: hover) and (pointer: fine) { .mcard:hover { box-shadow: var(--shadow); border-color: transparent; } }
.mcard-link { display: flex; flex-direction: column; height: 100%; }
.mcard-img { position: relative; aspect-ratio: 5 / 4; background: #fff; overflow: hidden; }
.mcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .7s var(--ease); }
@media (hover: hover) and (pointer: fine) { .mcard:hover .mcard-img img { transform: scale(1.07); } }
.badge { position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--red); color: #fff; font: 700 .78rem/1 var(--head); letter-spacing: .12em; padding: 7px 10px; border-radius: 6px; }
.mcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.mcard-cat { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mcard h3 { margin: 6px 0 14px; font-size: 1.35rem; }
.mcard-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 12px 0; border-block: 1px solid var(--line); }
.mcard-keys dt { font-size: .68rem; color: var(--mute); line-height: 1.3; }
.mcard-keys dd { margin: 0; font: 700 1.1rem/1.1 var(--head); color: var(--ink); }
.mcard-keys div { display: flex; flex-direction: column-reverse; gap: 4px; }
.mcard-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.mcard-more .ico { transition: transform .3s; }
@media (hover: hover) and (pointer: fine) { .mcard:hover .mcard-more .ico { transform: translateX(5px); } }

/* Spotlight */
.spotlight { background: var(--ink); color: #c8d1db; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; position: relative; }
.spotlight::before { content: "RAPTOR"; position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font: 800 22vw/1 var(--head); color: rgba(255, 255, 255, .03); pointer-events: none; }
.spot-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.spot-img { background: #fff; border-radius: 24px; padding: 28px; overflow: hidden; }
.spot-img img { will-change: transform; }
.spot-text h2 { color: #fff; }
.spot-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
.spot-nums div { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 16px 18px; }
.spot-nums strong { font: 700 2.4rem/1 var(--head); color: #fff; }
.spot-nums span { font: 600 1.1rem var(--head); color: #ff5a6e; margin-left: 4px; }
.spot-nums small { display: block; font-size: .8rem; color: #96a3b1; margin-top: 4px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc { position: relative; border-radius: var(--radius); padding: 26px 22px; background: var(--steel); overflow: hidden; transition: background .35s, color .35s, transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .svc:hover { background: var(--ink); color: #c8d1db; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .svc:hover h3 { color: #fff; } }
.svc-num { position: absolute; right: 16px; top: 12px; font: 800 2.6rem/1 var(--head); color: rgba(18, 26, 36, .07); }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc-num { color: rgba(255, 255, 255, .08); } }
.svc-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; margin-bottom: 18px; }
.svc-ico .ico { width: 26px; height: 26px; }
.svc h3 { font-size: 1.3rem; }
.svc p { font-size: .92rem; margin: 0; }

/* Video slot */
.video-slot { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); aspect-ratio: 16 / 10; background: #000; }
.video-slot img, .video-slot video { width: 100%; height: 100%; object-fit: cover; }
.video-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); color: #fff; font: 600 1.05rem var(--head); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.has-video .video-cap { display: none; }

/* Parts marquee */
.parts-strip { overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); margin-bottom: 40px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
.marquee figure { margin: 0; width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.marquee img { width: 150px; height: 120px; object-fit: contain; margin: 0 auto 10px; }
.marquee figcaption { font: 600 .95rem/1.2 var(--head); text-transform: uppercase; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red-d), var(--red) 60%, #e0213f); color: #ffe3e7; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.cta-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow-light { color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

@media (max-width: 1180px) {
	.mgrid { grid-template-columns: repeat(3, 1fr); }
	.svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
	.mgrid, .mgrid-3 { grid-template-columns: repeat(2, 1fr); }
	.svc-grid { grid-template-columns: repeat(2, 1fr); }
	.split, .spot-in, .cta-in { grid-template-columns: 1fr; }
	.cta-actions { justify-content: flex-start; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
	.mgrid, .mgrid-3, .svc-grid { grid-template-columns: 1fr; }
	.hero-in { padding-top: 150px; }
	.hero-actions .btn { width: 100%; }
	.stat { padding: 16px 12px; }
	.stat strong { font-size: 2rem; }
	.spot-nums strong { font-size: 2rem; }
}
