/* Home page: a tidy grid of product pictures drawn in HTML, in light and dark. */
.hx-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px}
.hx-7{grid-column:span 7}.hx-6{grid-column:span 6}.hx-5{grid-column:span 5}
.hx-tile{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .35s var(--ease),border-color .35s}
.hx-tile:hover{border-color:var(--line-hover);box-shadow:var(--shadow)}
.hx-stage{position:relative;height:310px;padding:26px;overflow:hidden;background-color:var(--bg2);background-image:radial-gradient(var(--dash) 1px,transparent 1.2px);background-size:18px 18px;border-bottom:1px solid var(--line);font:500 12.5px/1.45 Inter,system-ui,sans-serif;color:var(--text2);text-align:left;user-select:none}
.hx-stage *{box-sizing:border-box}
.hx-stage>div{display:flex;flex-direction:column;justify-content:center}.hx-stage>div>*{flex:none}
.hx-stage.bleed{padding-bottom:0}.hx-stage.bleed>div>*{flex:1;min-height:0}
.hx-copy{padding:22px 26px 24px}.hx-copy h3{margin:0 0 6px;font-size:20px;line-height:1.3}.hx-copy p{margin:0 0 12px;color:var(--text2);font-size:15px}
.hx-copy .lnk{display:inline-flex;align-items:center;gap:6px;font-size:14px}.hx-copy .lnk i{transition:transform .25s var(--ease)}.hx-tile:hover .lnk i{transform:translateX(3px)}

.hx-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm)}
.hx-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.hx-bar b{font-weight:600;font-size:13px;color:var(--text)}.hx-bar small{font-size:11.5px;color:var(--muted)}
.hx-row{display:flex;align-items:center;gap:11px;padding:11px 16px;border-top:1px solid var(--line);white-space:nowrap}.hx-bar+.hx-row{border-top:0}
.hx-who{min-width:0;flex:1}.hx-who b,.hx-who span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-who b{font-weight:600;color:var(--text);font-size:13px}.hx-who span{font-size:11.5px;color:var(--muted)}
.hx-face{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:11px;color:#fff;background:var(--c)}
.hx-pill{flex:none;font-weight:600;font-size:11px;line-height:1;padding:6px 9px;border-radius:20px;color:var(--blue);background:var(--blue-soft);white-space:nowrap}
.hx-pill.good{color:var(--good);background:var(--good-soft)}.hx-pill.warn{color:#b45309;background:rgba(245,158,11,.15)}.hx-pill.warm{color:var(--brand-ink);background:var(--brand-soft)}

/* pipeline board */
.hx-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hx-col{background:var(--surface);border:1px solid var(--line);border-bottom:0;border-radius:14px 14px 0 0;padding:10px;display:flex;flex-direction:column;gap:8px}
.hx-head{display:flex;align-items:center;gap:7px;padding:2px 4px 4px;font-weight:600;font-size:12.5px;color:var(--text);white-space:nowrap}
.hx-head i{width:8px;height:8px;border-radius:50%;background:var(--c)}.hx-head em{margin-left:auto;font-style:normal;font-size:11px;color:var(--muted)}
.hx-card{border:1px solid var(--line);border-radius:10px;padding:10px;background:var(--surface);box-shadow:0 4px 12px -10px rgba(11,31,75,.5)}
.hx-card .hx-line{display:flex;align-items:center;gap:8px}.hx-card .hx-face{width:28px;height:28px;font-size:10px}.hx-card .hx-pill{display:inline-block;margin-top:8px}
.hx-card.picked{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft),var(--shadow-sm)}
.hx-new{font-size:9.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--brand-ink);background:var(--brand-soft);border-radius:20px;padding:2px 7px}

/* match ranking */
.hx-meter{flex:none;width:74px;height:6px;border-radius:6px;background:var(--line);overflow:hidden}.hx-meter i{display:block;height:100%;width:var(--v);background:var(--c);border-radius:6px;transform-origin:left}
.reveal.in .hx-meter i{animation:hx-grow 1s var(--ease) .35s both}
.hx-num{flex:none;width:26px;text-align:right;font-weight:700;font-size:13px;color:var(--text)}

/* resume to profile */
.hx-field{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9.5px 16px;border-top:1px solid var(--line);white-space:nowrap}.hx-bar+.hx-field{border-top:0}
.hx-field>span{color:var(--muted);font-size:11.5px}.hx-field>b{font-weight:600;color:var(--text);font-size:12.5px;overflow:hidden;text-overflow:ellipsis}
.hx-tick{width:16px;height:16px;border-radius:50%;background:var(--good-soft);position:relative;flex:none}
.hx-tick::after{content:'';position:absolute;left:5.5px;top:3px;width:4px;height:8px;border:solid var(--good);border-width:0 2px 2px 0;transform:rotate(45deg)}
.hx-file{display:flex;align-items:center;gap:8px}

/* careers page to pipeline */
.hx-flow{display:grid;grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:start}
.hx-form{padding:16px;display:grid;gap:9px}.hx-form b{font-weight:600;font-size:13px;color:var(--text)}
.hx-input{height:34px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--bg2);color:var(--text);white-space:nowrap;overflow:hidden}
.hx-btn{height:36px;display:grid;place-items:center;border-radius:8px;background:var(--inv-bg);color:var(--inv-fg);font-weight:600;font-size:12.5px}
.hx-link{align-self:center;height:2px;background:repeating-linear-gradient(90deg,var(--brand) 0 6px,transparent 6px 11px);position:relative}
.hx-link::after{content:'';position:absolute;right:2px;top:-4px;width:8px;height:8px;border:solid var(--brand);border-width:2px 2px 0 0;transform:rotate(45deg)}
.hx-flow .hx-panel+.hx-panel{margin-top:0}

/* invoice */
.hx-sum{display:flex;justify-content:space-between;gap:12px;padding:8.5px 16px;border-top:1px solid var(--line);white-space:nowrap}.hx-sum b{font-weight:600;color:var(--text)}
.hx-sum.total{background:var(--inv-bg);color:var(--inv-fg);font-weight:700;font-size:14px;padding:12px 16px;border:0}.hx-sum.total b{color:inherit;font-weight:700}

@keyframes hx-grow{from{transform:scaleX(0)}}
@media (max-width:980px){.hx-7,.hx-6,.hx-5{grid-column:1/-1}}
@media (max-width:560px){.hx-stage{height:auto;padding:18px 16px}.hx-stage.bleed{padding-bottom:0}.hx-copy{padding:18px 18px 20px}
.hx-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hx-col:first-child{display:none}
.hx-flow{grid-template-columns:minmax(0,1fr);gap:12px}.hx-link{display:none}.hx-meter{display:none}.hx-card .hx-face{display:none}}
@media (prefers-reduced-motion:reduce){.reveal.in .hx-meter i{animation:none}}
