/* mithunpatel.ca, 2026 refresh
   VOICE   Executive and calm, like a consulting firm's flagship report.
   IDEA    The page borrows a report's vernacular: exhibits with captions, cited sources, a publication shelf.
   PICTURE Exhibit 1, the Signal Pink "gap" between the workforce you'll need and the workforce you'll have.
   COLOUR  Brand Ink #000, Off-White paper #F0E9F2, white, Signal Pink #FF3258 as the one sharp accent.
   TYPE    Jost for display (brand wordmark face), Hanken Grotesk for text (successor to brand HK Grotesk).
   LAYOUT  Full-bleed bands that alternate paper, white and ink; every section opens on the same 3/9 grid. */

@font-face {
  font-family: "Jost";
  src: url("fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #F0E9F2;
  --white: #FFFFFF;
  --signal: #FF3258;
  --signal-ink: #D0103A;   /* pink that passes AA as small text on light grounds */
  --slate: #5F5964;        /* secondary text on light grounds */
  --mist: #B4AFB8;         /* brand muted grey, secondary text on ink */
  --rule: #D9D0DC;
  --rule-strong: #C4BAC9;
  --rule-dark: #36313C;
  --display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --band: clamp(72px, 9vw, 136px);
  --nav-h: 76px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font: 400 17px/1.6 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--signal-ink);
  outline-offset: 3px;
}

.band--ink :focus-visible,
.foot :focus-visible {
  outline-color: var(--signal);
}

.band--signal :focus-visible {
  outline-color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font: 500 16px var(--display);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Bands: the segmentation system ---------- */

/* The page pattern is one fixed canvas painted between the band backgrounds (sections stay
   unpositioned) and the content (every section's .wrap is lifted above it). */
.page-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

main .wrap,
.foot .wrap {
  position: relative;
  z-index: 1;
}

.band {
  padding-block: var(--band);
}

.band--paper { background: var(--paper); }
.band--white { background: var(--white); }

.band--ink {
  background: var(--ink);
  color: var(--paper);
}

.band--signal {
  background: var(--signal);
  color: var(--ink);
}

/* ---------- Buttons and links ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font: 500 16px/1.2 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--line:hover {
  background: var(--ink);
  color: var(--paper);
}

.band--signal .btn--ink:hover {
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  font: 500 16px var(--display);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--signal-ink);
}

.text-link:hover {
  color: var(--signal-ink);
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 233, 242, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav.is-scrolled,
.nav.is-open {
  border-bottom-color: var(--rule-strong);
}

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 20px/1 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 34px;
  height: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.nav__menu a:not(.btn) {
  position: relative;
  padding: 10px 0;
  font: 400 16px var(--display);
  text-decoration: none;
}

.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 2px;
  background: var(--signal);
  transition: right 0.2s;
}

.nav__menu a:not(.btn):hover::after {
  right: 0;
}

.nav__menu .btn {
  min-height: 44px;
  padding: 10px 20px;
}

.nav__toggle {
  display: none;
  min-height: 44px;
  padding: 10px 18px;
  font: 500 16px var(--display);
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule-strong);
  }

  .nav.is-open .nav__menu {
    display: flex;
  }

  .nav__menu a:not(.btn) {
    padding: 14px 0;
    font-size: 20px;
    border-bottom: 1px solid var(--rule);
  }

  .nav__menu a:not(.btn)::after {
    display: none;
  }

  .nav__menu .btn {
    margin-top: 20px;
    min-height: 52px;
  }
}

/* ---------- Section header: the same 3/9 grid opens every section ---------- */

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 4vw, 64px);
  padding-top: 20px;
  margin-bottom: clamp(44px, 5.5vw, 80px);
  border-top: 2px solid var(--ink);
}

.band--ink .sec-head {
  border-top-color: var(--paper);
}

.sec-head__name {
  margin: 0;
  padding-top: 6px;
  font: 500 16px/1.4 var(--display);
  color: var(--signal-ink);
}

.band--ink .sec-head__name {
  color: var(--signal);
}

.sec-head h1,
.sec-head h2 {
  max-width: 21ch;
  font-size: clamp(32px, 3.9vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--slate);
}

.band--ink .lede {
  color: var(--mist);
}

@media (max-width: 760px) {
  .sec-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* ---------- Exhibits (charts) ---------- */

.exhibit {
  margin: 0;
}

.hero .exhibit {
  background: var(--paper);
}

.tool .exhibit {
  background: var(--white);
}

.exhibit__cap {
  display: block;
  padding-top: 12px;
  margin-bottom: 18px;
  border-top: 2px solid var(--ink);
  font: 500 16px/1.4 var(--display);
}

.exhibit__num {
  color: var(--signal-ink);
  margin-right: 0.35em;
}

.exhibit__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.fig {
  position: relative;
  height: clamp(290px, 30vw, 410px);
}

.fig > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.g-axis {
  font: 400 13px var(--text);
  fill: var(--slate);
}

.g-lab {
  font: 500 15px var(--display);
  fill: var(--ink);
}

.g-gap {
  font: 500 17px var(--display);
  fill: var(--ink);
}

/* ---------- Hero ---------- */


.hero {
  padding-block: clamp(44px, 6vw, 92px) clamp(64px, 8vw, 116px);
}

.hero__title {
  max-width: 17ch;
  font-size: clamp(46px, 6.9vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "side fig" "who fig";
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(36px, 4.5vw, 64px);
}

.hero__side { grid-area: side; }
.hero__grid > .exhibit { grid-area: fig; }
.hero__who { grid-area: who; }

.hero__lede {
  margin: 0 0 28px;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.5;
}

.hero__who {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
}

.hero__who strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "side" "fig" "who";
    row-gap: 36px;
  }

  .hero__who {
    margin-top: 0;
  }
}

/* ---------- Why now (ink) ---------- */

.why {
  padding-block: clamp(64px, 7vw, 104px);
}

.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}

.why__title {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.why__close {
  margin: 22px 0 0;
  font-size: clamp(18px, 1.4vw, 20px);
  color: var(--mist);
}

.facts {
  display: grid;
  gap: 28px;
  margin: 0;
}

.fact {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}

.fact dt {
  font: 300 clamp(60px, 6.6vw, 96px)/0.86 var(--display);
  letter-spacing: -0.04em;
  color: var(--signal);
}

.fact dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.fact cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
  color: var(--mist);
}

.fact cite a {
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .why__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .fact {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.about__photo {
  margin: 0;
}

.about__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose p {
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.65;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose em {
  font-style: normal;
  font-weight: 600;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--rule-strong);
}

.pillar {
  padding: 28px 32px 0 0;
}

.pillar + .pillar {
  padding-left: 32px;
  border-left: 1px solid var(--rule);
}

.pillar h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 500;
}

.pillar p {
  margin: 0;
  color: var(--slate);
}

@media (max-width: 1000px) {
  .about {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar,
  .pillar + .pillar {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 760px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__photo {
    max-width: 320px;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .pillar,
  .pillar + .pillar {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }
}

/* ---------- Approach: timeline + governance ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.tl {
  position: relative;
  padding: 46px 28px 0 0;
}

.tl::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}

.tl--ongoing::before {
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 15px);
}

.tl::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.tl:first-child::after {
  background: var(--signal);
  border-color: var(--signal);
}

.tl__when {
  display: block;
  margin-bottom: 8px;
  font: 500 15px var(--display);
  color: var(--signal-ink);
}

.tl h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.tl p {
  margin: 0;
  font-size: 16px;
  color: var(--slate);
}

.gov {
  margin-top: clamp(64px, 8vw, 112px);
}

.gov__title {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.2vw, 30px);
}

.gov__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 16px;
}

.gov__table th {
  padding: 14px 20px;
  text-align: left;
  font: 500 15px var(--display);
  background: var(--ink);
  color: var(--paper);
}

.gov__table td {
  padding: 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.gov__table td:first-child {
  width: 24%;
  font: 500 18px/1.3 var(--display);
}

.gov__table td:nth-child(2) {
  width: 14%;
}

@media (max-width: 960px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .tl {
    padding: 0 0 36px 44px;
  }

  .tl::before {
    top: 0;
    bottom: 0;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .tl--ongoing::before {
    background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 15px);
  }

  .tl::after {
    top: 4px;
  }

  .tl:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .gov__table thead {
    display: none;
  }

  .gov__table,
  .gov__table tbody,
  .gov__table tr,
  .gov__table td {
    display: block;
    width: auto;
  }

  .gov__table tr {
    padding: 18px 20px;
    border-bottom: 1px solid var(--rule);
  }

  .gov__table td,
  .gov__table td:first-child,
  .gov__table td:nth-child(2) {
    width: auto;
    padding: 4px 0;
    border: 0;
  }

  .gov__table td:first-child {
    padding-bottom: 10px;
  }

  .gov__table td:not(:first-child) {
    display: grid;
    grid-template-columns: 6.5em minmax(0, 1fr);
    gap: 12px;
  }

  .gov__table td:not(:first-child)::before {
    content: attr(data-l);
    font: 500 14px/1.6 var(--display);
    color: var(--slate);
  }
}

/* ---------- Frameworks (ink) ---------- */

.fw {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.fw__tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-dark);
}

.fw__tab {
  position: relative;
  padding: 22px 8px 22px 22px;
  text-align: left;
  font: 400 21px/1.25 var(--display);
  color: var(--mist);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule-dark);
  cursor: pointer;
}

.fw__tab small {
  display: block;
  margin-top: 6px;
  font: 400 15px/1.45 var(--text);
  color: var(--mist);
}

.fw__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: transparent;
}

.fw__tab:hover,
.fw__tab[aria-selected="true"] {
  color: var(--paper);
}

.fw__tab[aria-selected="true"]::before {
  background: var(--signal);
}

.fw__panel {
  display: grid;
  gap: 28px;
}

.fw__panel[hidden] {
  display: none;
}

.fw__figure {
  margin: 0;
  background: var(--ink);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid var(--rule-dark);
}

.fw__figure svg {
  width: 100%;
  height: auto;
}

.fw__figure figcaption {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mist);
}

.fw__name {
  font-size: clamp(26px, 2.4vw, 34px);
}

.fw__label {
  display: block;
  margin-bottom: 8px;
  font: 500 15px var(--display);
  color: var(--signal);
}

.fw__decision {
  margin: 0;
  font: 400 clamp(20px, 1.7vw, 24px)/1.35 var(--display);
}

.fw__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.fw__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.fw__steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid var(--rule-dark);
  font-size: 16px;
  line-height: 1.5;
  counter-increment: step;
}

.fw__steps li::before {
  content: counter(step);
  font: 500 15px/1.6 var(--display);
  color: var(--signal);
}

.fw__outcome {
  margin: 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--signal);
  font-size: 17px;
  line-height: 1.55;
}

.fw__used {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--mist);
}

.fw__more {
  margin: clamp(40px, 5vw, 64px) 0 0;
  color: var(--mist);
}

.band--ink .text-link {
  color: var(--paper);
  text-decoration-color: var(--signal);
}

.band--ink .text-link:hover {
  color: var(--signal);
}

/* Diagram: HTML bars for tasks and value mix */
.blocks {
  display: grid;
  gap: 14px;
}

.blocks__row {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.blocks__label {
  font: 500 15px var(--display);
  color: var(--paper);
}

.blocks__bar {
  display: flex;
  gap: 3px;
  height: 44px;
}

.blocks__bar i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: var(--w) 1 0%;
  min-width: 0;
  font: 500 14px var(--display);
  font-style: normal;
  color: var(--ink);
  background: var(--paper);
}

.blocks__bar .b-ai { background: var(--signal); }
.blocks__bar .b-left { background: rgba(255, 50, 88, 0.42); }

.blocks__bar .b-new {
  background: transparent;
  border: 1.5px dashed var(--paper);
  color: var(--paper);
}

.blocks__bar .b-admin { background: var(--mist); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--mist);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sw {
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--paper);
}

.sw--ai { background: var(--signal); }
.sw--left { background: rgba(255, 50, 88, 0.42); }
.sw--new { background: transparent; border: 1.5px dashed var(--paper); }
.sw--admin { background: var(--mist); }

@media (max-width: 899px) {
  .fw {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .fw__tab {
    padding: 18px 8px 18px 20px;
    font-size: 19px;
  }

  .fw__tab::before {
    top: 16px;
    bottom: 16px;
  }

  .fw__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .blocks__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* ---------- Tools: AI capacity planner ---------- */

.tool {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.tool__inputs {
  margin: 0;
  padding: 24px 26px 8px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font: 500 16px/1.3 var(--display);
}

.field output {
  color: var(--signal-ink);
  font-variant-numeric: tabular-nums;
}

.field small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--slate);
}

.field input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  font: 400 18px var(--text);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
}

.field input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  accent-color: var(--signal-ink);
}

.bars {
  --name-w: 140px;
  position: relative;
  padding-top: 34px;
}

.bars__rows {
  display: grid;
  gap: 20px;
}

.bar {
  display: grid;
  grid-template-columns: var(--name-w) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.bar__name {
  font: 500 16px/1.25 var(--display);
}

.bar__name small {
  display: block;
  margin-top: 3px;
  font: 400 14px var(--text);
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.bar__track {
  position: relative;
  height: 46px;
}

.bar__head,
.bar__real {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transition: width 0.25s ease-out;
}

.bar__head {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}

.bar__real {
  background: var(--signal);
}

.bars__plot {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--name-w) + 16px);
  right: 0;
  pointer-events: none;
}

.absorb {
  position: absolute;
  top: 28px;
  bottom: -8px;
  border-left: 2px dashed var(--ink);
  transition: left 0.25s ease-out;
}

.absorb__lab {
  position: absolute;
  top: -28px;
  left: 0;
  white-space: nowrap;
  font: 500 14px var(--display);
}

.tool .legend {
  color: var(--slate);
  margin-top: 22px;
}

.tool .sw--head {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
}

.tool .sw--real { background: var(--signal); }

.tool .sw--line {
  width: 0;
  height: 16px;
  border-left: 2px dashed var(--ink);
  background: none;
}

.verdict {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font: 400 clamp(20px, 1.8vw, 25px)/1.35 var(--display);
}

.verdict strong {
  font-weight: 500;
  color: var(--signal-ink);
}

@media (max-width: 900px) {
  .tool {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .bars {
    --name-w: 104px;
  }

  .bar {
    gap: 12px;
  }

  .bars__plot {
    left: calc(var(--name-w) + 12px);
  }
}

/* ---------- Insights: the publication shelf ---------- */

.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.pub {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.pub__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 4;
  padding: clamp(16px, 1.8vw, 24px);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 14px 30px -18px rgba(40, 20, 50, 0.45);
}

.pub__kind {
  font: 500 14px var(--display);
}

.pub__title {
  margin-top: 12px;
  font: 400 clamp(19px, 1.75vw, 25px)/1.12 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.pub__art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 46%;
}

.pub__cover--pink { background: var(--signal); color: var(--ink); }
.pub__cover--ink { background: var(--ink); color: var(--paper); }
.pub__cover--white { background: var(--white); color: var(--ink); }
.pub__cover--mist { background: var(--mist); color: var(--ink); }

.pub__desc {
  margin: 18px 0 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
}

.pub__cta {
  margin-top: auto;
  font: 500 16px var(--display);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--signal-ink);
}

.pub:hover .pub__cta {
  color: var(--signal-ink);
}

.shelf__more {
  margin: clamp(40px, 5vw, 60px) 0 0;
  color: var(--slate);
}

@media (max-width: 1000px) {
  .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
}

@media (max-width: 560px) {
  .shelf {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .pub {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }

  .pub__cover {
    grid-row: span 2;
    padding: 12px;
  }

  .pub__kind {
    font-size: 12px;
  }

  .pub__title {
    margin-top: 6px;
    font-size: 15px;
  }

  .pub__desc {
    margin: 0 0 10px;
  }
}

/* ---------- Contact (signal) ---------- */

.contact__title {
  max-width: 17ch;
  margin-bottom: clamp(40px, 5vw, 72px);
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.track h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.2vw, 30px);
}

.track p {
  max-width: 46ch;
  font-size: 18px;
}

.track .actions {
  margin-top: 24px;
}

.band--signal .btn--line:hover {
  background: var(--ink);
  color: var(--signal);
}

.contact__email {
  display: inline-block;
  margin-top: 10px;
  font: 400 clamp(22px, 2.3vw, 32px) var(--display);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.contact__email:hover {
  color: var(--white);
}

@media (max-width: 760px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Footer ---------- */

.foot {
  padding: 56px 0 44px;
  background: var(--ink);
  color: var(--mist);
}

.foot__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: center;
}

.foot__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  text-decoration: none;
}

.foot__brand .brand__mark {
  width: 40px;
}

.foot__word {
  display: flex;
  flex-direction: column;
  font: 500 22px/1.05 var(--display);
  letter-spacing: 0.01em;
}

.foot__word span {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--signal);
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}

.foot__nav a {
  padding: 6px 0;
  font: 400 16px var(--display);
  color: var(--paper);
  text-decoration: none;
}

.foot__nav a:hover {
  color: var(--signal);
}

.foot__legal {
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.foot__legal a {
  color: var(--paper);
}

@media (max-width: 900px) {
  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .foot__nav {
    justify-content: flex-start;
  }

  .foot__legal {
    text-align: left;
  }
}

@media print {
  .page-pattern {
    display: none;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------- Guides: the library, each guide and the homepage section ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav__menu a.is-current::after {
  right: 0;
}

.btn--signal {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

.btn--signal:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* Cards: a cover, a meta line, the title and one sentence */

.gmeta {
  margin: 0;
  font: 500 14px/1.4 var(--display);
  color: var(--slate);
}

.gtool {
  margin: 0;
  font: 500 15px/1.4 var(--display);
  color: var(--signal-ink);
}

.ggrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(20px, 2.6vw, 40px);
}

.ggrid > [hidden] {
  display: none;
}

.gcard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.gcard__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gcard__txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gcard h3 {
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.15;
}

.gcard__sum {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
}

.gcard:hover h3,
.ghome__feat:hover h3,
.grow:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--signal-ink);
}

@media (max-width: 560px) {
  .gcard {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }
}

/* Homepage section: one featured guide and three more */

.ghome {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(24px, 3.2vw, 48px);
}

.ghome__feat {
  flex: 7 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.ghome__feat img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ghome__feat h3 {
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.02em;
}

.ghome__feat .gcard__sum {
  max-width: 60ch;
}

.ghome__list {
  flex: 5 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.grow {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-strong);
  color: inherit;
  text-decoration: none;
}

.grow img {
  flex: 0 0 160px;
  width: 160px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.grow > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.grow h3 {
  font-size: 20px;
  line-height: 1.2;
}

.ghome__all {
  align-self: flex-start;
  margin-top: 10px;
}

@media (max-width: 560px) {
  .grow img {
    flex-basis: 110px;
    width: 110px;
  }
}

/* Library page */

.gtitle {
  padding-block: clamp(56px, 7vw, 104px);
}

.gtitle .sec-head {
  margin-bottom: 0;
}

.gfeature {
  padding: 0 0 var(--band);
}

.gfeature__art {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(32px, 9vw, 160px);
  background: var(--signal);
}

.gfeature__art img {
  width: 100%;
  height: clamp(260px, 38vw, 560px);
  object-fit: contain;
}

.gfeature__card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
  margin-top: clamp(-160px, -9vw, -32px);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
  background: var(--ink);
}

.gfeature__card p {
  margin: 0;
}

.gfeature__label {
  font: 500 16px/1.4 var(--display);
  color: var(--signal);
}

.gfeature h2 {
  max-width: 16ch;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.gfeature__sum {
  max-width: 56ch;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--mist);
}

.gfeature__meta {
  font: 500 15px/1.5 var(--display);
}

.gfeature .actions {
  align-items: center;
  gap: 14px 28px;
  margin-top: 6px;
}

.gfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.gfilter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gfilter__chips[hidden] {
  display: none;
}

.gchip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  font: 500 15px/1.2 var(--display);
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--slate);
  cursor: pointer;
}

.gchip:hover {
  border-color: var(--ink);
}

.gchip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.gchip__n {
  opacity: 0.7;
}

.gchip__sw {
  width: 12px;
  height: 12px;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.gchip[aria-pressed="true"] .gchip__sw {
  box-shadow: inset 0 0 0 1px var(--paper);
}

.gchip__sw--planning { background: var(--ink); }
.gchip__sw--org { background: var(--white); }
.gchip__sw--ai { background: var(--signal); }
.gchip__sw--skills { background: var(--mist); }
.gchip__sw--risk { background: var(--slate); }

.gfilter__count {
  margin: 0;
  font: 400 15px/1.4 var(--display);
  color: var(--slate);
}

.grules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 40px clamp(20px, 2.6vw, 40px);
}

.grule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.grule svg {
  width: 44px;
  height: 44px;
}

.grule h3 {
  font-size: 22px;
  line-height: 1.2;
}

.grule p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
}

.grule .text-link {
  align-self: flex-start;
  padding: 8px 0;
}

/* Guide pages */

.ghead {
  padding-block: clamp(40px, 5vw, 72px) clamp(40px, 5vw, 64px);
}

.ghead__crumbs {
  margin: 0 0 28px;
  font: 500 15px/1.4 var(--display);
  color: var(--slate);
}

.ghead__crumbs a,
.ghead__meta a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--signal-ink);
}

.ghead__crumbs span {
  margin: 0 10px;
  color: var(--rule-strong);
}

.ghead h1 {
  max-width: 17ch;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.ghead__dek {
  max-width: 46ch;
  margin: 24px 0 0;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  color: var(--slate);
}

.ghead__meta {
  margin: 28px 0 0;
  font: 500 15px/1.5 var(--display);
}

.ghero {
  background: var(--paper);
}

.ghero--pink { background: var(--signal); }
.ghero--mist { background: var(--mist); }
.ghero--slate { background: var(--slate); }

.ghero img {
  width: auto;
  max-width: 100%;
  height: clamp(220px, 32vw, 480px);
  margin: 0 auto;
  object-fit: contain;
}

.gbody {
  padding-block: clamp(48px, 6vw, 96px) var(--band);
}

.gbody__in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px clamp(20px, 4vw, 64px);
}

.gtoc {
  flex: 0 1 260px;
  min-width: 0;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  font: 400 15px/1.45 var(--display);
}

.gtoc__title {
  margin: 0 0 12px;
  font: 500 16px/1.4 var(--display);
  color: var(--signal-ink);
}

.gtoc ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 1.25em;
}

.gtoc a {
  text-decoration: none;
}

.gtoc a:hover {
  text-decoration: underline;
  text-decoration-color: var(--signal-ink);
  text-underline-offset: 4px;
}

.gtoc__extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
}

@media (min-width: 1000px) {
  .gtoc {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}

.garticle {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
}

.garticle p {
  margin: 0 0 20px;
}

.garticle h2 {
  margin: 64px 0 16px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.garticle .gstep {
  margin: 56px 0 6px;
  font: 500 15px/1.4 var(--display);
  color: var(--signal-ink);
}

.garticle .gstep + h2 {
  margin-top: 0;
}

.garticle ul,
.garticle ol {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.garticle ol {
  padding-left: 1.3em;
}

.garticle li + li {
  margin-top: 10px;
}

.garticle .glist--tight li + li {
  margin-top: 6px;
}

.garticle strong {
  font-weight: 600;
}

.gneed {
  margin: 32px 0;
  padding: 22px 24px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
}

.garticle .gneed__title {
  margin: 0 0 10px;
  font: 500 18px/1.3 var(--display);
}

.garticle .gneed ul {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.garticle .gneed li + li {
  margin-top: 6px;
}

.gcalc {
  margin: 36px 0;
  padding: 26px 28px;
  background: var(--ink);
  color: var(--paper);
}

.garticle .gcalc__label {
  margin: 0 0 8px;
  font: 500 15px/1.4 var(--display);
  color: var(--signal);
}

.garticle .gcalc__formula {
  margin: 0;
  font: 400 clamp(22px, 2.1vw, 28px)/1.3 var(--display);
}

.garticle .gcap {
  margin: 40px 0 14px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font: 500 16px/1.4 var(--display);
}

.gcap__num {
  margin-right: 6px;
  color: var(--signal-ink);
}

.garticle .gnote {
  margin: 10px 0 36px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
}

.gtable-wrap {
  overflow-x: auto;
}

.gtable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.gtable--narrow { min-width: 420px; }
.gtable--wide { min-width: 640px; }
.gtable--kv,
.gtable--fluid { min-width: 0; }

.gtable th,
.gtable td {
  padding: 11px 14px 11px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.gtable thead th {
  padding-top: 10px;
  padding-bottom: 10px;
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
  font: 500 14px/1.3 var(--display);
}

.gtable tbody th {
  font: 500 15px/1.4 var(--display);
}

.gtable .num {
  text-align: right;
}

.gtable tr > :last-child {
  padding-right: 0;
}

.gtable tr.total > * {
  border-bottom-color: var(--ink);
}

.gtable tr.total td,
.gtable tr.em td,
.gtable td.strong {
  font-weight: 600;
}

.gbars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.4;
}

.gbars__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.garticle .gbars__lab {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
}

.gbars__lab span {
  display: block;
  color: var(--slate);
}

.gbars__plot {
  flex: 999 1 260px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gbars__track {
  position: relative;
  flex: 1 1 0;
  height: 26px;
}

.gbars__bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.gbars__bar--outline { border: 2px solid var(--ink); }
.gbars__bar--mist { background: var(--mist); }
.gbars__bar--ink { background: var(--ink); }

.gbars__val {
  flex: 0 0 72px;
  text-align: right;
  font: 500 17px/1 var(--display);
}

.gdecision {
  margin: 48px 0;
  padding: clamp(24px, 3vw, 40px);
  background: var(--ink);
  color: var(--paper);
}

.garticle .gdecision__label {
  margin: 0 0 10px;
  font: 500 16px/1.4 var(--display);
  color: var(--signal);
}

.garticle .gdecision h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.garticle .gdecision ul {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.gcta {
  margin: 48px 0 0;
  padding: clamp(24px, 3vw, 40px);
  background: var(--signal);
  color: var(--ink);
}

.garticle .gcta h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}

.garticle .gcta p {
  max-width: 52ch;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.55;
}

.gcta .btn--ink:hover {
  background: var(--white);
  border-color: var(--white);
}

.gcta :focus-visible {
  outline-color: var(--ink);
}

.garticle .gsources__title {
  margin: 56px 0 14px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font: 500 18px/1.4 var(--display);
  letter-spacing: 0;
}

.garticle .gsources {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
}

.garticle .gsources li + li {
  margin-top: 8px;
}

.gsources a {
  color: var(--ink);
}

.gmore__title {
  margin: 0 0 clamp(28px, 3.5vw, 48px);
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
}

@media print {
  .gpage .nav,
  .gpage .ghero,
  .gpage .gtoc,
  .gpage .gcta,
  .gpage .gmore,
  .gpage #contact,
  .gpage .foot {
    display: none;
  }

  .gpage .gbody {
    padding-block: 24px 0;
  }

  .gdecision,
  .gcalc {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
