@font-face {
  font-family: "FK Grotesk Neue";
  src: url("/fonts/FKGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FK Grotesk Mono";
  src: url("/fonts/FKGroteskMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Feature Deck";
  src: url("/fonts/FeatureDeck-Regular-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cs-cotton: #f7f6f3;
  --cs-ink: #242424;
  --cs-sunflower: #f9d962;
  --cs-linen: #efece6;
  --cs-sky: #aacaf9;
  --cs-brick: #aa4523;
  --cs-white: #ffffff;
  --cs-rule: rgba(36, 36, 36, 0.2);
  --cs-shell: min(1300px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--cs-cotton);
  color: var(--cs-ink);
  scroll-behavior: smooth;
}

body.cs-page {
  margin: 0;
  overflow-x: clip;
  background: var(--cs-cotton);
  color: var(--cs-ink);
  font-family: "FK Grotesk Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.cs-skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 20px;
  background: var(--cs-ink);
  color: var(--cs-white);
  transform: translateY(-180%);
}

.cs-skip-link:focus {
  transform: translateY(0);
}

.cs-shell {
  width: var(--cs-shell);
  margin-inline: auto;
}

/* Shared site shell */
.cs-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--cs-cotton);
}

.cs-header-inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cs-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.cs-brand img {
  display: block;
  width: auto;
  height: 40px;
}

.cs-menu {
  display: none;
  margin-left: auto;
}

.cs-menu > summary {
  display: none;
}

.cs-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 38px);
}

.cs-nav a,
.cs-footer a,
.cs-copyright,
.cs-contact-button {
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.cs-nav a:not(.cs-nav-button) {
  position: relative;
}

.cs-nav a:not(.cs-nav-button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.cs-nav a:not(.cs-nav-button):hover::after,
.cs-nav a:not(.cs-nav-button):focus-visible::after {
  transform: scaleX(1);
}

.cs-nav-button,
.cs-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 18px 8px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--cs-sunflower);
  color: var(--cs-ink);
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cs-button::after {
  content: "→";
}

.cs-nav-button:hover,
.cs-nav-button:focus-visible,
.cs-button:hover,
.cs-button:focus-visible {
  background: var(--cs-ink);
  color: var(--cs-white);
  transform: translateY(-1px);
}

.cs-text-link {
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-underline-offset: 4px;
}

.cs-eyebrow,
.cs-proof-label,
.cs-fact dt,
.cs-card-kicker,
.cs-section-index,
.cs-caption,
.cs-status {
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cs-eyebrow,
.cs-status {
  display: inline-flex;
  width: fit-content;
  padding: 7px 14px 6px;
  border-radius: 999px;
  background: var(--cs-ink);
  color: var(--cs-white);
}

/* Case-study index */
.cs-hero {
  padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 8vw, 112px);
  overflow: hidden;
  background: var(--cs-linen);
}

.cs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.cs-hero-grid > *,
.cs-detail-hero-grid > * {
  min-width: 0;
}

.cs-hero h1,
.cs-detail-hero h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.cs-hero-copy,
.cs-detail-summary {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.cs-artifact-board {
  position: relative;
  width: min(100%, 620px);
  justify-self: end;
}

.cs-artifact-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.cs-proof-strip {
  position: absolute;
  right: 18px;
  bottom: -28px;
  left: -38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 10px;
  background: var(--cs-white);
  box-shadow: 0 16px 40px rgba(36, 36, 36, 0.16);
}

.cs-proof-cell {
  min-height: 96px;
  padding: 15px 14px;
  border-right: 1px solid var(--cs-rule);
}

.cs-proof-cell:last-child {
  border-right: 0;
}

.cs-proof-cell strong {
  display: block;
  margin-top: 22px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.cs-ledger {
  padding: clamp(72px, 8vw, 112px) 0;
  background: var(--cs-cotton);
}

.cs-ledger-grid {
  display: grid;
  width: var(--cs-shell);
  margin-inline: auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cs-ledger-item {
  min-height: 290px;
  padding: 28px;
  border-radius: 10px;
  background: var(--cs-linen);
}

.cs-ledger-item:nth-child(1) {
  background: var(--cs-sunflower);
}

.cs-ledger-item:nth-child(3) {
  background: var(--cs-sky);
}

.cs-ledger-item:nth-child(4) {
  background: var(--cs-white);
}

.cs-ledger-number {
  display: block;
  margin-bottom: 64px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: 44px;
  line-height: 1;
}

.cs-ledger-item h2,
.cs-ledger-item h3 {
  margin: 0 0 12px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.cs-ledger-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.cs-section {
  padding: clamp(88px, 10vw, 148px) 0;
}

.cs-section-heading {
  max-width: 830px;
  margin: 0 auto 52px;
  text-align: center;
}

.cs-section-index {
  display: block;
  margin-bottom: 18px;
}

.cs-section-heading h2 {
  margin: 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cs-empty-note {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 14px;
}

.cs-empty-copy,
.cs-empty-checklist {
  border-radius: 10px;
}

.cs-empty-copy {
  min-height: 420px;
  padding: clamp(34px, 5vw, 72px);
  background: var(--cs-linen);
}

.cs-empty-copy h3 {
  max-width: 650px;
  margin: 20px 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.cs-empty-copy p {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.5;
}

.cs-empty-checklist {
  display: grid;
  align-content: end;
  padding: 34px;
  background: var(--cs-ink);
  color: var(--cs-white);
}

.cs-empty-checklist ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cs-empty-checklist li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cs-featured-case {
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border-radius: 10px;
  background: var(--cs-linen);
}

.cs-featured-case > figure {
  min-width: 0;
  margin: 0;
}

.cs-featured-case > figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.cs-featured-copy {
  display: flex;
  padding: clamp(38px, 6vw, 82px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cs-featured-copy h3 {
  max-width: 650px;
  margin: 20px 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.cs-featured-copy > p {
  max-width: 590px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.cs-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.cs-case-tags li {
  padding: 7px 12px 6px;
  border-radius: 999px;
  background: var(--cs-white);
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cs-cta {
  padding: clamp(92px, 11vw, 160px) 0;
  background: var(--cs-ink);
  color: var(--cs-white);
}

.cs-cta-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  text-align: center;
}

.cs-cta .cs-eyebrow {
  background: var(--cs-sunflower);
  color: var(--cs-ink);
}

.cs-cta h2 {
  max-width: 940px;
  margin: 18px 0 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.cs-cta .cs-button:hover,
.cs-cta .cs-button:focus-visible {
  background: var(--cs-white);
  color: var(--cs-ink);
}

/* Detail framework */
.cs-detail-hero {
  padding: 42px 0 clamp(72px, 8vw, 112px);
  background: var(--cs-linen);
}

.cs-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(52px, 7vw, 88px);
  padding: 0;
  list-style: none;
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-breadcrumbs a {
  text-underline-offset: 3px;
}

.cs-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
}

.cs-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(46px, 7vw, 100px);
}

.cs-detail-aside {
  padding: 30px;
  border-radius: 10px;
  background: var(--cs-white);
}

.cs-detail-aside p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

.cs-facts {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background: var(--cs-cotton);
}

.cs-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
}

.cs-fact {
  min-height: 158px;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--cs-rule);
  border-radius: 8px;
  background: var(--cs-white);
}

.cs-fact dd {
  margin: 34px 0 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.cs-story-section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  padding: clamp(76px, 8vw, 116px) 0;
}

.cs-story-section + .cs-story-section {
  border-top: 1px dotted var(--cs-ink);
}

.cs-story-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(40px, 7vw, 112px);
}

.cs-story-copy h2 {
  margin: 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cs-story-body p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.5;
}

.cs-outcome-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cs-outcome {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--cs-rule);
  border-radius: 8px;
  background: var(--cs-white);
}

.cs-outcome strong {
  display: block;
  margin: 74px 0 12px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}

.cs-outcome p {
  margin-bottom: 0;
}

.cs-framework-note {
  max-width: 780px;
  margin: 46px auto 0;
  padding: 24px 28px;
  border-radius: 8px;
  background: var(--cs-sunflower);
}

/* City Map Totes case study */
.cs-case-hero {
  padding: 42px 0 clamp(72px, 8vw, 112px);
  background: var(--cs-sky);
}

.cs-case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: clamp(48px, 8vw, 118px);
}

.cs-case-hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.cs-client-name {
  margin-top: clamp(54px, 7vw, 92px);
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-case-hero h1 {
  max-width: 650px;
  margin: 18px 0 24px;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(68px, 7.5vw, 112px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.cs-case-hero-copy > p {
  max-width: 590px;
  margin: 0;
  font-size: 19px;
  line-height: 1.48;
}

.cs-case-hero-figure {
  position: relative;
  min-width: 0;
  margin: 0;
}

.cs-case-hero-figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.cs-case-hero-figure figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(247, 246, 243, 0.94);
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-case-facts {
  padding: clamp(70px, 8vw, 110px) 0;
}

.cs-map-study {
  padding: clamp(88px, 10vw, 148px) 0;
  background: var(--cs-linen);
}

.cs-map-triptych {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: end;
  gap: 12px;
}

.cs-map-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: var(--cs-sky);
}

.cs-map-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-map-frame--whole {
  aspect-ratio: 0.82 / 1;
}

.cs-map-frame--city {
  aspect-ratio: 0.9 / 1;
}

.cs-map-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--cs-cotton);
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-evidence-section {
  background: var(--cs-cotton);
}

.cs-relationship-quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: end;
  gap: 54px;
  margin: 14px 0 0;
  padding: clamp(36px, 6vw, 78px);
  border-radius: 10px;
  background: var(--cs-ink);
  color: var(--cs-white);
}

.cs-relationship-quote blockquote {
  max-width: 920px;
  margin: 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.cs-relationship-quote figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cs-relationship-quote figcaption img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-evidence-caveat {
  max-width: 760px;
  margin: 22px 0 0 auto;
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.55;
  text-transform: uppercase;
}

.cs-approval-gate {
  padding: clamp(82px, 9vw, 130px) 0;
  background: var(--cs-sunflower);
}

.cs-approval-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: end;
  gap: clamp(54px, 8vw, 120px);
}

.cs-approval-gate .cs-eyebrow {
  background: var(--cs-white);
  color: var(--cs-ink);
}

.cs-approval-gate h2 {
  max-width: 700px;
  margin: 20px 0 0;
  font-family: "Feature Deck", "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.cs-approval-gate ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-approval-gate li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(36, 36, 36, 0.35);
  font-size: 17px;
}

.cs-approval-gate li span {
  font-family: "FK Grotesk Mono", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.cs-cta-grid > .cs-hero-actions {
  justify-content: center;
  margin-top: 0;
}

/* Main-site footer treatment */
.cs-footer {
  padding: 42px 0;
  background: var(--cs-linen);
  color: var(--cs-ink);
}

.cs-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 72px;
}

.cs-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.cs-footer-logo-wrap {
  position: relative;
  width: min(100%, 780px);
}

.cs-footer-logo {
  display: block;
  width: 100%;
}

.cs-footer-project {
  position: absolute;
  top: 18px;
  right: -30px;
  display: flex;
  width: 118px;
  height: 118px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 50%;
  background: var(--cs-sunflower);
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.cs-footer-project:hover,
.cs-footer-project:focus-visible {
  background: var(--cs-ink);
  color: var(--cs-white);
  transform: rotate(5deg);
}

.cs-footer-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 34px;
  padding-top: 40px;
}

.cs-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cs-footer-links a:hover,
.cs-footer-links a:focus-visible {
  color: var(--cs-brick);
}

.cs-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}

.cs-footer-badges img {
  height: 48px;
  width: auto;
}

.cs-contact-button {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cs-ink);
  color: var(--cs-cotton);
  transition: background-color 180ms ease, color 180ms ease;
}

.cs-contact-button:hover,
.cs-contact-button:focus-visible {
  background: var(--cs-sunflower);
  color: var(--cs-ink);
}

:focus-visible {
  outline: 2px solid #0050bd;
  outline-offset: 4px;
}

@media (max-width: 991px) {
  .cs-hero-grid,
  .cs-detail-hero-grid,
  .cs-case-hero-grid,
  .cs-featured-case,
  .cs-empty-note,
  .cs-footer-grid {
    grid-template-columns: 1fr;
  }

  .cs-artifact-board {
    justify-self: center;
  }

  .cs-ledger-grid,
  .cs-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cs-story-section,
  .cs-story-copy {
    grid-template-columns: 1fr;
  }

  .cs-story-section {
    gap: 18px;
  }

  .cs-outcome-board {
    grid-template-columns: 1fr;
  }

  .cs-outcome {
    min-height: 230px;
  }

  .cs-footer-logo-wrap {
    width: min(86%, 720px);
  }

  .cs-footer-right {
    align-items: center;
    padding-top: 18px;
  }

  .cs-footer-links {
    align-items: center;
  }

  .cs-footer-badges {
    max-width: 420px;
    justify-content: center;
    gap: 16px 24px;
  }

  .cs-footer-badges img {
    height: 40px;
  }

  .cs-contact-button {
    width: min(100%, 420px);
  }

  .cs-case-hero-figure {
    width: min(100%, 720px);
    justify-self: center;
  }

  .cs-featured-case > figure img {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .cs-map-triptych {
    grid-template-columns: repeat(3, 1fr);
  }

  .cs-relationship-quote,
  .cs-approval-grid {
    grid-template-columns: 1fr;
  }

  .cs-relationship-quote figcaption {
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  :root {
    --cs-shell: calc(100vw - 28px);
  }

  .cs-header-inner {
    min-height: 62px;
  }

  .cs-brand img {
    height: 30px;
  }

  .cs-nav--desktop {
    display: none;
  }

  .cs-menu {
    display: block;
  }

  .cs-menu > summary {
    display: flex;
    width: 38px;
    height: 38px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    list-style: none;
  }

  .cs-menu > summary::-webkit-details-marker {
    display: none;
  }

  .cs-menu > summary span {
    width: 16px;
    height: 1.5px;
    background: var(--cs-ink);
    transition: transform 180ms ease;
  }

  .cs-menu[open] > summary span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .cs-menu[open] > summary span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .cs-nav--mobile {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px 14px 26px;
    border-top: 1px dotted var(--cs-ink);
    border-bottom: 1px dotted var(--cs-ink);
    background: var(--cs-cotton);
    flex-direction: column;
  }

  .cs-menu[open] .cs-nav--mobile {
    display: flex;
  }

  .cs-nav-button {
    margin-top: 4px;
  }

  .cs-hero {
    padding-top: 48px;
  }

  .cs-case-hero {
    padding-top: 28px;
  }

  .cs-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cs-hero h1,
  .cs-detail-hero h1 {
    font-size: clamp(50px, 15vw, 64px);
  }

  .cs-case-hero h1 {
    font-size: clamp(58px, 18vw, 74px);
  }

  .cs-case-hero-copy > p {
    font-size: 16px;
  }

  .cs-client-name {
    margin-top: 42px;
  }

  .cs-hero-copy,
  .cs-detail-summary,
  .cs-story-body p,
  .cs-empty-copy p {
    font-size: 16px;
  }

  .cs-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .cs-artifact-board {
    width: 100%;
  }

  .cs-proof-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: repeat(2, 1fr);
    margin: -24px 10px 0;
  }

  .cs-case-hero-figure figcaption {
    position: static;
    margin-top: 10px;
    background: var(--cs-cotton);
  }

  .cs-proof-cell:nth-child(2) {
    border-right: 0;
  }

  .cs-proof-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--cs-rule);
  }

  .cs-ledger-grid,
  .cs-facts-grid {
    grid-template-columns: 1fr;
  }

  .cs-ledger-item {
    min-height: 240px;
  }

  .cs-ledger-number {
    margin-bottom: 42px;
  }

  .cs-section-heading {
    text-align: left;
  }

  .cs-section-heading h2 {
    font-size: 48px;
  }

  .cs-empty-copy {
    min-height: auto;
  }

  .cs-featured-copy > p {
    font-size: 16px;
  }

  .cs-empty-checklist {
    min-height: 340px;
  }

  .cs-cta h2 {
    font-size: 52px;
  }

  .cs-breadcrumbs ol {
    margin-bottom: 46px;
  }

  .cs-story-copy {
    gap: 30px;
  }

  .cs-outcome strong {
    margin-top: 54px;
  }

  .cs-map-triptych {
    grid-template-columns: 1fr;
  }

  .cs-map-frame--whole,
  .cs-map-frame--city {
    aspect-ratio: 0.9 / 1;
  }

  .cs-relationship-quote {
    gap: 38px;
  }

  .cs-approval-grid {
    gap: 40px;
  }

  .cs-approval-gate li {
    font-size: 15px;
  }

  .cs-footer {
    padding-bottom: 28px;
  }

  .cs-footer-grid {
    gap: 30px;
  }

  .cs-footer-logo-wrap {
    width: 88%;
  }

  .cs-footer-project {
    top: 8px;
    right: -38px;
    width: 86px;
    height: 86px;
    padding: 12px;
    font-size: 10px;
  }

  .cs-copyright {
    font-size: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
