:root {
  color-scheme: light dark;
  --paper: #f4f0e8;
  --panel: #fffdf8;
  --ink: #172128;
  --muted: #626f76;
  --line: #d8d1c4;
  --accent: #b7432f;
  --accent-soft: #f1ddd6;
  --teal: #1e6260;
  --teal-soft: #dce9e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181a1b;
    --panel: #222526;
    --ink: #f3eee5;
    --muted: #abb5b8;
    --line: #3b4244;
    --accent: #e27762;
    --accent-soft: #472d29;
    --teal: #72aaa4;
    --teal-soft: #263d3b;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

h1 {
  max-width: 49.375rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 6.6vw, 4.75rem);
  line-height: .98;
}

h2 {
  margin-bottom: .875rem;
  font-size: clamp(1.8125rem, 4vw, 2.75rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: .625rem;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.35;
}

p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(13.75rem, 1fr) auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.375rem clamp(1.375rem, 5vw, 4.25rem);
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: block;
  width: fit-content;
}

.site-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1875rem;
  font-weight: 400;
  letter-spacing: .02em;
}

.site-brand span {
  display: block;
  margin-top: .1875rem;
  color: var(--muted);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .375rem;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding: .5625rem .4375rem .4375rem;
  font-size: .75rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

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

.page-main {
  padding: clamp(2.625rem, 7vw, 5.375rem) clamp(1.375rem, 7vw, 5.75rem) 4.375rem;
}

.kicker {
  margin-bottom: .875rem;
  color: var(--accent);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: .6875rem .9375rem;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 500;
}

.button:hover {
  background: var(--accent-soft);
}

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

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--panel);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem clamp(1.375rem, 7vw, 5.75rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer-links {
  display: flex;
  gap: .75rem;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Who I Am */

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5.125rem);
}

.about-hero h1 {
  margin-top: .875rem;
}

.about-lede {
  max-width: 43.125rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.about-quote {
  margin-bottom: 0;
  padding: 1.375rem 0 .25rem;
  border-top: 3px solid var(--accent);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.28;
}

.about-quote cite {
  display: block;
  margin-top: .9375rem;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .625rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-story,
.about-arc {
  display: grid;
  grid-template-columns: minmax(14.375rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  padding: clamp(2.625rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.about-story-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.625rem;
}

.about-story-copy p {
  margin-bottom: 0;
}

.about-approach {
  padding: clamp(2.75rem, 6vw, 4.375rem) 0;
  border-top: 1px solid var(--line);
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(13.75rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.875rem;
}

.about-section-heading > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.about-principle {
  min-height: 14.0625rem;
  padding: 1.625rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.about-principle-number {
  margin-bottom: 3rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.about-principle > p:last-child {
  margin-bottom: 0;
  font-size: .75rem;
  line-height: 1.58;
}

.about-arc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
}

.about-arc-item {
  min-height: 11.5625rem;
  padding: 1.25rem;
  background: var(--teal-soft);
}

.about-arc-era {
  margin-bottom: 2rem;
  color: var(--teal);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-arc-item h3,
.about-arc-item p {
  color: var(--teal);
}

.about-arc-item p:last-child {
  margin-bottom: 0;
  font-size: .75rem;
}

.about-personal {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15.625rem, .8fr);
  gap: 3.125rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.about-personal h2 {
  margin-bottom: .5rem;
  color: var(--paper);
}

.about-personal p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.about-personal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.about-personal-meta span {
  padding-top: .625rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.45;
}

.about-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 3rem;
}

.about-next > p {
  max-width: 31.25rem;
  margin-bottom: 0;
}

@media (max-width: 49.375rem) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .about-hero,
  .about-story,
  .about-section-heading,
  .about-arc,
  .about-personal {
    grid-template-columns: 1fr;
  }

  .about-story-copy,
  .about-principles,
  .about-arc-list {
    grid-template-columns: 1fr;
  }

  .about-principle,
  .about-arc-item {
    min-height: 0;
  }

  .about-principle-number {
    margin-bottom: 1.5rem;
  }

  .about-arc-era {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 28.75rem) {
  .page-main,
  .site-header,
  .site-footer {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .site-nav {
    gap: .125rem;
  }

  .site-nav a {
    padding-left: .3125rem;
    padding-right: .3125rem;
    font-size: .6875rem;
  }

  .about-personal {
    padding: 1.75rem 1.375rem;
  }

  .about-personal-meta {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Career Timeline */

.career-page h3 {
  font-size: 1.125rem;
}

.career-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3.125rem, 7vw, 5.125rem);
}

.career-hero h1 {
  margin-top: .875rem;
}

.career-lede {
  max-width: 43.125rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.career-thread {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.career-thread-label {
  margin-bottom: .9375rem;
  color: var(--muted);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.career-thread-list,
.career-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.career-thread-list span {
  padding: .375rem .5rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .625rem;
}

.career-intro {
  display: grid;
  grid-template-columns: minmax(13.75rem, .5fr) minmax(0, 1.5fr);
  gap: clamp(2.25rem, 7vw, 5.75rem);
  align-items: end;
  padding: 2.375rem 0 1.75rem;
  border-top: 1px solid var(--line);
}

.career-intro > p {
  max-width: 44.375rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.career-timeline {
  position: relative;
  margin-left: 6.75rem;
  border-left: 1px solid var(--line);
}

.career-role {
  position: relative;
  display: grid;
  grid-template-columns: minmax(11.25rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(1.625rem, 5vw, 4rem);
  padding: 0 0 2.625rem 2.375rem;
}

.career-role::before {
  content: "";
  position: absolute;
  left: -.375rem;
  top: .375rem;
  width: .5625rem;
  height: .5625rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
}

.career-role:last-child {
  padding-bottom: .125rem;
}

.career-time {
  position: absolute;
  right: calc(100% + 1.5625rem);
  top: .1875rem;
  width: 5.125rem;
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.35;
  text-align: right;
}

.career-company {
  margin: 0 0 .1875rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
}

.career-company a:hover,
.career-phase a:hover {
  color: var(--accent);
}

.career-title {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}

.career-shift {
  display: inline-block;
  margin-top: 1.0625rem;
  padding: .375rem .5rem;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.career-role-copy > p {
  margin-bottom: 1rem;
  font-size: .8125rem;
  line-height: 1.62;
}

.career-evidence {
  display: grid;
  gap: .625rem;
}

.career-evidence-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: .625rem;
  align-items: start;
}

.career-evidence-label {
  padding-top: .375rem;
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.career-pills span,
.career-pills a {
  padding: .3125rem .5rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
}

.career-pills a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.career-featured {
  margin-top: .375rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.career-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.375rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.career-phases-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.career-phase {
  min-height: 11.125rem;
  padding: 1.125rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.career-phase-time {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.career-phase h3 {
  font-size: .8125rem;
}

.career-phase p {
  margin-bottom: 0;
  font-size: .6875rem;
  line-height: 1.55;
}

.career-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16.25rem, .9fr);
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  padding: 2.375rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.career-summary h2 {
  margin-bottom: .625rem;
  color: var(--paper);
}

.career-summary p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.career-summary-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8125rem;
}

.career-summary-list span {
  padding-top: .625rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.4;
}

.career-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 3rem;
}

.career-next > p {
  max-width: 32.5rem;
  margin-bottom: 0;
}

@media (max-width: 51.25rem) {
  .career-hero,
  .career-intro,
  .career-summary {
    grid-template-columns: 1fr;
  }

  .career-timeline {
    margin-left: 4.75rem;
  }

  .career-role {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-left: 1.875rem;
  }

  .career-phases,
  .career-phases-two {
    grid-template-columns: 1fr;
  }

  .career-phase {
    min-height: 0;
  }

  .career-phase-time {
    margin-bottom: .875rem;
  }
}

@media (max-width: 30rem) {
  .career-timeline {
    margin-left: 3.5rem;
  }

  .career-time {
    right: calc(100% + 1.0625rem);
    width: 3rem;
  }

  .career-role {
    padding-left: 1.375rem;
  }

  .career-evidence-row {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .career-evidence-label {
    padding-top: 0;
  }

  .career-featured {
    padding: 1.25rem;
  }

  .career-summary {
    padding: 1.75rem 1.375rem;
  }

  .career-summary-list {
    grid-template-columns: 1fr;
  }
}

/* Work by Type */

.work-type-page h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3.125rem, 7vw, 5.125rem);
}

.work-hero h1 {
  margin-top: .875rem;
}

.work-lede {
  max-width: 43.125rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.work-route-note {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.work-route-note strong {
  display: block;
  margin-bottom: .5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}

.work-route-note p {
  margin-bottom: 0;
  font-size: .75rem;
}

.work-index {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.625rem 0 2.375rem;
  border-top: 1px solid var(--line);
}

.work-index a,
.work-pills span,
.work-pills a {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.work-index a:hover,
.work-pills a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.work-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-type {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.875rem;
  scroll-margin-top: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.work-type-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr);
  gap: 2.625rem;
}

.work-type-number {
  display: block;
  margin-bottom: 2.875rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.work-type-wide .work-type-number {
  margin-bottom: 1.5rem;
}

.work-type > p,
.work-type-head > p {
  margin-bottom: 1.375rem;
  font-size: .8125rem;
}

.work-groups {
  display: grid;
  gap: .875rem;
  margin-top: auto;
}

.work-group {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  gap: .625rem;
  align-items: start;
}

.work-label {
  padding-top: .375rem;
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.work-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.work-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .625rem;
  margin-top: 1.5rem;
}

.work-project {
  min-height: 6.875rem;
  padding: .9375rem;
  background: var(--teal-soft);
  color: var(--teal);
}

.work-project:hover {
  box-shadow: inset 0 0 0 1px var(--teal);
}

.work-project strong {
  display: block;
  margin-bottom: .4375rem;
  font-size: .6875rem;
  font-weight: 500;
}

.work-project span {
  display: block;
  font-size: .625rem;
  line-height: 1.45;
}

.work-artifact-section {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  padding: clamp(3.125rem, 7vw, 4.875rem) 0 0;
}

.work-artifact-intro p:last-child {
  max-width: 19.375rem;
}

.work-artifacts {
  border-top: 1px solid var(--line);
}

.work-artifact {
  display: grid;
  grid-template-columns: 2.875rem minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--line);
}

.work-artifact:hover strong {
  color: var(--accent);
}

.work-artifact-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
}

.work-artifact strong {
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.work-artifact p {
  margin-bottom: 0;
  font-size: .75rem;
  line-height: 1.55;
}

.work-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16.25rem, .9fr);
  gap: 3rem;
  align-items: center;
  margin-top: 4.25rem;
  padding: 2.375rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.work-summary h2 {
  margin-bottom: .625rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8125rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.work-summary p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.work-summary-paths {
  display: grid;
  gap: .6875rem;
}

.work-summary-paths span {
  padding: .625rem 0;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.4;
}

.work-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 3rem;
}

.work-next > p {
  max-width: 32.5rem;
  margin-bottom: 0;
}

@media (max-width: 51.25rem) {
  .work-hero,
  .work-artifact-section,
  .work-summary {
    grid-template-columns: 1fr;
  }

  .work-type-grid {
    grid-template-columns: 1fr;
  }

  .work-type-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .work-type-number {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 31.25rem) {
  .work-type {
    padding: 1.375rem;
  }

  .work-group {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .work-label {
    padding-top: 0;
  }

  .work-projects {
    grid-template-columns: 1fr;
  }

  .work-artifact {
    grid-template-columns: 2.125rem 1fr;
    gap: .625rem;
  }

  .work-artifact p {
    grid-column: 2;
  }

  .work-summary {
    padding: 1.75rem 1.375rem;
  }
}

/* Case Studies Index */

.case-index-page h2,
.case-index-page h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.case-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3.125rem, 7vw, 5.125rem);
}

.case-index-hero h1 {
  margin-top: .875rem;
}

.case-index-lede {
  max-width: 43.125rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.case-index-note {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.case-index-note strong {
  display: block;
  margin-bottom: .5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.25;
}

.case-index-note p {
  margin-bottom: 0;
  font-size: .75rem;
}

.case-index-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.625rem 0 2.375rem;
  border-top: 1px solid var(--line);
}

.case-index-jump a,
.case-index-meta span {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.case-index-jump a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.case-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.case-index-card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-width: 0;
  min-height: 29rem;
  padding: clamp(1.5rem, 4vw, 2.375rem);
  scroll-margin-top: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.case-index-card:hover {
  background: color-mix(in srgb, var(--accent-soft) 48%, var(--panel));
  box-shadow: inset 0 0 0 1px var(--accent);
}

.case-index-card-bh {
  background: color-mix(in srgb, var(--teal-soft) 55%, var(--panel));
}

.case-index-card-bh:hover {
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.case-index-number {
  display: block;
  margin-bottom: clamp(3.25rem, 7vw, 5.5rem);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.case-index-card-bh .case-index-number {
  color: var(--teal);
}

.case-index-label {
  margin-bottom: .625rem;
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.case-index-card-bh .case-index-label {
  color: var(--teal);
}

.case-index-card h2 {
  margin-bottom: .5rem;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
}

.case-index-card h3 {
  max-width: 28rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
}

.case-index-card-copy > p:last-child {
  max-width: 31rem;
  margin-bottom: 1.625rem;
  font-size: .8125rem;
}

.case-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
  align-self: end;
  margin-bottom: 1.5rem;
}

.case-index-card-bh .case-index-meta span {
  background: color-mix(in srgb, var(--teal-soft) 72%, var(--panel));
}

.case-index-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.case-index-link b {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 400;
  line-height: .75;
  transition: transform 160ms ease;
}

.case-index-card-bh .case-index-link b {
  color: var(--teal);
}

.case-index-card:hover .case-index-link b {
  transform: translateX(.25rem);
}

.case-index-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 2.5rem;
  align-items: end;
  margin-top: clamp(3rem, 7vw, 5.125rem);
  padding: clamp(1.75rem, 5vw, 3rem);
  background: var(--ink);
  color: var(--paper);
}

.case-index-summary h2 {
  max-width: 42rem;
  margin-bottom: .75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.case-index-summary p:not(.kicker) {
  max-width: 40rem;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 72%, transparent);
}

.case-index-summary .button {
  border-color: color-mix(in srgb, var(--paper) 52%, transparent);
  color: var(--paper);
}

.case-index-summary .button-primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.case-index-summary .button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--panel);
}

@media (max-width: 51.25rem) {
  .case-index-hero,
  .case-index-summary {
    grid-template-columns: 1fr;
  }

  .case-index-grid {
    grid-template-columns: 1fr;
  }

  .case-index-card {
    min-height: 0;
  }

  .case-index-number {
    margin-bottom: 3rem;
  }
}

@media (max-width: 31.25rem) {
  .case-index-card {
    padding: 1.375rem;
  }

  .case-index-summary {
    padding: 1.75rem 1.375rem;
  }
}

/* WeightWatchers Case Study */

.ww-page img {
  display: block;
  width: 100%;
  height: auto;
}

.ww-page h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.ww-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3.125rem, 7vw, 5.125rem);
}

.ww-hero h1 {
  max-width: 51.875rem;
  margin-top: .875rem;
}

.ww-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.ww-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.ww-fact {
  display: grid;
  grid-template-columns: 4.625rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.ww-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.ww-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ww-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.ww-context {
  display: grid;
  grid-template-columns: minmax(14.375rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  padding: clamp(2.625rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.ww-context-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.ww-context-copy > p {
  margin-bottom: 0;
}

.ww-pill-row {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: .4375rem;
  padding-top: .5rem;
}

.ww-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

a.ww-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ww-section {
  padding: clamp(3.25rem, 7vw, 5.125rem) 0;
  border-top: 1px solid var(--line);
}

.ww-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .65fr) minmax(0, 1.35fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.875rem;
}

.ww-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.ww-split {
  display: grid;
  grid-template-columns: minmax(18.75rem, .92fr) minmax(0, 1.08fr);
  gap: 2.375rem;
  align-items: start;
}

.ww-split-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(18.75rem, .92fr);
}

.ww-figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ww-image-wrap {
  display: grid;
  place-items: center;
  min-height: 22.5rem;
  padding: 1rem;
  overflow: hidden;
  background: light-dark(#ffffff, #e8e8e8);
}

.ww-image-wrap img {
  max-height: 38.75rem;
  object-fit: contain;
}

.ww-figure figcaption {
  padding: .9375rem;
  border-top: 1px solid var(--line);
}

.ww-figure figcaption strong {
  display: block;
  margin-bottom: .3125rem;
  font-size: .6875rem;
  font-weight: 500;
}

.ww-figure figcaption span {
  display: block;
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.45;
}

.ww-state-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin-top: 1.375rem;
}

.ww-state {
  min-height: 5.75rem;
  padding: .9375rem;
  background: var(--teal-soft);
  color: var(--teal);
}

.ww-state strong {
  display: block;
  margin-bottom: .375rem;
  font-size: .6875rem;
  font-weight: 500;
}

.ww-state span {
  display: block;
  font-size: .625rem;
  line-height: 1.45;
}

.ww-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15.625rem, .8fr);
  gap: 3rem;
  align-items: center;
  margin-top: 2.375rem;
  padding: 2.375rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.ww-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.625rem;
  line-height: 1.28;
}

.ww-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.ww-logic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .625rem;
  margin-top: 1.5rem;
}

.ww-logic {
  min-height: 8.875rem;
  padding: 1.125rem;
  background: var(--teal-soft);
  color: var(--teal);
}

.ww-logic > span {
  display: block;
  margin-bottom: 1.625rem;
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ww-logic h3 {
  color: var(--teal);
  font-size: .8125rem;
}

.ww-logic p {
  margin-bottom: 0;
  color: var(--teal);
  font-size: .625rem;
  line-height: 1.45;
}

.ww-flow-layout {
  display: grid;
  grid-template-columns: minmax(18.75rem, .8fr) minmax(0, 1.2fr);
  gap: 2.375rem;
  align-items: start;
}

.ww-flow-figure .ww-image-wrap {
  min-height: 35rem;
}

.ww-flow-figure .ww-image-wrap img {
  max-height: 56.25rem;
}

.ww-flow-notes {
  padding-top: .5rem;
}

.ww-flow-sequence {
  display: grid;
  gap: .5rem;
  margin: 1.375rem 0;
}

.ww-flow-step {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: .625rem;
  align-items: start;
  padding: .6875rem 0;
  border-top: 1px solid var(--line);
}

.ww-flow-step b {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .8125rem;
  font-weight: 400;
}

.ww-flow-step span {
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.45;
}

.ww-testing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}

.ww-test {
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.ww-test-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.ww-test p {
  margin-bottom: 0;
  font-size: .75rem;
}

.ww-artifacts {
  padding: clamp(2.875rem, 6vw, 4.375rem) 0;
  border-top: 1px solid var(--line);
}

.ww-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.ww-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.ww-artifact-rows {
  border-top: 1px solid var(--line);
}

.ww-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

a.ww-artifact-row:hover > strong {
  color: var(--accent);
}

.ww-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

.ww-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.ww-takeaway {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16.25rem, .9fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.ww-takeaway h2 {
  margin-bottom: .625rem;
  color: var(--paper);
}

.ww-takeaway p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.ww-takeaway-list {
  display: grid;
  gap: .625rem;
}

.ww-takeaway-list span {
  padding-top: .625rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.45;
}

.ww-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.ww-next > p {
  max-width: 33.125rem;
  margin-bottom: 0;
}

@media (max-width: 51.25rem) {
  .ww-hero,
  .ww-context,
  .ww-section-head,
  .ww-split,
  .ww-split-reverse,
  .ww-principle,
  .ww-flow-layout,
  .ww-artifact-head,
  .ww-takeaway {
    grid-template-columns: 1fr;
  }

  .ww-context-copy {
    grid-template-columns: 1fr;
  }

  .ww-logic-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 31.25rem) {
  .ww-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .ww-state-list,
  .ww-logic-grid,
  .ww-testing {
    grid-template-columns: 1fr;
  }

  .ww-principle,
  .ww-takeaway {
    padding: 1.75rem 1.375rem;
  }

  .ww-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* GHCM Case Study */

.ghcm-page img {
  display: block;
  width: 100%;
  height: auto;
}

.ghcm-page h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.gg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16.875rem, .6fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.gg-hero h1 {
  max-width: 51.875rem;
  margin-top: .875rem;
}

.gg-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.gg-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.gg-fact {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.gg-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.gg-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gg-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.gg-context {
  display: grid;
  grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.gg-context-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.gg-context-copy > p {
  margin-bottom: 0;
}

.gg-system-strip {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: .4375rem;
  padding-top: .5rem;
}

.gg-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.gg-section {
  padding: clamp(3.25rem, 7vw, 5.125rem) 0;
  border-top: 1px solid var(--line);
}

.gg-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 2rem;
}

.gg-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.gg-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
}

.gg-figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gg-image-wrap {
  display: grid;
  place-items: center;
  min-height: 16.25rem;
  padding: .875rem;
  overflow: hidden;
  background: light-dark(#ffffff, #e8e8e8);
}

.gg-image-wrap img {
  max-height: 21.25rem;
  object-fit: contain;
}

.gg-figure figcaption {
  padding: .9375rem;
  border-top: 1px solid var(--line);
}

.gg-figure figcaption strong {
  display: block;
  margin-bottom: .3125rem;
  font-size: .6875rem;
  font-weight: 500;
}

.gg-figure figcaption span {
  display: block;
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.45;
}

.gg-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16.25rem, .8fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.625rem;
  padding: 2.125rem 2.375rem;
  background: var(--ink);
  color: var(--paper);
}

.gg-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.625rem;
  line-height: 1.28;
}

.gg-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.gg-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}

.gg-user {
  padding: 1.625rem;
  background: var(--teal-soft);
  color: var(--teal);
}

.gg-user > span {
  display: block;
  margin-bottom: 2.125rem;
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gg-user h3 {
  color: var(--teal);
}

.gg-user ul {
  margin: .875rem 0 0;
  padding-left: 1.125rem;
  color: var(--teal);
  font-size: .75rem;
  line-height: 1.65;
}

.gg-evidence-note {
  margin-top: .875rem;
  padding: 1.0625rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .6875rem;
  line-height: 1.55;
}

.gg-split {
  display: grid;
  grid-template-columns: minmax(17.5rem, .85fr) minmax(0, 1.15fr);
  gap: 2.375rem;
  align-items: center;
}

.gg-large-figure .gg-image-wrap {
  min-height: 25.625rem;
}

.gg-large-figure .gg-image-wrap img {
  max-height: 31.875rem;
}

.gg-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4375rem;
  margin: 1.25rem 0;
}

.gg-sequence span {
  padding: .4375rem .5625rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .625rem;
}

.gg-sequence b {
  color: var(--muted);
  font-size: .6875rem;
  font-weight: 400;
}

.gg-public-note {
  display: grid;
  grid-template-columns: minmax(16.25rem, .72fr) minmax(0, 1.28fr);
  gap: 2.125rem;
  align-items: center;
}

.gg-public-copy {
  padding: 1.875rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gg-public-copy p:last-child {
  margin-bottom: 0;
}

.gg-artifacts {
  padding: clamp(2.875rem, 6vw, 4.375rem) 0;
  border-top: 1px solid var(--line);
}

.gg-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.gg-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.gg-artifact-rows {
  border-top: 1px solid var(--line);
}

.gg-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

a.gg-artifact-row:hover > strong {
  color: var(--accent);
}

.gg-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

.gg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.gg-takeaway {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16.25rem, .9fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.gg-takeaway h2 {
  margin-bottom: .625rem;
  color: var(--paper);
}

.gg-takeaway p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.gg-takeaway-list {
  display: grid;
  gap: .625rem;
}

.gg-takeaway-list span {
  padding-top: .625rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.45;
}

.gg-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.gg-next > p {
  max-width: 33.125rem;
  margin-bottom: 0;
}

@media (max-width: 51.25rem) {
  .gg-hero,
  .gg-context,
  .gg-section-head,
  .gg-principle,
  .gg-split,
  .gg-public-note,
  .gg-artifact-head,
  .gg-takeaway {
    grid-template-columns: 1fr;
  }

  .gg-context-copy,
  .gg-evidence-grid,
  .gg-compare {
    grid-template-columns: 1fr;
  }

  .gg-image-wrap {
    min-height: 0;
  }
}

@media (max-width: 31.25rem) {
  .gg-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .gg-principle,
  .gg-takeaway {
    padding: 1.75rem 1.375rem;
  }

  .gg-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* BrokerTec Case Study */

.brokertec-page img {
  display: block;
  width: 100%;
  height: auto;
}

.brokertec-page h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.gb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16.875rem, .6fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.gb-hero h1 {
  max-width: 51.875rem;
  margin-top: .875rem;
}

.gb-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.gb-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.gb-fact {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.gb-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.gb-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gb-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.gb-context {
  display: grid;
  grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.gb-context-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.gb-context-copy > p {
  margin-bottom: 0;
}

.gb-pill-row {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: .4375rem;
  padding-top: .5rem;
}

.gb-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

a.gb-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gb-section {
  padding: clamp(3.25rem, 7vw, 4.875rem) 0;
  border-top: 1px solid var(--line);
}

.gb-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  margin-bottom: 1.875rem;
}

.gb-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.gb-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.gb-concern {
  min-height: 14.6875rem;
  padding: 1.5625rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.gb-concern-number {
  display: block;
  margin-bottom: 2.75rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.gb-concern p {
  margin-bottom: 0;
  font-size: .75rem;
}

.gb-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16.25rem, .8fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 2.125rem 2.375rem;
  background: var(--ink);
  color: var(--paper);
}

.gb-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.625rem;
  line-height: 1.28;
}

.gb-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.gb-evidence {
  display: grid;
  grid-template-columns: minmax(17.5rem, .76fr) minmax(0, 1.24fr);
  gap: 2.375rem;
  align-items: center;
}

.gb-figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gb-image-wrap {
  display: grid;
  place-items: center;
  min-height: 23.75rem;
  padding: 1rem;
  overflow: hidden;
  background: light-dark(#ffffff, #e8e8e8);
}

.gb-image-wrap img {
  max-height: 45rem;
  object-fit: contain;
}

.gb-figure figcaption {
  padding: .9375rem;
  border-top: 1px solid var(--line);
}

.gb-figure figcaption strong {
  display: block;
  margin-bottom: .3125rem;
  font-size: .6875rem;
  font-weight: 500;
}

.gb-figure figcaption span {
  display: block;
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.45;
}

.gb-implementation {
  display: grid;
  gap: .625rem;
  margin: 1.375rem 0;
}

.gb-step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .6875rem;
  align-items: start;
  padding: .6875rem 0;
  border-top: 1px solid var(--line);
}

.gb-step b {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .8125rem;
  font-weight: 400;
}

.gb-step span {
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.45;
}

.gb-data-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17.5rem, .85fr);
  gap: 2.375rem;
  align-items: center;
}

.gb-tech-card {
  padding: 1.875rem;
  background: var(--teal-soft);
  color: var(--teal);
}

.gb-tech-card > span {
  display: block;
  margin-bottom: 2.125rem;
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gb-tech-card h3,
.gb-tech-card p {
  color: var(--teal);
}

.gb-tech-card p {
  margin-bottom: 0;
  font-size: .75rem;
}

.gb-note {
  margin-top: 1rem;
  padding: 1.0625rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .6875rem;
  line-height: 1.55;
}

.gb-artifacts {
  padding: clamp(2.875rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.gb-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.gb-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.gb-artifact-rows {
  border-top: 1px solid var(--line);
}

.gb-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

a.gb-artifact-row:hover > strong {
  color: var(--accent);
}

.gb-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

.gb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.gb-takeaway {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16.25rem, .9fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.gb-takeaway h2 {
  margin-bottom: .625rem;
  color: var(--paper);
}

.gb-takeaway p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 76%, transparent);
}

.gb-takeaway-list {
  display: grid;
  gap: .625rem;
}

.gb-takeaway-list span {
  padding-top: .625rem;
  border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  color: var(--paper);
  font-size: .6875rem;
  line-height: 1.45;
}

.gb-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.gb-next > p {
  max-width: 33.125rem;
  margin-bottom: 0;
}

@media (max-width: 51.25rem) {
  .gb-hero,
  .gb-context,
  .gb-section-head,
  .gb-principle,
  .gb-evidence,
  .gb-data-story,
  .gb-artifact-head,
  .gb-takeaway {
    grid-template-columns: 1fr;
  }

  .gb-context-copy,
  .gb-three {
    grid-template-columns: 1fr;
  }

  .gb-concern {
    min-height: 0;
  }

  .gb-concern-number {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 31.25rem) {
  .gb-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .gb-principle,
  .gb-takeaway {
    padding: 1.75rem 1.375rem;
  }

  .gb-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* Independent Consulting Case Study */

.gc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16.875rem, .6fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.gc-hero h1 {
  max-width: 52.5rem;
  margin-top: .875rem;
}

.gc-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.gc-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.gc-fact {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.gc-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.gc-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gc-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.gc-section {
  padding: clamp(3.25rem, 7vw, 4.875rem) 0;
  border-top: 1px solid var(--line);
}

.gc-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  margin-bottom: 1.875rem;
}

.gc-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.gc-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.gc-stage {
  min-height: 13.125rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.gc-stage-number {
  display: block;
  margin-bottom: 2.375rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.gc-stage p {
  margin-bottom: 0;
  font-size: .75rem;
}

.gc-tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
  margin-top: 1.5rem;
}

.gc-tool-group {
  padding: 1.375rem;
  background: var(--teal-soft);
}

.gc-tool-group > strong {
  display: block;
  margin-bottom: .9375rem;
  color: var(--teal);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
}

.gc-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.gc-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.375rem;
}

.gc-project {
  display: grid;
  grid-template-columns: minmax(9.375rem, .78fr) minmax(0, 1.22fr);
  min-height: 26.875rem;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.gc-project-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: .875rem;
  background: light-dark(#efefec, #d7d8d6);
  overflow: hidden;
}

.gc-project-visual img {
  display: block;
  width: 100%;
  max-height: 25.625rem;
  object-fit: contain;
}

.gc-project-copy {
  display: flex;
  flex-direction: column;
  padding: 1.5625rem;
}

.gc-project-copy p {
  margin-bottom: 1.125rem;
  font-size: .75rem;
}

.gc-project-copy .gc-pills {
  margin-top: auto;
}

.gc-project-label {
  margin-bottom: 2rem;
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gc-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16.25rem, .8fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 2.125rem 2.375rem;
  background: var(--ink);
  color: var(--paper);
}

.gc-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.6875rem;
  line-height: 1.28;
}

.gc-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.gc-artifacts {
  padding: clamp(2.875rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.gc-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.gc-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.gc-artifact-rows {
  border-top: 1px solid var(--line);
}

.gc-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

.gc-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

a.gc-artifact-row:hover > strong {
  color: var(--accent);
}

.gc-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.gc-next > p {
  max-width: 33.125rem;
  margin-bottom: 0;
}

@media (max-width: 56.25rem) {
  .gc-hero,
  .gc-section-head,
  .gc-principle,
  .gc-artifact-head {
    grid-template-columns: 1fr;
  }

  .gc-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gc-projects {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 42.5rem) {
  .gc-tool-groups {
    grid-template-columns: 1fr;
  }

  .gc-project {
    grid-template-columns: 1fr;
  }

  .gc-project-visual img {
    max-height: 32.5rem;
  }
}

@media (max-width: 31.25rem) {
  .gc-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .gc-process {
    grid-template-columns: 1fr;
  }

  .gc-stage {
    min-height: 0;
  }

  .gc-stage-number {
    margin-bottom: 1.5rem;
  }

  .gc-principle {
    padding: 1.75rem 1.375rem;
  }

  .gc-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* B&H Enterprise UX Case Study */

.bh-enterprise-page {
  --bh-gold: #91701f;
  --bh-gold-soft: #ece4ca;
}

@media (prefers-color-scheme: dark) {
  .bh-enterprise-page {
    --bh-gold: #d5b867;
    --bh-gold-soft: #3d3725;
  }
}

.bh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16.875rem, .6fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.bh-hero h1 {
  max-width: 56.25rem;
  margin-top: .875rem;
}

.bh-lede {
  max-width: 47.5rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.bh-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.bh-fact {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.bh-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.bh-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bh-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.bh-context {
  display: grid;
  grid-template-columns: minmax(15rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.bh-context-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.bh-context-copy > p {
  margin-bottom: 0;
}

.bh-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
  padding-top: .5rem;
}

.bh-context-copy > .bh-pill-row {
  grid-column: 1 / -1;
}

.bh-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.bh-section {
  padding: clamp(3.25rem, 7vw, 5.125rem) 0;
  border-top: 1px solid var(--line);
}

.bh-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  margin-bottom: 1.875rem;
}

.bh-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.bh-evidence {
  display: grid;
  grid-template-columns: minmax(18.75rem, 1.08fr) minmax(16.25rem, .92fr);
  gap: 2.375rem;
  align-items: center;
}

.bh-evidence-reverse {
  grid-template-columns: minmax(16.25rem, .9fr) minmax(18.75rem, 1.1fr);
}

.bh-figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.bh-image-wrap {
  display: grid;
  place-items: center;
  min-height: 20.625rem;
  padding: 1rem;
  background: light-dark(#efefec, #d7d8d6);
  overflow: hidden;
}

.bh-image-wrap img {
  display: block;
  width: 100%;
  max-height: 41.25rem;
  object-fit: contain;
}

.bh-figure figcaption {
  padding: .9375rem;
  border-top: 1px solid var(--line);
}

.bh-figure figcaption strong {
  display: block;
  margin-bottom: .3125rem;
  font-size: .6875rem;
  font-weight: 500;
}

.bh-figure figcaption span {
  display: block;
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.45;
}

.bh-points {
  display: grid;
  margin-top: 1.375rem;
  border-top: 1px solid var(--line);
}

.bh-point {
  display: grid;
  grid-template-columns: 1.9375rem 1fr;
  gap: .6875rem;
  padding: .8125rem 0;
  border-bottom: 1px solid var(--line);
}

.bh-point b {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .8125rem;
  font-weight: 400;
}

.bh-point span {
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.5;
}

.bh-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16.25rem, .75fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 2.25rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.bh-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.75rem;
  line-height: 1.28;
}

.bh-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.bh-system-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bh-system {
  min-height: 9.0625rem;
  padding: 1.375rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.bh-system strong {
  display: block;
  margin-bottom: 1.5rem;
  font-size: .6875rem;
  font-weight: 500;
}

.bh-system span {
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.5;
}

.bh-gallery {
  display: grid;
  grid-template-columns: minmax(16.25rem, .72fr) minmax(0, 1.28fr);
  gap: 1.375rem;
  align-items: stretch;
}

.bh-gallery .bh-figure {
  height: 100%;
}

.bh-gallery .bh-image-wrap {
  min-height: 32.5rem;
  height: calc(100% - 4.0625rem);
}

.bh-gallery .bh-image-wrap img {
  max-height: 49.375rem;
}

.bh-callout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
  margin-top: 1.5rem;
}

.bh-callout article {
  min-height: 11.25rem;
  padding: 1.4375rem;
  background: var(--teal-soft);
}

.bh-callout article:nth-child(2) {
  background: var(--accent-soft);
}

.bh-callout article:nth-child(3) {
  background: var(--bh-gold-soft);
}

.bh-callout strong {
  display: block;
  margin-bottom: 2rem;
  color: var(--teal);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bh-callout article:nth-child(2) strong {
  color: var(--accent);
}

.bh-callout article:nth-child(3) strong {
  color: var(--bh-gold);
}

.bh-callout p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: .75rem;
}

.bh-analysis-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.375rem;
}

.bh-analysis-grid .bh-image-wrap {
  min-height: 26.25rem;
}

.bh-note {
  margin-top: 1.125rem;
  padding: 1.125rem 1.3125rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .6875rem;
  line-height: 1.55;
}

.bh-artifacts {
  padding: clamp(2.875rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.bh-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.bh-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.bh-artifact-rows {
  border-top: 1px solid var(--line);
}

.bh-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

.bh-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

.bh-artifact-row .bh-pill-row {
  padding-top: 0;
}

a.bh-artifact-row:hover > strong {
  color: var(--accent);
}

.bh-scope {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15.625rem, .85fr);
  gap: 2.625rem;
  align-items: center;
  margin-top: 2.125rem;
  padding: 1.875rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.bh-scope p {
  margin-bottom: 0;
}

.bh-scope strong {
  color: var(--ink);
  font-size: .75rem;
  font-weight: 500;
}

.bh-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.bh-next > p {
  max-width: 35rem;
  margin-bottom: 0;
}

@media (max-width: 56.25rem) {
  .bh-hero,
  .bh-context,
  .bh-section-head,
  .bh-evidence,
  .bh-evidence-reverse,
  .bh-principle,
  .bh-gallery,
  .bh-analysis-grid,
  .bh-artifact-head,
  .bh-scope {
    grid-template-columns: 1fr;
  }

  .bh-system-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bh-gallery .bh-image-wrap {
    min-height: 23.75rem;
    height: auto;
  }
}

@media (max-width: 42.5rem) {
  .bh-context-copy,
  .bh-callout {
    grid-template-columns: 1fr;
  }

  .bh-callout article {
    min-height: 0;
  }
}

@media (max-width: 31.25rem) {
  .bh-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .bh-system-strip {
    grid-template-columns: 1fr;
  }

  .bh-principle {
    padding: 1.75rem 1.375rem;
  }

  .bh-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* B&H Customer Insights and CX Case Study */

.bh-cx-page {
  --cx-gold: #8c6e24;
  --cx-gold-soft: #eee5c9;
}

@media (prefers-color-scheme: dark) {
  .bh-cx-page {
    --cx-gold: #d3b868;
    --cx-gold-soft: #3c3624;
  }
}

.cx-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16.875rem, .6fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.cx-hero h1 {
  max-width: 56.25rem;
  margin-top: .875rem;
}

.cx-lede {
  max-width: 47.5rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.cx-facts {
  display: grid;
  gap: .875rem;
  padding-top: 1.0625rem;
  border-top: 3px solid var(--accent);
}

.cx-fact {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.cx-fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.cx-fact span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cx-fact strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.cx-section {
  padding: clamp(3.25rem, 7vw, 5.125rem) 0;
  border-top: 1px solid var(--line);
}

.cx-section-head {
  display: grid;
  grid-template-columns: minmax(15rem, .58fr) minmax(0, 1.42fr);
  gap: clamp(2.5rem, 7vw, 5.75rem);
  margin-bottom: 1.875rem;
}

.cx-section-head > p {
  max-width: 44.375rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1rem;
}

.cx-progression {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cx-era {
  min-height: 13.75rem;
  padding: 1.5625rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.cx-era-current {
  background: var(--teal-soft);
}

.cx-era time {
  display: block;
  margin-bottom: 2.75rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
}

.cx-era-current time {
  color: var(--teal);
}

.cx-era p {
  margin-bottom: 0;
  font-size: .75rem;
}

.cx-principle {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16.25rem, .75fr);
  gap: 3rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 2.25rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.cx-principle blockquote {
  margin-bottom: 0;
  color: var(--paper);
  font-size: 1.75rem;
  line-height: 1.28;
}

.cx-principle p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: .75rem;
}

.cx-diagnosis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--panel);
}

.cx-step {
  min-height: 10.3125rem;
  padding: 1.375rem 1.25rem;
  border-right: 1px solid var(--line);
}

.cx-step:last-child {
  border-right: 0;
  background: var(--accent-soft);
}

.cx-step b {
  display: block;
  margin-bottom: 2.125rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
  font-weight: 400;
}

.cx-step strong {
  display: block;
  margin-bottom: .4375rem;
  font-size: .75rem;
  font-weight: 500;
}

.cx-step span {
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.45;
}

.cx-example {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(16.25rem, .88fr);
  gap: 2.375rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1.875rem;
  background: var(--cx-gold-soft);
}

.cx-example h3 {
  color: var(--cx-gold);
}

.cx-example p:not(.kicker) {
  margin-bottom: 0;
  color: var(--ink);
}

.cx-example-result {
  padding-left: 1.5rem;
  border-left: 3px solid var(--cx-gold);
}

.cx-example-result span {
  display: block;
  margin-bottom: .625rem;
  color: var(--cx-gold);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cx-example-result strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
}

.cx-scale {
  display: grid;
  grid-template-columns: .8fr .8fr 1.4fr;
  gap: 1.125rem;
}

.cx-metric {
  min-height: 13.125rem;
  padding: 1.6875rem;
  border-top: 3px solid var(--accent);
  background: var(--panel);
}

.cx-metric:nth-child(2) {
  border-top-color: var(--teal);
}

.cx-metric:nth-child(3) {
  border-top-color: var(--cx-gold);
}

.cx-number {
  margin-bottom: 1.75rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.375rem;
  line-height: 1;
}

.cx-metric:nth-child(2) .cx-number {
  color: var(--teal);
}

.cx-metric:nth-child(3) .cx-number,
.cx-number-text {
  color: var(--cx-gold);
  font-size: 1.9375rem;
}

.cx-metric p {
  margin-bottom: 0;
  font-size: .75rem;
}

.cx-architecture {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cx-node {
  min-height: 13.125rem;
  padding: 1.4375rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.cx-node:nth-child(2) {
  background: var(--accent-soft);
}

.cx-node:nth-child(3) {
  background: var(--teal-soft);
}

.cx-node:nth-child(4) {
  background: var(--cx-gold-soft);
}

.cx-node-label {
  display: block;
  margin-bottom: 2.625rem;
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cx-node:nth-child(3) .cx-node-label {
  color: var(--teal);
}

.cx-node:nth-child(4) .cx-node-label {
  color: var(--cx-gold);
}

.cx-node p {
  margin-bottom: 0;
  font-size: .6875rem;
}

.cx-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4375rem;
  margin-top: 1.375rem;
}

.cx-pill {
  display: inline-block;
  padding: .375rem .5625rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-size: .625rem;
  line-height: 1.25;
}

.cx-validation {
  display: grid;
  grid-template-columns: minmax(17.5rem, .9fr) minmax(0, 1.1fr);
  gap: 2.375rem;
  align-items: center;
}

.cx-matrix {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cx-matrix-row {
  display: grid;
  grid-template-columns: minmax(7.1875rem, .72fr) minmax(0, 1.28fr);
}

.cx-matrix-row > * {
  min-height: 3.75rem;
  padding: .875rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cx-matrix-row strong {
  background: var(--panel);
  font-size: .6875rem;
  font-weight: 500;
}

.cx-matrix-row span {
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.45;
}

.cx-validation-card {
  padding: 1.875rem;
  background: var(--teal-soft);
}

.cx-validation-card .kicker {
  color: var(--teal);
}

.cx-validation-card h3 {
  margin: 2.125rem 0 .75rem;
  color: var(--teal);
}

.cx-validation-card p:not(.kicker) {
  margin-bottom: 0;
  color: var(--ink);
}

.cx-platform {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cx-platform article {
  min-height: 14.375rem;
  padding: 1.5625rem;
  border-top: 3px solid var(--line);
  background: var(--panel);
}

.cx-platform article:nth-child(2) {
  border-top-color: var(--accent);
}

.cx-platform article:nth-child(3) {
  border-top-color: var(--teal);
}

.cx-platform time {
  display: block;
  margin-bottom: 2.375rem;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
}

.cx-platform p {
  margin-bottom: 0;
  font-size: .75rem;
}

.cx-artifacts {
  padding: clamp(2.875rem, 6vw, 4.25rem) 0;
  border-top: 1px solid var(--line);
}

.cx-artifact-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.cx-artifact-head > p {
  max-width: 40.625rem;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: 1rem;
}

.cx-artifact-rows {
  border-top: 1px solid var(--line);
}

.cx-artifact-row {
  display: grid;
  grid-template-columns: minmax(11.25rem, .7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line);
}

.cx-artifact-row > strong {
  font-size: .75rem;
  font-weight: 500;
}

.cx-artifact-row .cx-pill-row {
  margin-top: 0;
}

.cx-scope {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(15.625rem, .85fr);
  gap: 2.625rem;
  align-items: center;
  margin-top: 2.125rem;
  padding: 1.875rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.cx-scope p {
  margin-bottom: 0;
}

.cx-scope strong {
  color: var(--ink);
  font-size: .75rem;
  font-weight: 500;
}

.cx-scope .cx-pill-row {
  margin-top: 0;
}

.cx-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.375rem;
  padding-top: 2.875rem;
}

.cx-next > p {
  max-width: 35rem;
  margin-bottom: 0;
}

@media (max-width: 56.25rem) {
  .cx-hero,
  .cx-section-head,
  .cx-principle,
  .cx-example,
  .cx-validation,
  .cx-artifact-head,
  .cx-scope {
    grid-template-columns: 1fr;
  }

  .cx-diagnosis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cx-step {
    border-bottom: 1px solid var(--line);
  }

  .cx-scale {
    grid-template-columns: 1fr 1fr;
  }

  .cx-scale .cx-metric:last-child {
    grid-column: 1 / -1;
  }

  .cx-architecture {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 42.5rem) {
  .cx-progression,
  .cx-platform,
  .cx-diagnosis,
  .cx-scale,
  .cx-architecture {
    grid-template-columns: 1fr;
  }

  .cx-step {
    min-height: 0;
    border-right: 0;
  }

  .cx-scale .cx-metric:last-child {
    grid-column: auto;
  }
}

@media (max-width: 31.25rem) {
  .cx-fact {
    grid-template-columns: 3.625rem 1fr;
  }

  .cx-principle {
    padding: 1.75rem 1.375rem;
  }

  .cx-matrix-row {
    grid-template-columns: 1fr;
  }

  .cx-artifact-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

/* Functional Flows */

.functional-flows-page {
  --ff-panel: #fffdf8;
  --ff-panel-2: #ebe5da;
  --ff-ink: #172128;
  --ff-muted: #667278;
  --ff-line: #d7d0c4;
  --ff-accent: #b7432f;
  --ff-accent-soft: #f1ddd6;
  --ff-teal: #427a79;
  --ff-teal-soft: #dce9e6;
}

@media (prefers-color-scheme: dark) {
  .functional-flows-page {
    --ff-panel: #232627;
    --ff-panel-2: #2c3031;
    --ff-ink: #f3eee5;
    --ff-muted: #aeb7ba;
    --ff-line: #3d4446;
    --ff-accent: #e27762;
    --ff-accent-soft: #472d29;
    --ff-teal: #79aaa6;
    --ff-teal-soft: #2b4140;
  }
}

.ff-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.ff-hero h1 {
  max-width: 50rem;
  margin-top: .875rem;
}

.ff-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--ff-ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.ff-note {
  padding-top: 1rem;
  border-top: 3px solid var(--ff-accent);
}

.ff-note strong {
  display: block;
  margin-bottom: .5625rem;
  font-size: .75rem;
  font-weight: 500;
}

.ff-note p {
  margin-bottom: 0;
  font-size: .6875rem;
}

.ff-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--ff-line);
}

.ff-section-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.875rem;
}

.ff-section-head > p {
  max-width: 43.75rem;
  margin-bottom: .25rem;
  color: var(--ff-ink);
  font-size: 1rem;
}

.ff-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16.875rem, .7fr);
  background: var(--ff-panel);
}

.ff-artboard {
  min-height: 27.5rem;
  padding: clamp(1.5rem, 4vw, 2.625rem);
  background: var(--ff-panel-2);
}

.ff-artboard-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.875rem;
  color: var(--ff-muted);
  font-size: .625rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ff-flow-large,
.ff-flow-small {
  display: block;
  width: 100%;
  height: auto;
}

.ff-flow-large .ff-connector,
.ff-flow-small .ff-connector {
  fill: none;
  stroke: var(--ff-muted);
  stroke-width: 1.5;
}

.ff-flow-large .ff-node,
.ff-flow-small .ff-node {
  fill: var(--ff-panel);
  stroke: var(--ff-line);
  stroke-width: 1;
}

.ff-flow-large .ff-node-key,
.ff-flow-small .ff-node-key {
  fill: var(--ff-teal-soft);
  stroke: var(--ff-teal);
  stroke-width: 1.25;
}

.ff-flow-large .ff-node-end,
.ff-flow-small .ff-node-end {
  fill: var(--ff-accent-soft);
  stroke: var(--ff-accent);
  stroke-width: 1.25;
}

.ff-flow-large text,
.ff-flow-small text {
  fill: var(--ff-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .6875rem;
}

.ff-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 5vw, 3.25rem);
}

.ff-feature-copy h2 {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
}

.ff-project {
  display: inline-block;
  margin-bottom: 1.125rem;
  color: var(--ff-accent);
  font-size: .625rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ff-points {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

.ff-point {
  padding-top: .75rem;
  border-top: 1px solid var(--ff-line);
}

.ff-point strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .6875rem;
  font-weight: 500;
}

.ff-point span {
  color: var(--ff-muted);
  font-size: .6875rem;
  line-height: 1.5;
}

.ff-link {
  align-self: flex-start;
  border: 1px solid var(--ff-ink);
  padding: .625rem .875rem;
  color: var(--ff-ink);
  font-size: .6875rem;
  font-weight: 500;
}

.ff-link:hover {
  background: var(--ff-accent-soft);
}

.ff-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.125rem;
  margin-top: 1.125rem;
}

.ff-card {
  display: flex;
  flex-direction: column;
  min-height: 26.875rem;
  background: var(--ff-panel);
}

.ff-card-visual {
  min-height: 14.375rem;
  padding: 1.5625rem;
  background: var(--ff-panel-2);
}

.ff-card-visual-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.375rem;
  color: var(--ff-muted);
  font-size: .5625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ff-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.ff-card-copy p {
  margin-bottom: 1.25rem;
  font-size: .75rem;
}

.ff-card-copy a {
  align-self: flex-start;
  margin-top: auto;
  border-bottom: 1px solid var(--ff-ink);
  padding: .25rem 0;
  color: var(--ff-ink);
  font-size: .6875rem;
  font-weight: 500;
}

.ff-card-copy a:hover {
  color: var(--ff-accent);
  border-bottom-color: var(--ff-accent);
}

.ff-related {
  display: grid;
  grid-template-columns: minmax(11.875rem, .5fr) minmax(0, 1.5fr);
  gap: 2.25rem;
  align-items: start;
  margin-top: 3.375rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ff-line);
}

.ff-related h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.ff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5625rem;
}

.ff-chip {
  border: 1px solid var(--ff-line);
  background: var(--ff-panel);
  padding: .5625rem .75rem;
  color: var(--ff-ink);
  font-size: .6875rem;
}

.ff-chip:hover {
  border-color: var(--ff-accent);
  color: var(--ff-accent);
}

@media (max-width: 55rem) {
  .ff-hero,
  .ff-section-head,
  .ff-feature {
    grid-template-columns: 1fr;
  }

  .ff-artboard {
    min-height: 0;
  }

  .ff-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .ff-related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40.625rem) {
  .ff-gallery {
    grid-template-columns: 1fr;
  }

  .ff-card {
    min-height: 0;
  }
}

/* Role Evolution by Job */

.role-evolution-page {
  --rj-ink: #172128;
  --rj-muted: #667278;
  --rj-line: #d7d0c4;
  --rj-accent: #b7432f;
  --rj-dev: #bdd7ad;
  --rj-ux: #a9c9df;
  --rj-pm: #ddc995;
  --rj-cx: #d99a88;
}

@media (prefers-color-scheme: dark) {
  .role-evolution-page {
    --rj-ink: #f3eee5;
    --rj-muted: #aeb7ba;
    --rj-line: #3d4446;
    --rj-accent: #e27762;
    --rj-dev: #4d6847;
    --rj-ux: #42677f;
    --rj-pm: #756339;
    --rj-cx: #8a4f43;
  }
}

.rj-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.875rem, .65fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.rj-hero h1 {
  max-width: 51.25rem;
  margin-top: .875rem;
}

.rj-lede {
  max-width: 45rem;
  margin-bottom: 0;
  color: var(--rj-ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.rj-note {
  padding-top: 1rem;
  border-top: 3px solid var(--rj-accent);
}

.rj-note strong {
  display: block;
  margin-bottom: .5625rem;
  font-size: .75rem;
  font-weight: 500;
}

.rj-note p {
  margin-bottom: 0;
  font-size: .6875rem;
}

.rj-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--rj-line);
}

.rj-section-head {
  display: grid;
  grid-template-columns: minmax(13.75rem, .52fr) minmax(0, 1.48fr);
  gap: clamp(2.375rem, 7vw, 5.75rem);
  align-items: end;
  margin-bottom: 1.75rem;
}

.rj-section-head > p {
  max-width: 43.125rem;
  margin-bottom: .25rem;
  color: var(--rj-ink);
  font-size: 1rem;
}

.rj-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.375rem;
  margin-bottom: 1.5rem;
}

.rj-key {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--rj-muted);
  font-size: .6875rem;
}

.rj-swatch {
  width: 1.375rem;
  height: .5rem;
}

.rj-swatch-dev {
  background: var(--rj-dev);
}

.rj-swatch-ux {
  background: var(--rj-ux);
}

.rj-swatch-pm {
  background: var(--rj-pm);
}

.rj-swatch-cx {
  background: var(--rj-cx);
}

.rj-list {
  border-top: 1px solid var(--rj-line);
}

.rj-row {
  display: grid;
  grid-template-columns: minmax(10rem, .72fr) minmax(21.25rem, 1.65fr) minmax(11.875rem, .83fr);
  gap: clamp(1.125rem, 3vw, 2.125rem);
  align-items: center;
  min-height: 7.5rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid var(--rj-line);
}

.rj-job strong {
  display: block;
  margin-bottom: .3125rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.15;
}

.rj-job a:hover {
  color: var(--rj-accent);
}

.rj-job span {
  display: block;
  color: var(--rj-muted);
  font-size: .625rem;
  line-height: 1.45;
}

.rj-mini {
  display: block;
  width: 100%;
  height: 4.625rem;
}

.rj-mini .rj-track {
  fill: color-mix(in srgb, var(--rj-line) 28%, transparent);
}

.rj-mini .rj-dev {
  fill: var(--rj-dev);
}

.rj-mini .rj-ux {
  fill: var(--rj-ux);
}

.rj-mini .rj-pm {
  fill: var(--rj-pm);
}

.rj-mini .rj-cx {
  fill: var(--rj-cx);
}

.rj-caption {
  color: var(--rj-muted);
  font-size: .6875rem;
  line-height: 1.5;
}

.rj-caption strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--rj-ink);
  font-size: .6875rem;
  font-weight: 500;
}

.rj-axis-note {
  display: grid;
  grid-template-columns: minmax(10rem, .72fr) minmax(21.25rem, 1.65fr) minmax(11.875rem, .83fr);
  gap: clamp(1.125rem, 3vw, 2.125rem);
  margin-top: .625rem;
  color: var(--rj-muted);
  font-size: .5625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rj-direction {
  display: flex;
  justify-content: space-between;
}

.rj-footer-note {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .8fr);
  gap: 2.625rem;
  align-items: center;
  margin-top: 2.625rem;
  padding: 1.875rem 2.125rem;
  background: var(--rj-ink);
  color: var(--paper);
}

.rj-footer-note h2 {
  margin-bottom: .5625rem;
  color: var(--paper);
}

.rj-footer-note p:not(.kicker) {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--paper) 75%, transparent);
}

.rj-footer-note > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.35;
}

.rj-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2.25rem;
}

@media (max-width: 53.75rem) {
  .rj-hero,
  .rj-section-head,
  .rj-footer-note {
    grid-template-columns: 1fr;
  }

  .rj-row {
    grid-template-columns: 9.375rem minmax(17.5rem, 1fr);
  }

  .rj-caption {
    grid-column: 2;
  }

  .rj-axis-note {
    grid-template-columns: 9.375rem minmax(17.5rem, 1fr);
  }

  .rj-axis-note > span:last-child {
    display: none;
  }
}

@media (max-width: 40.625rem) {
  .rj-row {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1.5625rem 0;
  }

  .rj-caption {
    grid-column: auto;
  }

  .rj-axis-note {
    display: none;
  }

  .rj-mini {
    height: 4.25rem;
  }
}

/* Career timeline: make B&H phase cards fully interactive */
.career-phase {
  transition: background-color .18s ease, color .18s ease;
}

.career-phase:hover,
.career-phase:focus-visible {
  background: var(--accent-soft);
}

.career-phase:hover .career-phase-time,
.career-phase:hover h3,
.career-phase:focus-visible .career-phase-time,
.career-phase:focus-visible h3 {
  color: var(--accent);
}

/* B&H Enterprise UX — visual clusters */
.bh-evidence-copy-first {
  grid-template-columns: 1fr;
  align-items: start;
}

.bh-evidence-copy-first > div:first-child {
  max-width: 60rem;
}

.bh-ops-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
  min-width: 0;
}

.bh-ops-gallery .bh-figure {
  height: 100%;
}

.bh-image-wrap-compact {
  min-height: 12rem;
  padding: .625rem;
}

.bh-image-wrap-compact img {
  max-height: 18rem;
}

.bh-salesforce-copy {
  max-width: 70rem;
}

.bh-salesforce-copy > p {
  max-width: 47.5rem;
}

.bh-gallery .bh-figure:first-child {
  grid-column: 2;
}

.bh-gallery .bh-figure:nth-child(2) {
  grid-column: 1;
  grid-row: 1;
}

.bh-analysis-grid .bh-image-wrap {
  min-height: 22rem;
}

@media (max-width: 68rem) {
  .bh-evidence-copy-first {
    grid-template-columns: 1fr;
  }

  .bh-ops-gallery {
    grid-template-columns: 1fr;
  }

  .bh-image-wrap-compact {
    min-height: 18rem;
  }
}

@media (max-width: 56.25rem) {
  .bh-gallery .bh-figure:first-child,
  .bh-gallery .bh-figure:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Independent Consulting — paired visual evidence */
.gc-project-visual-pair {
  grid-template-columns: 1fr;
  gap: .75rem;
  align-content: center;
}

.gc-project-visual-pair img {
  width: 100%;
  max-height: 12rem;
  object-fit: contain;
}

@media (max-width: 42.5rem) {
  .gc-project-visual-pair img {
    max-height: 16rem;
  }
}

/* B&H cross-link phase cards */

.bh-facts-top,
.cx-facts-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: .875rem;
  margin-bottom: .875rem;
}

.bh-facts-top .bh-fact,
.cx-facts-top .cx-fact {
  margin: 0;
}

.bh-phase-card,
.cx-phase-card {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 2.9rem;
  width: 5rem;
  min-height: 2.15rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--panel);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.bh-phase-card:hover,
.bh-phase-card:focus-visible,
.cx-phase-card:hover,
.cx-phase-card:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--panel) 62%, var(--accent-soft));
  transform: translateX(.125rem);
  outline: none;
}

.bh-phase-card-copy,
.cx-phase-card-copy {
  display: grid;
  align-content: center;
  gap: .05rem;
  padding: .3rem .2rem .3rem .4rem;
}

.bh-phase-card-copy strong,
.cx-phase-card-copy strong {
  color: var(--ink);
  font-size: .68rem;
  font-weight: 500;
  line-height: 1;
}

.bh-phase-card-copy span,
.cx-phase-card-copy span {
  color: var(--muted);
  font-size: .45rem;
  font-weight: 500;
  line-height: 1.1;
}

.bh-phase-card-arrow,
.cx-phase-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  color: var(--accent);
  font-size: .72rem;
  line-height: 1;
}

@media (max-width: 31.25rem) {
  .bh-phase-card,
  .cx-phase-card {
    position: static;
    width: 5rem;
    min-height: 2.15rem;
    margin-left: auto;
  }
}

/* Contact */

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr);
  gap: clamp(2.625rem, 8vw, 6.625rem);
  align-items: end;
  padding-bottom: clamp(3.25rem, 8vw, 5.75rem);
}

.contact-hero h1 {
  margin-top: .875rem;
  margin-bottom: 1.25rem;
}

.contact-lede {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.58;
}

.contact-card {
  padding-top: 1.25rem;
  border-top: 3px solid var(--accent);
}

.contact-label {
  display: block;
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-email {
  display: inline-block;
  margin-bottom: 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.15;
}

.contact-email:hover {
  color: var(--accent);
}

.contact-meta {
  display: grid;
  gap: .75rem;
}

.contact-meta > div {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: .75rem;
  padding-top: .6875rem;
  border-top: 1px solid var(--line);
}

.contact-meta span {
  color: var(--muted);
  font-size: .5625rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-meta strong {
  font-size: .6875rem;
  font-weight: 500;
  line-height: 1.45;
}

.contact-options {
  border-top: 1px solid var(--line);
}

.contact-option {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 2.5rem;
  gap: 1.25rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-option-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9375rem;
}

.contact-option h2 {
  margin-bottom: .25rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-option p {
  margin-bottom: 0;
  font-size: .75rem;
}

.contact-option-arrow {
  color: var(--accent);
  font-size: 1.25rem;
  text-align: right;
  transition: transform .18s ease;
}

.contact-option:hover h2,
.contact-option:focus-visible h2 {
  color: var(--accent);
}

.contact-option:hover .contact-option-arrow,
.contact-option:focus-visible .contact-option-arrow {
  transform: translateX(.2rem);
}

@media (max-width: 49.375rem) {
  .contact-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 31.25rem) {
  .contact-meta > div {
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }

  .contact-option {
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem;
    gap: .75rem;
  }
}

/* Brooklyn College before / after */
.bc-redesign {
  margin-top: 4.25rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--line);
}

.bc-redesign-head {
  display: grid;
  grid-template-columns: minmax(15rem, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: start;
}

.work-type-page .bc-redesign h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8125rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.bc-redesign-head p:last-child {
  margin-bottom: 0;
}

.bc-comparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.bc-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.bc-stage {
  display: block;
  padding: .625rem .75rem;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bc-panel-media {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 15rem;
  padding: .75rem;
  background: #fff;
}

.bc-panel-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: contain;
}

.bc-panel-media--before img {
  max-height: 20.5rem;
}

.bc-panel figcaption {
  min-height: 5.5rem;
  padding: .875rem 1rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.5;
}

.bc-reflection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.bc-reflection > div {
  padding: 1.375rem 1.5rem;
  background: var(--panel);
}

.bc-reflection span {
  display: block;
  margin-bottom: .625rem;
  color: var(--accent);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bc-reflection p {
  margin-bottom: 0;
  font-size: .75rem;
}

@media (max-width: 56.25rem) {
  .bc-redesign-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bc-comparison {
    grid-template-columns: 1fr;
  }

  .bc-panel-media {
    min-height: 0;
  }

  .bc-panel figcaption {
    min-height: 0;
  }
}

@media (max-width: 40rem) {
  .bc-reflection {
    grid-template-columns: 1fr;
  }
}



.clubmom-showcase {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
}

.clubmom-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.clubmom-showcase-copy p:last-child {
  margin-bottom: 0;
}

.clubmom-figure {
  margin: 0;
  display: grid;
  gap: .875rem;
}

.clubmom-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.clubmom-image-wrap img {
  width: min(100%, 30rem);
  height: auto;
}

.clubmom-figure figcaption {
  display: grid;
  gap: .25rem;
}

.clubmom-figure figcaption strong {
  font-size: .8125rem;
  font-weight: 500;
}

.clubmom-figure figcaption span {
  color: var(--muted);
  font-size: .6875rem;
  line-height: 1.5;
}

.clubmom-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.clubmom-points article {
  min-width: 0;
  padding: 1.5rem;
  background: var(--panel);
}

.clubmom-points span {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .875rem;
}

.clubmom-points h3 {
  margin-bottom: .5rem;
  font-size: .95rem;
  line-height: 1.3;
}

.clubmom-points p {
  margin-bottom: 0;
  font-size: .78125rem;
  line-height: 1.6;
}

@media (max-width: 51.25rem) {
  .clubmom-showcase-head,
  .clubmom-points {
    grid-template-columns: 1fr;
  }
}
