:root {
  --navy: #051C2C;
  --blue: #2251FF;
  --gray-500: #8C8C8C;
  --gray-300: #D0D0D0;
  --gray-100: #F0F0F0;
  --negative: #C8102E;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --muted: #6B6B6B;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page: 1080px;
  --bar: 56px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.55 var(--sans); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 28px; }

/* Top bar: the same on every page */
.bar { position: sticky; top: 0; z-index: 10; height: var(--bar); background: #fff; border-bottom: 1px solid var(--gray-300); }
.bar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar .home { font: 700 18px/1 var(--serif); color: var(--navy); text-decoration: none; white-space: nowrap; }
.bar ul { display: flex; gap: 4px; height: 100%; }
.bar li { height: 100%; }
.bar li a { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: 15px; color: var(--ink-2); text-decoration: none; border-top: 3px solid transparent; border-bottom: 3px solid transparent; white-space: nowrap; }
.bar li a:hover { color: var(--navy); border-bottom-color: var(--gray-300); }
.bar li a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--blue); }

/* Tool marks */
.ico { display: inline-block; flex: none; width: 18px; height: 18px; background: var(--navy); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.tools { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.tool { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }

/* Home: one claim and its proofs */
.lead { background: var(--navy); color: #fff; padding: 72px 0 0; }
.lead .role { font-size: 15px; color: #B8C4CE; }
.lead h1 { margin-top: 14px; max-width: 880px; font: 700 40px/1.2 var(--serif); }
.lead .background { margin-top: 20px; max-width: 700px; font-size: 17px; color: #E4E8EC; }
.lead .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 11px 20px; font-size: 15px; font-weight: 700; text-decoration: none; border: 1px solid #fff; color: #fff; }
.btn.solid { background: #fff; color: var(--navy); }
.btn:hover { background: #E4E8EC; color: var(--navy); }
.btn:focus-visible { outline-color: #fff; }
.proofs { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #3B4D5A; }
.proofs li + li { border-left: 1px solid #3B4D5A; }
.proofs a { display: block; height: 100%; padding: 24px 28px 32px 0; color: #fff; text-decoration: none; }
.proofs li + li a { padding-left: 28px; }
.proofs .name { display: block; font-size: 14px; color: #B8C4CE; }
.proofs .num { display: block; margin-top: 10px; font: 700 34px/1.1 var(--serif); }
.proofs .what { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; color: #E4E8EC; }
.proofs .go { display: inline-block; margin-top: 16px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.proofs a:hover .go { text-decoration-thickness: 2px; }
.proofs a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* Sections and page headers */
.section { padding: 64px 0; border-bottom: 1px solid var(--gray-300); }
.section h2 { max-width: 760px; font: 700 28px/1.3 var(--serif); }
.section .more { margin-top: 24px; font-size: 15px; }
.pagehead { padding: 56px 0 36px; }
.pagehead h1 { max-width: 860px; font: 700 38px/1.2 var(--serif); }
.pagehead .sub { margin-top: 14px; max-width: 760px; color: var(--ink-2); }
.crumb { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--ink-2); }
.body { padding: 0 0 72px; }

.toolstrip { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.toolstrip a { display: flex; align-items: center; gap: 12px; padding: 18px 12px 18px 0; font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gray-300); }
.toolstrip a:hover { color: var(--blue); }
.toolstrip .ico { width: 26px; height: 26px; }

.timeline { margin-top: 28px; border-top: 2px solid var(--navy); }
.timeline li { display: grid; grid-template-columns: 130px 220px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--gray-300); font-size: 16px; }
.timeline .when { color: var(--muted); }
.timeline .org { font-weight: 700; }
.timeline .did { color: var(--ink-2); }

/* Projects list */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.filter .label { margin-right: 8px; font-size: 14px; color: var(--muted); }
.filter button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; font: 14px/1.2 var(--sans); color: var(--ink-2); background: #fff; border: 1px solid var(--gray-300); cursor: pointer; }
.filter button:hover { border-color: var(--navy); color: var(--navy); }
.filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter button[aria-pressed="true"] .ico { background: #fff; }
.group { padding-top: 48px; }
.group > h2 { font: 700 24px/1.3 var(--serif); }
.group > .note { margin-top: 6px; font-size: 15px; color: var(--muted); }
.cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; height: 100%; padding: 22px 22px 20px; background: var(--gray-100); border-top: 2px solid var(--navy); color: var(--ink); text-decoration: none; }
.card:hover { background: #E6E6E6; }
.card .name { font-size: 14px; color: var(--muted); }
.card .num { margin-top: 10px; font: 700 30px/1.1 var(--serif); color: var(--navy); }
.card .what { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.card .q { margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid var(--gray-300); font: italic 15px/1.45 var(--serif); color: var(--ink-2); }
.card .tools { margin-top: auto; }
.card .go { margin-top: 16px; font-size: 14px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.rows { margin-top: 20px; border-top: 2px solid var(--navy); }
.prow { display: grid; grid-template-columns: 170px 1fr 150px; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--gray-300); }
.prow .meta { font-size: 14px; line-height: 1.5; color: var(--muted); }
.prow .meta b { display: block; font-size: 15px; color: var(--ink); }
.prow h3 { font: 700 17px/1.35 var(--sans); }
.prow h3 a { color: var(--ink); }
.prow h3 a:hover { color: var(--blue); }
.prow p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.prow .tools { flex-direction: column; gap: 6px; align-content: start; }
.empty { display: none; padding: 32px 0; color: var(--muted); }

/* Case page: question, answer, key line */
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.case-head .facts { font-size: 14px; color: var(--muted); }
.question { margin-top: 28px; font: italic 18px/1.4 var(--serif); color: var(--ink-2); }
.answer { margin-top: 12px; padding: 24px 28px; background: var(--navy); color: #fff; font: 700 26px/1.3 var(--serif); }
.why { text-align: center; font: italic 14px/1.4 var(--serif); color: var(--muted); }
.why::before, .why::after { content: ""; display: block; width: 1px; margin: 0 auto; background: var(--gray-500); }
.why::before { height: 18px; margin-bottom: 6px; }
.why::after { height: 12px; margin-top: 6px; }
.keyline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 14px; }
.keyline::before { content: ""; position: absolute; top: 0; left: calc((100% - 48px) / 6); right: calc((100% - 48px) / 6); border-top: 1px solid var(--gray-500); }
.keyline li { position: relative; padding: 18px 20px 20px; border-top: 2px solid var(--navy); background: var(--gray-100); }
.keyline li::before { content: ""; position: absolute; top: -16px; left: 50%; height: 14px; border-left: 1px solid var(--gray-500); }
.keyline h3 { font: 700 16px/1.35 var(--sans); }
.keyline p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.keyline b { color: var(--ink); }

.exhibit { margin-top: 48px; max-width: 760px; }
.exhibit .title { font-weight: 700; font-size: 16px; }
.exhibit .unit { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; margin-bottom: 14px; }
.row .label { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.track { position: relative; height: 34px; }
.track::before { content: ""; position: absolute; left: 33.33%; top: -7px; bottom: -7px; width: 1px; background: var(--ink); }
.fill { position: absolute; top: 0; height: 100%; }
.fill.pos { left: 33.33%; transform-origin: left center; }
.fill.neg { right: 66.67%; transform-origin: right center; }
.fill.context { background: var(--gray-500); }
.fill.loss { background: var(--negative); }
.fill.point { background: var(--blue); }
.value { position: absolute; top: 0; line-height: 34px; padding-left: 8px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.value.inside { padding: 0 8px 0 0; color: #fff; }
.value.is-loss { color: var(--negative); }
.value.is-point { color: var(--blue); font-family: var(--serif); font-size: 20px; }
.source { margin-top: 20px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.js .build .fill { transform: scaleX(0); }
.js .build .value { opacity: 0; }
.js .build.go .fill { transform: scaleX(1); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.js .build.go .value { opacity: 1; transition: opacity 250ms linear; }
.js .build.go .row:nth-child(2) .fill { transition-delay: 500ms; }
.js .build.go .row:nth-child(3) .fill { transition-delay: 1100ms; }
.js .build.go .row:nth-child(1) .value { transition-delay: 600ms; }
.js .build.go .row:nth-child(2) .value { transition-delay: 1100ms; }
.js .build.go .row:nth-child(3) .value { transition-delay: 1300ms; }

.pager { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--gray-300); }
.pager a { display: block; padding: 18px 0; color: var(--ink); text-decoration: none; }
.pager a:hover b { color: var(--blue); }
.pager span { display: block; font-size: 14px; color: var(--muted); }
.pager b { font-size: 17px; }
.pager .next { text-align: right; }

/* Tables */
.table-scroll { margin-top: 28px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; background: var(--navy); color: #fff; font-weight: 700; padding: 10px 14px; }
td { padding: 12px 14px; border-bottom: 1px solid var(--gray-300); vertical-align: top; }
td.n, th.n { text-align: right; }

/* Resume */
.cv h2 { margin-top: 48px; padding-bottom: 10px; font: 700 24px/1.3 var(--serif); border-bottom: 2px solid var(--navy); }
.cv h2:first-child { margin-top: 0; }
.job { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gray-300); }
.job .meta { font-size: 14px; line-height: 1.5; color: var(--muted); }
.job .meta b { display: block; font-size: 15px; color: var(--ink); }
.job h3 { font: 700 19px/1.3 var(--sans); }
.job .about { font-size: 14px; color: var(--muted); }
.job .title { margin-top: 16px; font-weight: 700; font-size: 16px; }
.job .title span { font-weight: 400; color: var(--muted); }
.job .title:first-of-type { margin-top: 10px; }
.job ul { margin-top: 8px; }
.job ul li { position: relative; padding: 4px 0 4px 18px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.job ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 6px; height: 2px; background: var(--navy); }
.plainlist { margin-top: 20px; }
.plainlist li { padding: 6px 0; font-size: 16px; }

/* Skills */
.skills { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.skill { padding: 22px; background: var(--gray-100); border-top: 2px solid var(--navy); }
.skill .top { display: flex; align-items: center; gap: 14px; }
.skill .ico { width: 36px; height: 36px; }
.skill h2 { font: 700 22px/1.2 var(--serif); }
.skill .count { margin-top: 14px; font-size: 14px; color: var(--muted); }
.skill ul { margin-top: 6px; }
.skill li { padding: 5px 0; font-size: 15px; line-height: 1.4; border-top: 1px solid var(--gray-300); }
.skill li span { color: var(--muted); }
.also { margin-top: 40px; }
.also h2 { font: 700 20px/1.3 var(--serif); }
.also .tools { margin-top: 14px; gap: 10px 28px; }
.also .tool { font-size: 16px; }
.also .ico { width: 24px; height: 24px; }

/* Contact and footer */
.contact { border-top: 2px solid var(--navy); max-width: 620px; }
.contact li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--gray-300); }
.contact span { color: var(--muted); }
footer { padding: 32px 0 48px; border-top: 1px solid var(--gray-300); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer .links a { margin-right: 20px; color: var(--ink-2); }
footer .note { max-width: 520px; font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .bar li a { padding: 0 8px; font-size: 14px; }
  .bar .wrap { gap: 10px; }
  .bar .home { font-size: 16px; }
  .lead { padding-top: 48px; }
  .lead h1 { font-size: 28px; }
  .proofs { margin-top: 36px; grid-template-columns: 1fr; }
  .proofs li + li { border-left: 0; border-top: 1px solid #3B4D5A; }
  .proofs a, .proofs li + li a { padding: 20px 0 24px; }
  .proofs .num { font-size: 28px; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 23px; }
  .pagehead { padding: 36px 0 24px; }
  .pagehead h1 { font-size: 28px; }
  .toolstrip { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .cards, .skills { grid-template-columns: 1fr; }
  .prow, .job { grid-template-columns: 1fr; gap: 8px; }
  .prow .tools { flex-direction: row; }
  .answer { padding: 20px; font-size: 21px; }
  .keyline { grid-template-columns: 1fr; gap: 12px; padding-top: 0; }
  .keyline::before, .keyline li::before, .why::after { display: none; }
  .why { padding-bottom: 12px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .pager { grid-template-columns: 1fr; gap: 0; }
  .pager .next { text-align: left; border-top: 1px solid var(--gray-300); }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 420px) {
  .bar .home { display: none; }
  .bar ul { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .js .build .fill { transform: none; transition: none; }
  .js .build .value { opacity: 1; transition: none; }
}
@media print {
  .bar { position: static; }
  .filter, .pager, .lead .actions { display: none; }
  .js .build .fill { transform: none; }
  .js .build .value { opacity: 1; }
}

/* Case page parts */
html { scroll-padding-top: 120px; }
.subnav { position: sticky; top: var(--bar); z-index: 9; background: var(--gray-100); border-bottom: 1px solid var(--gray-300); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; }
.subnav a { padding: 12px 14px; font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.subnav a:first-child { padding-left: 0; }
.subnav a:hover { color: var(--blue); text-decoration: underline; }
.subnav + .body { padding-top: 40px; }
.part { margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--navy); }
.part > h2 { max-width: 800px; font: 700 28px/1.3 var(--serif); }
.sub3 { margin-top: 36px; font: 700 17px/1.3 var(--sans); }
.strip { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.strip > div { position: relative; padding: 16px 18px 18px; background: var(--gray-100); }
.strip > div + div::before { content: "\2192"; position: absolute; left: -22px; top: 50%; margin-top: -12px; font-size: 18px; color: var(--gray-500); }
.strip span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.strip .now { background: #fff; border: 1px solid var(--gray-300); }
.strip .now span { color: var(--negative); }
.strip .want { background: #E9EEFF; }
.strip .want span { color: var(--blue); }
.strip p { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.scqa { margin-top: 14px; border-top: 1px solid var(--gray-300); }
.scqa th { width: 220px; background: none; color: var(--ink); padding: 14px 14px 14px 0; border-bottom: 1px solid var(--gray-300); vertical-align: top; }
.scqa th span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.scqa td { font-size: 16px; }
.scqa .question td { font: italic 17px/1.5 var(--serif); }
.scqa .answer { background: #E9EEFF; margin: 0; padding: 0; color: var(--ink); font: inherit; }
.scqa .answer th { padding-left: 14px; }
.scqa .answer td { font-family: var(--serif); font-size: 17px; }
.treeq { margin-top: 14px; padding: 14px 18px; background: var(--navy); color: #fff; font: 700 18px/1.35 var(--serif); }
.tree { margin-left: 24px; border-left: 1px solid var(--gray-500); }
.tree li { position: relative; margin-left: 24px; padding: 14px 18px; background: var(--gray-100); margin-top: 10px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.tree li::before { content: ""; position: absolute; left: -24px; top: 26px; width: 24px; border-top: 1px solid var(--gray-500); }
.tree .tq { font-size: 15px; font-weight: 700; }
.tree .ta { font-size: 15px; color: var(--ink-2); }
.tree .ta b { color: var(--ink); }
.steps3 { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps3 li { counter-increment: s; padding-top: 14px; border-top: 2px solid var(--navy); }
.steps3 li::before { content: counter(s); display: block; font: 700 22px/1 var(--serif); color: var(--navy); }
.steps3 h3 { margin-top: 10px; font: 700 16px/1.35 var(--sans); }
.steps3 p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.notes { margin-top: 24px; max-width: 800px; }
.notes li { position: relative; padding: 5px 0 5px 18px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.notes li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 6px; height: 2px; background: var(--navy); }
@media (max-width: 900px) {
  .strip, .steps3 { grid-template-columns: 1fr; gap: 14px; }
  .strip > div + div::before { display: none; }
  .scqa th { width: 110px; }
  .tree { margin-left: 0; } .tree li { grid-template-columns: 1fr; gap: 6px; margin-left: 14px; } .tree li::before { left: -14px; width: 14px; }
  .part { margin-top: 48px; } .part > h2 { font-size: 23px; }
}
@media print { .subnav { display: none; } }

/* Two-level key line */
.keyline .pts { margin-top: 10px; }
.keyline .pts li { position: static; padding: 7px 0 0; margin-top: 7px; border-top: 1px solid var(--gray-300); background: none; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.keyline .pts li::before { display: none; }
.files { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.files li { padding: 14px 18px; border: 1px solid var(--navy); min-width: 260px; }
.files a { display: block; font-weight: 700; font-size: 16px; }
.files span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.lede { margin-top: 10px; max-width: 800px; font-size: 16px; color: var(--ink-2); }

/* Issue tree, left to right */
.ltree-scroll { margin-top: 18px; overflow-x: auto; padding-bottom: 6px; }
.ltree { min-width: 1000px; }
.ltree, .ltree ul { margin: 0; padding: 0; list-style: none; }
.ltree li { display: flex; align-items: center; position: relative; padding: 5px 0 5px 22px; }
.ltree > li { padding-left: 0; }
.ltree ul { position: relative; flex: none; margin-left: 22px; }
.ltree ul::before { content: ""; position: absolute; left: -22px; top: 50%; width: 22px; border-top: 1px solid var(--gray-500); }
.ltree ul > li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; border-top: 1px solid var(--gray-500); }
.ltree ul > li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--gray-500); }
.ltree ul > li:first-child::after { top: 50%; }
.ltree ul > li:last-child::after { bottom: 50%; }
.ltree ul > li:only-child::after { display: none; }
.node { flex: none; width: 140px; padding: 9px 12px; background: var(--gray-100); border-left: 3px solid var(--navy); font-size: 14px; line-height: 1.3; }
.node b { display: block; }
.node span { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.node.root { width: 140px; background: var(--navy); color: #fff; }
.node.root span { color: #B8C4CE; }
.node.lever { background: var(--blue); border-left-color: var(--blue); color: #fff; }
.node.lever span { color: #E3E9FF; }
.node.limit { background: #fff; outline: 1px solid var(--negative); outline-offset: -1px; border-left-color: var(--negative); }
.node.limit span { color: var(--negative); }
.node.fixed { background: #fff; outline: 1px dashed var(--gray-500); outline-offset: -1px; border-left-color: var(--gray-500); color: var(--ink-2); }
.find { position: relative; flex: 0 1 auto; max-width: 290px; margin-left: 22px; font-size: 13px; line-height: 1.4; }
.find::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; border-top: 1px dotted var(--gray-500); }
.find .q { font-style: italic; color: var(--ink-2); }
.find .a { margin-top: 2px; color: var(--ink-2); }
.find .a b { color: var(--ink); }
.legend { margin-top: 12px; font-size: 13px; color: var(--muted); }
.legend .k { display: inline-block; margin: 0 6px 0 14px; padding: 2px 8px; font-weight: 700; font-size: 12px; }
.legend .k:first-child { margin-left: 0; }
.legend .lever { background: var(--blue); color: #fff; }
.legend .limit { color: var(--negative); outline: 1px solid var(--negative); }
.legend .fixed { color: var(--ink-2); outline: 1px dashed var(--gray-500); }

/* Evidence, recommendation, deck, brief */
.eval td.yes b { color: var(--ink); } .eval td.no b { color: var(--negative); }
.recs { margin-top: 20px; max-width: 860px; counter-reset: r; }
.recs li { counter-increment: r; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--gray-300); font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.recs li::before { content: counter(r); position: absolute; left: 0; top: 12px; font: 700 22px/1.2 var(--serif); color: var(--navy); }
.recs strong { color: var(--ink); }
.slides { margin-top: 24px; border-top: 2px solid var(--navy); }
.slides li { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--gray-300); }
.slides .sn b { display: block; font: 700 24px/1 var(--serif); color: var(--navy); }
.slides .sn span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.slides h3 { font: 700 20px/1.3 var(--serif); max-width: 800px; }
.slides p { margin-top: 6px; max-width: 800px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.brief { margin-top: 12px; max-width: 860px; }
.brief .bpart { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--gray-300); }
.brief h3 { font: 700 22px/1.3 var(--serif); }
.brief h4, .brief h5 { margin: 22px 0 0; font: 700 16px/1.4 var(--sans); }
.brief p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.brief ul, .brief ol { margin: 12px 0 0 20px; list-style: revert; }
.brief li { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.brief img { display: block; max-width: 100%; height: auto; margin-top: 18px; }
.brief .business-note { margin-top: 18px; padding: 16px 18px; background: var(--gray-100); border-left: 3px solid var(--navy); }
.brief .decision { margin-top: 18px; padding: 16px 18px; background: #E9EEFF; border-left: 3px solid var(--blue); }
.brief .business-note p:first-child, .brief .decision p:first-child { margin-top: 0; }
.brief table { font-size: 14px; }
.brief strong { color: var(--ink); }
@media (max-width: 900px) { .slides li { grid-template-columns: 1fr; gap: 6px; } }

/* Lean case page */
.case-facts { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.case-facts .facts { font-size: 15px; color: var(--muted); }
.dls { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.dl { display: flex; align-items: center; gap: 14px; min-width: 230px; padding: 14px 20px 14px 16px; background: var(--navy); color: #fff; text-decoration: none; border: 2px solid var(--navy); }
.dl .ico { width: 30px; height: 30px; background: #fff; }
.dl b { display: block; font-size: 17px; }
.dl em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: #B8C4CE; }
.dl:hover { background: #fff; color: var(--navy); }
.dl:hover .ico { background: var(--navy); }
.dl:hover em { color: var(--muted); }
.dl:first-child { background: var(--blue); border-color: var(--blue); }
.dl:first-child em { color: #E3E9FF; }
.dl:first-child:hover { background: #fff; color: var(--blue); }
.dl:first-child:hover .ico { background: var(--blue); }
.scq { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.scq > div { padding-top: 14px; border-top: 2px solid var(--navy); }
.scq h2 { font: 700 15px/1.3 var(--sans); color: var(--navy); }
.scq p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.scq p b { color: var(--ink); }
.scq .q p { font: italic 19px/1.4 var(--serif); color: var(--ink); }
#answer { margin-top: 40px; }
#answer .answer { margin-top: 0; }
.part.first { margin-top: 0; padding-top: 0; border-top: 0; }

/* Recommendation: actions, risks and controls */
.rec { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.rec-head { padding: 11px 16px; background: var(--navy); color: #fff; font-weight: 700; font-size: 16px; }
.acts { counter-reset: a; }
.acts li { counter-increment: a; position: relative; margin-top: 10px; padding: 14px 16px 14px 64px; background: var(--gray-100); }
.acts li::before { content: counter(a); position: absolute; left: 18px; top: 10px; font: 700 34px/1.1 var(--serif); color: var(--navy); }
.acts b { display: block; font: 700 19px/1.25 var(--serif); }
.acts span { display: block; margin-top: 3px; font-size: 15px; color: var(--ink-2); }
.acts li.main { background: var(--blue); color: #fff; }
.acts li.main::before { color: #fff; }
.acts li.main span { color: #E3E9FF; }
.rk { margin-top: 10px; font-size: 15px; }
.rk th { background: none; color: var(--muted); font-size: 13px; padding: 4px 14px 8px 0; border-bottom: 1px solid var(--navy); }
.rk td { padding: 14px 14px 14px 0; line-height: 1.45; }
.rk td:first-child { width: 46%; font-weight: 700; white-space: normal; }

/* Method diagram */
.swap { margin-top: 24px; max-width: 940px; }
.sw-flow { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.sw-flow span { padding: 8px 14px; background: var(--gray-100); border-left: 3px solid var(--navy); }
.sw-flow i { flex: none; width: 34px; border-top: 1px solid var(--gray-500); position: relative; }
.sw-flow i::after { content: ""; position: absolute; right: 0; top: -4px; border: 4px solid transparent; border-left-color: var(--gray-500); border-right: 0; }
.sw-grid { margin-top: 22px; display: grid; grid-template-columns: 130px 4fr 1.5fr 1.5fr 1.2fr; gap: 8px 4px; align-items: center; }
.sw-row { font-size: 15px; font-weight: 700; }
.sw { height: 44px; }
.sw.on { background: var(--navy); }
.sw.add { background: var(--blue); }
.sw.off { outline: 1px dashed var(--gray-500); outline-offset: -1px; }
.sw.drop { background: repeating-linear-gradient(135deg, #fff 0 6px, var(--gray-300) 6px 7px); }
.sw-lab { align-self: start; padding: 4px 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.sw-lab b { display: block; color: var(--ink); }
.sw-lab.add b { color: var(--blue); }
.sw-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Board deck: slides are drawn on a 1280 x 720 canvas and scaled to the stage */
.deck { margin-top: 20px; }
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; border: 1px solid var(--gray-300); }
.stage:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.stage:fullscreen { border: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.slide { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; padding: 76px 64px 0; transform-origin: 0 0; background: #fff; color: var(--ink); font: 20px/1.4 var(--sans); counter-increment: sl; }
.js .slide { display: none; }
.js .slide.on { display: block; }
.stage { counter-reset: sl; }
.slide::before { content: attr(data-part); position: absolute; left: 64px; top: 30px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.slide::after { content: "Illustrative"; position: absolute; right: 64px; top: 26px; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--muted); border-radius: 2px; }
.slide h3 { max-width: 1080px; font: 700 34px/1.2 var(--serif); }
.s-kicker { margin-bottom: 8px; font: italic 19px/1.3 var(--serif); color: var(--muted); }
.s-body { margin-top: 36px; }
.s-body.two { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; }
.s-src { position: absolute; left: 64px; right: 64px; bottom: 24px; font-size: 13px; color: var(--muted); }
.c-title { font-weight: 700; font-size: 19px; }
.c-unit { font-size: 16px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 16px; }
.kpis > div { padding: 22px 24px 26px; background: var(--gray-100); border-top: 3px solid var(--navy); }
.k-label { font-size: 18px; font-weight: 700; }
.k-num { margin-top: 12px; font: 700 74px/1 var(--serif); color: var(--navy); }
.s-side .k-num { margin-top: 0; font-size: 62px; }
.k-num.point, .point { color: var(--blue); }
.k-num.loss, .loss { color: var(--negative); }
.k-sub { margin-top: 10px; font-size: 18px; color: var(--ink-2); }
.ask { margin-top: 36px; padding: 20px 24px; background: #E9EEFF; font-size: 24px; }
.s-head { margin-top: 28px; padding-bottom: 8px; font-weight: 700; font-size: 19px; border-bottom: 3px solid var(--navy); }
.s-side ul { margin-top: 10px; }
.s-side li { position: relative; padding: 7px 0 7px 18px; font-size: 19px; line-height: 1.35; }
.s-side li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--navy); }
.sowhat { margin-top: 28px; padding: 18px 20px; background: #E9EEFF; font-size: 19px; line-height: 1.4; }
.vbars { margin-top: 26px; display: flex; align-items: flex-end; justify-content: center; gap: 90px; border-bottom: 2px solid var(--gray-500); position: relative; padding-bottom: 0; margin-bottom: 44px; }
.vbars.tight { gap: 22px; }
.vbar { position: relative; width: 190px; display: flex; flex-direction: column; align-items: center; }
.vbars.tight .vbar { width: 84px; }
.b-fill { width: 100%; background: var(--navy); }
.b-fill.gray { background: var(--gray-500); }
.b-fill.point { background: var(--blue); }
.b-fill.loss { background: var(--negative); }
.b-val { margin-bottom: 8px; font-weight: 700; font-size: 24px; color: var(--navy); }
.b-val.gray { color: var(--muted); }
.b-val.loss { margin: 8px 0 0; }
.b-cat { position: absolute; left: 0; right: 0; bottom: -38px; text-align: center; font-weight: 700; font-size: 20px; }
.vbars.pn { align-items: stretch; border-bottom: 0; margin-bottom: 70px; height: 330px; }
.vbars.pn .vbar { justify-content: flex-start; }
.vbars.pn .up { height: 190px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 2px solid var(--gray-500); }
.vbars.pn .down { width: 100%; display: flex; flex-direction: column; align-items: center; }
.vbars.pn .b-cat { bottom: -34px; }
.b-note { position: absolute; left: -40px; right: -40px; bottom: -60px; text-align: center; font-size: 15px; color: var(--muted); }
.b-note.strong { font-weight: 700; color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.pillar { padding: 0 0 22px; background: var(--gray-100); }
.p-step { padding: 12px 20px; background: var(--navy); color: #fff; font-weight: 700; font-size: 18px; }
.pillar.main .p-step { background: var(--blue); }
.p-act { padding: 18px 20px 0; min-height: 84px; font-weight: 700; font-size: 21px; line-height: 1.25; }
.p-num { padding: 10px 20px 0; font: 700 50px/1 var(--serif); color: var(--navy); }
.pillar.main .p-num { color: var(--blue); }
.p-sub { padding: 8px 20px 0; font-size: 17px; line-height: 1.35; color: var(--ink-2); }
.hbars { margin-top: 18px; }
.h-group { margin-top: 26px; font-weight: 700; font-size: 18px; }
.hrow { display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 16px; margin-top: 10px; font-size: 18px; }
.h-track { display: flex; align-items: center; gap: 12px; }
.h-fill { height: 40px; }
.h-fill.point { background: var(--blue); }
.h-fill.gray { background: var(--gray-500); }
.h-track b { font-size: 22px; white-space: nowrap; }
.heat { margin-top: 22px; font-size: 22px; }
.heat th, .heat td { padding: 20px 18px; text-align: right; border-bottom: 1px solid var(--gray-300); }
.heat thead th { background: var(--navy); color: #fff; }
.heat th:first-child { text-align: left; }
.heat tbody th { background: none; color: var(--ink); font-weight: 700; }
.heat td { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); }
.heat td.base { background: var(--blue); color: #fff; }
.heat td.low { background: #E9EEFF; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phase { position: relative; padding: 18px 22px 22px; background: var(--gray-100); min-height: 190px; }
.phase + .phase::before { content: ""; position: absolute; left: -6px; top: 0; bottom: 0; width: 6px; background: #fff; }
.phase.gate { background: var(--blue); color: #fff; }
.ph-when { font-size: 16px; font-weight: 700; color: var(--muted); }
.phase.gate .ph-when { color: #E3E9FF; }
.ph-name { margin-top: 4px; font: 700 30px/1.1 var(--serif); }
.ph-text { margin-top: 12px; font-size: 18px; line-height: 1.35; }
.risks { margin-top: 26px; font-size: 18px; }
.risks th { padding: 8px 14px; font-size: 16px; }
.risks td { padding: 10px 14px; }
.risks td:first-child { font-weight: 700; width: 46%; white-space: normal; }
.deckbar { margin-top: 12px; display: flex; align-items: center; gap: 10px; }
.deckbar button { padding: 9px 16px; font: 700 14px/1 var(--sans); color: var(--navy); background: #fff; border: 1px solid var(--navy); cursor: pointer; }
.deckbar button:hover { background: var(--navy); color: #fff; }
.deckbar button:disabled { color: var(--gray-500); border-color: var(--gray-300); background: #fff; cursor: default; }
.deckbar .count { min-width: 58px; text-align: center; font-size: 15px; color: var(--ink-2); }
.deckbar .full { margin-left: auto; }
html:not(.js) .stage { aspect-ratio: auto; overflow-x: auto; }
html:not(.js) .slide { position: relative; margin-bottom: 12px; border-bottom: 1px solid var(--gray-300); }
html:not(.js) .deckbar { display: none; }
@media (max-width: 900px) {
  .scq, .rec { grid-template-columns: 1fr; gap: 20px; }
  .dl { min-width: 0; flex: 1 1 100%; }
  .sw-grid { grid-template-columns: 84px 3fr 1.5fr 1.5fr 1fr; }
  .sw-lab { font-size: 11px; }
  .deckbar .full { display: none; }
}
@media print {
  .deckbar { display: none; }
  .stage { aspect-ratio: auto; overflow: visible; border: 0; }
  .js .slide { display: block; position: relative; transform: none !important; page-break-after: always; }
}

/* Deck as the body of the case page; recommendation slide */
.pagehead + .body { padding-top: 8px; }
.pillars.three, .phases.three { grid-template-columns: repeat(3, 1fr); }
.pillars.three .p-num { padding-top: 22px; }
.s-bar { padding: 12px 20px; margin-bottom: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 19px; }
.s-body.halves { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; margin-top: 30px; }
.s-acts { counter-reset: sa; }
.s-acts li { counter-increment: sa; position: relative; margin-top: 10px; padding: 13px 18px 14px 70px; background: var(--gray-100); }
.s-acts li:first-child { margin-top: 0; }
.s-acts li::before { content: counter(sa); position: absolute; left: 20px; top: 10px; font: 700 40px/1.1 var(--serif); color: var(--navy); }
.s-acts b { display: block; font: 700 23px/1.2 var(--serif); }
.s-acts span { display: block; margin-top: 3px; font-size: 17px; color: var(--ink-2); }
.s-acts li.main { background: var(--blue); color: #fff; }
.s-acts li.main::before { color: #fff; }
.s-acts li.main span { color: #E3E9FF; }
.s-risks { font-size: 18px; }
.s-risks td { padding: 14px 16px 14px 0; line-height: 1.35; border-bottom: 1px solid var(--gray-300); vertical-align: top; }
.s-risks td:first-child { width: 46%; font-weight: 700; white-space: normal; }
.vbars .b-cat { white-space: nowrap; }

/* Projects: matrix of task by industry, and tags */
.matrix { font-size: 14px; border-top: 2px solid var(--navy); }
.matrix th, .matrix td { padding: 0; border-bottom: 1px solid var(--gray-300); text-align: center; vertical-align: middle; }
.matrix thead th { background: none; color: var(--ink); vertical-align: bottom; }
.matrix .corner { padding: 10px 12px 10px 0; text-align: left; font-weight: 400; font-size: 13px; color: var(--muted); }
.matrix th button { width: 100%; padding: 10px 8px; font: 700 14px/1.25 var(--sans); color: var(--ink); background: none; border: 0; cursor: pointer; }
.matrix tbody th { text-align: left; background: none; }
.matrix tbody th button { text-align: left; padding-left: 0; }
.matrix th button:hover { color: var(--blue); text-decoration: underline; }
.matrix th button[aria-pressed="true"] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.matrix .cell { width: 100%; min-width: 44px; padding: 9px 0; font: 700 17px/1 var(--serif); color: var(--navy); background: var(--gray-100); border: 2px solid #fff; cursor: pointer; }
.matrix .cell:hover { background: var(--navy); color: #fff; }
.matrix .cell[aria-pressed="true"] { background: var(--blue); color: #fff; }
.matrix td.none { color: var(--gray-300); }
.matrix .tot { padding: 9px 8px; font-size: 13px; color: var(--muted); font-weight: 400; background: none; }
.matrix tbody th.tot { padding-left: 0; }
.filter { margin-top: 28px; }
.filter .active { margin-left: 12px; font-size: 14px; color: var(--ink-2); }
.filter .clear { margin-left: auto; border-color: var(--navy); color: var(--navy); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.prow .tags, .card .tags { margin-top: 10px; }
.tag { padding: 3px 8px; font-size: 12px; line-height: 1.3; color: var(--ink-2); border: 1px solid var(--gray-300); white-space: nowrap; }
.tag.ind { color: var(--navy); border-color: var(--navy); font-weight: 700; }
.card .tags { margin: 16px 0 14px; padding-top: 14px; border-top: 1px solid var(--gray-300); }

[hidden] { display: none !important; }

/* Work experience against self-built case studies */
.proofs-head { margin-top: 52px; font-size: 15px; font-weight: 700; color: #fff; }
.proofs-head + .proofs { margin-top: 12px; }
.tag.type { font-weight: 700; }
.tag.type.work { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag.type.case { background: #fff; border: 1px dashed var(--navy); color: var(--navy); }
.tag.type.practice { color: var(--muted); }
.matrix .cell.self { background: #fff; border: 2px solid #fff; outline: 1px dashed var(--navy); outline-offset: -4px; }
.matrix .cell.self:hover { background: var(--navy); color: #fff; }
.legend .k.work { background: var(--gray-100); color: var(--navy); font-family: var(--serif); }
.legend .k.self { color: var(--navy); outline: 1px dashed var(--navy); font-family: var(--serif); }
.filter .label.gap { margin-left: 18px; }
.case-facts .facts b { color: var(--ink); }
.section .cards { margin-top: 28px; }
.section .lede { margin-top: 10px; }
.group > .note { max-width: 760px; }

/* Course project pages */
.cp .question { margin-top: 0; max-width: 820px; font-size: 20px; }
.cp-kpis { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--gray-300); }
.cp-kpis > div { padding: 20px 24px 22px 0; }
.cp-kpis > div + div { padding-left: 24px; border-left: 1px solid var(--gray-300); }
.cp-kpis .k { font-size: 14px; color: var(--muted); }
.cp-kpis .v { margin-top: 8px; font: 700 40px/1.05 var(--serif); color: var(--navy); }
.cp-kpis > div:first-child .v { color: var(--blue); }
.cp-kpis .s { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cp-grid { font-size: 15px; }
.cp-grid caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 14px; color: var(--muted); }
.cp-grid thead th { background: none; color: var(--ink-2); font-weight: 700; border-bottom: 2px solid var(--navy); padding: 8px 10px; }
.cp-grid tbody th { background: none; color: var(--ink); font-weight: 400; padding: 9px 14px 9px 0; border-bottom: 1px solid var(--gray-300); white-space: nowrap; }
.cp-grid tbody th span { margin-left: 6px; font-size: 13px; color: var(--muted); }
.cp-grid td { padding: 9px 10px; color: var(--gray-500); }
.cp-grid td.ok { color: var(--ink); }
.cp-grid .pick { background: var(--gray-100); }
.cp-grid thead th.pick { background: var(--navy); color: #fff; }
.cp-grid td.serve { color: var(--blue); font-weight: 700; }
.cp-grid tr.cost th, .cp-grid tr.cost td { color: var(--ink-2); font-size: 14px; }
.cp-grid.bids td, .cp-grid.bids thead th.n { text-align: center; }
.cp .legend .k.pick { background: var(--navy); color: #fff; }
.cp .legend .k.serve { color: var(--blue); background: var(--gray-100); }
.cp .legend .k.ok { color: var(--ink); outline: 1px solid var(--gray-300); }
.cp-bars { margin-top: 24px; max-width: 900px; border-top: 1px solid var(--gray-300); }
.cp-bar { display: grid; grid-template-columns: 120px 1fr 110px 130px; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gray-300); }
.cp-bar.wide { grid-template-columns: 300px 1fr 80px 170px; }
.cp-bar .c { font-size: 15px; color: var(--ink-2); }
.cp-bar.wide .c { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cp-bar .c b { display: block; font-size: 15px; color: var(--ink); }
.cp-bar .t { height: 22px; }
.cp-bar .t i { display: block; height: 100%; background: var(--gray-500); }
.cp-bar.on .t i { background: var(--blue); }
.cp-bar .v { font: 700 18px/1 var(--serif); color: var(--navy); text-align: right; }
.cp-bar .s { font-size: 13px; line-height: 1.4; color: var(--muted); }
.cp-bar.on .c b, .cp-bar.on:not(.wide) .c { color: var(--navy); font-weight: 700; }
.cp-note { margin-top: 12px; max-width: 800px; font-size: 13px; color: var(--muted); }
.cp-model { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.cp-model > div { padding: 18px 24px 20px 0; }
.cp-model > div + div { padding-left: 24px; border-left: 1px solid var(--gray-300); }
.cp-model h3 { font: 700 15px/1.3 var(--sans); color: var(--navy); }
.cp-model p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 760px) {
  .cp-kpis, .cp-model { grid-template-columns: 1fr; }
  .cp-kpis > div + div, .cp-model > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--gray-300); }
  .cp-bar, .cp-bar.wide { grid-template-columns: 1fr 90px; }
  .cp-bar .t { grid-column: 1 / -1; order: 3; }
  .cp-bar .s { grid-column: 1 / -1; order: 4; }
}

.pagehead .sub.result { margin-top: 12px; max-width: 820px; font: 400 21px/1.4 var(--serif); color: var(--navy); }
.cp > .cp-kpis:first-child { margin-top: 0; }

/* Projects: filter rows, result heading, clickable matrix */
.howto { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.matrix .cell { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.matrix th button { text-decoration: underline; text-decoration-color: var(--gray-300); text-underline-offset: 4px; }
.filter { display: block; padding: 8px 0; }
.filter .frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; }
.filter .label { width: 64px; margin-right: 0; }
.filter .label.gap { width: auto; margin-left: 20px; }
.filter select { padding: 7px 10px; font: 14px/1.2 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--gray-300); border-radius: 0; min-width: 220px; }
.filter select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.found { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding: 16px 20px; background: var(--navy); color: #fff; scroll-margin-top: calc(var(--bar) + 12px); }
.found h2 { font: 700 20px/1.3 var(--serif); }
.found .clear { padding: 8px 14px; font: 700 14px/1.2 var(--sans); color: var(--navy); background: #fff; border: 0; cursor: pointer; }
.found .clear:hover { background: #E4E8EC; }
/* Course pages: tables and signed bars */
.cp-table { font-size: 15px; }
.cp-table caption { caption-side: top; text-align: left; padding-bottom: 10px; font-size: 14px; color: var(--muted); }
.cp-table td .sub { display: block; font-size: 13px; color: var(--muted); }
.cp-table td.strong { font-weight: 700; color: var(--blue); }
.cp-table td.neg { color: var(--negative); }
.cp-table.prices td, .cp-table.prices th { padding: 8px 12px; }
.cp-table .chg { width: 180px; padding-left: 0; padding-right: 0; }
.cp-table .chg span { display: block; position: relative; height: 14px; border-left: 0; background: linear-gradient(var(--gray-500), var(--gray-500)) center / 1px 100% no-repeat; }
.cp-table .chg i { position: absolute; top: 0; bottom: 0; }
.cp-table .chg .up i { left: 50%; background: var(--navy); }
.cp-table .chg .dn i { right: 50%; background: var(--negative); }
.cp-bar.neg .t i { background: var(--negative); }
.cp-bars.feats .cp-bar { grid-template-columns: 220px 1fr 80px 230px; }
@media (max-width: 760px) { .filter .label.gap { margin-left: 0; width: 64px; } .filter select { min-width: 0; flex: 1; } .cp-bars.feats .cp-bar { grid-template-columns: 1fr 90px; } }
.cp-grid.heatgrid td { color: var(--ink); text-align: right; }
.cp-grid.heatgrid td.best { outline: 2px solid var(--navy); outline-offset: -2px; font-weight: 700; }
.cp-grid.heatgrid tbody th { font-weight: 700; text-align: center; padding-right: 10px; }
.cp-grid.plan td { padding: 8px 6px; font-size: 14px; }
.cp-grid.plan thead th { padding: 8px 6px; }

/* Skills: one expandable row for each tool */
.skills { display: block; margin-top: 8px; border-top: 2px solid var(--navy); }
.skill { padding: 0; background: none; border-top: 0; border-bottom: 1px solid var(--gray-300); scroll-margin-top: calc(var(--bar) + 12px); }
.skill summary { display: grid; grid-template-columns: 36px 180px 110px 1fr 24px; align-items: center; gap: 16px; padding: 16px 4px; cursor: pointer; list-style: none; }
.skill summary::-webkit-details-marker { display: none; }
.skill summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); justify-self: center; margin-top: -4px; }
.skill[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.skill summary:hover { background: var(--gray-100); }
.skill summary .ico { width: 30px; height: 30px; }
.skill .name { font: 700 20px/1.2 var(--serif); color: var(--navy); }
.skill summary .count { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.skill .mix { font-size: 14px; color: var(--muted); }
.skill .inside { padding: 4px 4px 22px 56px; }
.skill .inside h3 { margin-top: 16px; font: 700 14px/1.3 var(--sans); color: var(--ink-2); }
.skill .inside ul { margin-top: 4px; }
.skill .inside li { padding: 6px 0; font-size: 15px; line-height: 1.4; border-top: 1px solid var(--gray-300); }
.skill .inside .more { margin-top: 14px; font-size: 14px; }
@media (max-width: 760px) { .skill summary { grid-template-columns: 30px 1fr 24px; } .skill summary .count, .skill .mix { grid-column: 2; } .skill summary::after { grid-column: 3; grid-row: 1; } .skill .inside { padding-left: 4px; } }
/* Course pages: Tableau figures */
.cp-fig { margin: 24px 0 0; max-width: 940px; }
.cp-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--gray-300); }
.cp-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.cp-scqa { margin-top: 0; max-width: 940px; }
.cp-scqa th { width: 150px; }
.cp-scqa + .cp-kpis { margin-top: 36px; }
.cp-scqa tr.question { margin: 0; font: inherit; color: inherit; }
.cp-scqa tr.question th { font: 700 15px/1.55 var(--sans); font-style: normal; color: var(--ink); }
.cp-scqa th { font-size: 15px; }
.cp-tree + .cp-kpis { margin-top: 48px; }

/* Phone layout */
@media (max-width: 760px) {
  .matrix, .howto, .matrix + .legend, .table-scroll:has(> .matrix), .table-scroll:has(> .matrix) + .legend { display: none; }
  .filter .frow { align-items: stretch; }
  .filter .label, .filter .label.gap { width: 100%; margin: 0 0 2px; }
  .filter select { width: 100%; min-width: 0; padding: 10px; font-size: 16px; }
  .filter button { padding: 9px 12px; }
  .found { margin-top: 16px; padding: 14px 16px; }
  .found h2 { font-size: 17px; }
  .ltree-scroll { overflow: visible; }
  .ltree { min-width: 0; }
  .ltree li { display: block; padding: 8px 0 0; }
  .ltree ul { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--gray-500); }
  .ltree ul::before, .ltree ul > li::before, .ltree ul > li::after, .find::before { display: none; }
  .ltree .node, .ltree .node.root { width: auto; }
  .ltree .find { max-width: none; margin: 6px 0 4px 12px; }
  .scqa.cp-scqa, .scqa.cp-scqa tbody, .scqa.cp-scqa tr, .scqa.cp-scqa th, .scqa.cp-scqa td { display: block; width: auto; }
  .scqa.cp-scqa th { padding: 12px 0 2px; border-bottom: 0; font-size: 13px; color: var(--muted); }
  .scqa.cp-scqa td { padding: 0 0 12px; }
  .scqa.cp-scqa tr.answer th { padding: 12px 14px 2px; }
  .scqa.cp-scqa tr.answer td { padding: 0 14px 14px; }
  .pagehead h1 { font-size: 28px; }
  .part > h2 { font-size: 22px; }
  .cp-kpis .v { font-size: 34px; }
  .dls { gap: 10px; }
  .skill summary { padding: 14px 2px; }
  .cp-table, .cp-grid { font-size: 14px; }
}

/* Home: method in five steps */
.method { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.method li { counter-increment: m; position: relative; padding: 18px 20px 6px 0; }
.method li + li { padding-left: 20px; border-left: 1px solid var(--gray-300); }
.method li::before { content: counter(m); display: block; font: 700 14px/1 var(--sans); color: var(--blue); }
.method b { display: block; margin-top: 10px; font: 700 22px/1.2 var(--serif); color: var(--navy); }
.method span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) { .method { grid-template-columns: 1fr; } .method li, .method li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--gray-300); } }
