/* NOOVA blog: reading pages built by tools/blog/build.mjs, on top of the site's styles.css
   (its tokens, fonts, header, footer, request window, .hud and .go). */

:root { --read: 42rem; --ink: rgba(255, 255, 255, .64); }

body.bl { color: var(--ink); font-size: 1.0625rem; line-height: 1.7; letter-spacing: -.005em; }
body.bl svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.bl .top__logo svg { fill: currentColor; stroke: none; }
img { max-width: 100%; height: auto; display: block; }

.bl-main { padding: calc(var(--head-h) + 1.5rem) var(--gx) 0; max-width: var(--max-w); margin: 0 auto; }

/* Rubrics on the list pages, the same micro labels as the site */
.bl-cats { display: flex; gap: 1.6rem; margin-top: 2rem; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; }
.bl-cats a { text-decoration: none; color: rgba(255, 255, 255, .4); transition: color .25s; }
.bl-cats a:hover, .bl-cats a[aria-current] { color: #fff; }

/* ----------------------------------------------------------------- lists */
.bl-hero .c-crumb, .bl-head .c-crumb { align-self: flex-start; margin-bottom: 3rem; }
.bl-hero { padding: 2rem 0 3rem; display: flex; flex-direction: column; max-width: var(--read); }
.bl-hero h1, .bl-head h1 { color: var(--title); font-weight: 400; letter-spacing: -.05em; line-height: 1; margin: 0 0 1.2rem; }
.bl-hero h1 { font-size: var(--display-step); }
.bl-lead { font-size: 1.125rem; line-height: 1.5; letter-spacing: -.01em; color: rgba(255, 255, 255, .5); margin: 0; }
.bl-grid { display: grid; gap: var(--gutter); grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 4rem; }
@media (max-width: 1023px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bl-grid { grid-template-columns: minmax(0, 1fr); } }
/* Outline only: a cover's ink ground runs into the page, a card without one is held by its line */
.bl-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem;
  background: transparent; text-decoration: none; transition: border-color .4s, background .4s; }
.bl-card:hover { border-color: rgba(255, 255, 255, .28); background: rgba(27, 30, 38, .35); }
.bl-card h2 { margin: 0; color: var(--title); font-size: 1.35rem; line-height: 1.2; font-weight: 400; letter-spacing: -.03em; }
.bl-card p { margin: 0; font-size: var(--fs-small); line-height: 1.5; color: rgba(255, 255, 255, .5); }
.bl-card time { margin-top: auto; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.bl-card__text { display: flex; flex-direction: column; gap: .8rem; flex: 1; padding: 1.6rem; }
/* Lead: the newest post across all three columns, cover beside the text */
.bl-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.bl-card--lead .bl-card__text { padding: 2.4rem; }
.bl-card--lead:not(:has(img)) { display: flex; }
.bl-card--lead h2 { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); line-height: 1.1; }
.bl-card--lead p { font-size: 1rem; max-width: 34rem; }
.bl-card__img { display: block; width: 100%; aspect-ratio: 40 / 21; object-fit: cover; border-bottom: 1px solid var(--hair); }
.bl-card--lead .bl-card__img { height: 100%; border-bottom: 0; border-right: 1px solid var(--hair); }
@media (max-width: 1023px) { .bl-card--lead { grid-template-columns: minmax(0, 1fr); } .bl-card--lead .bl-card__img { height: auto; border-right: 0; border-bottom: 1px solid var(--hair); } }
.bl-empty { color: var(--muted); }

.bl-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: .55rem; font-family: "Orbitron", var(--font); font-weight: 700;
  font-size: var(--fs-micro); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.bl-pill::before { content: ""; width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.bl-pill--cognitive::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.bl-pill--hr::before { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.bl-pill--tech::before { background: rgba(255, 255, 255, .45); box-shadow: none; }
.bl-pill--news::before { background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .6); }
.bl-pills { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ------------------------------------------------------------------ post */
.bl-post { padding: 2rem 0 2rem; }
.bl-head { max-width: var(--read); margin: 0 auto 3rem; display: flex; flex-direction: column; gap: .2rem; }
.bl-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 1.4rem; text-wrap: balance; }
.bl-meta { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .35); margin: 1.6rem 0 0; }
.bl-updated { font-size: var(--fs-small); color: var(--cyan); margin: .5rem 0 0; }
/* Pictures share the reading column and carry the card outline, so an ink ground still reads as a frame */
/* The cover runs from the contents rail to the text's right edge: the same grid as .bl-body, toc width 15rem */
.bl-cover { display: grid; grid-template-columns: 1fr minmax(0, var(--read)) 1fr; gap: 3rem; margin: 0 0 3rem; }
.bl-cover img { grid-column: 1 / 3; justify-self: end; width: min(100%, calc(15rem + 3rem + var(--read))); }
@media (max-width: 1100px) { .bl-cover { display: block; max-width: var(--read); margin: 0 auto 3rem; } .bl-cover img { width: 100%; } }
.bl-cover img, .bl-text figure img { border: 1px solid var(--line); border-radius: 1.25rem; }
/* The digest: the post in one 4:5 picture before Sources, full size on a click */
.bl-digest { margin: 3rem 0; }
.bl-digest a { display: block; cursor: zoom-in; }
.bl-digest img { width: 100%; height: auto; }

.bl-body { display: grid; grid-template-columns: 1fr minmax(0, var(--read)) 1fr; gap: 3rem; }
.bl-text { grid-column: 2; min-width: 0; }
@media (max-width: 1100px) { .bl-body { display: block; max-width: var(--read); margin: 0 auto; } .bl-toc { display: none !important; } }

/* Contents: a quiet rail; the section being read lights up in cyan */
.bl-toc { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--head-h) + 2rem); align-self: start; width: 15rem; }
.bl-toc .hud { margin-bottom: 1.1rem; }
.bl-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.bl-toc a { position: relative; display: flex; gap: .7rem; padding: .45rem 0 .45rem 1rem; font-size: .8125rem; line-height: 1.35; letter-spacing: -.005em;
  text-decoration: none; color: rgba(255, 255, 255, .38); transition: color .3s; }
.bl-toc a span { flex: none; width: 1.3rem; font-size: var(--fs-micro); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .22); padding-top: .1em; transition: color .3s; }
.bl-toc a::before { content: ""; position: absolute; left: -1px; top: .35rem; bottom: .35rem; width: 1px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transform: scaleY(0); transition: transform .5s var(--ease); }
.bl-toc a:hover { color: rgba(255, 255, 255, .75); }
.bl-toc a.is-on { color: #fff; }
.bl-toc a.is-on span { color: var(--cyan); }
.bl-toc a.is-on::before { transform: scaleY(1); }

.bl-text h2 { color: var(--title); font-size: 1.75rem; line-height: 1.15; font-weight: 400; letter-spacing: -.035em; margin: 3.2rem 0 1rem; scroll-margin-top: calc(var(--head-h) + 1.5rem); }
.bl-text h3 { color: var(--title); font-size: 1.25rem; font-weight: 400; letter-spacing: -.02em; margin: 2.2rem 0 .7rem; scroll-margin-top: calc(var(--head-h) + 1.5rem); }
.bl-text h4 { color: var(--title); font-size: 1rem; font-weight: 500; margin: 1.8rem 0 .5rem; }
.bl-text p, .bl-text ul, .bl-text ol { margin: 0 0 1.15rem; }
.bl-text ul { padding-left: 1.2rem; }
.bl-text li { margin-bottom: .5rem; }
.bl-text li::marker { color: rgba(255, 255, 255, .3); }
.bl-text a { color: var(--title); text-decoration: underline; text-decoration-color: rgba(92, 197, 221, .5); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.bl-text a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
.bl-text strong { color: rgba(255, 255, 255, .86); font-weight: 500; }
.bl-text code { font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: .3em; }
.bl-text hr { border: 0; border-top: 1px solid var(--hair); margin: 2.4rem 0; }
.bl-text figure { margin: 1.8rem 0; }
.bl-text figure img { width: 100%; }

/* Quotes: smaller than the text around them, a violet mark instead of a bar */
.bl-text blockquote { position: relative; margin: 2rem 0; padding: 1.1rem 1.4rem 1.1rem 3.2rem; border-radius: 1rem; background: rgba(134, 144, 216, .06);
  font-size: .9375rem; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.bl-text blockquote::before { content: "\201C"; position: absolute; left: 1.1rem; top: .55rem; font-size: 2.4rem; line-height: 1; color: var(--violet); opacity: .8; }
.bl-text blockquote p { margin: 0; }

.bl-table { overflow-x: auto; margin: 1.6rem 0; }
.bl-table table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
.bl-table th, .bl-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.bl-table th { color: var(--title); font-weight: 500; }

/* Checklists are numbered lists: drawn as a panel of steps */
.bl-text ol { list-style: none; counter-reset: step; padding: 1.4rem 1.6rem; background: rgba(27, 30, 38, .7); border: 1px solid var(--hair); border-radius: 1.25rem; }
.bl-text ol li { counter-increment: step; position: relative; padding-left: 2.4rem; margin-bottom: .75rem; }
.bl-text ol li:last-child { margin-bottom: 0; }
.bl-text ol li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .2rem; font-size: var(--fs-micro); letter-spacing: .04em;
  font-variant-numeric: tabular-nums; color: var(--cyan); }

/* Key facts: the site's glowing square as the bullet */
.bl-facts { padding: 1.5rem 1.6rem; border: 1px solid var(--hair); border-radius: 1.25rem; background: rgba(27, 30, 38, .5); margin: 0 0 2.6rem; }
.bl-facts .hud { margin: 0 0 1.1rem; font-size: var(--fs-micro); }
.bl-facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.bl-facts li { position: relative; margin: 0; padding-left: 1.4rem; font-size: .9375rem; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.bl-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* The call to action in the middle of a post: a lit panel with the site's buttons */
.bl-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; margin: 3.4rem 0;
  padding: 2.4rem 2.4rem 2.2rem; border-radius: 1.5rem; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, rgba(92, 197, 221, .16), rgba(134, 144, 216, .08) 40%, rgba(27, 30, 38, .9) 75%), var(--surface); }
.bl-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(92, 197, 221, .55), rgba(134, 144, 216, .25) 40%, rgba(255, 255, 255, .06) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bl-text .bl-cta .hud { margin: 0; font-size: var(--fs-micro); line-height: 1.4; letter-spacing: .24em; }
.bl-cta__text { max-width: 22ch; margin: 0 !important; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.bl-cta__lead { max-width: 36rem; margin: 0 !important; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .62); }
.bl-cta__shot { width: 100%; border: 1px solid var(--line); border-radius: .9rem; }
.bl-cta__note { margin: 0 !important; font-size: var(--fs-small); color: rgba(255, 255, 255, .5); }
.bl-cta__codes { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 !important; }
.bl-cta__codes span { padding: .3rem .6rem; border-radius: 50px; border: .5px solid rgba(92, 197, 221, .35); font-family: "Orbitron", var(--font); font-weight: 700;
  font-size: .625rem; letter-spacing: .16em; color: rgba(92, 197, 221, .85); }
.bl-cta__act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.bl-text .bl-cta .btn { color: var(--bg); text-decoration: none; height: 44px; padding: 0 32px; font-size: 1rem; }
.bl-text .bl-cta .btn--ghost { color: #fff; gap: .5rem; }
.bl-cta .btn--ghost svg { width: 14px; height: 14px; }
@media (max-width: 599px) { .bl-cta { padding: 1.8rem 1.4rem; } }

.bl-related { padding-top: 3rem; border-top: 1px solid var(--hair); }
.bl-related__title { color: var(--title); font-size: 1.75rem; font-weight: 400; letter-spacing: -.035em; margin: 0 0 1.4rem; }

/* Breadcrumbs: the c-crumb of NOOVA HR (ds.css), on the dark ground */
.c-crumb { display: inline-flex; gap: 6px; align-items: center; max-width: 100%; min-width: 0; padding: 10px 20px 10px 15px; border-radius: 50px;
  border: .5px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .5); }
.c-crumb svg { width: 20px; height: 20px; flex: 0 0 auto; }
.c-crumb__sep { color: rgba(255, 255, 255, .2); }
.c-crumb__home { display: inline-flex; color: inherit; transition: color .2s; }
.c-crumb__home:hover { color: #fff; }
.c-crumb__link { font-size: 1rem; line-height: 1.4; letter-spacing: -.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: none; color: inherit; transition: color .2s; flex-shrink: 8; }
.c-crumb__link:hover, .c-crumb__link[aria-current] { color: #fff; }
.c-crumb__link[aria-current] { flex-shrink: 1; }

/* ------------------------------------------------------------- HR tools */
/* Free tools (/hr-tools/<slug>/): the page's own builder on the site's surface and lines; print keeps the card only */
.tl { padding: 2rem 0 4rem; display: flex; flex-direction: column; gap: 2.4rem; }
.tl > .c-crumb { align-self: flex-start; }
.tl-hero { max-width: var(--read); }
.tl-hero h1 { color: var(--title); font-weight: 400; letter-spacing: -.05em; line-height: 1; margin: 0 0 1.2rem; font-size: clamp(2.2rem, 4.6vw, 3.6rem); text-wrap: balance; }
.tl-app { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1.6rem 2.4rem; align-items: start; }
.tl-side { display: flex; flex-direction: column; gap: 1.6rem; position: sticky; top: calc(var(--head-h) + 1.5rem); }
.tl-field { display: flex; flex-direction: column; gap: .8rem; }
.tl-field input[type="text"] { font: inherit; font-size: 1rem; color: #fff; background: transparent; border: 1px solid var(--line); border-radius: .8rem; padding: .7rem .9rem; outline: none; }
.tl-field input[type="text"]:focus { border-color: var(--cyan); }
.tl-picks { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.tl-pick { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--hair); font-size: .9rem; color: rgba(255, 255, 255, .5); }
.tl-pick.is-on { color: #fff; }
.tl-pick label { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.tl-pick input { accent-color: var(--cyan); width: 1rem; height: 1rem; }
.tl-w { display: flex; gap: .2rem; }
.tl-w button { font: inherit; font-size: .75rem; color: rgba(255, 255, 255, .45); background: transparent; border: 1px solid transparent; border-radius: .5rem; padding: .15rem .4rem; cursor: pointer; }
.tl-w button[aria-pressed="true"] { color: var(--bg); background: var(--cyan); }
.tl-w button:disabled { visibility: hidden; }
.tl-card { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.8rem; background: rgba(27, 30, 38, .35); display: flex; flex-direction: column; gap: 1.4rem; }
.tl-card__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.6rem; flex-wrap: wrap; }
.tl-card__head h2 { margin: .7rem 0 0; color: var(--title); font-weight: 400; font-size: 1.8rem; letter-spacing: -.04em; line-height: 1.1; }
.tl-meta { display: flex; gap: 1.4rem; margin: 0; }
.tl-meta div { display: flex; flex-direction: column; gap: .35rem; min-width: 7rem; }
.tl-meta dt { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.tl-meta dd { margin: 0; height: 1.4rem; border-bottom: 1px solid var(--line); }
.tl-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tl-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .9rem 1.6rem; padding: 1.3rem 0; border-top: 1px solid var(--hair); }
.tl-q h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.tl-q h3 small { margin-left: .4rem; font-size: .75rem; font-weight: 400; color: var(--cyan); }
.tl-q p { margin: 0; font-size: .9rem; line-height: 1.5; }
.tl-anchors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; font-size: .8rem; line-height: 1.45; color: rgba(255, 255, 255, .55); }
.tl-anchors b { display: block; margin-bottom: .3rem; font-family: "Orbitron", var(--font); font-size: .7rem; color: var(--cyan); }
.tl-score { grid-column: 1; display: flex; align-items: center; gap: .4rem; font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.tl-score span { margin-right: .4rem; }
.tl-score i { font-style: normal; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid var(--line); border-radius: 50%; letter-spacing: 0; color: rgba(255, 255, 255, .55); }
.tl-notes { grid-column: 2; min-height: 2.4rem; border-bottom: 1px dashed var(--line); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .25); }
.tl-empty { color: var(--muted); }
.tl-total { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .9rem; }
.tl-total b { font-weight: 400; color: #fff; font-size: 1.3rem; }
.tl-rec { margin-left: auto; color: rgba(255, 255, 255, .45); }
.tl-act { grid-column: 2; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.tl-act .btn { height: 44px; padding: 0 1.6rem; font-size: 15px; }
.tl-done { font-size: var(--fs-small); color: var(--cyan); }
.tl-text { max-width: var(--read); }
.tl-text h2 { color: var(--title); font-weight: 400; letter-spacing: -.03em; font-size: 1.8rem; margin: 0 0 1.2rem; }
.tl-text h3 { color: #fff; font-weight: 500; font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.tl-text ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.tl-text strong { color: #fff; font-weight: 500; }
.tl .bl-cta { max-width: var(--read); margin: 0; }
@media (max-width: 1023px) {
  .tl-app { grid-template-columns: minmax(0, 1fr); }
  .tl-side { position: static; }
  .tl-act { grid-column: 1; }
  .tl-rows > li { grid-template-columns: minmax(0, 1fr); }
  .tl-score, .tl-notes { grid-column: 1; }
}
@media (max-width: 639px) { .tl-anchors { grid-template-columns: minmax(0, 1fr); } .tl-card { padding: 1.2rem; } }
@media print {
  body.bl { background: #fff !important; color: #111; }
  body.bl > *:not(main), .bl-main > .tl > *:not(.tl-app), .tl-side, .tl-act, .top-fade, .skip { display: none !important; }
  .bl-main { padding: 0 !important; }
  .tl-app { display: block; }
  .tl-card { border: 0; padding: 0; background: none; color: #111; }
  .tl-card *, .tl-anchors, .tl-q p { color: #111 !important; }
  .tl-card .hud::before { display: none; }
  .tl-rows > li { break-inside: avoid; border-color: #ccc; grid-template-columns: 1fr 1.4fr; }
  .tl-anchors b, .tl-q h3 small { color: #111 !important; }
  .tl-score i, .tl-meta dd, .tl-notes, .tl-total { border-color: #999 !important; }
  .tl-score { grid-column: 1; } .tl-notes { grid-column: 2; }
}
