:root {
  --blue: #0e7490;
  --teal: #0e7490;
  --orange: #c2410c;
  --green: #3f7d58;
  --indigo: #485a8d;
  --red: #a43f3f;
  --cream: #faf8f3;
  --softBlue: #eef6f5;
  --softOrange: #fbefe7;
  --black: #000000;
  --darkerGray: #182026;
  --darkGray: #25313a;
  --gray: #53616b;
  --lightGray: #d8ded8;
  --white: #ffffff;
  --accent: var(--orange);
  --accent-strong: var(--red);
  --accent-soft: var(--softOrange);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--darkGray);
  font: 18px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.accent-home {
  --accent: var(--orange);
  --accent-strong: var(--red);
  --accent-soft: var(--softOrange);
}

body.accent-consulting {
  --accent: var(--teal);
  --accent-strong: var(--orange);
  --accent-soft: var(--softBlue);
}

body.accent-about {
  --accent: var(--indigo);
  --accent-strong: var(--teal);
  --accent-soft: #eef1f8;
}

body.accent-insights {
  --accent: var(--green);
  --accent-strong: var(--teal);
  --accent-soft: #edf5ec;
}

body.accent-cv {
  --accent: var(--red);
  --accent-strong: var(--orange);
  --accent-soft: #f8eeee;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:active {
  color: var(--accent-strong);
}

.wrapper-masthead {
  margin-bottom: 34px;
  background: rgba(250, 248, 243, 0.96);
  border-bottom: 1px solid rgba(216, 222, 216, 0.75);
}

.masthead {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-avatar {
  display: inline-block;
  width: 72px;
  height: 72px;
  margin-right: 15px;
  flex: 0 0 auto;
}

.site-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.site-info {
  display: inline-block;
  flex: 1 1 auto;
}

.site-name {
  margin: 0;
  text-align: left;
  color: var(--darkGray);
  font-weight: 700;
  font-size: 26px;
}

.site-name-link {
  text-decoration: none;
}

.site-description {
  margin: 2px 0 0;
  color: var(--gray);
  text-align: left;
  font-size: 15px;
}

.topnav {
  font-size: 15px;
  font-weight: 700;
  margin-top: 20px;
}

.topnav ul {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topnav a {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  background-color: transparent;
  color: var(--darkGray);
  border-bottom: 2px solid transparent;
}

.topnav a:hover,
.topnav a:active,
.topnav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.quarto-container,
.content-block {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

#title-block-header {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

body:not(.accent-home) #title-block-header {
  max-width: 860px;
}

#title-block-header .title {
  border-left: 5px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 26px;
}

body.accent-home #title-block-header {
  display: none;
}

body:not(.accent-home) > p,
body:not(.accent-home) > h2,
body:not(.accent-home) > h3,
body:not(.accent-home) > h4,
body:not(.accent-home) > h5,
body:not(.accent-home) > h6,
body:not(.accent-home) > ul,
body:not(.accent-home) > ol,
body:not(.accent-home) > blockquote,
body:not(.accent-home) > table,
body:not(.accent-home) > pre,
body:not(.accent-home) > div.cell,
body:not(.accent-home) > div.quarto-listing,
body:not(.accent-home) > div.code-copy-outer-scaffold,
body:not(.accent-home) > div.sourceCode {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

body > h3 {
  color: var(--accent);
}

/* Quarto listings use Bootstrap utility classes; with theme:none we need this explicitly. */
.d-none {
  display: none !important;
}

.quarto-listing .listing-no-matching {
  margin-top: 14px;
  color: var(--gray);
}

code {
  font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
}

p code,
li code,
td code,
h2 code,
h3 code,
h4 code {
  background-color: #f0f0f0;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}

iframe.marp-embed {
  display: block;
  width: min(100%, 860px);
  height: 520px;
  margin: 20px auto;
  border: 1px solid rgba(83, 97, 107, 0.25);
  border-radius: 8px;
}

div.sourceCode,
pre.sourceCode,
pre:not(.sourceCode) {
  background-color: #002b36;
  color: #93a1a1;
  padding: 7px 7px 7px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 3px 3px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  overflow: auto;
}

div.sourceCode pre.sourceCode,
pre.sourceCode code,
pre:not(.sourceCode) code {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: 0.95em;
}

.sourceCode,
.sourceCode code,
.sourceCode span,
.sourceCode a {
  color: #d8e3e3 !important;
}

.sourceCode a {
  text-decoration: none;
}

pre.numberSource code > span > a:first-child::before {
  color: #657b83;
}

.code-copy-outer-scaffold {
  max-width: 740px;
  margin: 20px 0;
}

body:not(.accent-home) .code-copy-outer-scaffold {
  max-width: 820px;
}

.code-copy-outer-scaffold .sourceCode,
.code-copy-outer-scaffold pre.sourceCode {
  margin: 0;
}

.code-copy-button {
  border: 1px solid rgba(147, 161, 161, 0.35);
  background: #073642;
  color: #93a1a1;
  border-radius: 4px;
}

.code-copy-button:hover,
.code-copy-button:active {
  background: #0b3b48;
  color: #fdf6e3;
}

.sourceCode .co,
.sourceCode .do,
.sourceCode .cv,
.sourceCode .in {
  color: #586e75;
}

.sourceCode .kw,
.sourceCode .cf,
.sourceCode .im,
.sourceCode .pp,
.sourceCode .op {
  color: #b7cf5a !important;
}

.sourceCode .dt,
.sourceCode .kw + .op,
.sourceCode .er,
.sourceCode .wa {
  color: #ff7b72 !important;
}

.sourceCode .fu,
.sourceCode .va,
.sourceCode .at,
.sourceCode .ex,
.sourceCode .ot,
.sourceCode .bu,
.sourceCode .fl,
.sourceCode .dv,
.sourceCode .bn {
  color: #8ecbff !important;
}

.sourceCode .st,
.sourceCode .vs,
.sourceCode .ss,
.sourceCode .ch,
.sourceCode .sc {
  color: #69e0d4 !important;
}

.sourceCode .an,
.sourceCode .cn,
.sourceCode .al {
  color: #ff9b5e !important;
}

.sourceCode .va {
  color: #f0d36f !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--darkerGray);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* Distinct inline emphasis style for highlighted phrases (separate from italics used for definitions). */
.phrase-emphasis {
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.01em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 52px;
  align-items: end;
  min-height: 520px;
  padding: 58px 0 70px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: 64px;
  margin: 0 0 18px;
}

.lede {
  max-width: 720px;
  color: var(--gray);
  font-size: 24px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover,
.button.primary:active {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--white);
}

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

.featured-in {
  margin-top: 28px;
}

.featured-in-label {
  margin: 0 0 10px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-in-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.featured-in-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid rgba(22, 28, 32, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--darkerGray);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.hero-proof,
.quiet-card,
.case-grid > * {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--lightGray);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(24, 32, 38, 0.06);
}

.hero-proof {
  padding: 24px;
  border-top: 5px solid var(--accent-strong);
  align-self: start;
}

.hero-proof-credential {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-proof p {
  color: var(--darkerGray);
  font-weight: 700;
  margin-top: 0;
}

.hero-proof ul {
  padding-left: 20px;
  color: var(--gray);
}

.hero-proof li {
  margin: 10px 0;
}

.section,
.section-first,
.feature-band,
.case-studies,
.closing-cta {
  padding: 68px 0;
  border-top: 1px solid rgba(216, 222, 216, 0.8);
}

.section.section-first,
.section-first {
  padding-top: 44px;
}

.two-column,
.feature-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
}

.section h2,
.feature-band h2,
.service-list h3,
.case-grid h3,
.quiet-card h3 {
  margin-top: 0;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-list > * {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}

.feature-band {
  background: var(--accent-soft);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.quiet-card {
  padding: 26px;
}

.quiet-kicker {
  margin: 2px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--darkGray);
}

.quiet-list li {
  margin: 10px 0;
  line-height: 1.45;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-grid > * {
  padding: 24px;
}

.case-grid a {
  font-weight: 700;
}

.closing-cta {
  display: block;
  max-width: 760px;
  padding-bottom: 20px;
}

.insights-list {
  margin-top: 34px;
}

.insights-list .quarto-listing .listing-title {
  font-size: 24px;
}

body.accent-insights #listing-posts {
  margin-top: 34px;
  position: relative;
}

body.accent-insights #listing-posts .listing-actions-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(216, 222, 216, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  position: absolute;
  right: -268px;
  top: 0;
  width: 240px;
}

body.accent-insights #listing-posts .quarto-listing-sort {
  display: none;
}

body.accent-insights #listing-posts .input-group {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

body.accent-insights #listing-posts .input-group-text {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  min-height: 40px;
  border: 1px solid rgba(83, 97, 107, 0.35);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #f5f7f6;
  color: var(--gray);
  font-size: 13px;
  font-weight: 700;
}

body.accent-insights #listing-posts .quarto-listing-sort .input-group-text::after {
  content: "Sort";
}

body.accent-insights #listing-posts .quarto-listing-filter .input-group-text::after {
  content: "Search";
}

body.accent-insights #listing-posts .form-select,
body.accent-insights #listing-posts .form-control {
  min-height: 40px;
  border: 1px solid rgba(83, 97, 107, 0.35);
  border-radius: 0 6px 6px 0;
  background: #ffffff;
  color: var(--darkerGray);
  padding: 0 12px;
  font: inherit;
}

body.accent-insights #listing-posts .quarto-listing-sort .form-select {
  min-width: 200px;
}

body.accent-insights #listing-posts .quarto-listing-filter .form-control {
  min-width: 0;
  width: 100%;
}

body.accent-insights #listing-posts .listing-tag-panel {
  border-top: 1px solid rgba(216, 222, 216, 0.95);
  padding-top: 10px;
}

body.accent-insights #listing-posts .listing-tag-panel-title {
  margin: 0 0 8px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.accent-insights #listing-posts .listing-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.accent-insights #listing-posts .listing-tag-btn {
  border: 1px solid rgba(63, 125, 88, 0.3);
  background: rgba(63, 125, 88, 0.08);
  color: #2f6548;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.accent-insights #listing-posts .listing-tag-btn:hover,
body.accent-insights #listing-posts .listing-tag-btn:active {
  background: rgba(63, 125, 88, 0.16);
}

body.accent-insights #listing-posts .list {
  width: 100%;
}

body.accent-insights #listing-posts .listing-no-matching {
  width: 100%;
}

body.accent-insights #listing-posts .quarto-post {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 180px;
  grid-template-areas: "meta body thumb";
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(216, 222, 216, 0.9);
}

body.accent-insights #listing-posts .quarto-post:last-child {
  border-bottom: 1px solid rgba(216, 222, 216, 0.9);
}

body.accent-insights #listing-posts .thumbnail {
  grid-area: thumb;
  margin: 0;
}

body.accent-insights #listing-posts .thumbnail-image {
  width: 180px;
  height: 180px !important;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

body.accent-insights #listing-posts .body {
  grid-area: body;
  min-width: 0;
}

body.accent-insights #listing-posts .listing-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

body.accent-insights #listing-posts .listing-title a {
  color: var(--darkerGray);
  text-decoration: none;
}

body.accent-insights #listing-posts .listing-title a:hover,
body.accent-insights #listing-posts .listing-title a:active {
  color: var(--accent);
}

body.accent-insights #listing-posts .metadata {
  grid-area: meta;
  justify-self: start;
  padding-top: 6px;
}

body.accent-insights #listing-posts .metadata a {
  text-decoration: none;
}

body.accent-insights #listing-posts .listing-date {
  color: var(--gray);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

body.accent-insights #listing-posts .listing-description {
  margin: 0 0 12px;
  color: var(--gray);
  line-height: 1.55;
}

body.accent-insights #listing-posts .listing-categories {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.accent-insights #listing-posts .listing-category {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(63, 125, 88, 0.34);
  background: rgba(63, 125, 88, 0.08);
  color: #2f6548;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  text-decoration: none;
}

body.accent-insights p > img:not(.thumbnail-image) {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 20px auto 8px;
}

body.accent-insights p > img:not(.thumbnail-image) + em {
  display: block;
  text-align: center;
  color: var(--gray);
  font-size: 0.95em;
  line-height: 1.4;
}

body.accent-insights p:has(> img:not(.thumbnail-image)) + p > em:only-child {
  display: block;
  text-align: center;
  color: var(--gray);
  font-size: 0.95em;
  line-height: 1.4;
}

body.accent-insights .quarto-figure,
body.accent-insights figure {
  margin: 20px auto 10px;
  text-align: center;
}

body.accent-insights .quarto-figure img.img-fluid,
body.accent-insights figure img.img-fluid {
  display: block;
  width: 100%;
  max-width: 700px;
    border: 1px solid #e8e5dd;
    border-radius: 4px;
  height: auto;
  margin: 0 auto;
}

body.accent-insights .quarto-figure figcaption,
body.accent-insights figure figcaption {
  margin-top: 8px;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--gray);
  font-size: 0.95em;
  line-height: 1.4;
}

body.accent-insights iframe:not(.marp-embed) {
  display: block;
  width: min(100%, 700px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 20px auto;
  border: 0;
}

body.accent-insights video.post-video {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: 20px auto;
  border: 1px solid #e8e5dd;
  border-radius: 4px;
  background: #000;
}

body.accent-insights .footnotes {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1280px) {
  body.accent-insights #listing-posts .listing-actions-group {
    position: static;
    right: auto;
    top: auto;
    width: auto;
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 640px) {
  .quarto-container,
  .content-block {
    padding: 0 18px;
  }

  .masthead {
    text-align: center;
    display: block;
  }

  .site-avatar {
    display: block;
    margin: 0 auto;
  }

  .site-info {
    display: block;
    margin: 0 auto;
  }

  .site-name,
  .site-description {
    text-align: center;
  }

  .topnav {
    margin-top: 9px;
    display: block;
    font-size: 15px;
  }

  .topnav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .two-column,
  .feature-band,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding: 34px 0 46px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .lede {
    font-size: 20px;
  }

  .featured-in-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  body.accent-insights #listing-posts .quarto-post {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "thumb"
      "body";
    gap: 16px;
    align-items: start;
    padding: 20px 0;
  }

  body.accent-insights #listing-posts .listing-actions-group {
    position: static;
    right: auto;
    top: auto;
    width: auto;
    padding: 12px;
  }

  body.accent-insights #listing-posts .quarto-listing-sort .form-select,
  body.accent-insights #listing-posts .quarto-listing-filter .form-control {
    width: 100%;
    min-width: 0;
  }

  body.accent-insights #listing-posts .thumbnail-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
  }

  body.accent-insights #listing-posts .metadata {
    justify-self: start;
  }

  body.accent-insights #listing-posts .listing-title {
    font-size: 22px;
  }
}
