/* WHY CHOOSE CLICKWAVE? Hologram Core (Enzo, Creative Direction; Boss-approved 2026-10-17 10:26 PHT).
   Ported from handoff/why-choose-clickwave/section.html: classes/keyframes namespaced cwy-, inline <style>/<script>/style="" removed,
   fonts reuse the site's Montserrat + Anton subset ("Anton PF", declared in pf-entrances.css), official logo unaltered (resized webp only).
   Loops sit on #0A0D13 without alpha, so every media window is exactly #0A0D13. Motion = linear rotation / sine float only. */
.cwy { --cwy-red: #EC0911; --cwy-blue: #0189F7; --cwy-cyan: #38E1FF; --cwy-bg: #0A0D13; --cwy-ease: cubic-bezier(.22, .61, .36, 1);
  position: relative; isolation: isolate; overflow: hidden; color: #E8EEF8; font-family: Montserrat, system-ui, sans-serif; padding: 88px 40px 104px;
  background: radial-gradient(900px 600px at 50% 46%, rgba(1, 137, 247, .13), transparent 70%), radial-gradient(700px 380px at 50% 100%, rgba(236, 9, 17, .08), transparent 70%), #05080F; }
.cwy::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(56, 225, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 225, 255, .045) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent); mask: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent); }
.cwy .cwy-h { position: relative; margin: 0 0 56px; text-align: center; font-family: Impact, "Anton PF", Anton, "Arial Narrow", sans-serif; font-weight: 400; font-size: clamp(3.2rem, 6.2vw, 5.5rem); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #E8EEF8; }
.cwy .cwy-h span { background: linear-gradient(180deg, #a8e0ff, var(--cwy-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(1, 137, 247, .5)); }
.cwy-stage { position: relative; max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 430px 1fr 430px; grid-template-rows: auto auto auto;
  grid-template-areas: "p1 core p3" "p2 core p4" ". p5 ."; gap: 36px 40px; align-items: center; }
.cwy-p1 { grid-area: p1; } .cwy-p2 { grid-area: p2; } .cwy-p3 { grid-area: p3; } .cwy-p4 { grid-area: p4; } .cwy-p5 { grid-area: p5; justify-self: center; width: 430px; }

/* beams */
.cwy-beams { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cwy-beam { fill: none; stroke: url(#cwyBeam); stroke-width: 1.6; stroke-linecap: round; opacity: .55; transition: stroke-dashoffset .75s var(--cwy-ease), opacity .45s ease, stroke-width .45s ease; }
.cwy-beam.is-on { opacity: 1; stroke-width: 3; filter: drop-shadow(0 0 6px rgba(56, 225, 255, .9)); }
.cwy-spark { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; opacity: 0; stroke-dasharray: 10 2000; transition: opacity .3s ease; }
.cwy-spark.is-on { opacity: .95; animation: cwySpark 1.4s linear infinite; }
@keyframes cwySpark { from { stroke-dashoffset: 0; } to { stroke-dashoffset: var(--neg); } }

/* core */
.cwy-core { grid-area: core; position: relative; z-index: 2; justify-self: center; width: 440px; aspect-ratio: 1; }
.cwy-core > * { position: absolute; }
.cwy-halo { inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(56, 225, 255, .2), rgba(1, 137, 247, .12) 38%, rgba(236, 9, 17, .07) 55%, transparent 68%); animation: cwyBreath 6s ease-in-out infinite; }
.cwy-rings { inset: 0; width: 100%; height: 100%; overflow: visible; }
.cwy-rot { transform-origin: 220px 220px; transform-box: view-box; }
.cwy-r1 { animation: cwySpin 60s linear infinite; } .cwy-r2 { animation: cwySpin 38s linear infinite reverse; }
.cwy-r3 { animation: cwySpin 24s linear infinite; } .cwy-r4 { animation: cwySpin 90s linear infinite reverse; }
@keyframes cwySpin { to { transform: rotate(360deg); } }
@keyframes cwyBreath { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.cwy-orbit { left: 12.5%; top: 12.5%; width: 75%; height: 75%; transform: rotateX(74deg) rotateZ(0); transform-style: preserve-3d; }
.cwy-o { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(56, 225, 255, .45); box-shadow: 0 0 18px rgba(56, 225, 255, .35), inset 0 0 18px rgba(1, 137, 247, .3); animation: cwySpin 14s linear infinite; }
.cwy-o::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px var(--cwy-cyan); }
.cwy-orbit--b { left: 5.7%; top: 5.7%; width: 88.6%; height: 88.6%; transform: rotateX(74deg) rotateY(-14deg); }
.cwy-orbit--b .cwy-o { border-color: rgba(236, 9, 17, .45); box-shadow: 0 0 18px rgba(236, 9, 17, .35); animation-duration: 22s; animation-direction: reverse; }
.cwy-orbit--b .cwy-o::after { box-shadow: 0 0 12px 3px var(--cwy-red); }
.cwy-plinth { left: 22%; right: 22%; bottom: 16%; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 225, 255, .45), rgba(1, 137, 247, .15) 60%, transparent); filter: blur(3px); }
.cwy-logo { left: 28.5%; top: 28.5%; width: 43%; height: auto; animation: cwyFloat 6s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(1, 137, 247, .55)) drop-shadow(0 0 8px rgba(236, 9, 17, .35)); }
@keyframes cwyFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.cwy-parts { inset: 8%; border-radius: 50%; overflow: hidden; -webkit-mask: radial-gradient(circle, #000 55%, transparent 72%); mask: radial-gradient(circle, #000 55%, transparent 72%); }
.cwy-parts i { position: absolute; left: var(--x); bottom: -4%; width: var(--s); height: var(--s); border-radius: 50%; background: #bfefff; box-shadow: 0 0 8px 2px rgba(56, 225, 255, .7); opacity: 0; animation: cwyRise var(--d) linear var(--dl) infinite; }
.cwy-parts i:nth-child(3n) { background: #ffd0d2; box-shadow: 0 0 8px 2px rgba(236, 9, 17, .7); }
/* particle placement (was inline style="" in the mockup) */
.cwy-parts i:nth-child(1) { --x: 18%; --d: 7s; --s: 3px; --dl: 0s; } .cwy-parts i:nth-child(2) { --x: 27%; --d: 9s; --s: 2px; --dl: 1.4s; }
.cwy-parts i:nth-child(3) { --x: 35%; --d: 8s; --s: 3px; --dl: 3.1s; } .cwy-parts i:nth-child(4) { --x: 44%; --d: 10s; --s: 2px; --dl: .6s; }
.cwy-parts i:nth-child(5) { --x: 52%; --d: 7.5s; --s: 3px; --dl: 2.2s; } .cwy-parts i:nth-child(6) { --x: 60%; --d: 9.5s; --s: 2px; --dl: 4s; }
.cwy-parts i:nth-child(7) { --x: 68%; --d: 8s; --s: 3px; --dl: 1s; } .cwy-parts i:nth-child(8) { --x: 76%; --d: 10s; --s: 2px; --dl: 2.8s; }
.cwy-parts i:nth-child(9) { --x: 83%; --d: 7s; --s: 2px; --dl: 5s; } .cwy-parts i:nth-child(10) { --x: 31%; --d: 11s; --s: 2px; --dl: 6s; }
.cwy-parts i:nth-child(11) { --x: 57%; --d: 12s; --s: 3px; --dl: 3.6s; } .cwy-parts i:nth-child(12) { --x: 72%; --d: 9s; --s: 2px; --dl: 6.4s; }
.cwy-parts i:nth-child(13) { --x: 40%; --d: 8.5s; --s: 2px; --dl: 4.8s; } .cwy-parts i:nth-child(14) { --x: 64%; --d: 7s; --s: 3px; --dl: .3s; }
@keyframes cwyRise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translateY(-330px); opacity: 0; } }

/* panels */
.cwy-pnl { position: relative; z-index: 3; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; padding: 14px 22px 14px 14px; min-height: 228px; outline: none; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, rgba(1, 137, 247, .1), rgba(10, 13, 19, .92) 45%, rgba(236, 9, 17, .06)), var(--cwy-bg);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: inset 0 0 0 1px rgba(56, 225, 255, .28);
  opacity: 0; transform: translateY(16px) scale(.96); filter: blur(6px) brightness(1.8);
  transition: opacity .7s var(--cwy-ease), transform .8s var(--cwy-ease), filter .8s var(--cwy-ease), box-shadow .5s ease; }
.cwy--in .cwy-pnl { opacity: 1; transform: none; filter: none; }
.cwy-pnl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(56, 225, 255, .35), transparent); transform: translateY(-110%); pointer-events: none; }
.cwy--in .cwy-pnl::before { animation: cwyMat 1s var(--cwy-ease) both; animation-delay: inherit; }
@keyframes cwyMat { from { transform: translateY(-110%); } to { transform: translateY(360%); } }
.cwy-cn { position: absolute; width: 16px; height: 16px; border: 2px solid var(--cwy-cyan); opacity: .7; }
.cwy-cn--tl { left: 20px; top: 6px; border-right: 0; border-bottom: 0; } .cwy-cn--br { right: 20px; bottom: 6px; border-left: 0; border-top: 0; }
.cwy-pnl.is-on { transform: translateY(-8px); box-shadow: inset 0 0 0 1px rgba(56, 225, 255, .75), 0 0 34px rgba(1, 137, 247, .45), 0 0 60px -10px rgba(236, 9, 17, .35);
  background: linear-gradient(135deg, rgba(1, 137, 247, .2), rgba(10, 13, 19, .88) 45%, rgba(236, 9, 17, .1)), var(--cwy-bg); }
.cwy-pnl:focus-visible { box-shadow: inset 0 0 0 2px var(--cwy-cyan), 0 0 34px rgba(1, 137, 247, .45); }
.cwy-vid { position: relative; width: 170px; aspect-ratio: 425 / 600; overflow: hidden; border-radius: 6px; background: var(--cwy-bg); box-shadow: 0 0 0 1px rgba(56, 225, 255, .18); }
.cwy-vid img, .cwy-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--cwy-bg); }
.cwy-vid img { opacity: .38; filter: grayscale(.8) brightness(.6); transition: opacity .5s ease, filter .5s ease; }
.cwy-vid video { opacity: 0; transform: scale(.94); transition: opacity .5s ease, transform .7s var(--cwy-ease); pointer-events: none; }
.cwy-pnl.is-on .cwy-vid img { opacity: 1; filter: none; }
.cwy-pnl.is-on .cwy-vid video.is-ready { opacity: 1; transform: none; }
.cwy-txt { min-width: 0; }
.cwy-n { font-family: Impact, "Anton PF", Anton, sans-serif; font-size: 20px; line-height: 1.1; letter-spacing: .08em; color: var(--cwy-red); }
.cwy-n--b { color: var(--cwy-blue); }
.cwy .cwy-txt h3 { margin: 4px 0 10px; font-family: Impact, "Anton PF", Anton, sans-serif; font-weight: 400; font-size: 29px; line-height: 1.04; letter-spacing: .01em; text-transform: uppercase; color: #E8EEF8; }
.cwy .cwy-txt p { margin: 0; max-width: none; font-size: 16.5px; line-height: 1.5; color: #B4C4DA; font-weight: 500; }
.cwy--off *, .cwy--off *::before, .cwy--off *::after { animation-play-state: paused !important; }

/* Boss 11:25 PHT: hover / keyboard focus enlarges the card (desktop, fine pointer only). Uses the individual `scale`
   property so the reveal transform/transition is untouched; ~300 ms ease-out; raised above neighbours, beams and the core.
   Left column grows from its left edge, right column from its right edge, the bottom card from its bottom centre, so
   nothing is pushed off-screen. No permanent will-change: Chrome re-rasterises at the final scale, keeping text crisp. */
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
  .cwy-pnl { scale: 1; transition: opacity .7s var(--cwy-ease), transform .8s var(--cwy-ease), filter .8s var(--cwy-ease), box-shadow .3s ease-out, scale .3s cubic-bezier(.16, 1, .3, 1); backface-visibility: hidden; }
  .cwy-p1, .cwy-p2 { transform-origin: 0% 50%; } .cwy-p3, .cwy-p4 { transform-origin: 100% 50%; } .cwy-p5 { transform-origin: 50% 100%; }
  .cwy--in .cwy-pnl.is-on { z-index: 6; transform: none; scale: 1.2;
    box-shadow: inset 0 0 0 2px #5FE6FF, inset 0 0 26px rgba(95, 230, 255, .32), inset 0 0 70px -20px rgba(1, 137, 247, .55); }
}
@media (max-width: 1180px) {
  .cwy-stage { grid-template-columns: 360px 1fr 360px; gap: 30px 24px; } .cwy-core { width: 360px; } .cwy-p5 { width: 360px; }
  .cwy-pnl { grid-template-columns: 120px 1fr; } .cwy-vid { width: 120px; } .cwy .cwy-txt h3 { font-size: 26px; }
}
@media (max-width: 1080px) { /* 1024: keep the core between the columns without overflow */
  .cwy { padding-left: 20px; padding-right: 20px; }
  .cwy-stage { grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); gap: 26px 18px; } .cwy-core { width: 300px; } .cwy-p5 { width: min(400px, 100%); }
  .cwy-pnl { grid-template-columns: 104px 1fr; gap: 14px; min-height: 200px; } .cwy-vid { width: 104px; } .cwy .cwy-txt h3 { font-size: 23px; } .cwy .cwy-txt p { font-size: 15px; }
}
@media (max-width: 900px) {
  .cwy { padding: 56px 16px 64px; } .cwy .cwy-h { font-size: 54px; margin-bottom: 24px; }
  .cwy-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "core" "p1" "p2" "p3" "p4" "p5"; gap: 14px; }
  .cwy-core { width: min(320px, 86vw); } .cwy-p5 { width: auto; justify-self: stretch; }
  .cwy-beams { display: none; }
  .cwy-pnl { grid-template-columns: 104px 1fr; min-height: 0; gap: 16px; padding: 12px 16px 12px 12px; cursor: pointer; }
  .cwy-vid { width: 104px; }
  .cwy-pnl.is-on { grid-template-columns: 1fr; transform: none; }
  .cwy-pnl.is-on .cwy-vid { width: 100%; max-width: 340px; max-height: 480px; margin: 0 auto; }
  .cwy .cwy-txt h3 { font-size: 25px; } .cwy .cwy-txt p { font-size: 15.5px; }
}
@media (max-width: 380px) { .cwy .cwy-h { font-size: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .cwy *, .cwy *::before, .cwy *::after { animation: none !important; transition: none !important; }
  .cwy-pnl { opacity: 1; transform: none; filter: none; } .cwy-vid video { display: none; } .cwy-parts { display: none; }
  .cwy-pnl, .cwy--in .cwy-pnl.is-on { scale: none; }
}
