/* The Human CTO product wheel (v11), Atlas brand */
.wheel { position: relative; }
.wheel-stage { position: relative; width: min(860px, 100%); aspect-ratio: 1; margin: 10px auto 0; }
.wheel-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ring.r1 { stroke: var(--orange); stroke-width: 2.2; opacity: .55; }
.ring.r2 { stroke: var(--teal); stroke-width: 1.8; opacity: .45; }
.wheel.live .ring { animation: wDraw 1.8s cubic-bezier(.3,.1,.2,1) forwards; }
.wheel.live .ring.r2 { animation-delay: .35s; }
@keyframes wDraw { to { stroke-dashoffset: 0; } }
.conn { stroke-width: 2.4; opacity: .8; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wDraw .6s ease-out forwards; }

/* Hub */
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 0; padding: 0; background: var(--paper); border-radius: 50%; cursor: pointer; display: grid; place-items: center; z-index: 3; }
.wheel-hub img { width: 78%; height: auto; mix-blend-mode: multiply; }
.hub-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-ring path { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wheel.live .hub-ring path { animation: wDraw 1.2s ease-out forwards; }
.wheel-hub:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

/* Nodes */
.area, .prod { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; border: 0; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 4; font: inherit; color: var(--ink); }
.wheel.live .area { animation: wPop .5s cubic-bezier(.3,1.4,.5,1) forwards; }
.prod { animation: wPop .45s cubic-bezier(.3,1.4,.5,1) forwards; z-index: 5; }
@keyframes wPop { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.disc { display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: visible; border: 2px solid var(--c); box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(22,22,22,.10); transition: transform .25s, background .25s, box-shadow .25s; }
.area .disc { width: clamp(66px, 11.5vw, 112px); aspect-ratio: 1; }
.prod .disc { width: clamp(50px, 7.6vw, 76px); aspect-ratio: 1; }
.spot { display: block; width: 86%; height: 86%; }
.spot svg { display: block; }
.lbl { font: 600 0.72rem/1.25 var(--display); letter-spacing: 1.2px; text-transform: uppercase; text-align: center; max-width: 150px; background: var(--paper); padding: 2px 6px; border-radius: 3px; }
.prod .lbl { font-size: 0.64rem; letter-spacing: 0.8px; max-width: 130px; }
.area:hover .disc, .area.on .disc, .prod:hover .disc { transform: scale(1.08); background: var(--paper-deep); }
.area.on .disc { box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--c); }
.area.on .lbl { color: var(--c); }
.area.dim { opacity: .45 !important; }
.area:focus-visible .disc, .prod:focus-visible .disc { outline: 2px solid var(--orange); outline-offset: 4px; }
.tip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--c); border-radius: 4px; padding: 10px 12px; font: 0.82rem/1.45 var(--body); color: var(--ink-soft); text-align: left; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 6; }
.area:hover .tip { opacity: 1; }
.area.on .tip { opacity: 0; }

/* Detail panel: laid out like an Atlas interior page */
.wheel-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--paper); border-left: 1px solid var(--rule); box-shadow: -18px 0 50px -30px rgba(60,40,0,.35); transform: translateX(104%); transition: transform .45s cubic-bezier(.3,.1,.2,1); z-index: 50; overflow-y: auto; outline: none; }
.wheel-panel.open { transform: none; }
.panel-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 4px; border: 1px solid var(--ink); background: var(--paper); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.panel-close:hover { background: var(--ink); color: var(--paper); }
.panel-body { padding: 34px 34px 40px; }
.p-head { display: flex; align-items: center; gap: 16px; padding-right: 44px; }
.p-ico { width: 86px; height: 86px; flex-shrink: 0; background: #fff; border: 2px solid var(--c); border-radius: 50%; display: grid; place-items: center; }
.p-head .eyebrow { margin-bottom: 6px; }
.p-title { font: 600 1.9rem/1.05 var(--display); letter-spacing: .5px; text-transform: uppercase; }
.p-sub { font: 600 1.1rem/1.3 var(--display); color: var(--teal); margin: 18px 0 10px; }
.p-lede { color: var(--ink-soft); margin: 0 0 20px; }
.p-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.p-stages .stage { padding: 14px 14px 16px; }
.p-stages .stage::before { background: var(--c); }
.p-stages .eyebrow { color: var(--teal); margin-bottom: 6px; }
.p-stages p { margin: 0; font-size: 0.92rem; color: var(--ink); }
.panel-body h4 { font: 500 1.05rem/1.35 var(--display); margin: 22px 0 6px; }
.panel-body > p:not(.p-sub):not(.p-lede) { color: var(--ink-soft); margin: 0; font-size: 0.97rem; }
.panel-body > p.p-sub { font: 600 1.1rem/1.3 var(--display); color: var(--teal); margin: 18px 0 10px; }
.panel-body > p.p-lede { color: var(--ink-soft); margin: 0 0 20px; }
.dels { list-style: none; margin: 8px 0 0; padding: 0; }
.dels li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.dels li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.size { font: 500 0.72rem/1.4 var(--body); letter-spacing: .5px; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; background: var(--paper-deep); color: var(--ink); }
.p-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.p-foot .by { font: 500 1rem/1.3 var(--display); margin: 4px 0 0; }

/* Phone: a list instead of a wheel */
.wheel-list { display: none; }
@media (max-width: 820px) {
  .wheel-stage { display: none; }
  .wheel-list { display: grid; gap: 10px; }
  .wl-area { background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--c); border-radius: 4px; }
  .wl-area summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
  .wl-area summary::-webkit-details-marker { display: none; }
  .wl-area .disc { width: 48px; height: 48px; flex-shrink: 0; box-shadow: none; }
  .wl-area b { display: block; font: 600 0.85rem/1.2 var(--display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--c); }
  .wl-area small { display: block; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.4; margin-top: 3px; }
  .wl-prods { display: grid; gap: 6px; padding: 0 14px 14px; }
  .wl-prod { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); font: 500 0.95rem var(--display); color: var(--ink); text-align: left; cursor: pointer; }
  .wl-spot { width: 44px; height: 44px; flex-shrink: 0; }
  .wl-spot .spot { width: 100%; height: 100%; }
}
.wheel.still .ring, .wheel.still .hub-ring path, .wheel.still .conn { stroke-dashoffset: 0 !important; animation: none !important; }
.wheel.still .area, .wheel.still .prod { opacity: 1; transform: translate(-50%, -50%); animation: none !important; }

/* Public teaser card: a hand-drawn box, short and sweet */
.teaser { position: absolute; z-index: 20; width: min(300px, 44%); padding: 20px 20px 18px; background: var(--paper); animation: tIn .35s ease-out; }
@keyframes tIn { from { opacity: 0; transform: translateY(6px); } }
.teaser-box { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.teaser-box path { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: wDraw .7s ease-out forwards; }
.teaser-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.teaser .eyebrow { margin: 0 0 6px; font-size: .68rem; }
.t-title { font: 600 1.15rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .4px; padding-right: 20px; }
.t-sub { font: 600 .92rem/1.3 var(--display); color: var(--teal); margin: 8px 0 8px; }
.t-note { font-size: .88rem; line-height: 1.5; color: var(--ink-soft); margin: 0 0 14px; }
.t-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.teaser.sheet { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; box-shadow: 0 -10px 40px -20px rgba(60,40,0,.4); }
