/* /ux/hike only: the cover composition, the 100M figure, the four release lanes that merge into one, the vocabulary wall,
   the release exposure meter and the "next problem" note. Shared pieces (demos, sequences, tours) live in ux.css.
   Lane colours and the Hike blue are the deck's. */
:root{--hk:#2f6fe4;--hk2:#0e9fb3}
:root[data-theme="dark"]{--hk:#5b9bff;--hk2:#3ad4e6}
.s1{--c:#4f86f7}.s2{--c:#9b7cf6}.s3{--c:#e0962a}.s4{--c:#e5679f}.s5{--c:#2fb87a}

/* Fig. 01: the landing page, the messenger it published into, and the tool it was drawn in */
.hk-cover .demo-body{aspect-ratio:5/3;padding:26px 24px 0}
.hk-cover .land{width:82%;margin-left:auto;border-radius:10px;box-shadow:0 30px 60px -34px rgba(0,0,0,.7)}
.hk-cover .ph{position:absolute;left:4%;bottom:16px;width:23%;transform:rotate(-4deg)}
.frame.bezel{border:6px solid #15171c;border-radius:22px;box-shadow:0 30px 60px -30px rgba(0,0,0,.75)}
.era{position:absolute;left:32%;bottom:28px;display:flex;align-items:center;gap:10px;transform:rotate(-3deg);font-family:var(--serif);font-style:italic;font-size:27px;line-height:1;color:var(--amber);white-space:nowrap}
.era svg{width:34px;height:34px;flex:none;filter:drop-shadow(0 6px 12px rgba(253,179,0,.3))}

/* 01: the 100M, and what teams were building into it */
.ctx{display:grid;grid-template-columns:auto minmax(0,1fr);gap:32px;align-items:center;margin-top:22px;padding:20px 24px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.ctx-n{display:flex;flex-direction:column;gap:8px}
.ctx-n .big{font:400 84px/.85 var(--serif);letter-spacing:-.03em;font-variant-numeric:tabular-nums;background:linear-gradient(90deg,var(--hk),var(--hk2));-webkit-background-clip:text;background-clip:text;color:transparent}
.ctx-n .lbl{font:500 10.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.ctx-t p{font-size:14px;line-height:1.6;color:var(--muted)}
.ctx-t .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}

/* Figs. 02 and 04: four teams, four ways to ship; .on (from the sequence) merges them into one */
.silos{display:flex;flex-direction:column;gap:10px}
.lane{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px}
.lane>b{font-size:12.5px;font-weight:500;line-height:1.2;color:var(--muted);white-space:nowrap}
.blocks{display:flex;align-items:center;height:40px;overflow:hidden}
.blk{flex:none;display:grid;place-items:center;height:30px;width:var(--w);margin-left:var(--m);border-radius:7px;background:var(--c);opacity:var(--o);transform:translateY(var(--y));
  overflow:hidden;font-size:11px;font-style:normal;font-weight:500;line-height:1;color:#fff;white-space:nowrap;
  transition:width .9s cubic-bezier(.45,0,.2,1),margin .9s cubic-bezier(.45,0,.2,1),opacity .6s,transform .9s cubic-bezier(.45,0,.2,1)}
.blk span{overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0 4px;opacity:0;transition:opacity .4s}
.silos:not(.on) .blk{animation:jit 2.6s ease-in-out infinite alternate;animation-delay:var(--d)}
@keyframes jit{to{transform:translateY(calc(var(--y) * -1))}}
.silos.on .blk{order:0!important;width:calc((100% - 32px) / 5);margin-left:8px;opacity:1;transform:none}
.silos.on .blk:first-child{margin-left:0}
.silos.on .blk span{opacity:1;transition-delay:.6s}
.silos+.legend{margin-top:20px;flex-wrap:wrap;gap:8px 16px}
.legend i{background:var(--c)}

/* Fig. 03: the developer vocabulary, a wall first, then sorted into the console's three areas */
.terms{display:flex;flex-direction:column;justify-content:center;gap:16px;min-height:262px}
.terms .gh{display:block;margin-bottom:9px;font:500 10px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--sel);transition:opacity .5s .5s}
.terms .row{display:flex;flex-wrap:wrap;gap:8px}
.term{padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:var(--card);font:500 12px/1 var(--mono);color:var(--fg);white-space:nowrap;
  transform:translate(calc(var(--x) * var(--k,1)),calc(var(--y) * var(--k,1))) rotate(var(--r));filter:blur(var(--b));opacity:var(--o);
  transition:transform 1s cubic-bezier(.45,0,.2,1),filter .8s,opacity .8s,border-color .6s}
.terms.on .term,html:not(.js) .term{transform:none;filter:none;opacity:1;border-color:color-mix(in srgb,var(--sel) 45%,var(--line))}
.terms:not(.on) .gh{opacity:0;transition-delay:0s}
html:not(.js) .terms .gh{opacity:1}

/* the problem the agreed process created */
.nextp{margin-top:24px;padding:16px 18px;border:1px solid color-mix(in srgb,var(--rose) 42%,transparent);border-radius:12px;background:color-mix(in srgb,var(--rose) 7%,transparent)}
.nextp b{display:block;font:500 10.5px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--rose)}
.nextp p{margin-top:10px;font-size:15px;line-height:1.65;color:var(--fg)}
.nextp em{font-style:normal;color:var(--rose)}

/* Fig. 10: how far a release reaches, one stage at a time */
.expo{display:flex;flex-direction:column;gap:8px;padding:16px 18px 0}
.expo .k{display:flex;justify-content:space-between;font:500 10px/1 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.expo .track{height:8px;border:1px solid var(--line);border-radius:999px;background:var(--chip);overflow:hidden}
.expo .fill{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,var(--hk),var(--hk2));transition:width .9s cubic-bezier(.45,0,.2,1)}
.rel[data-step="1"] .fill{width:8%}.rel[data-step="2"] .fill{width:32%}.rel[data-step="3"] .fill{width:72%}

@media (max-width:720px){
  .hk-cover .demo-body{padding:20px 14px 0}
  .hk-cover .ph{bottom:12px;width:25%}
  .frame.bezel{border-width:4px;border-radius:14px}
  .era{left:33%;bottom:18px;gap:7px;font-size:17px}
  .era svg{width:22px;height:22px}
  .ctx{gap:20px;padding:18px}
  .ctx-n .big{font-size:60px}
  .ctx-t p{font-size:13px}
  .lane{grid-template-columns:1fr;gap:2px}
  .blk{height:26px;font-size:9px}
  .blk span{padding:0 2px}
  .blocks{height:34px}
  .terms{min-height:0}
  .term{--k:.42;padding:7px 9px;font-size:11px}
}
@media (max-width:420px){
  .ctx{grid-template-columns:1fr;gap:14px}
}
