/* Knowledge Chaos Calculator: hero card + office wall clock.
   Shared by the industry pages (hero card) and the homepage (calculator block).
   Markup: <div class="cw-clock" aria-hidden="true"></div> — chaos-clock.js fills and animates it.
   Stopwatch: big orange hand = seconds, top subdial = minutes (30-minute dial). */

.cw-clock{position:absolute;box-sizing:border-box;width:124px;height:124px;border-radius:50%;border:7px solid transparent;background:radial-gradient(circle at 38% 32%,#fff,var(--cw-gray-100) 62%,var(--cw-gray-300)) padding-box,conic-gradient(from 210deg,var(--cw-gray-200),var(--cw-gray-500),var(--cw-gray-50),var(--cw-gray-600),var(--cw-gray-300),var(--cw-gray-200)) border-box;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 18px 30px rgba(0,0,0,.6),inset 0 4px 10px rgba(0,0,0,.25);transform:scale(var(--s,1));transform-origin:100% 0}
.cw-clock .crown{position:absolute;left:50%;top:-24px;width:20px;height:10px;margin-left:-10px;border-radius:3px;background:linear-gradient(90deg,var(--cw-gray-500),var(--cw-gray-50) 45%,var(--cw-gray-500));box-shadow:0 2px 3px rgba(0,0,0,.5)}
.cw-clock .crown::after{content:"";position:absolute;left:6px;top:10px;width:8px;height:7px;background:linear-gradient(90deg,var(--cw-gray-600),var(--cw-gray-200),var(--cw-gray-600))}
.cw-clock .crown{transition:transform .12s ease-out}
.cw-clock .crown.down{transform:translateY(4px)}
.cw-clock .pusher{position:absolute;left:89px;top:-3px;width:13px;height:8px;border-radius:2px;transform:rotate(45deg);transition:transform .12s ease-out;background:linear-gradient(180deg,var(--cw-gray-100),var(--cw-gray-500));box-shadow:0 2px 3px rgba(0,0,0,.45)}
.cw-clock .pusher.down{transform:rotate(45deg) translateY(3px)}
.cw-clock .ticks{position:absolute;inset:3px;border-radius:50%;background:repeating-conic-gradient(from -.8deg,var(--cw-gray-800) 0 1.6deg,transparent 1.6deg 30deg),repeating-conic-gradient(from -.3deg,var(--cw-gray-500) 0 .6deg,transparent .6deg 6deg);-webkit-mask:radial-gradient(closest-side,transparent 86%,#000 87%);mask:radial-gradient(closest-side,transparent 86%,#000 87%)}
.cw-clock .sub{position:absolute;left:50%;top:20px;width:34px;height:34px;margin-left:-17px;border-radius:50%;background:var(--cw-gray-50);border:1px solid var(--cw-gray-300);box-shadow:inset 0 1px 3px rgba(0,0,0,.25)}
.cw-clock .wedge{position:absolute;inset:2px;border-radius:50%;background:conic-gradient(rgba(241,90,2,.6) 0 var(--a,0deg),transparent var(--a,0deg))}
.cw-clock .hand{position:absolute;left:50%;bottom:50%;transform-origin:50% 100%;border-radius:2px}
.cw-clock .hm{width:2px;height:14px;margin-left:-1px;background:var(--cw-gray-900)}
.cw-clock .hs{width:2px;height:48px;margin-left:-1px;background:var(--cw-orange)}
.cw-clock .pin{position:absolute;left:50%;top:50%;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:var(--cw-orange);box-shadow:0 0 0 2px #fff}
.cw-clock .rd{position:absolute;left:0;right:0;top:70px;text-align:center;font-size:9.5px;font-weight:800;letter-spacing:.1em;color:var(--cw-orange-600);font-variant-numeric:tabular-nums}

/* Hero card (industry pages) */
.hero .hgrid{grid-template-columns:minmax(0,1fr) 340px}
.hg{position:relative;background:linear-gradient(180deg,rgba(16,23,55,.78),rgba(8,12,26,.82));backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius-xl);padding:22px 22px 20px;box-shadow:0 30px 60px rgba(0,0,0,.4);overflow:hidden}
.hg .eyebrow{color:#ff9e63;font-size:12px}
.hg h2{font-family:var(--font-display);font-weight:500;font-size:22px;line-height:1.22;letter-spacing:-.02em;color:#fff;margin:10px 0 0;text-wrap:balance}
.hg .stage{position:relative;height:178px;margin:12px -6px 10px;overflow:hidden}
.hg .chaos{position:absolute;left:-8px;bottom:0;height:178px;width:auto;pointer-events:none;user-select:none;filter:drop-shadow(0 12px 18px rgba(0,0,0,.45))}
.hg .cw-clock{right:20px;top:18px;--s:.84}
.hg .basis{font-size:14px;color:var(--tx-dim);margin:0;text-align:center}
.hg .inv{color:#fff;font-size:15px;font-weight:600;line-height:1.5;margin:14px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.hg .btn{margin-top:14px;width:100%;justify-content:center}

/* Desktop: lift the card slightly; anchor the wave so its tip sits left of the card */
@media (min-width:1081px){
.hero .hgrid .hg{top:-28px}
.hero:has(.hg) .wv{right:auto;left:min(calc(50% + 108px),calc(100% - 512px))}
}
/* Tablet and down: card stacks under the copy */
@media (max-width:1080px){
.hero .hgrid{grid-template-columns:1fr;gap:0}
.hero .hgrid .inner{padding-bottom:40px}
.hg{width:100%;max-width:440px;margin-bottom:72px}
}
/* Phones: undo the sitewide hero-Chaos rules (tokens/responsive.css) for the card */
@media (max-width:760px){
.hero .hgrid .inner{padding-bottom:36px!important}
.hero .hg .chaos{display:block!important;left:-8px!important;right:auto!important;bottom:0!important;width:auto!important;height:100%!important}
.hg{margin-bottom:56px}
}
@media (max-width:400px){
.hg{padding:20px 18px 18px}
.hg h2{font-size:20px}
.hg .stage{height:150px}
.hg .cw-clock{--s:.7;right:12px;top:16px}
}
