/* Homepage "Who we are" band: the demo panel takes turns (2026-11-04, Chris; mock-up claude.ai/artifact/9ggVBU2N94fDC7yxaanLFz). Behavior: js/who-panel.js */
/* ===== phase 2: the panel takes turns ===== */
.h7 .fw { position: relative; }
.h7 .fw-bar .url { transition: opacity .25s; }
.h7 .fw-views { position: relative; min-height: 392px; margin-top: 12px; }
.h7 .fv { transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), filter .45s; }
.h7 .fv:not(.on) { opacity: 0; transform: scale(.97); filter: blur(6px); pointer-events: none; }
.h7 .fv-demo { display: flex; flex-direction: column; gap: 10px; }
.h7 .fv-new, .h7 .fv-top { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: rgba(3,7,22,.45); border: 1px solid rgba(167,139,250,.22); }
.h7 .fw-tabs { display: flex; gap: 6px; margin-top: 12px; }
.h7 .fw-tabs button { flex: 1; position: relative; overflow: hidden; font: 700 12.5px var(--body); color: #c3cbe8; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 8px; cursor: pointer; }
.h7 .fw-tabs button[aria-selected="true"] { color: #fff; border-color: rgba(167,139,250,.7); background: rgba(167,139,250,.14); }
.h7 .fw-tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, #67e8f9, #a78bfa); }
.h7 .fw-tabs button:focus-visible { outline: 3px solid #67e8f9; outline-offset: 2px; }
/* shared header inside C / D */
.h7 .xhd { position: absolute; left: 0; right: 0; top: 0; z-index: 5; padding: 12px 14px 0; }
.h7 .xhd .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.h7 .xk { font: 800 11px var(--mono); letter-spacing: 1.4px; color: #a9b4d6; text-transform: uppercase; }
.h7 .xc { font: 700 11px var(--body); padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #c3cbe8; white-space: nowrap; transition: all .4s; }
.h7 .xc.hot { background: linear-gradient(90deg, #7c3aed, #db2777); color: #fff; box-shadow: 0 0 16px -2px rgba(168,85,247,.7); }
.h7 .xn { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.h7 .xb { font: 800 30px/1 var(--disp); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.h7 .xb small { font: 600 13px var(--body); color: #a9b4d6; margin-left: 6px; letter-spacing: 0; }
.h7 .xb.r { color: #c4b5fd; text-shadow: 0 0 16px rgba(168,85,247,.55); }
.h7 .xbar { position: relative; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 9px; }
.h7 .xbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #22d3ee, #a855f7); transition: width .3s linear; }
.h7 .xsteps { display: flex; gap: 5px; margin-top: 9px; } .h7 .xsteps i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.h7 .xsteps i::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #22d3ee, #a855f7); transition: transform .5s; } .h7 .xsteps i.on::after { transform: scaleX(1); }
.h7 .tl { border-radius: 9px; overflow: hidden; background: #e0e7ff; display: grid; place-items: center; font: 800 14px var(--body); color: #1e1b4b; }
.h7 .tl img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* clickable: same look at rest; a lift + ring on hover and keyboard focus */
.h7 a.res { text-decoration: none; color: inherit; cursor: pointer; }
.h7 a.res.on:hover { border-color: rgba(167,139,250,.75); background: rgba(255,255,255,.11); transform: translateY(-2px); }
.h7 a.res:focus-visible, .h7 a.card:focus-visible, .h7 a.star:focus-visible { outline: 3px solid #67e8f9; outline-offset: 2px; }
.h7 a.card { text-decoration: none; color: inherit; cursor: pointer; }
.h7 a.card.show:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 2px #c4b5fd, 0 0 26px -2px rgba(168,85,247,1); }
.h7 a.star { cursor: pointer; }
.h7 a.star.on:hover { transform: scale(1.35); z-index: 6; box-shadow: 0 0 0 3px rgba(196,181,253,.6), 0 0 22px rgba(168,85,247,1); }
/* C: the check line */
.h7 .shelf { position: absolute; left: 12px; right: 12px; top: 92px; height: 100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.h7 .slot { border-radius: 10px; border: 1px dashed rgba(167,139,250,.3); background: rgba(167,139,250,.04); position: relative; overflow: hidden; }
.h7 .card { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid rgba(168,85,247,.7); box-shadow: 0 0 20px -4px rgba(168,85,247,.85); opacity: 0; transform: translateY(30px) scale(.8); transition: all .5s cubic-bezier(.2,.9,.3,1.3); }
.h7 .card.show { opacity: 1; transform: none; }
.h7 .card .ss { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.h7 .card .ssf { flex: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #7c3aed, #1e1b4b); }
.h7 .card .ssf .tl { width: 38px; height: 38px; }
.h7 .card .cb { display: flex; align-items: center; gap: 5px; padding: 4px 6px; background: #111827; font: 700 10.5px var(--body); color: #fff; white-space: nowrap; overflow: hidden; }
.h7 .card .cb .tl { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.h7 .card .cb b { overflow: hidden; text-overflow: ellipsis; }
.h7 .slab { position: absolute; left: 12px; top: 198px; font: 800 10px var(--mono); letter-spacing: 1.4px; color: #c4b5fd; }
.h7 .belt { position: absolute; left: 0; right: 0; top: 236px; height: 52px; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px); }
.h7 .beam { position: absolute; left: 50%; top: 222px; height: 82px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, transparent, #22d3ee, #a855f7, transparent); box-shadow: 0 0 14px 2px rgba(168,85,247,.6); z-index: 3; }
.h7 .beam::after { content: "AIME CHECK"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font: 800 9px var(--mono); letter-spacing: 1.4px; color: #c4b5fd; white-space: nowrap; }
.h7 .it { position: absolute; top: 242px; width: 40px; height: 40px; z-index: 2; }
.h7 .it .tl { width: 100%; height: 100%; }
.h7 .it.done { filter: grayscale(1) brightness(.6); }
.h7 .it.win { transition: transform .6s cubic-bezier(.3,.8,.3,1), opacity .6s; }
.h7 .tlab { position: absolute; left: 12px; top: 304px; font: 800 10px var(--mono); letter-spacing: 1.4px; color: #a9b4d6; }
.h7 .tray { position: absolute; left: 12px; right: 12px; top: 320px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 3px; align-content: flex-start; overflow: hidden; }
.h7 .tray i { width: 8px; height: 8px; border-radius: 2px; background: rgba(148,163,184,.35); }
.h7 .tray i.w { background: #a855f7; box-shadow: 0 0 6px #a855f7; }
/* D: the proving ladder */
.h7 .sky { position: absolute; left: 0; right: 0; top: 84px; bottom: 6px; }
.h7 .sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.h7 .core { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; z-index: 3; background: radial-gradient(circle at 35% 30%, #312e81, #0b1023); border: 2px solid rgba(167,139,250,.6); box-shadow: 0 0 28px rgba(168,85,247,.6); font: 800 9.5px var(--mono); letter-spacing: 1px; color: #e9d5ff; }
.h7 .star { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 4; border-radius: 50%; border: 2px solid #a855f7; box-shadow: 0 0 0 3px rgba(168,85,247,.22), 0 0 16px rgba(168,85,247,.9); opacity: 0; transform: scale(0); transition: opacity .3s, transform .45s cubic-bezier(.2,.9,.3,1.6); }
.h7 .star.on { opacity: 1; transform: scale(1); } .h7 .star .tl { width: 100%; height: 100%; border-radius: 50%; }
.h7 .star.ep { border-color: #fbbf24; box-shadow: 0 0 0 3px rgba(251,191,36,.25), 0 0 16px rgba(251,191,36,.8); }
.h7 .cap { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%) translateY(6px); z-index: 6; display: flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px; background: rgba(17,24,39,.88); border: 1px solid rgba(168,85,247,.55); opacity: 0; transition: opacity .25s, transform .25s; white-space: nowrap; font: 600 12px var(--body); color: #fff; }
.h7 .cap.on { opacity: 1; transform: translateX(-50%); }
.h7 .cap .tl { width: 20px; height: 20px; border-radius: 6px; } .h7 .cap em { font-style: normal; font-weight: 800; color: #c4b5fd; } .h7 .cap span { color: #a9b4d6; font-size: 11px; }
@media (max-width: 600px) {
  .h7 .shelf { grid-template-columns: repeat(3, 1fr); } .h7 .shelf .slot:nth-child(4) { display: none; }
  .h7 .xb { font-size: 22px; white-space: nowrap; } .h7 .xb small { font-size: 10.5px; margin-left: 4px; } .h7 .xc { font-size: 9.5px; padding: 3px 7px; } .h7 .xk { font-size: 9.5px; letter-spacing: 1px; }
  .h7 .fw-tabs button { font-size: 11px; padding: 7px 2px; white-space: nowrap; }
  .h7 .fw-bar .url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .h7 .cap span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .h7 .fv, .h7 .card, .h7 .star, .h7 .cap { transition: none !important; } }
