@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("fonts/space-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("assets/fonts/Faktum-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Faktum";
  src: url("assets/fonts/Faktum-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ink: #000;
  --ink-inverse: #fff;
  --muted: rgba(0, 0, 0, 0.4);
  --rule: #ddd;
  --accent: #ff8a04;
  --shell-width: 1386px;
  --mono: "Space Mono", "Courier New", monospace;
  --body: "Geist", Arial, sans-serif;
  --text-size: 16px;
  --text-weight: 400;
  --text-leading: 28.8px;
  --text-tracking: -0.48px;
  --title-size: 16px;
  --title-weight: 500;
  --title-leading: 22px;
  --title-tracking: -0.24px;
  --label-size: 12px;
  --label-leading: normal;
  --label-tracking: 0;
  --shell-pad: clamp(16px, 2.5vw, 100px);
  --content-pad: clamp(16px, 2.5vw, 120px);
}

@media (min-width: 901px) {
  body {
    overflow: hidden;
  }
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--ink) var(--paper);
  scrollbar-width: thin;
}

html {
  background: var(--paper);
  color: var(--ink);
  scrollbar-gutter: stable;
}

body {
  display: grid;
  place-items: start center;
  min-height: 100vh;
  margin: 0;
  padding: var(--shell-pad) var(--shell-pad) 0;
  overflow-y: scroll;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: var(--text-weight);
  line-height: var(--text-leading);
  -webkit-font-smoothing: antialiased;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--paper);
  border-left: 1px solid var(--rule);
}

*::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 0;
  border-radius: 0;
}

*::-webkit-scrollbar-corner {
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-position: from-font;
}

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

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(var(--shell-width), 100%);
  height: calc(100vh - var(--shell-pad));
  min-height: 620px;
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  --topbar-height: 49px;
}

.topbar {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 30;
  flex: 0 0 auto;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.topbar__inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.topbar .contact-nav {
  display: none;
}

.topbar-menu__toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  margin: 0;
  padding: 16px 32px;
  border: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: var(--label-leading);
  white-space: nowrap;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 0;
  background-color: transparent;
  cursor: pointer;
  transition: background-size 180ms ease, color 180ms ease;
}

.topbar-menu__toggle:hover,
.topbar-menu__toggle:focus-visible,
.topbar-menu__toggle[aria-expanded="true"] {
  background-size: 100% 100%;
  color: var(--ink-inverse);
  outline: none;
}

.brand,
.contact-nav a,
.work-filter-nav a {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: var(--label-leading);
  text-decoration: none;
  white-space: nowrap;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100% 0;
  transition: background-size 180ms ease, color 180ms ease;
}

.brand:hover,
.brand:focus-visible,
.contact-nav a:hover,
.contact-nav a:focus-visible,
.work-filter-nav a:hover,
.work-filter-nav a:focus-visible,
.work-filter-nav a.is-active {
  background-size: 100% 100%;
  color: var(--ink-inverse);
  text-decoration: none;
}

.brand {
  flex: 1 0 0;
  gap: 16px;
  min-width: 0;
  padding: 16px 32px;
}

.brand__slug-hover {
  display: none;
}

.brand:hover .brand__slug-default,
.brand:focus-visible .brand__slug-default {
  display: none;
}

.brand:hover .brand__slug-hover,
.brand:focus-visible .brand__slug-hover {
  display: inline;
}

.home-grid {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
}

.intro-rail {
  display: flex;
  flex: 0 0 465px;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  border-right: 1px solid var(--rule);
  background: var(--paper);
}

.intro-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-height: 0;
  padding: 32px;
}

.intro-copy p,
.intro-copy h1 {
  max-width: 100%;
  margin: 0;
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: var(--text-weight);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.intro-copy > p:first-child {
  letter-spacing: var(--title-tracking);
}

.page-shell:not(.page-shell--detail) .intro-copy > p:first-child {
  margin-bottom: -40px;
}

.page-shell:not(.page-shell--detail) .intro-copy .intro-muted {
  margin-top: 0;
  margin-bottom: 0;
}

.intro-muted {
  color: #b2b0b0;
}

.contact-nav {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  border-top: 1px solid var(--rule);
}

.contact-nav a {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid var(--rule);
  text-decoration: none;
}

.contact-nav a:last-child {
  border-right: 0;
}

.intro-rail .contact-nav,
.legacy-case-content .case-sidebar .contact-nav {
  margin-top: auto;
}

.work-feed {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--rule);
}

.work-feed__top {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  transition: opacity 180ms ease;
}

.work-feed__top h2 {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: var(--label-size);
  font-weight: 400;
  line-height: var(--label-leading);
}

.work-filter-nav {
  display: flex;
  flex: 0 0 auto;
}

.work-filter-nav a {
  justify-content: center;
  padding: 16px;
  border-left: 1px solid var(--rule);
}

.work-feed__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.work-card {
  flex: 0 0 auto;
  padding: 32px;
  border-bottom: 1px solid var(--rule);
  transition: opacity 180ms ease;
}

.topbar,
.intro-rail {
  transition: opacity 180ms ease;
}

.page-shell:has(.work-card:hover) .topbar,
.page-shell:has(.work-card:hover) .intro-rail,
.page-shell:has(.work-card:hover) .work-feed__top,
.page-shell:has(.work-card:hover) .work-card:not(:hover) {
  opacity: 0.32;
}

.page-shell:has(.work-card:hover) .work-card:hover {
  opacity: 1;
}

.work-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}

.work-card:not(:has(.work-card__image)) .work-card__copy {
  margin-bottom: 0;
}

.work-card__copy p,
.work-card__copy h3 {
  margin: 0;
  font-weight: 400;
}

.work-card__copy p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  line-height: var(--label-leading);
}

.work-card__copy h3 {
  max-width: 100%;
  font-family: var(--body);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  line-height: var(--title-leading);
}

.work-card[data-category="case-study"] .work-card__copy h3 {
  font-size: 20px;
  line-height: 28px;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.34);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: var(--text-weight);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
  list-style: none;
}

.work-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1700 / 1079;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  text-decoration: none;
}

.work-card__image img,
.work-card__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.work-card__image--framed {
  box-sizing: border-box;
  padding: 32px;
  background: #000;
  border-color: rgba(255, 255, 255, 0.14);
}

.work-card__image--framed img,
.work-card__image--framed video {
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.work-card[hidden],
.work-empty[hidden] {
  display: none;
}

.work-empty,
.section-kicker,
.page-shell--detail .detail-summary > p:nth-of-type(1) {
  font-family: var(--mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  line-height: var(--label-leading);
}

.work-empty {
  margin: 0;
  padding: 32px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}

.page-shell--detail .detail-summary {
  justify-content: flex-start;
  gap: 12px;
}

.page-shell--detail .detail-summary > p:nth-of-type(1) {
  color: var(--muted);
}

.detail-summary h1 {
  font-family: var(--body);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.page-shell--playground .playground-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: calc(100vh - var(--shell-pad) - var(--topbar-height));
  overflow: hidden;
}

.page-shell--playground .playground-topbar-nav {
  display: none;
}

.detail-feed {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--rule);
}

.detail-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.page-shell--case .detail-feed {
  border-left: 0;
}

.page-shell--case .legacy-case-content {
  display: grid;
  grid-template-columns: 465px minmax(0, 1fr);
  column-gap: 0;
}

.detail-hero {
  margin: 0;
  padding: 32px;
  border-bottom: 1px solid var(--rule);
}

.detail-hero img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: #f8f8f8;
}

.detail-portrait img {
  max-height: 500px;
  object-position: 50% 32%;
  filter: grayscale(1);
}

.detail-section {
  padding: 32px;
  border-bottom: 1px solid var(--rule);
}

.detail-section p,
.detail-section li {
  max-width: 68ch;
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.detail-section p + p {
  margin-top: 32px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
}

.detail-list,
.resource-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.resource-list li {
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.resource-list a {
  text-decoration: none;
}

.resource-list a:hover,
.resource-list a:focus-visible {
  color: var(--ink);
}

.page-shell--link-list .section-kicker {
  font-family: var(--body);
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.page-shell--link-list .detail-section {
  border-bottom: none;
}

.page-shell--link-list .detail-section + .detail-section {
  padding-top: 0;
}

.page-shell--link-list .detail-section + .detail-section .section-kicker {
  margin-top: 32px;
}

.page-shell--link-list .reading-list li {
  padding-top: 0;
  border-top: none;
}

.page-shell--link-list .reading-list {
  gap: 0;
}

.page-shell--link-list .reading-list a {
  display: inline;
  font-family: var(--body);
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
  text-decoration: none;
}

.page-shell--link-list .reading-list-title {
  color: var(--ink);
  text-decoration: underline;
  text-underline-position: from-font;
}

.page-shell--link-list .reading-list-author {
  color: var(--muted);
}

.legacy-case-content .col,
.legacy-case-content .case-header,
.legacy-case-content .case-hero,
.legacy-case-content .case-section {
  padding: 32px var(--content-pad);
}

.page-shell--case .legacy-case-content .case-header {
  padding-top: var(--content-pad);
}

.legacy-case-content .case-sidebar {
  position: sticky;
  top: 0;
  grid-column: 1;
  grid-row: 1 / span 99;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--shell-pad) - var(--topbar-height));
  max-height: calc(100vh - var(--shell-pad) - var(--topbar-height));
  min-width: 0;
  border-right: 1px solid var(--rule);
  background: var(--paper);
}

.legacy-case-content .case-sidebar .case-toc {
  flex: 1 1 auto;
  min-height: 0;
  position: static;
  grid-column: unset;
  grid-row: unset;
  overflow-y: auto;
}

.legacy-case-content .case-sidebar .contact-nav {
  flex: 0 0 auto;
  width: 100%;
}

.legacy-case-content .case-toc {
  position: sticky;
  top: 0;
  grid-column: 1;
  grid-row: 1 / span 99;
  align-self: start;
  max-height: 100%;
  padding: var(--content-pad) 18px 32px var(--content-pad);
  overflow-y: auto;
}

.legacy-case-content > :not(.case-sidebar) {
  grid-column: 2;
  justify-self: center;
  width: min(100%, 920px);
}

.legacy-case-content .case-toc-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.legacy-case-content .case-toc-link {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  color: rgba(0, 0, 0, 0.38);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: 400;
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease;
}

.legacy-case-content .case-toc-link:hover,
.legacy-case-content .case-toc-link:focus-visible {
  color: var(--ink);
}

.legacy-case-content .case-toc-link.is-active,
.legacy-case-content .case-toc-link[aria-current="true"] {
  color: var(--ink);
  font-weight: 400;
}

.legacy-case-content .case-section ul.about-jobs {
  display: grid;
  gap: 80px;
  max-width: 600px;
  margin: 0;
  padding: 0;
  padding-left: 0;
  list-style: none;
}

.legacy-case-content .about-job__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legacy-case-content .about-job__title {
  margin: 0;
  max-width: none;
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: var(--title-weight);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.legacy-case-content .about-job__kicker {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: 400;
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.legacy-case-content .about-job__desc {
  margin: 0;
  max-width: none;
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.legacy-case-content .case-section .about-job__kicker + .about-job__desc {
  margin-top: 4px;
}

.legacy-case-content .about-stack-caption {
  margin-top: 0;
}

.legacy-case-content .about-stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  max-width: 600px;
}

.legacy-case-content .about-stack-item {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fafafa;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.legacy-case-content .about-stack-item:hover {
  border-color: var(--ink);
  transform: scale(1.04);
}

.legacy-case-content .about-stack-item img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  pointer-events: none;
}

.legacy-case-content .about-stack-item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 3;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.legacy-case-content .about-stack-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.legacy-case-content .case-section a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legacy-case-content .case-section a:hover,
.legacy-case-content .case-section a:focus-visible {
  color: var(--ink);
}

.legacy-case-content .case-title {
  margin: 0;
  max-width: 600px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: var(--title-weight);
  line-height: 28px;
  letter-spacing: var(--title-tracking);
}

.legacy-case-content .case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 600px;
  margin: 4px 0 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.34);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: var(--text-weight);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
  list-style: none;
}

.legacy-case-content .case-dateline,
.legacy-case-content .case-lede,
.legacy-case-content .case-body,
.legacy-case-content .case-section p,
.legacy-case-content .case-section li {
  max-width: 600px;
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

.legacy-case-content .case-dateline {
  margin: 0 0 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  line-height: var(--label-leading);
}

.legacy-case-content .case-lede {
  margin-top: 32px;
  font-size: var(--text-size);
  line-height: var(--text-leading);
}

.legacy-case-content .case-section-title {
  margin: 0 0 18px;
  max-width: 600px;
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: 600;
  letter-spacing: var(--text-tracking);
  line-height: var(--title-leading);
}

.legacy-case-content .case-subsection-title {
  margin: 24px 0 12px;
  max-width: 600px;
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: 600;
  letter-spacing: var(--text-tracking);
  line-height: var(--title-leading);
}

.legacy-case-content .case-section p + p,
.legacy-case-content .case-section p + ul,
.legacy-case-content .case-section p + ol,
.legacy-case-content .case-section ul + p,
.legacy-case-content .case-section ol + p,
.legacy-case-content .case-min-figure + p,
.legacy-case-content .case-min-figure + .case-section-title,
.legacy-case-content p + .case-min-figure {
  margin-top: 32px;
}

.legacy-case-content .case-body + .case-min-figure:has(.mcp-graph),
.legacy-case-content .mcp-graph + ul,
.legacy-case-content .mcp-graph + p,
.legacy-case-content .case-min-figure:has(.mcp-graph) + ul,
.legacy-case-content .case-min-figure:has(.mcp-graph) + p {
  margin-top: 32px;
}

.legacy-case-content .case-section ul,
.legacy-case-content .case-section ol {
  display: grid;
  gap: 12px;
  max-width: 600px;
  margin: 0;
  padding-left: 18px;
}

.legacy-case-content .case-section p + ul,
.legacy-case-content .case-section p + ol,
.legacy-case-content .case-section ul + p,
.legacy-case-content .case-section ol + p,
.legacy-case-content .mcp-graph + ul,
.legacy-case-content .mcp-graph + ol,
.legacy-case-content .mcp-graph + p,
.legacy-case-content .case-min-figure:has(.mcp-graph) + ul,
.legacy-case-content .case-min-figure:has(.mcp-graph) + ol,
.legacy-case-content .case-min-figure:has(.mcp-graph) + p {
  margin-top: 32px;
}

.legacy-case-content .case-min-figure {
  margin: 32px 0 0;
}

.legacy-case-content .case-hero .case-min-figure {
  margin-top: 0;
}

.legacy-case-content .case-header + .case-hero {
  padding-top: 0;
}

.legacy-case-content .case-hero--framed .case-slider-slide img,
.legacy-case-content .case-hero--framed .case-slider-slide video {
  box-sizing: border-box;
  padding: 32px;
  background: #000;
  object-fit: contain;
  object-position: center;
}

.legacy-case-content .case-min-figure-frame {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.legacy-case-content .case-min-figure img,
.legacy-case-content .case-min-figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.legacy-case-content .carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease,
    opacity 0.15s ease, color 0.15s ease;
}

.legacy-case-content .carousel-btn:hover:not(:disabled) {
  border-color: var(--ink);
}

.legacy-case-content .carousel-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.legacy-case-content .carousel-btn:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.legacy-case-content .carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  color: var(--muted);
}

.legacy-case-content .case-slider {
  --case-slider-index: 0;
}

.legacy-case-content .case-slider-viewport {
  position: relative;
}

.legacy-case-content .case-slider-track {
  display: flex;
  width: 100%;
  transform: translateX(calc(var(--case-slider-index) * -100%));
  transition: transform 420ms cubic-bezier(0.32, 0.72, 0, 1);
  touch-action: pan-y;
}

.legacy-case-content .case-slider-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}

.legacy-case-content .case-slider-slide img,
.legacy-case-content .case-slider-slide video {
  display: block;
  width: 100%;
  height: 450px;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.legacy-case-content--natural-media .case-slider-slide img,
.legacy-case-content--natural-media .case-slider-slide video {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.legacy-case-content .case-slider-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legacy-case-content .case-slider-btn {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--ink-inverse);
}

.legacy-case-content .case-slider-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.78);
  border-color: rgba(255, 255, 255, 0.35);
}

.legacy-case-content .case-slider-thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.legacy-case-content .case-slider-thumbs::-webkit-scrollbar {
  display: none;
}

.legacy-case-content .case-slider-thumb {
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.15s ease, border-color 0.15s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
}

.legacy-case-content .case-slider-thumb:hover {
  opacity: 0.65;
}

.legacy-case-content .case-slider-thumb img,
.legacy-case-content .case-slider-thumb video {
  display: block;
  height: 40px;
  width: auto;
  max-width: 64px;
  object-fit: cover;
  pointer-events: none;
  border-radius: 0;
}

.legacy-case-content .case-slider-thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--ink);
}

.legacy-case-content .case-slider-thumb[aria-current="true"]:hover {
  opacity: 1;
}

.legacy-case-content .case-slider-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.legacy-case-content .case-slider--single .case-slider-controls {
  display: none;
}

.legacy-case-content .case-slider--single .case-slider-thumbs {
  display: none;
}

.legacy-case-content .case-figure-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-media-frame {
  overflow: hidden;
  border-radius: 8px;
}

.case-media-frame--gwi-pink {
  padding: 32px;
  background:
    radial-gradient(circle at 82% 14%, rgba(164, 15, 88, 0.18), transparent 42%),
    linear-gradient(160deg, #fdeef5 0%, #f8d9e8 52%, #f3c9dc 100%);
}

.legacy-case-content .case-media-frame--gwi-pink .case-figure-duo {
  gap: 20px;
}

.legacy-case-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: 1.4;
  background: transparent;
}

.legacy-case-content .case-placeholder-figure__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: var(--label-leading);
  text-align: center;
}

.mcp-architecture {
  --architecture-ink: #1f1f1f;
  --architecture-label: #333;
  --architecture-muted: #9a9a9a;
  --architecture-faint: #bdbdbd;
  --architecture-arrow: #8a8a8a;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--architecture-ink);
  font-family: var(--mono);
}

.mcp-architecture__header {
  flex: 0 0 auto;
  padding: 15px 22px;
  border-bottom: 1px solid var(--rule);
  color: var(--architecture-label);
  font-size: var(--label-size);
  letter-spacing: 0.02em;
  line-height: var(--label-leading);
}

.mcp-architecture__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 26px 30px;
}

.mcp-architecture__flow {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  min-height: 300px;
}

.mcp-architecture__box {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  opacity: 0;
  animation: mcpArchitectureFadeUp 500ms ease forwards;
}

.mcp-architecture__box:nth-of-type(1) {
  animation-delay: 50ms;
}

.mcp-architecture__box:nth-of-type(3) {
  animation-delay: 170ms;
}

.mcp-architecture__box:nth-of-type(5) {
  animation-delay: 290ms;
}

.mcp-architecture__box-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--architecture-label);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: var(--label-leading);
}

.mcp-architecture__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 18px 16px;
}

.mcp-architecture__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--architecture-ink);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.mcp-architecture__item em {
  color: var(--architecture-faint);
  font-size: 10px;
  font-style: normal;
}

.mcp-architecture__edge {
  display: flex;
  flex: 0 0 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  opacity: 0;
  animation: mcpArchitectureFadeUp 500ms ease 380ms forwards;
}

.mcp-architecture__edge-label {
  color: var(--architecture-muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: var(--label-leading);
}

.mcp-architecture__dash {
  stroke: var(--architecture-arrow);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: mcpArchitectureMarch 700ms linear infinite;
}

.mcp-architecture__head {
  fill: none;
  stroke: var(--architecture-arrow);
  stroke-width: 1.5;
}

.mcp-architecture__foot {
  margin-top: auto;
  padding-top: 16px;
  color: var(--architecture-faint);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  line-height: var(--label-leading);
}

@keyframes mcpArchitectureMarch {
  from {
    stroke-dashoffset: 20;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes mcpArchitectureFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcp-architecture__box,
  .mcp-architecture__edge {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .mcp-architecture__dash {
    animation: none;
  }
}

.nlq-routing {
  --nlq-box: var(--paper);
  --nlq-border: #a6a6a6;
  --nlq-ink: #1e1e1e;
  --nlq-wire: #8c8c8c;
  --nlq-muted: #9a9a9a;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--nlq-box);
  color: var(--nlq-ink);
  font-family: var(--mono);
}

.nlq-routing__canvas {
  position: relative;
  background: var(--nlq-box);
}

.nlq-routing__label {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 2;
  color: var(--nlq-muted);
  font-size: 11px;
}

.nlq-routing__stage {
  display: block;
  width: 100%;
  height: auto;
}

.nlq-routing .nlq-routing__box-rect {
  fill: var(--nlq-box);
  stroke: var(--nlq-border);
  stroke-width: 1.6;
}

.nlq-routing .nlq-routing__node-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4px 10px;
  color: var(--nlq-ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.nlq-routing .nlq-routing__wire {
  fill: none;
  stroke: var(--nlq-wire);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: 6 6;
  animation: nlqRoutingMarch 0.65s linear infinite;
}

.nlq-routing .nlq-routing__arrow {
  fill: var(--nlq-wire);
}

@keyframes nlqRoutingMarch {
  from {
    stroke-dashoffset: 12;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nlq-routing .nlq-routing__wire {
    animation: none;
    stroke-dasharray: none;
  }
}

.mcp-demo-app {
  --app-bg: #fff;
  --app-text: #1a1a2e;
  --app-muted: #6b7280;
  --app-placeholder: #9ca3af;
  --app-border: #e5e7eb;
  --app-hover: #f9fafb;
  --app-checkbox-border: #d1d5db;
  --app-accent: #a40f58;
  --app-submit-hover: #8a0d4a;
  display: flex;
  flex-direction: column;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: var(--app-bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: var(--app-text);
  font-family: "Faktum", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.mcp-demo-app button {
  font-family: inherit;
}

.mcp-demo-app__search {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border);
}

.mcp-demo-app__search svg {
  flex-shrink: 0;
  color: var(--app-placeholder);
}

.mcp-demo-app__search input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--app-text);
  font: inherit;
}

.mcp-demo-app__search input::placeholder {
  color: var(--app-placeholder);
}

.mcp-demo-app__filters {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--app-border);
}

.mcp-demo-app__filters select {
  min-width: 0;
  border: 1px solid var(--app-border);
  border-radius: 6px;
  padding: 6px 22px 6px 6px;
  background-color: var(--app-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  color: var(--app-muted);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.mcp-demo-app__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.mcp-demo-app__list::-webkit-scrollbar {
  width: 6px;
}

.mcp-demo-app__list::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #d1d5db;
}

.mcp-demo-app__row,
.mcp-demo-app__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 16px;
  cursor: pointer;
  user-select: none;
}

.mcp-demo-app__row--group {
  padding-top: 14px;
  padding-bottom: 14px;
}

.mcp-demo-app__item {
  padding-top: 6px;
  padding-bottom: 6px;
}

.mcp-demo-app__item--indent {
  padding-left: 42px;
}

.mcp-demo-app__item--indent-2 {
  padding-left: 68px;
}

.mcp-demo-app__row:hover,
.mcp-demo-app__item:hover,
.mcp-demo-app__row:has(input:checked),
.mcp-demo-app__item:has(input:checked) {
  background: var(--app-hover);
}

.mcp-demo-app__divider {
  height: 1px;
  margin: 0 16px;
  background: var(--app-border);
}

.mcp-demo-app__name {
  font-weight: 500;
}

.mcp-demo-app__count {
  margin-left: auto;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 400;
}

.mcp-demo-app input[type="checkbox"],
.mcp-demo-app input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 2px solid var(--app-checkbox-border);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.mcp-demo-app input[type="radio"] {
  border-radius: 50%;
}

.mcp-demo-app input[type="checkbox"] {
  border-radius: 4px;
}

.mcp-demo-app input[type="radio"]:checked {
  border-color: var(--app-accent);
  background-image: radial-gradient(circle, var(--app-accent) 4px, transparent 4.5px);
}

.mcp-demo-app input[type="checkbox"]:checked {
  border-color: var(--app-accent);
  background-color: var(--app-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
}

.mcp-demo-app__audience {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  cursor: pointer;
  user-select: none;
}

.mcp-demo-app__audience:hover,
.mcp-demo-app__audience:has(input:checked) {
  background: var(--app-hover);
}

.mcp-demo-app__audience-info {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.mcp-demo-app__audience-name {
  overflow: hidden;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mcp-demo-app__audience-meta {
  display: flex;
  gap: 8px;
  color: var(--app-muted);
  font-size: 12px;
}

.mcp-demo-app__audience-meta span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-right: 8px;
  background: var(--app-border);
  vertical-align: middle;
}

.mcp-demo-app__footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--app-border);
}

.mcp-demo-app__footer-note {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--app-muted);
  font-size: 13px;
}

.mcp-demo-app__reset {
  border: 0;
  padding: 8px;
  background: transparent;
  color: var(--app-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.mcp-demo-app__reset:hover {
  color: var(--app-text);
}

.mcp-demo-app__submit {
  border: 0;
  border-radius: 4px;
  padding: 8px;
  background: var(--app-accent);
  color: var(--ink-inverse);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.mcp-demo-app__submit:hover {
  background: var(--app-submit-hover);
}

.mcp-text-relay {
  margin: 0;
  overflow-x: auto;
  padding: 32px;
  border-radius: 12px;
  background: #efefed;
  color: var(--ink);
}

.mcp-text-relay__label {
  margin: 0 0 16px;
  color: rgba(0, 0, 0, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.legacy-case-content .mcp-text-relay .mcp-text-relay__label {
  max-width: none;
  margin: 0 0 16px;
  color: rgba(0, 0, 0, 0.42);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.mcp-text-relay__pre {
  margin: 0;
}

.mcp-text-relay__pre code {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.8;
  white-space: pre;
}

.legacy-case-content a {
  text-decoration: underline;
  text-underline-position: from-font;
}

.legacy-case-content .contact-nav a {
  text-decoration: none;
}

.legacy-case-content code {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.02);
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: var(--label-tracking);
  line-height: 1.6;
  white-space: nowrap;
}

.legacy-case-content .mcp-text-relay__pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.8;
  white-space: pre;
}

.detail-section--graph {
  padding: 0;
}

.mcp-graph {
  --graph-requests: rgba(0, 0, 0, 0.62);
  --graph-users: rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
}

.mcp-graph__header {
  flex: 0 0 auto;
  padding: 15px 22px;
  border-bottom: 1px solid var(--rule);
  color: rgba(0, 0, 0, 0.55);
  font-size: var(--label-size);
  letter-spacing: 0.02em;
  line-height: var(--label-leading);
}

.mcp-graph__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 22px 26px;
}

.mcp-graph__intro {
  display: grid;
  gap: 8px;
}

.mcp-graph__title,
.mcp-graph__note {
  margin: 0;
}

.mcp-graph__title {
  font-family: var(--body);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  line-height: var(--title-leading);
}

.mcp-graph__note {
  max-width: 560px;
  color: var(--muted);
  font-family: var(--body);
  font-size: var(--text-size);
  letter-spacing: var(--text-tracking);
  line-height: var(--text-leading);
}

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

.mcp-graph__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--paper);
  color: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: var(--label-leading);
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease;
}

.mcp-graph__legend-item:hover,
.mcp-graph__legend-item:focus-visible,
.mcp-graph__legend-item.is-active {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.28);
}

.mcp-graph__legend-item:not(.is-active) {
  opacity: 0.55;
}

.mcp-graph__swatch {
  flex: 0 0 auto;
  width: 18px;
  height: 0;
  border-top: 2px solid transparent;
}

.mcp-graph__swatch--requests {
  border-top-color: var(--graph-requests);
}

.mcp-graph__swatch--users {
  border-top-color: var(--graph-users);
}

.mcp-graph__stage {
  position: relative;
  min-width: 0;
}

.mcp-graph__svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  max-height: 420px;
  aspect-ratio: 920 / 420;
}

.mcp-graph__grid {
  stroke: rgba(0, 0, 0, 0.07);
  stroke-width: 1;
}

.mcp-graph__axis-label,
.mcp-graph__point-label {
  fill: rgba(0, 0, 0, 0.42);
  font-family: var(--mono);
  font-size: 11px;
}

.mcp-graph__series {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease;
}

.mcp-graph__series--requests {
  stroke: var(--graph-requests, rgba(0, 0, 0, 0.62));
}

.mcp-graph__series--users {
  stroke: var(--graph-users, rgba(0, 0, 0, 0.28));
}

.mcp-graph__series.is-hidden,
.mcp-graph__point.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.mcp-graph__point {
  fill: var(--paper);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 120ms ease;
}

.mcp-graph__point--requests {
  stroke: var(--graph-requests, rgba(0, 0, 0, 0.62));
}

.mcp-graph__point--users {
  stroke: var(--graph-users, rgba(0, 0, 0, 0.28));
}

.mcp-graph__point.is-active {
  opacity: 1;
}

.mcp-graph__hit {
  fill: transparent;
  cursor: crosshair;
}

.mcp-graph__hit:focus {
  outline: none;
}

.mcp-graph__hover-line {
  stroke: rgba(0, 0, 0, 0.12);
  stroke-width: 1;
  opacity: 0;
}

.mcp-graph__hover-line.is-active {
  opacity: 1;
}

.mcp-graph__tooltip {
  position: absolute;
  z-index: 10;
  min-width: 180px;
  padding: 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--label-size);
  line-height: 1.6;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}

.mcp-graph__tooltip strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--body);
  font-size: var(--text-size);
  font-weight: 500;
  letter-spacing: var(--text-tracking);
  line-height: var(--title-leading);
}

.legacy-case-content .mcp-graph {
  min-height: 0;
  width: 100%;
  max-width: none;
}

.legacy-case-content .mcp-graph__note {
  display: block;
}

.legacy-case-content .mcp-graph__stage {
  overflow: visible;
}

.legacy-case-content .mcp-graph__tooltip {
  min-width: 160px;
  max-width: calc(100% - 32px);
}

@media (max-width: 900px) {
  :root {
    --shell-pad: 0px;
    --content-pad: 16px;
  }

  body {
    padding: 0;
  }

  .topbar {
    position: sticky;
    top: 0;
    transition: transform 240ms ease;
    will-change: transform;
  }

  .topbar.is-topbar-hidden {
    transform: translateY(-100%);
  }

  @media (prefers-reduced-motion: reduce) {
    .topbar {
      transition: none;
    }
  }

  .page-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    overflow-x: clip;
    border-inline: 0;
    border-top: 0;
  }

  .page-shell--playground {
    min-height: 100vh;
  }

  .page-shell--playground .playground-stage {
    min-height: calc(100vh - var(--topbar-height));
  }

  .home-grid {
    min-width: 0;
    height: auto;
    flex-direction: column;
  }

  .intro-rail {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
    border-right: 0;
  }

  .page-shell:not(.page-shell--detail) .intro-rail {
    border-bottom: 1px solid var(--rule);
  }

  .brand {
    padding: 16px 32px;
  }

  .topbar-menu__toggle {
    display: flex;
  }

  .page-shell--detail .topbar__inner {
    flex-wrap: wrap;
  }

  .contact-nav {
    display: flex;
    width: 100%;
    min-width: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    scrollbar-width: none;
    border-bottom: 0 solid var(--rule);
    transition:
      max-height 280ms cubic-bezier(0.4, 0, 0.2, 1),
      opacity 220ms ease,
      border-bottom-width 280ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .intro-rail .contact-nav,
  .case-sidebar .contact-nav {
    order: -1;
  }

  body.is-mobile-menu-open .contact-nav {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 29;
    max-height: 56px;
    opacity: 1;
    overflow-x: auto;
    pointer-events: auto;
    border-bottom-width: 1px;
    background: var(--paper);
  }

  @media (prefers-reduced-motion: reduce) {
    .contact-nav {
      transition: none;
    }
  }

  .contact-nav::-webkit-scrollbar,
  .work-feed__top::-webkit-scrollbar,
  .work-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .contact-nav a {
    flex: 1 1 0;
    min-width: 0;
  }

  .intro-copy {
    gap: 32px;
    padding: 32px;
    border-bottom: 0;
  }

  .intro-copy p,
  .intro-copy h1 {
    font-size: 14px;
    letter-spacing: -0.24px;
    line-height: 22px;
  }

  .page-shell:not(.page-shell--detail) .intro-copy > p:first-child {
    margin-bottom: -32px;
  }

  .work-feed {
    width: 100%;
    min-width: 0;
    height: auto;
    overflow: visible;
    border-right: 0;
  }

  .detail-feed,
  .detail-content {
    height: auto;
    overflow: visible;
    border-right: 0;
  }

  .page-shell--case .legacy-case-content {
    display: block;
  }

  .legacy-case-content .case-sidebar {
    display: contents;
  }

  .legacy-case-content .case-toc {
    display: none;
  }

  .legacy-case-content > :not(.case-sidebar) {
    width: 100%;
    max-width: 100%;
    border-left: 0;
  }

  .legacy-case-content .col,
  .legacy-case-content .case-header,
  .legacy-case-content .case-hero,
  .legacy-case-content .case-section {
    padding-inline: var(--content-pad);
  }

  .legacy-case-content .case-tags,
  .work-card__tags {
    gap: 8px 12px;
    font-size: var(--label-size);
    letter-spacing: -0.24px;
    line-height: 1.2;
  }

  .legacy-case-content .case-tags li,
  .work-card__tags li {
    line-height: 1.2;
  }

  .legacy-case-content .case-min-figure {
    min-width: 0;
  }

  .legacy-case-content .case-min-figure-frame:has(.nlq-routing) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  .nlq-routing {
    min-width: 720px;
  }

  .page-shell--case .legacy-case-content .case-header {
    padding-top: 32px;
  }

  .legacy-case-content .case-figure-duo {
    grid-template-columns: 1fr;
  }

  .case-media-frame--gwi-pink {
    padding: 16px;
  }

  .mcp-architecture {
    min-height: 0;
  }

  .mcp-architecture__body {
    padding: 16px;
  }

  .mcp-architecture__flow {
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }

  .mcp-architecture__edge {
    flex: 0 0 auto;
    width: 100%;
    min-height: 52px;
    transform: none;
  }

  .mcp-architecture__edge svg {
    transform: rotate(90deg);
  }

  .mcp-architecture__edge-label {
    transform: none;
  }

  .mcp-architecture__box {
    flex-basis: auto;
    width: 100%;
  }

  .mcp-architecture__items {
    gap: 16px;
  }

  .mcp-demo-app {
    height: auto;
    min-height: 320px;
    max-height: 420px;
  }

  .mcp-demo-app__filters {
    flex-direction: column;
  }

  .mcp-demo-app__filters select {
    width: 100%;
  }

  .mcp-demo-app__footer {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .mcp-demo-app__footer-note {
    flex: 1 1 100%;
  }

  .mcp-text-relay {
    padding: 20px 16px;
  }

  .mcp-text-relay__pre code {
    font-size: 11px;
    line-height: 1.65;
  }

  .mcp-graph__body {
    gap: 16px;
    padding: 16px;
  }

  .mcp-graph__legend {
    gap: 8px;
  }

  .mcp-graph__svg {
    min-height: 220px;
    max-height: none;
  }

  .work-feed__top {
    flex-direction: row;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .work-feed__top h2 {
    display: none;
  }

  .work-filter-nav {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .work-filter-nav a {
    flex: 0 0 auto;
    min-width: auto;
    padding-inline: 20px;
  }

  .work-filter-nav a:first-child {
    border-left: 0;
  }

  .work-filter-nav a:last-child {
    padding-inline-end: 32px;
  }

  .work-card {
    padding: 32px;
  }

  .work-card__copy {
    gap: 4px;
    margin-bottom: 32px;
  }

  .work-card[data-category="case-study"] .work-card__copy h3 {
    font-size: 20px;
    letter-spacing: -0.48px;
    line-height: 22px;
  }
}
