/* Design options for sections 4 to 7, on options.html only. Variant A in each section is the live design, unchanged; B and
   C are alternatives in the same system (Archivo, mono for indexes only, hairlines, square corners, the one blue). */

[data-opt] > .opt-v[hidden] {
  display: none;
}

/* Shared: a section head in one row, the heading left and its lead right, as in Case studies. */
.oh {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 3rem;
}
.oh .label-row {
  margin-bottom: 1rem;
}
.oh-lead {
  max-width: 27rem;
  margin-left: auto;
}
@media (min-width: 1024px) {
  .oh {
    margin-bottom: 3.5rem;
  }
}

/* ============ 4B. The lead case, then a ledger for cases 2 and 3 ============ */
.csb-ledger {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.csb-row {
  display: grid;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
}
.csb-row + .csb-row {
  border-top: 1px solid var(--line);
}
.csb-id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.875rem;
}
.csb-dept {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--ink);
}
.csb-client {
  flex-basis: 100%;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--n500);
}
.csb-title {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.csb-story p {
  max-width: 38rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--n700);
  text-wrap: pretty;
}
.csb-story .csb-small {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--n500);
}
.csb-result {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.csb-num {
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.csb-label {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--n600);
}
@media (min-width: 640px) {
  .csb-row {
    padding: 2rem;
  }
}
@media (min-width: 1100px) {
  .csb-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    align-items: start;
    padding: 2.25rem 2.5rem;
  }
  .csb-id {
    grid-column: 1 / span 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .csb-client {
    flex-basis: auto;
  }
  .csb-story {
    grid-column: 4 / span 6;
  }
  .csb-result {
    grid-column: 10 / span 3;
    align-items: flex-end;
    text-align: right;
  }
}

/* ============ 4C. All three results as tabs; the chosen case below ============ */
.csc {
  border: 1px solid var(--line);
  background: var(--white);
}
.csc-band {
  display: grid;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.csc-tab {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.375rem;
  padding: 1.25rem 1.5rem 1.375rem;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
}
.csc-tab + .csc-tab {
  border-top: 1px solid var(--line);
}
.csc-tab:hover {
  background: rgb(255 255 255 / 0.6);
}
.csc-tab[aria-selected="true"] {
  background: var(--white);
}
.csc-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 2px;
  background: var(--accent);
}
.csc-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.csc-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.csc-dept {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ink);
}
.csc-num {
  font-weight: 500;
  font-size: clamp(1.875rem, 1.5rem + 1vw, 2.375rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--n600);
  transition: color 0.2s;
}
.csc-tab[aria-selected="true"] .csc-num {
  color: var(--ink);
}
.csc-label {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--n700);
}
.csc-client {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--n500);
}
.csc-panel[hidden] {
  display: none;
}
.csc-panel .cs-evidence {
  background: var(--page);
}
.csc-flow {
  display: grid;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.csc-flow li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
.csc-flow .oc {
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent-ink);
}
.csc-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-top: 1.25rem;
}
.csc-total span {
  font-size: 0.9375rem;
  color: var(--n600);
}
.csc-total b {
  font-weight: 500;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.csc-bars {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
/* each value sits right at the end of its bar, so it labels the bar rather than a spot on the page */
.csc-bar {
  display: grid;
  gap: 0.5rem;
}
.csc-bl {
  font-size: 0.875rem;
  color: var(--n600);
}
.csc-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2rem;
}
.csc-track i {
  flex: none;
  width: calc(var(--w) * 80%);
  min-width: 4px;
  height: 100%;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
}
.csc-bar.b0 .csc-track i {
  background: #c8c8c8;
}
.csc-track b {
  font-weight: 600;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink);
}
.csc-bar.b1 .csc-track b {
  color: var(--accent-ink);
}
.csc-ev .cs-note {
  margin-top: 1.25rem;
}
@media (min-width: 900px) {
  .csc-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .csc-tab {
    padding: 1.5rem 2rem 1.75rem;
  }
  .csc-tab + .csc-tab {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  /* the chosen result opens into the case below it */
  .csc-tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--white);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .csc-panel:not([hidden]) {
    animation: opt-in 0.45s var(--ease);
  }
}
@keyframes opt-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ 5B. Three columns, their parts lined up across (subgrid) ============ */
.wwb {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}
.wwb-col {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}
.wwb-col + .wwb-col {
  border-top: 1px solid var(--line);
}
.wwb-name {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.wwb-line {
  margin-top: 0.625rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.wwb-col .dept-list {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.wwb-col .dept-list li {
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .wwb-col {
    padding: 2.5rem 2rem;
  }
}
@media (min-width: 1024px) {
  .wwb {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
  }
  .wwb-col {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
    padding: 2.5rem;
  }
  .wwb-col + .wwb-col {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .wwb-col .dept-list {
    align-self: start;
  }
}

/* ============ 5C. Pick a department: the three on the left, the chosen one's detail on the right ============ */
.wwc {
  display: grid;
  border: 1px solid var(--line);
  background: var(--white);
}
.wwc-list {
  display: grid;
  align-content: start;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.wwc-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--n600);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.wwc-tab + .wwc-tab {
  border-top: 1px solid var(--line);
}
.wwc-tab:hover {
  color: var(--ink);
}
.wwc-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.wwc-tab .dept-icon {
  transition:
    background-color 0.2s,
    color 0.2s;
}
.wwc-name {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.wwc-arrow {
  width: 1.125rem;
  height: 1.125rem;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.2s,
    transform 0.2s var(--ease);
}
.wwc-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--ink);
}
.wwc-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 2px;
  background: var(--accent);
}
.wwc-tab[aria-selected="true"] .dept-icon {
  background: var(--accent);
  color: var(--white);
}
.wwc-tab[aria-selected="true"] .wwc-arrow {
  opacity: 1;
  transform: none;
  color: var(--accent-ink);
}
.wwc-panel {
  padding: 2rem 1.5rem;
}
.wwc-panel[hidden] {
  display: none;
}
.wwc-line {
  max-width: 30rem;
  font-weight: 600;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.wwc-items {
  display: grid;
  gap: 0.875rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.wwc-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--ink);
}
.wwc-items .oc {
  margin-top: 0.05rem;
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent-ink);
}
@media (min-width: 1024px) {
  .wwc {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .wwc-list {
    grid-column: 1 / span 5;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .wwc-tab {
    padding: 1.5rem 2rem;
  }
  .wwc-tab[aria-selected="true"] {
    margin-right: -1px;
  }
  .wwc-tab .dept-icon {
    width: 3rem;
    height: 3rem;
  }
  .wwc-tab .dept-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  .wwc-name {
    font-size: 1.5rem;
  }
  .wwc-stage {
    grid-column: 6 / span 7;
  }
  .wwc-panel {
    padding: 2.75rem 3rem;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .wwc-panel:not([hidden]) {
    animation: opt-in 0.45s var(--ease);
  }
}

/* ============ 6B. The line runs across the steps (down them on phones) ============ */
.hwb {
  position: relative;
}
.hwb-track {
  position: absolute;
  left: 1.125rem;
  top: 1.125rem;
  width: 1px;
  height: 0;
  background: var(--n200);
}
.hwb-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(var(--p, 0));
  transform-origin: 0 0;
}
.hwb.is-across .hwb-fill {
  transform: scaleX(var(--p, 0));
}
.hwb-steps {
  position: relative;
  display: grid;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hwb-step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1.5rem;
}
.hwb-step h3 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2.25rem;
  letter-spacing: -0.025em;
}
.hwb-body p {
  max-width: 30rem;
  margin-top: 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--n700);
  text-wrap: pretty;
}
.hwb-body .step-out,
.hwc-body .step-out {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
.hwb-step.is-active .step-node {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
@media (min-width: 900px) {
  .hwb-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
  }
  .hwb-step {
    display: block;
  }
  .hwb-step .step-node {
    margin-bottom: 1.75rem;
  }
  .hwb-step h3 {
    line-height: 1.25;
  }
  .hwb-body .step-out {
    align-items: flex-start;
  }
}

/* ============ 6C. What each step produces: a small drawing of it on each card ============ */
.hwc {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hwc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}
.hwc-art {
  display: grid;
  place-items: center;
  height: 11rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--page);
}
.hwc-body {
  padding: 1.75rem 1.5rem 2rem;
}
.hwc-no {
  color: var(--accent-ink);
}
.hwc-body h3 {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.hwc-body p {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--n700);
  text-wrap: pretty;
}
.hwc-body .step-out {
  align-items: flex-start;
}
@media (min-width: 640px) {
  .hwc-body {
    padding: 2rem 2rem 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hwc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.hwb .oc,
.hwc .oc {
  flex: none;
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent-ink);
}
/* Map it: the steps the work takes, one flagged where it waits */
.art-map {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 17rem;
}
.am-chip {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.25rem;
  border: 1px solid var(--n200);
  background: var(--white);
}
.am-chip i {
  width: 1.25rem;
  height: 3px;
  border-radius: 2px;
  background: var(--n200);
}
.am-link {
  flex: 1;
  height: 1px;
  background: var(--n300);
}
.am-hot {
  background: var(--accent);
}
.am-flag {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
}
.am-flag i {
  background: var(--accent);
}
.am-flag em {
  position: absolute;
  bottom: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  background: var(--ink);
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--white);
}
.am-flag em::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: var(--ink);
}
/* Build it: thirty days to live */
.art-build {
  width: 100%;
  max-width: 17rem;
}
.ab-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--n500);
}
.ab-bar {
  position: relative;
  height: 0.5rem;
  margin-top: 0.625rem;
  background: var(--n50);
  box-shadow: inset 0 0 0 1px var(--n100);
}
.ab-bar i {
  position: absolute;
  inset: 0;
  background: var(--accent);
}
.ab-bar b {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  display: grid;
  place-items: center;
  height: 1.5rem;
  padding: 0 0.5rem;
  background: var(--ink);
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--white);
}
.ab-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.ab-ticks i {
  width: 1px;
  height: 0.375rem;
  background: var(--n300);
}
/* Run it: the numbers, every week */
.art-run {
  width: 100%;
  max-width: 17rem;
}
.ar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ar-head i {
  width: 5rem;
  height: 3px;
  border-radius: 2px;
  background: var(--n200);
}
.ar-head span {
  font-size: 0.75rem;
  color: var(--n500);
}
.ar-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.3125rem;
  height: 4.5rem;
  margin-top: 0.875rem;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--n200);
}
.ar-bars i {
  flex: 1;
  height: calc(var(--h) * 100%);
  border-radius: 1.5px 1.5px 0 0;
  background: var(--accent);
}
.ar-bars i:nth-child(-n + 3) {
  background: #c8c8c8;
}

/* What it asks of you, as one strip under the steps (6B and 6C) */
.asks-strip {
  display: grid;
  margin-top: 3rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.asks-strip-title {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  color: var(--ink);
}
.asks-strip ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.asks-strip li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
.asks-strip li + li {
  border-top: 1px solid var(--line);
}
.asks-strip .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-ink);
}
@media (min-width: 900px) {
  .asks-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .asks-strip-title {
    display: flex;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .asks-strip ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .asks-strip li {
    padding: 1.25rem 1.75rem;
  }
  .asks-strip li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

/* ============ 7B. A compact roster, then the promises beside who it's for ============ */
.tmb-roster {
  border: 1px solid var(--line);
  background: var(--white);
}
.tmb-person {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.5rem;
}
.tmb-person + .tmb-person {
  border-top: 1px solid var(--line);
}
.tmb-person img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}
.tmb-who h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.tmb-role {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--n600);
}
.tmb-bio {
  grid-column: 1 / -1;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--n700);
  text-wrap: pretty;
}
@media (min-width: 900px) {
  .tmb-person {
    grid-template-columns: 5rem minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: 2rem;
    padding: 2rem 2.5rem;
  }
  .tmb-person img {
    width: 5rem;
    height: 5rem;
  }
  .tmb-who {
    padding-top: 0.25rem;
  }
  .tmb-bio {
    grid-column: auto;
    padding-top: 0.25rem;
  }
}
.tmb-lower {
  display: grid;
  gap: 3.5rem;
  margin-top: 5rem;
}
.tmb-burned .label-row {
  margin-bottom: 1rem;
}
.tmb-principles {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tmb-principles li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--n200);
}
.tmb-principles li:last-child {
  border-bottom: 1px solid var(--n200);
}
.tmb-principles .pr-no {
  padding-top: 0.25rem;
}
.tmb-principles h3 {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.tmb-principles p {
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--n700);
  text-wrap: pretty;
}
.tmb-fit {
  margin-top: 0;
}
@media (min-width: 1100px) {
  .tmb-lower {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    align-items: start;
  }
  .tmb-burned {
    grid-column: 1 / span 6;
  }
  .tmb-fit {
    grid-column: 8 / span 5;
    margin-top: 2.25rem;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============ 7C. The people, then the four promises in one dark panel ============ */
.tmc-crew {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.tmc-person {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--white);
}
.tmc-top {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}
.tmc-top img {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}
.tmc-top h3 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.tmc-role {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--n600);
}
.tmc-bio {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--n700);
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .tmc-person {
    padding: 2rem;
  }
}
@media (min-width: 900px) {
  .tmc-crew {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tmc-promise {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--ink);
  color: var(--white);
}
.tmc-promise-head {
  font-weight: 600;
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.tmc-principles {
  display: grid;
  gap: 1.75rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.tmc-principles li {
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.16);
}
.tmc-principles .pr-no {
  color: var(--accent);
}
.tmc-principles h3 {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.tmc-principles p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 0.68);
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .tmc-promise {
    padding: 2.75rem 2.5rem;
  }
}
@media (min-width: 768px) {
  .tmc-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .tmc-promise {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 2rem;
    padding: 3.5rem 3rem;
  }
  .tmc-promise-head {
    grid-column: 1 / span 3;
  }
  .tmc-principles {
    grid-column: 4 / span 9;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
  }
}

/* ============ The switcher (tool chrome, not part of the design) ============ */
.opt-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(100vw - 1.5rem);
  padding: 0.625rem 0.875rem;
  overflow-x: auto;
  transform: translateX(-50%);
  background: rgb(28 28 28 / 0.94);
  color: var(--white);
  box-shadow: 0 12px 32px rgb(28 28 28 / 0.28);
  font-size: 0.8125rem;
  line-height: 1;
  scrollbar-width: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.opt-bar::-webkit-scrollbar {
  display: none;
}
.opt-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.375rem;
}
.opt-group a {
  margin-right: 0.375rem;
  white-space: nowrap;
  color: rgb(255 255 255 / 0.72);
}
.opt-group a:hover {
  color: var(--white);
}
.opt-group button {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  background: transparent;
  font: 500 0.75rem/1 var(--mono);
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.opt-group button:hover {
  border-color: rgb(255 255 255 / 0.6);
}
.opt-group button[aria-pressed="true"] {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}
.opt-cap {
  display: none;
}
@media (min-width: 1200px) {
  .opt-cap {
    display: block;
    min-width: 15rem;
    max-width: 19rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgb(255 255 255 / 0.18);
    font-size: 0.75rem;
    line-height: 1.35;
    color: rgb(255 255 255 / 0.72);
  }
}
