/* phero.css · Oct 9 (Josh): the project hero, finessed. Same information, a clearer order and less of one note.
   Read in this order: the project, where it is (status, opened, team), THE QUESTION as the lead, the background folded
   to two lines (Read more opens it in place), who it is for and what is tested as quiet reference, two quiet actions.
   The answer is the hero's one light object: "Where it stands" is a white card, its finding the lead line with the key
   number highlighted, the caveat beneath, the figure in light colours. The band beneath is the path: a node on a line for
   every step, a plain word for its state, and every step opens what it ran. */

/* left: the project and the decision */
html[data-skin] body .ds-phero2 .ds-phero-grid { align-items: start; gap: 48px; padding: 38px 44px 0; }
html[data-skin] body .ds-phero2 .ds-phero-t { margin: 0; }
html[data-skin] body .ds-phero2 .ds-phero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-phero-state { font-weight: 600; color: #8FB0F0; }
html[data-skin] body .ds-phero2 .ds-phero-state[data-k="ready"], html[data-skin] body .ds-phero2 .ds-phero-state[data-k="done"] { color: #5FD0C8; }
html[data-skin] body .ds-phero2 .ds-phero-meta .ds-members { margin: 0 0 0 4px; }
html[data-skin] body .ds-phero2 .ds-phero-q { display: grid; gap: 6px; margin: 30px 0 0; }
html[data-skin] body .ds-phero2 .ds-phero-q > span { font-size: 13.5px; font-weight: 500; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-phero-q > b { font-size: 24px; line-height: 1.28; font-weight: 600; letter-spacing: -.018em; color: #FFFFFF; text-wrap: balance; max-width: 30ch; }
html[data-skin] body .ds-phero2 .ds-phero-about { margin: 14px 0 0; }
html[data-skin] body .ds-phero2 .ds-phero-about p { margin: 0; font-size: 15px; line-height: 1.6; color: #B5C3D8; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
html[data-skin] body .ds-phero2.is-more .ds-phero-about p { display: block; -webkit-line-clamp: unset; overflow: visible; }
html[data-skin] body .ds-phero2 .ds-phero-more { margin: 4px 0 0; padding: 2px 0; border: 0; background: none; color: #8FB0F0; font: 600 14px/1.4 var(--ds-f, inherit); cursor: default; }
html[data-skin] body .ds-phero2 .ds-phero-more:hover { color: #B3C9F6; text-decoration: underline; text-underline-offset: 3px; }
html[data-skin] body .ds-phero2 .ds-phero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(143, 176, 240, .14); }
html[data-skin] body .ds-phero2 .ds-phero-facts > div { margin: 0; padding: 0; border: 0; }
html[data-skin] body .ds-phero2 .ds-phero-facts dt { margin: 0 0 4px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-phero-facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: #DCE5F2; }
html[data-skin] body .ds-phero2 .ds-phero-row { margin-top: 24px; gap: 10px 16px; }
html[data-skin] body .ds-phero2 .ds-hero-cta { gap: 10px; }

/* right: the answer, the hero's one light object */
html[data-skin] body .ds-phero2 .ds-phero-fig { min-height: 0; padding: 22px 24px 18px; border: 0; border-radius: 14px !important; color: #17283E; background: #FFFFFF var(--ds-sheen);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(0, 0, 0, .25), 0 22px 48px -22px rgba(0, 0, 0, .6); --ds-track: #E7EDF6; }
html[data-skin] body .ds-phero2 .ds-phero-st { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font-family: var(--ds-f, inherit); font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #536A84; }
html[data-skin] body .ds-phero2 .ds-phero-st em { font-style: normal; font-weight: 500; color: #7A8DA5; }
html[data-skin] body .ds-phero2 .ds-phero-fig .ds-phero-v { margin: 10px 0 0; font-size: 22px; line-height: 1.32; font-weight: 650; letter-spacing: -.02em; color: #17283E; text-wrap: balance; }
html[data-skin] body .ds-phero2 .ds-phero-fig .ds-phero-v em { background: var(--ds-hl, #3868FA); color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; font-weight: inherit; }
html[data-skin] body .ds-phero2 .ds-phero-vs { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: #536A84; text-wrap: pretty; }
html[data-skin] body .ds-phero2 .ds-phero-vs em { font-style: normal; font-weight: 600; color: #17283E; background: none; -webkit-text-fill-color: currentColor; padding: 0; }
html[data-skin] body .ds-phero2 .ds-phero-fig figcaption { margin-top: 14px; padding-top: 0; border: 0; font-size: 13px; color: #7A8DA5; }
/* the concept comparison, in light colours */
html[data-skin] body .ds-phero2 .ds-vtrade { margin-top: 18px; color: #17283E; }
html[data-skin] body .ds-phero2 .ds-vtrade-h span { color: #647A94; font-weight: 500; letter-spacing: 0; text-transform: none; }
html[data-skin] body .ds-phero2 .ds-vtrade-h, html[data-skin] body .ds-phero2 .ds-vtrade-r { border-color: #EDF1F6 !important; }
html[data-skin] body .ds-phero2 .ds-vtrade-r b { color: #17283E; }
html[data-skin] body .ds-phero2 .ds-vtrade-r em { color: #17283E; font-style: normal; }
html[data-skin] body .ds-phero2 .ds-vtrade-r .b { background: #E7EDF6; }
html[data-skin] body .ds-phero2 .ds-vtrade-r .b i { background: #A3B2C7; }
html[data-skin] body .ds-phero2 .ds-vtrade-r.rec .b i { background: #245DC8; }
html[data-skin] body .ds-phero2 .ds-vtrade-r.rec b::after, html[data-skin] body .ds-phero2 .ds-vtrade-r.rec b small { color: #245DC8; }
/* nothing has run yet: the empty rows, in light colours */
html[data-skin] body .ds-phero2 .ds-vwait { margin-top: 18px; }
html[data-skin] body .ds-phero2 .ds-vwait .ds-vcmp-r span, html[data-skin] body .ds-phero2 .ds-vwait .ds-vcmp-r em { color: #536A84; }
html[data-skin] body .ds-phero2 .ds-vwait .ds-vcmp-r .b { background: repeating-linear-gradient(90deg, #E7EDF6 0 8px, transparent 8px 14px); }

/* the path: a node on a line for each step; every step opens what it ran */
html[data-skin] body .ds-phero2 .ds-path-bar { display: grid; grid-template-columns: repeat(var(--ds-path-n, 4), minmax(0, 1fr)); margin-top: 34px; padding: 0; background: rgba(2, 6, 16, .26); border-top: 1px solid rgba(143, 176, 240, .12); }
html[data-skin] body .ds-phero2 .ds-path-c { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 2px 10px; padding: 18px 22px 20px; color: #C4D0E4; text-decoration: none; border: 0; background: transparent; transition: background-color .2s ease; cursor: default; }
html[data-skin] body .ds-phero2 a.ds-path-c:hover { background: rgba(143, 176, 240, .08); }
html[data-skin] body .ds-phero2 .ds-path-c.is-now { background: rgba(143, 176, 240, .07); }
html[data-skin] body .ds-phero2 .ds-path-c::before, html[data-skin] body .ds-phero2 .ds-path-c::after { content: none; display: none; }
html[data-skin] body .ds-phero2 .ds-path-node { grid-column: 1 / -1; position: relative; display: flex; align-items: center; height: 18px; margin-bottom: 10px; }
html[data-skin] body .ds-phero2 .ds-path-node::before { content: ""; flex: none; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50% !important; border: 2px solid rgba(143, 176, 240, .38); background: transparent; }
html[data-skin] body .ds-phero2 .ds-path-c:not(:last-child) .ds-path-node::after { content: ""; flex: 1; height: 2px; margin: 0 -22px 0 10px; border-radius: 1px; background: rgba(143, 176, 240, .16); }
html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-node::after { background: rgba(95, 208, 200, .45); }
html[data-skin] body .ds-phero2 .ds-path-node svg, html[data-skin] body .ds-phero2 .ds-path-node i { position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; }
html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-node::before { border-color: #5FD0C8; background: #5FD0C8; }
html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-node svg { padding: 3px; box-sizing: border-box; color: #062B2E; }
html[data-skin] body .ds-phero2 .ds-path-c.is-now .ds-path-node::before { border-color: #8FB0F0; }
html[data-skin] body .ds-phero2 .ds-path-c.is-now .ds-path-node i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FB0F0; }
html[data-skin] body .ds-phero2 .ds-path-t { grid-column: 1; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: #FFFFFF; }
html[data-skin] body .ds-phero2 .ds-path-w { grid-column: 2; grid-row: 2; align-self: baseline; font-size: 13px; font-weight: 600; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-w { color: #5FD0C8; }
html[data-skin] body .ds-phero2 .ds-path-c.is-now .ds-path-w { color: #8FB0F0; }
html[data-skin] body .ds-phero2 .ds-path-m { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.4; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-path-go { position: absolute; top: 16px; right: 18px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: #8FB0F0; opacity: 0; transition: opacity .2s ease; }
html[data-skin] body .ds-phero2 .ds-path-go svg { width: 11px; height: 11px; }
html[data-skin] body .ds-phero2 a.ds-path-c:hover .ds-path-go, html[data-skin] body .ds-phero2 a.ds-path-c:focus-visible .ds-path-go { opacity: 1; }
html[data-skin] body .ds-phero2 a.ds-path-c:focus-visible { outline: 2px solid #8FB0F0; outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { html[data-skin] body .ds-phero2 .ds-path-c, html[data-skin] body .ds-phero2 .ds-path-go { transition: none; } }

@media (max-width: 1100px) { html[data-skin] body .ds-phero2 .ds-phero-grid { gap: 28px; } }
@media (max-width: 820px) {
  html[data-skin] body .ds-phero2 .ds-phero-grid { padding: 24px 20px 0; }
  html[data-skin] body .ds-phero2 .ds-phero-q > b { font-size: 20px; }
  html[data-skin] body .ds-phero2 .ds-phero-facts { grid-template-columns: minmax(0, 1fr); }
  html[data-skin] body .ds-phero2 .ds-path-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 16px 18px 18px; border-top: 1px solid rgba(143, 176, 240, .10); }
  html[data-skin] body .ds-phero2 .ds-path-c .ds-path-node::after { display: none !important; }
  html[data-skin] body .ds-phero2 .ds-path-go { display: none; }
}

/* the older band rules order every span after the title and the skin paints the recommended row white: placed explicitly here */
html[data-skin] body .ds-phero2 .ds-path-c > * { order: 0; margin: 0; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-node { grid-row: 1; margin-bottom: 10px; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-t { grid-row: 2; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-w { grid-row: 2; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-m { grid-row: 3; margin-top: 2px; }
html[data-skin] body .ds-phero2 .ds-hero-bar.ds-path-bar > .ds-path-c { min-height: 0; border-left: 0; }
html[data-skin] body .ds-phero2 .ds-phero-fig .ds-vtrade-r.rec em, html[data-skin] body .ds-phero2 .ds-phero-fig .ds-vtrade-r.rec b { color: #17283E; }
html[data-skin] body .ds-phero2 .ds-phero-fig .ds-vtrade-r em { color: #17283E; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-node { grid-column: 1 / -1; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-t { grid-column: 1; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-w { grid-column: 2; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-m { grid-column: 1 / -1; }
/* phones: the hero reads name, status, the question, the background, the answer, the actions, the reference; the band stacks */
@media screen and (max-width: 820px) {
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-t { order: 1; }
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-meta { order: 2; }
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-q { order: 3; margin-top: 22px; }
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-about { order: 4; }
  html[data-skin] body .ds-phero2 .ds-phero-fig { order: 5; }
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-row { order: 6; }
  html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-facts { order: 7; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-t { grid-column: 1 / -1; grid-row: 2; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-w { grid-column: 1 / -1; grid-row: 3; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-m { grid-column: 1 / -1; grid-row: 4; }
}

/* Oct 9 (Josh): the state is a small label (caps, Archivo's wider cut, a rounded rectangle) beside the step's name, and
   "Open" sits at the foot of the step on hover, so the two never read alike */
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-w { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; padding: 3px 7px 3px; border-radius: 5px !important;
  font-size: 10.5px; font-weight: 650; font-stretch: 118%; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; color: #93A6C2; background: rgba(143, 176, 240, .10); }
html[data-skin] body .ds-phero2 .ds-path-c.is-done > .ds-path-w { color: #5FD0C8; background: rgba(95, 208, 200, .13); }
html[data-skin] body .ds-phero2 .ds-path-c.is-now > .ds-path-w { color: #B3C9F6; background: rgba(143, 176, 240, .18); }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-m { grid-column: 1; grid-row: 3; }
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-go { position: static; grid-column: 2; grid-row: 3; align-self: end; justify-self: end; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #8FB0F0; }
@media screen and (max-width: 820px) {
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-w { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 4px; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-m { grid-column: 1 / -1; grid-row: 4; margin-top: 6px; }
}

/* the name and its label share one row, so the label always sits level with the name */
html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-h { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
html[data-skin] body .ds-phero2 .ds-path-h > .ds-path-t { min-width: 0; }
html[data-skin] body .ds-phero2 .ds-path-h > .ds-path-w { flex: none; margin: 0; }
@media screen and (max-width: 820px) {
  html[data-skin] body .ds-phero2 .ds-path-c > .ds-path-h { flex-direction: column; align-items: flex-start; gap: 6px; }
  html[data-skin] body .ds-phero2 .ds-path-bar > .ds-path-c > .ds-path-m { grid-row: 3; }
}
/* the label lives in the name's row now: its look, re-aimed */
html[data-skin] body .ds-phero2 .ds-path-c .ds-path-w { padding: 3px 7px; border-radius: 5px !important; font-size: 10.5px; font-weight: 650; font-stretch: 118%; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; color: #93A6C2; background: rgba(143, 176, 240, .10); }
html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-w { color: #5FD0C8; background: rgba(95, 208, 200, .13); }
html[data-skin] body .ds-phero2 .ds-path-c.is-now .ds-path-w { color: #B3C9F6; background: rgba(143, 176, 240, .18); }

/* ===== Oct 9, second pass (Josh): weights that rank, quiet labels, lines that stop short, the question framed ===== */
/* the order: name, status, what the project is, the question in its own frame, reference, actions and the team */
html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-t { order: 1; }
html[data-skin] body .ds-phero2 .ds-phero-meta { margin-top: 12px; gap: 8px 14px; font-size: 14px; font-weight: 400; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-phero-about { margin-top: 18px; }
html[data-skin] body .ds-phero2 .ds-phero-about p { font-size: 16px; font-weight: 400; line-height: 1.6; color: #C2CEDF; }
html[data-skin] body .ds-phero2 .ds-phero-q { margin: 22px 0 0; padding: 16px 18px 17px; gap: 6px; border-radius: 12px !important; background: rgba(143, 176, 240, .07); box-shadow: inset 0 0 0 1px rgba(143, 176, 240, .14), inset 0 1px 0 rgba(255, 255, 255, .06); }
html[data-skin] body .ds-phero2 .ds-phero-q > span { font-size: 12.5px; font-weight: 500; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-phero-q > b { font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; color: #FFFFFF; max-width: 40ch; }
html[data-skin] body .ds-phero2 .ds-phero-facts { margin-top: 22px; padding-top: 0; border-top: 0; }
html[data-skin] body .ds-phero2 .ds-phero-facts dt { font-size: 12.5px; font-weight: 500; }
html[data-skin] body .ds-phero2 .ds-phero-facts dd { font-size: 14.5px; font-weight: 400; color: #C2CEDF; }
html[data-skin] body .ds-phero2 .ds-phero-row { justify-content: space-between; margin-top: 26px; }
html[data-skin] body .ds-phero2 .ds-phero-row .ds-members { margin-left: auto; }
/* the answer card: the finding leads, the rest steps down */
html[data-skin] body .ds-phero2 .ds-phero-fig .ds-phero-v { font-size: 21px; font-weight: 600; }
html[data-skin] body .ds-phero2 .ds-phero-vs { font-size: 14px; font-weight: 400; }
html[data-skin] body .ds-phero2 .ds-vtrade-r b { font-weight: 500; }
html[data-skin] body .ds-phero2 .ds-vtrade-r.rec b { font-weight: 600; }
html[data-skin] body .ds-phero2 .ds-vtrade-r em { font-weight: 500; }

/* states: an outlined box, thin type, small (the status line and the path share it) */
html[data-skin] body .ds-phero2 .ds-phero-state, html[data-skin] body .ds-phero2 .ds-path-c .ds-path-w {
  display: inline-flex; align-items: center; padding: 2px 6px 2px; border-radius: 4px !important; background: transparent !important;
  font-size: 10px; font-weight: 500; font-stretch: 112%; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase;
  color: #93A6C2; box-shadow: inset 0 0 0 1px rgba(147, 166, 194, .45); }
html[data-skin] body .ds-phero2 .ds-phero-state { color: #A9C1F2; box-shadow: inset 0 0 0 1px rgba(143, 176, 240, .5); }
html[data-skin] body .ds-phero2 .ds-phero-state[data-k="ready"], html[data-skin] body .ds-phero2 .ds-phero-state[data-k="done"], html[data-skin] body .ds-phero2 .ds-path-c.is-done .ds-path-w { color: #7FD9D2; box-shadow: inset 0 0 0 1px rgba(95, 208, 200, .45); }
html[data-skin] body .ds-phero2 .ds-path-c.is-now .ds-path-w { color: #B3C9F6; box-shadow: inset 0 0 0 1px rgba(143, 176, 240, .55); }

/* the path: step names a step lighter, meta lighter still; each line stops short of the next step */
html[data-skin] body .ds-phero2 .ds-path-t { font-size: 15px; font-weight: 600; }
html[data-skin] body .ds-phero2 .ds-path-m { font-size: 13px; font-weight: 400; }
html[data-skin] body .ds-phero2 .ds-path-c:not(:last-child) .ds-path-node::after { margin: 0 12px 0 10px; }
html[data-skin] body .ds-phero2 .ds-path-c.is-now { background: transparent; }
html[data-skin] body .ds-phero2 a.ds-path-c:hover { background: rgba(143, 176, 240, .07); }

/* Illustrative, on the answer card: the light label (look.css LABELS) */
html[data-skin] body .ds-phero2 .ds-phero-st em { color: #536A84; font-weight: 500; }
html[data-skin] body .ds-phero2 .ds-phero-st { align-items: center; }
