/* zenziali.com styles
   Tokens come from the Portfolio Figma + QA Build Guide (Oct 2026). */

:root {
  --ink: #202628;
  --deep-teal: #075e5a;
  --warm-ivory: #faf9f6;
  --white: #ffffff;
  --warm-gray: #f2efe9;
  --focus: #b9654b; /* Terracotta: 4.0:1 on ivory, enough for a focus ring */

  --space-30: 0.67rem;
  --space-40: 1rem;
  --space-50: 1.5rem;
  --space-60: 2.25rem;
  --space-70: 3.38rem;
  --space-80: 5.06rem;

  --width-content: 700px;
  --width-wide: 1160px;
  --radius-card: 8px;

  --h1: 4rem;      /* 64px */
  --h2: 2.75rem;   /* 44px */
  --h3: 2rem;      /* 32px */
  --body: 1.25rem; /* 20px */
  --small: 1rem;   /* 16px */
}

@media (max-width: 640px) {
  :root {
    --h1: 2.75rem;   /* 44px */
    --h2: 2rem;      /* 32px */
    --h3: 1.5rem;    /* 24px */
    --body: 1.125rem; /* 18px */
  }
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--warm-ivory);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-weight: 400;
  margin: 0 0 var(--space-50);
}

h1 {
  font-size: var(--h1);
  line-height: 1.2;
}

h2 {
  font-size: var(--h2);
  line-height: 1.2;
}

h3 {
  font-size: var(--h3);
  line-height: 1.2;
}

p {
  margin: 0 0 var(--space-50);
}

a {
  color: var(--deep-teal);
  text-underline-offset: 3px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-40);
  top: -100px;
  background: var(--deep-teal);
  color: var(--warm-ivory);
  padding: var(--space-30) var(--space-40);
  z-index: 10;
}

.skip-link:focus {
  top: var(--space-40);
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--space-40);
}

.wrap--content {
  max-width: var(--width-content);
}

.section {
  padding: var(--space-80) 0;
}

.section--gray {
  background: var(--warm-gray);
}

.section--teal {
  background: var(--deep-teal);
  color: var(--warm-ivory);
}

.section--teal a:not(.button) {
  color: var(--warm-ivory);
}

/* Header and nav */
.site-header {
  background: var(--warm-ivory);
  border-bottom: 1px solid rgba(32, 38, 40, 0.12);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-40);
  padding-top: var(--space-60);
  padding-bottom: var(--space-60);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-40) var(--space-60);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: inline-block;
  padding: var(--space-30) 0;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--body);
  font-weight: 700;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover {
  color: var(--deep-teal);
  border-bottom-color: var(--deep-teal);
}

.site-nav a[aria-current="page"] {
  color: var(--deep-teal);
  border-bottom-color: var(--deep-teal);
}

/* LinkedIn as an outlined button so the main call to action stands out */
.site-nav li:last-child a {
  padding: var(--space-30) var(--space-50);
  border: 2px solid var(--deep-teal);
  color: var(--deep-teal);
}

.site-nav li:last-child a:hover {
  background: var(--deep-teal);
  color: var(--warm-ivory);
}

@media (max-width: 640px) {
  .site-header .wrap {
    justify-content: flex-start;
    padding-top: var(--space-50);
    padding-bottom: var(--space-50);
  }

  .site-nav ul {
    gap: var(--space-30) var(--space-50);
  }
}

/* Eyebrow */
.eyebrow {
  font-size: var(--small);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-teal);
  margin-bottom: var(--space-40);
}

.section--teal .eyebrow {
  color: var(--warm-ivory);
}

/* Hero */
.hero {
  padding: var(--space-80) 0;
}

.hero .lead {
  max-width: 40rem;
}

/* Buttons */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-40);
  margin-top: var(--space-60);
}

.button {
  display: inline-block;
  font-size: var(--body);
  line-height: 1.6;
  padding: 15px 29px;
  text-decoration: none;
  border: 2px solid var(--deep-teal);
}

.button--primary {
  background: var(--deep-teal);
  color: var(--warm-ivory);
}

.button--secondary {
  background: transparent;
  color: var(--deep-teal);
}

.button--reversed {
  background: var(--warm-ivory);
  color: var(--deep-teal);
  border-color: var(--warm-ivory);
}

.button:hover {
  text-decoration: underline;
}

/* Approach items */
.approach-list {
  display: grid;
  gap: var(--space-60);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: var(--space-60);
}

/* Habit cards (Home, "How I Approach Quality") */
.habit-card {
  --habit-accent: var(--deep-teal);
  --habit-tint: #d9ebe6;
  --habit-label: var(--deep-teal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border-radius: 20px;
  border-bottom: 8px solid var(--habit-accent);
  box-shadow: 0 1px 2px rgba(32, 38, 40, 0.08), 0 8px 24px rgba(32, 38, 40, 0.06);
}

.habit-card--process {
  --habit-accent: #9c4a33; /* Clay: 6.1:1 on white */
  --habit-tint: #f4d9cf;
  --habit-label: #9c4a33;
}

.habit-card--user {
  --habit-accent: #e3b04b; /* Ochre: decorative strip only */
  --habit-tint: #f6e3b4;
  --habit-label: #7a5a14; /* Dark ochre: 6.4:1 on white */
}

.habit-card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 13.75rem;
  background: var(--habit-tint);
}

.habit-card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--warm-ivory);
  border: 3px solid var(--habit-label);
}

.habit-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-30);
  padding: var(--space-60) var(--space-60) var(--space-60);
  font-size: 1.125rem;
}

.habit-card__body p {
  margin: 0;
}

.habit-card__label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habit-label);
}

.habit-card h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Footer */
.site-footer {
  padding: var(--space-60) 0;
  font-size: var(--small);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-50);
  list-style: none;
  margin: 0 0 var(--space-40);
  padding: 0;
}

/* Article (case study) sections: tighter spacing so the story reads as one piece */
.section--article {
  padding: var(--space-50) 0;
}

ul {
  margin: 0 0 var(--space-50);
  padding-left: var(--space-50);
}

li {
  margin-bottom: var(--space-30);
}

.takeaways li {
  margin-bottom: var(--space-40);
}

/* Cards */
.card-list {
  display: grid;
  gap: var(--space-60);
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-50);
}

.card h2 {
  font-size: var(--h3);
}

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

.card h2 a:hover {
  color: var(--deep-teal);
}

/* Screen-reader-only text (e.g. "opens in a new tab") */
.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;
}

/* Case study mocks (DRAFT) */
.mock {
  margin: var(--space-60) 0;
  padding: var(--space-50);
  background: var(--white);
  border: 1px solid rgba(32, 38, 40, 0.12);
  border-radius: var(--radius-card);
  font-size: var(--small);
}

.mock figcaption {
  margin-top: var(--space-40);
  color: var(--ink);
  font-size: var(--small);
}

.mock-label {
  display: inline-block;
  margin-bottom: var(--space-40);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-teal);
}

/* Handoff flow (process map). Mobile first: vertical steps. */
.flow {
  --flow-dot: 2.5rem;
}

.flow-steps {
  display: grid;
  gap: var(--space-40);
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-40);
  margin: 0;
}

.flow-num {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: var(--flow-dot);
  height: var(--flow-dot);
  border: 2px solid var(--deep-teal);
  border-radius: 50%;
  background: var(--white);
  color: var(--deep-teal);
  font-weight: 700;
}

.flow-step--client .flow-num {
  background: var(--deep-teal);
  color: var(--warm-ivory);
}

.flow-text {
  line-height: 1.3;
}

/* Connector line and arrowhead into each step after the first */
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: calc(var(--flow-dot) / 2 - 1px);
  bottom: 100%;
  width: 2px;
  height: var(--space-40);
  background: var(--deep-teal);
}

.flow-step + .flow-step::after {
  content: "";
  position: absolute;
  left: calc(var(--flow-dot) / 2 - 5px);
  top: -7px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--deep-teal);
}

.flow-return {
  position: relative;
  margin: var(--space-50) 0 0;
  padding: var(--space-30) var(--space-40);
  border: 2px dashed var(--deep-teal);
  border-radius: var(--radius-card);
  color: var(--ink);
}

.flow-return-icon {
  color: var(--deep-teal);
  font-weight: 700;
}

@media (min-width: 700px) {
  .flow-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .flow-step {
    flex-direction: column;
    gap: var(--space-30);
    text-align: center;
  }

  .flow-text {
    max-width: 9rem;
  }

  .flow-step + .flow-step::before {
    left: auto;
    bottom: auto;
    right: 50%;
    top: calc(var(--flow-dot) / 2 - 1px);
    width: 100%;
    height: 2px;
  }

  .flow-step + .flow-step::after {
    left: auto;
    right: calc(50% + var(--flow-dot) / 2 + 2px);
    top: calc(var(--flow-dot) / 2 - 5px);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--deep-teal);
    border-right: 0;
  }

  /* Return path: dashed U from step 5 back up to step 1 */
  .flow-return {
    margin: var(--space-40) 10% 0;
    padding: var(--space-50) var(--space-40) var(--space-30);
    border-top: 0;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    text-align: center;
  }

  .flow-return::before {
    content: "";
    position: absolute;
    left: -7px;
    top: -8px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid var(--deep-teal);
  }
}

/* Example mapping */
.example-map {
  display: grid;
  gap: var(--space-30);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.example-map > div {
  padding: var(--space-30) var(--space-40);
  border-radius: 4px;
}

.example-map p {
  margin: 0;
}

.em-story { background: #fbeeb8; grid-column: 1 / -1; }
.em-rule { background: #d6e6f5; }
.em-example { background: #d8efd9; }
.em-question { background: #f6d6d0; }

/* Mock tables */
.mock-table-wrap {
  overflow-x: auto;
}

.mock table {
  width: 100%;
  border-collapse: collapse;
}

.mock th,
.mock td {
  text-align: left;
  padding: var(--space-30);
  border-bottom: 1px solid rgba(32, 38, 40, 0.15);
  vertical-align: top;
}

.mock th {
  background: var(--warm-gray);
}

.mock .placeholder {
  color: #5c6466;
  font-style: italic;
}

.mock td:first-child {
  white-space: nowrap;
}

/* About page intro with portrait */
.about-hero {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-70);
  align-items: start;
}

.about-hero .portrait {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.about-intro {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 800px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: var(--space-50);
  }

  .about-hero .portrait,
  .about-intro {
    grid-column: 1;
    grid-row: auto;
  }

  .about-hero .portrait {
    max-width: 220px;
  }
}

/* Model comparison cards (paper page) */
.models {
  display: grid;
  gap: var(--space-40);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.model {
  padding: var(--space-40);
  border: 1px solid rgba(32, 38, 40, 0.15);
  border-radius: var(--radius-card);
  background: var(--warm-ivory);
}

.model-name {
  margin: 0 0 var(--space-30);
  font-weight: 700;
  font-size: var(--body);
}

.model-ex {
  font-weight: 400;
  font-size: 0.85rem;
  color: #4a5355;
}

.model dl {
  margin: 0;
}

.model dt {
  margin-top: var(--space-30);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep-teal);
}

.model dd {
  margin: 0;
}

.model--focus {
  border: 2px solid var(--deep-teal);
  background: #e3efed;
}

.model--focus .model-name {
  margin: calc(-1 * var(--space-40)) calc(-1 * var(--space-40)) var(--space-30);
  padding: var(--space-30) var(--space-40);
  background: var(--deep-teal);
  color: var(--warm-ivory);
  border-radius: 6px 6px 0 0;
}

.model--focus .model-ex {
  color: var(--warm-ivory);
}

/* Pull quote */
.pull-quote {
  margin: var(--space-70) 0;
  padding: 0 0 0 var(--space-50);
  border-left: 6px solid var(--deep-teal);
}

.pull-quote blockquote {
  margin: 0;
}

.pull-quote blockquote p {
  margin: 0 0 var(--space-40);
  font-size: var(--h3);
  line-height: 1.25;
  color: var(--deep-teal);
}

.pull-quote figcaption {
  font-size: var(--small);
}

/* Habit icons (Home) */
.habit-icon {
  display: block;
  width: 84px;
  height: 84px;
  fill: none;
  stroke: var(--habit-label, var(--deep-teal));
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Checklist-to-test table (project page) */
.checkmap td:first-child {
  white-space: normal;
  width: 45%;
}

.manual {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #4a5355;
}

/* Two- and three-column tables on project and case study pages */
.mock .lessonmap td,
.mock .scoremap td,
.mock .rolemap td,
.mock .verifymap td {
  white-space: normal;
}

.lessonmap td:first-child {
  width: 50%;
}

/* Sources list at the end of a case study */
.sources li {
  margin-bottom: var(--space-30);
}

/* Merge request thread: before and after (production escape) */
.threads {
  display: grid;
  gap: var(--space-50);
}

.thread-heading {
  margin: 0 0 var(--space-30);
  font-size: 1.05rem;
  font-weight: 700;
}

.thread {
  border: 1px solid rgba(32, 38, 40, 0.18);
  border-left: 4px solid var(--deep-teal);
  border-radius: var(--radius-card);
  background: var(--warm-ivory);
  padding: var(--space-30) var(--space-40);
}

.thread + .thread {
  margin-top: var(--space-40);
}

.thread-msg,
.thread-status {
  margin: 0;
  padding: var(--space-30) 0;
  line-height: 1.35;
}

.thread-msg + .thread-msg,
.thread-msg + .thread-status {
  border-top: 1px solid rgba(32, 38, 40, 0.12);
}

.thread-msg--q,
.thread-msg--reply {
  padding-left: var(--space-40);
}

.thread-note {
  font-style: italic;
  color: #4a5355;
}

.thread-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.thread-tag--a { background: #d6e6f5; color: #1d3f5e; }
.thread-tag--b { background: #f4d9cf; color: #7a3622; }

.thread-status {
  font-weight: 700;
}

.thread-status--done { color: var(--deep-teal); }
.thread-status--open { color: #9c4a33; }

@media (min-width: 700px) {
  .threads {
    grid-template-columns: 1fr 1fr;
  }
}

/* Role cards (production escape) */
.roles-center {
  margin: 0 0 var(--space-40);
  padding: var(--space-30);
  border: 2px solid var(--deep-teal);
  border-radius: var(--radius-card);
  text-align: center;
  font-weight: 700;
  color: var(--deep-teal);
}

.roles {
  display: grid;
  gap: var(--space-40);
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-card {
  margin: 0;
  padding: var(--space-40);
  border: 1px solid rgba(32, 38, 40, 0.18);
  border-top: 6px solid var(--deep-teal);
  border-radius: var(--radius-card);
  background: var(--warm-ivory);
}

.role-card p {
  margin: 0 0 var(--space-30);
  line-height: 1.35;
}

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

.role-card--hit {
  border-top-color: #9c4a33;
}

.role-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.role-flag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #f4d9cf;
  color: #7a3622;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

@media (min-width: 700px) {
  .roles {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Post-release checklist (production escape) */
.checklist-title {
  margin: 0 0 var(--space-30);
  font-weight: 700;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(32, 38, 40, 0.15);
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem var(--space-40);
  align-items: start;
  padding: var(--space-30) 0;
  border-bottom: 1px solid rgba(32, 38, 40, 0.15);
}

.check-box {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 2px solid var(--deep-teal);
  border-radius: 3px;
}

.check-owner {
  grid-column: 2;
  justify-self: start;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: #d9ebe6;
  color: var(--deep-teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.checklist-foot {
  margin: var(--space-30) 0 0;
  font-style: italic;
}

@media (min-width: 700px) {
  .checklist li {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .check-owner {
    grid-column: 3;
  }
}

/* AI job search: stat tiles */
.stats {
  display: grid;
  gap: var(--space-40);
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--space-40);
  border-radius: var(--radius-card);
  background: var(--warm-gray);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--deep-teal);
}

.stat-text {
  line-height: 1.3;
}

@media (min-width: 700px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Four-step flow */
@media (min-width: 700px) {
  .flow--4 .flow-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Numbered gates */
.gates {
  margin: 0 0 var(--space-40);
  padding-left: 1.5rem;
}

.gates li {
  margin-bottom: 0.25rem;
}

/* Miss cards */
.miss-cards {
  display: grid;
  gap: var(--space-40);
  list-style: none;
  margin: 0;
  padding: 0;
}

.miss-card {
  margin: 0;
  padding: var(--space-40);
  border: 1px solid rgba(32, 38, 40, 0.18);
  border-top: 6px solid #9c4a33;
  border-radius: var(--radius-card);
  background: var(--warm-ivory);
}

.miss-card p {
  margin: 0 0 var(--space-30);
  line-height: 1.35;
}

.miss-type {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c4a33;
}

.miss-card .miss-rule {
  margin: var(--space-30) 0 0;
  padding-top: var(--space-30);
  border-top: 1px solid rgba(32, 38, 40, 0.15);
  color: var(--deep-teal);
}

@media (min-width: 700px) {
  .miss-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Horizontal bar charts */
.chart-title {
  margin: 0 0 var(--space-30);
  font-weight: 700;
}

.bars {
  display: grid;
  gap: var(--space-30);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label value" "track track";
  gap: 0.2rem var(--space-30);
  align-items: center;
  margin: 0;
}

.bar-label { grid-area: label; line-height: 1.3; }
.bar-value { grid-area: value; font-weight: 700; color: var(--deep-teal); white-space: nowrap; }

.bar-track {
  grid-area: track;
  position: relative;
  display: block;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--warm-gray);
  overflow: hidden;
}

.bar-fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 999px;
  background: var(--deep-teal);
}

.bar-fill--warm {
  background: #e3b04b;
}

.bar-range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 999px;
  background: #9c4a33;
}

/* Two-score panels */
.score-panels {
  display: grid;
  gap: var(--space-50);
}

.score-q {
  margin: 0 0 var(--space-40);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.score-note {
  margin: var(--space-30) 0 0;
}

@media (min-width: 700px) {
  .score-panels {
    grid-template-columns: 1fr 1fr;
  }
}

/* Term chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-30);
  list-style: none;
  margin: 0 0 var(--space-50);
  padding: 0;
}

.chips li {
  margin: 0;
  padding: 0.2rem 0.75rem;
  border: 2px solid var(--deep-teal);
  border-radius: 999px;
  color: var(--deep-teal);
  font-weight: 700;
}

/* More breathing room above subheadings in long articles */
.section--article h3 {
  margin-top: var(--space-60);
}

/* Bar rows with a short description under the label */
.bar-row--desc {
  grid-template-areas: "label value" "desc desc" "track track";
}

.bar-desc {
  grid-area: desc;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #4a5355;
}

/* Talks page cards */
.talk-card p {
  margin: 0 0 var(--space-30);
}

/* Color accents (Nov 2026). One family per accent:
   --accent: strips and borders (decorative)
   --tint: light fills behind art and table headers
   --stripe: alternate table rows
   --label: text on white or tint (all 6:1 or better on white) */
.accent-teal  { --accent: #075e5a; --tint: #d9ebe6; --stripe: #f1f7f5; --label: #075e5a; }
.accent-clay  { --accent: #9c4a33; --tint: #f4d9cf; --stripe: #fbf1ec; --label: #7a3622; }
.accent-ochre { --accent: #e3b04b; --tint: #f6e3b4; --stripe: #fdf7e6; --label: #6b4f12; }
.accent-blue  { --accent: #2f6690; --tint: #d6e6f5; --stripe: #f0f5fb; --label: #1d3f5e; }

/* Figures pick up their accent as a top strip and label color */
.mock[class*="accent-"] {
  border-top: 6px solid var(--accent);
}

.mock[class*="accent-"] .mock-label {
  color: var(--label);
  font-weight: 700;
}

/* Tables follow their figure's accent: tinted header, striped rows */
.mock[class*="accent-"] th {
  background: var(--tint);
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
}

.mock[class*="accent-"] tbody tr:nth-child(even) td {
  background: var(--stripe);
}

.mock[class*="accent-"] td:first-child {
  color: var(--label);
}

/* Illustrated cards (Case Studies, Projects, Talks) */
.card--art {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
  border-bottom: 8px solid var(--accent);
  box-shadow: 0 1px 2px rgba(32, 38, 40, 0.08), 0 8px 24px rgba(32, 38, 40, 0.06);
}

.card__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10rem;
  background: var(--tint);
}

.card__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--warm-ivory);
  border: 3px solid var(--label);
}

.card__icon {
  display: block;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--label);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__body {
  padding: var(--space-50);
}

.card--art .eyebrow {
  color: var(--label);
  font-weight: 700;
}

.card--art h2 a:hover {
  color: var(--label);
}

/* Small note under a button */
.button-note {
  margin-top: var(--space-40);
  font-size: var(--small);
}
