/* ============================================================
   CREAM NEXT STEP, THE LOOK: the top of the Career OS home, drawn by
   cream-next-step-view.js. Tokens only (cream-tokens.css); the page
   supplies .btn, as the passport does. Written 12 October 2026 to
   DESIGN.md and held to it:

   GOLD IS FOR EVIDENCE. A member's own word is hatched, never gold: thin
   diagonal lines in the self tone, unmistakable next to an empty box.
   Confirmed is solid in the reference tone. The one italic gold phrase in
   the headline is the voice baseline's emotional centre, as on the
   passport and the approved Not Yet Confirmed mock, never a status.

   HIERARCHY FROM TYPE, SPACE AND RULES, NOT BOXES. The two choices under
   the question are the only raised boxes, side by side, never nested.
   The capability in hand is shown by its ground and a plain ring all
   round, never a side edge. Radii are 2 to 4px. No shadows.

   MOTION. A bar fills once, restrained: opacity only, 280ms, ease out,
   and only when a state changes (the host adds .pre for one frame and
   takes it off). prefers-reduced-motion removes it. Nothing animates on
   load.

   LABELS stay at 11px or more. No dashes.

   SCOPED WHERE THE PASSPORT ALREADY USES THE NAME (19 October 2026). The
   North Star on the passport has its own .ns-ask and .ns-line, so those
   two are written under the section they belong to here, and loading this
   file into the passport changes nothing of the North Star.
   ============================================================ */
.ns-eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 20px; }
.ns-step { max-width: 720px; }
.ns-h { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; font-size: clamp(31px, 4.4vw, 44px); line-height: 1.08; margin: 0; text-wrap: balance; }
.ns-h em { font-style: italic; font-weight: 500; color: var(--gold-bright); }
.ns-why, .ns-pay { color: var(--ink-soft); font-size: 16.5px; line-height: 1.62; margin: 18px 0 0; max-width: 56ch; text-wrap: pretty; }
.ns-pay { margin-top: 10px; }

/* the question, and its two choices (Scott, 19 October 2026): one short
   sentence on each, a quieter line under it. Raised, ringed all round,
   never gold, not even the focus ring: gold stays with evidence. A hover
   firms the ring at once; nothing moves. */
.ns-nlabel { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.ns-step .ns-ask { margin: 30px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 56ch; text-wrap: pretty; }
.ns-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; max-width: 680px; }
.ns-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 18px 20px 19px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: var(--ground-raise); border: 1px solid var(--rule-card); border-radius: 4px; }
.ns-choice:hover { border-color: var(--rule-strong); }
.ns-choice:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ns-choice[aria-expanded="true"] { border-color: var(--ink-soft); background: var(--ground-sink); }
.ns-cl { font-family: var(--serif); font-size: 18px; line-height: 1.35; color: var(--ink); text-wrap: pretty; }
.ns-ch { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.ns-aside { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.ns-acts { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.ns-step > .ns-acts { margin-top: 28px; }
.ns-choices + .ns-acts { margin-top: 14px; }
.ns-acts .btn.ghost { border-color: transparent; color: var(--ink-faint); padding-left: 6px; padding-right: 6px; }
.ns-acts .btn.ghost:hover { color: var(--ink-soft); }

/* Cream's own note, quoted: a hairline beside it is a rule, not a tab */
.ns-from { margin: 28px 0 0; padding: 2px 0 2px 20px; border-left: 1px solid var(--rule-strong); max-width: 60ch; }
.ns-from .ns-nlabel { margin-bottom: 10px; }
.ns-fmsg { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.ns-from .ns-aside { margin-top: 12px; }

/* the sections beneath: ruled, not carded */
.ns-bars, .ns-opens { max-width: 720px; margin-top: 68px; padding-top: 42px; border-top: 1px solid var(--rule); }
.ns-sh { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.ns-sub { color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 62ch; margin: 8px 0 0; }
.ns-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; font-size: 13px; color: var(--ink-soft); }
.ns-key span { display: inline-flex; align-items: center; gap: 9px; }
.ns-sw { width: 14px; height: 14px; border-radius: 2px; flex: none; display: inline-block; }
.ns-sw.conf { background: var(--t-ref); }
.ns-sw.notyet { background: repeating-linear-gradient(135deg, var(--t-self) 0, var(--t-self) 1.5px, transparent 1.5px, transparent 5px); border: 1px solid var(--rule-strong); }

.ns-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ns-row { padding: 22px 18px 24px; border: 1px solid transparent; border-bottom-color: var(--rule); }
.ns-row.is-next { background: var(--ground-raise); border-color: var(--rule-card); border-radius: 4px; }
.ns-rh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline; }
.ns-rn { font-family: var(--serif); font-size: 19px; font-weight: 400; letter-spacing: -0.005em; margin: 0; color: var(--ink); }
.ns-row.is-open .ns-rn { color: var(--ink-faint); }
/* an open capability is quiet: its name and five empty boxes on one line */
.ns-row.is-open { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px 16px; }
.ns-row.is-open .ns-rh { display: block; }
.ns-row.is-open .ns-bar { margin: 0; flex: 0 1 260px; }
.ns-st { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.ns-st.conf { color: var(--t-ref); }
.ns-st.notyet { color: var(--ink-soft); }

/* five boxes: outline for the rest, hatched for what they told us, solid
   for what is confirmed. The solid is an overlay so a bar can fill once. */
.ns-bar { display: flex; gap: 6px; margin: 16px 0 0; max-width: 420px; }
.ns-seg { position: relative; flex: 1 1 0; min-width: 0; height: 14px; border-radius: 2px; border: 1px solid rgba(138, 128, 105, 0.3); background: transparent; }
.ns-seg.claim, .ns-seg.solid { border-color: var(--ink-faint);
  background: repeating-linear-gradient(135deg, rgba(188, 178, 155, 0.7) 0, rgba(188, 178, 155, 0.7) 1px, transparent 1px, transparent 4px); }
.ns-seg::after { content: ""; position: absolute; top: -1px; right: -1px; bottom: -1px; left: -1px; border-radius: 2px; background: var(--t-ref); opacity: 0; transition: opacity 280ms ease-out; }
.ns-seg.solid::after { opacity: 1; }
.ns-seg.solid.pre::after { opacity: 0; }
.ns-bars .ns-line { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.ns-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* what confirmed work opens */
.ns-olist { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ns-open { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 18px; align-items: start; padding: 22px 4px 24px; border-bottom: 1px solid var(--rule); }
.ns-mark { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; border: 1px solid var(--rule-strong); box-sizing: border-box; }
.ns-mark.reached { background: var(--t-ref); border-color: var(--t-ref); }
.ns-mark.next, .ns-mark.open { border-color: var(--ink-soft); }
.ns-mark.later { border-color: rgba(138, 128, 105, 0.45); }
.ns-on { font-family: var(--serif); font-size: 19px; font-weight: 400; margin: 0; color: var(--ink); }
.ns-open.is-later .ns-on { color: var(--ink-soft); }
.ns-os { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.ns-ol { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ns-ostate { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 9px; color: var(--ink-faint); white-space: nowrap; }
.ns-open.is-reached .ns-ostate { color: var(--t-ref); }
.ns-open.is-next .ns-ostate, .ns-open.is-open .ns-ostate { color: var(--ink-soft); }

@media (max-width: 620px) {
  .ns-eyebrow { letter-spacing: 0.26em; }
  .ns-why, .ns-pay { font-size: 16px; }
  .ns-step .ns-ask { font-size: 18px; margin-top: 26px; }
  .ns-choices { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ns-choice { padding: 16px 16px 17px; }
  .ns-acts .btn.primary { flex: 1 1 100%; }
  .ns-bars, .ns-opens { margin-top: 52px; padding-top: 34px; }
  .ns-row { padding: 20px 14px 22px; }
  .ns-row.is-open { display: block; padding: 14px 14px 16px; }
  .ns-row.is-open .ns-bar { margin-top: 10px; }
  .ns-rh { grid-template-columns: minmax(0, 1fr); }
  .ns-open { grid-template-columns: 14px minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .ns-ostate { grid-column: 2; padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .ns-seg::after { transition: none; } }
