:root {
  color-scheme: dark;
  --ink: #edf0e9;
  --muted: #a0aaa5;
  --subtle: #74817c;
  --night: #111719;
  --night-soft: #151d1e;
  --panel: #1b2525;
  --line: rgba(237, 240, 233, 0.13);
  --mint: #c4e1bd;
  --mint-bright: #d1f0c6;
  --rust: #d39c72;
  --display: "Manrope", "Avenir Next", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint-bright);
  outline-offset: 5px;
}

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--mint-bright);
  color: var(--night);
  font-weight: 700;
}

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

.section-shell {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(237, 240, 233, 0.09);
  background: rgba(17, 23, 25, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(1360px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(196, 225, 189, 0.55);
  border-radius: 4px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.08em;
  place-items: center;
}

.brand-name {
  display: grid;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-name span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
}

.primary-navigation a {
  color: #c4cbc6;
  font-size: 0.84rem;
  transition: color 180ms ease;
}

.primary-navigation a:hover,
.text-link:hover {
  color: var(--mint-bright);
}

.primary-navigation .nav-contact {
  display: flex;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.nav-contact span,
.button span {
  color: var(--mint);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.nav-contact:hover span,
.button:hover span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 675px;
  padding-top: 86px;
  padding-bottom: 86px;
  align-items: center;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 1.25rem;
}

.eyebrow {
  display: flex;
  margin: 0 0 1.45rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(196, 225, 189, 0.5);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

h1 em,
h2 em {
  color: var(--mint);
  font-style: normal;
}

.hero-intro {
  max-width: 570px;
  margin-bottom: 2rem;
  color: #b2bbb5;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 0 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  background: var(--mint);
  color: #17201c;
}

.button-primary span {
  color: #253a30;
}

.button-primary:hover {
  background: var(--mint-bright);
}

.button-outline {
  border: 1px solid rgba(196, 225, 189, 0.55);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--mint-bright);
  background: rgba(196, 225, 189, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #d3dbd5;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.hero-note {
  display: flex;
  margin-top: 3rem;
  align-items: center;
  gap: 0.9rem;
}

.note-rule {
  width: 35px;
  height: 1px;
  background: var(--rust);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
}

.hero-visual {
  display: grid;
  min-width: 0;
  place-items: center;
}

.hero-portrait {
  position: relative;
  width: min(100%, 430px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(196, 225, 189, 0.2);
  background: #e9ece8;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
}

.hero-portrait figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 2.6rem 1.25rem 1.1rem;
  background: linear-gradient(transparent, rgba(17, 23, 25, 0.88));
  gap: 0.15rem;
}

.hero-portrait figcaption span {
  color: #d0d8d1;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.hero-portrait figcaption span:first-child {
  color: var(--mint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-portrait figcaption strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
}

.client-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.client-strip-inner {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.client-strip p {
  max-width: 150px;
  margin: 0;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  line-height: 1.6;
  text-transform: uppercase;
}

.client-logos {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 6vw, 5rem);
}

.client-logos img {
  width: 100%;
  height: auto;
  min-width: 0;
  object-fit: contain;
}

.client-logos a {
  display: block;
  min-width: 0;
}

.client-logo-dib {
  width: 64px;
}

.client-logo-map {
  width: 185px;
}

.client-logo-hsc {
  width: 255px;
}

.section-space {
  padding-top: 120px;
  padding-bottom: 130px;
}

.section-heading {
  display: flex;
  margin-bottom: 3.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading h2,
.capabilities-copy h2,
.about-copy h2,
.contact-main h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.09;
}

.section-intro {
  max-width: 350px;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
}

.case-study-card {
  position: relative;
  display: flex;
  min-height: 380px;
  padding: 1.5rem 1.65rem;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--night-soft);
  transition: border-color 200ms ease, transform 200ms ease;
}

.case-study-card:hover,
.case-study-card:focus-visible {
  border-color: rgba(196, 225, 189, 0.43);
  transform: translateY(-3px);
}

.case-study-card-featured {
  grid-row: span 2;
  min-height: 100%;
  background-color: #172020;
  background-image:
    linear-gradient(180deg, rgba(23, 32, 32, 0.7) 0%, rgba(23, 32, 32, 0.2) 20%, rgba(23, 32, 32, 0.35) 35%, rgba(23, 32, 32, 0.9) 55%, #172020 65%),
    url("../images/doitbest-team/do-it-best-building.png");
  background-position: center, left top;
  background-size: 100% 100%, auto 65%;
  background-repeat: no-repeat;
}

.case-study-card-map {
  background: linear-gradient(142deg, #302a24, #1b2424 70%);
}

.case-study-card-education {
  background: linear-gradient(142deg, #202d35, #182122 70%);
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number,
.card-type {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-number {
  color: var(--mint);
}

.card-content {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin-top: auto;
  padding-top: 5.5rem;
}

.card-client {
  margin-bottom: 0.7rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-content h3 {
  max-width: 500px;
  margin-bottom: 0.95rem;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.card-content > p:not(.card-client) {
  max-width: 500px;
  margin-bottom: 1.4rem;
  color: #aeb8b2;
  font-size: 0.88rem;
  line-height: 1.75;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-tags span {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(237, 240, 233, 0.16);
  color: #c3cbc5;
  font-family: var(--mono);
  font-size: 0.61rem;
}

.card-decoration {
  position: absolute;
  top: 3.2rem;
  right: 1.65rem;
  width: 210px;
  max-width: calc(100% - 3.3rem);
  height: 64px;
  object-fit: contain;
  opacity: 0.8;
  pointer-events: none;
}

.case-study-card-education .card-decoration {
  width: 176px;
}

.capabilities-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #182121;
}

.capabilities-inner {
  display: grid;
  padding-top: 112px;
  padding-bottom: 112px;
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 8rem);
}

.capabilities-copy h2 {
  margin-bottom: 1.35rem;
}

.capabilities-copy > p:not(.eyebrow) {
  max-width: 450px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

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

.capability-list > a {
  display: grid;
  min-height: 76px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  gap: 0.7rem;
}

.capability-number {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.capability-title {
  color: #e0e5e0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.capability-arrow {
  color: var(--subtle);
  font-size: 0.95rem;
}

.capability-list > a:hover .capability-title,
.capability-list > a:hover .capability-arrow,
.capability-list > a:focus-visible .capability-title,
.capability-list > a:focus-visible .capability-arrow {
  color: var(--mint-bright);
}

.about-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: #17201f;
  background-image:
    linear-gradient(90deg, #17201f 0%, #17201f 28%, rgba(23, 32, 31, 0.96) 38%, rgba(23, 32, 31, 0.65) 48%, rgba(23, 32, 31, 0.12) 65%),
    url("../images/about-background.jpg");
  background-position: center, left 12vw center;
  background-size: 100% 100%, auto 100%;
  background-repeat: no-repeat;
}

.about-copy {
  max-width: 640px;
}

.about-inner {
  display: block;
  padding-top: 104px;
  padding-bottom: 104px;
}

.about-copy h2 {
  max-width: 880px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.about-copy > p:not(.eyebrow) {
  max-width: 780px;
  color: #adb7b1;
  font-size: 0.94rem;
  line-height: 1.85;
}

.about-principles {
  max-width: 780px;
  margin: 1.8rem 0 0.7rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}

.about-principles h3 {
  margin-bottom: 0.4rem;
  color: var(--mint);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.about-principles p {
  margin-bottom: 0.8rem;
  color: #adb7b1;
  font-size: 0.94rem;
  line-height: 1.8;
}

.about-copy .button {
  margin-top: 0.85rem;
}

@media (max-width: 960px) {
  .about-section {
    background-image:
      linear-gradient(180deg, rgba(23, 32, 31, 0.05) 0, rgba(23, 32, 31, 0.2) 160px, #17201f 280px),
      url("../images/about-background.jpg");
    background-position: center top;
    background-size: 100% 100%, auto 280px;
    background-repeat: no-repeat;
  }

  .about-section .about-inner {
    padding-top: 310px;
  }
}

.contact-section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.contact-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.contact-main h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.contact-action {
  display: grid;
  max-width: 320px;
  padding-bottom: 0.45rem;
  justify-items: start;
}

.contact-action p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-action .button {
  margin-bottom: 0.85rem;
}

.email-address {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.email-address:hover {
  color: var(--mint);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0e1415;
}

.footer-inner {
  display: grid;
  min-height: 105px;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  align-items: center;
  grid-template-columns: minmax(210px, 1fr) auto auto auto;
  gap: 1rem clamp(1rem, 2.5vw, 2rem);
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.64rem;
}

.footer-brand .brand-name {
  font-size: 0.76rem;
}

.footer-brand .brand-name span {
  font-size: 0.59rem;
}

.footer-inner > p,
.copyright {
  margin: 0;
  color: var(--subtle);
  font-size: 0.73rem;
}

.footer-inner > .eyebrow {
  margin: 0;
}

.copyright {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 1.1rem;
}

.footer-social a {
  color: var(--ink);
  font-size: 0.77rem;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--mint);
}

.footer-social span {
  color: var(--mint);
}

.articles-section {
  padding: 104px 0 112px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--night-soft);
}

.articles-heading {
  display: flex;
  margin-bottom: 1.8rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.articles-heading .eyebrow {
  margin-bottom: 0.9rem;
}

.articles-heading h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.carousel-button {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  place-items: center;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.carousel-button:not(:disabled):hover {
  border-color: var(--mint);
  background: rgba(196, 225, 189, 0.08);
  color: var(--mint);
}

.carousel-button:disabled {
  color: var(--subtle);
  cursor: default;
  opacity: 0.48;
}

.article-carousel {
  overflow: hidden;
}

.article-track {
  display: flex;
  overflow-x: auto;
  padding: 2px 2px 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(196, 225, 189, 0.35) transparent;
  scrollbar-width: thin;
  gap: 1rem;
}

.article-track:focus-visible {
  outline-offset: 1px;
}

.article-track .blog-card {
  flex: 0 0 calc((100% - 1rem) / 2);
  scroll-snap-align: start;
}

.blog-card {
  display: flex;
  border: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(196, 225, 189, 0.055), transparent 70%), var(--night-soft);
  transition: border-color 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  border-color: rgba(196, 225, 189, 0.4);
  transform: translateY(-2px);
}

.blog-card-link {
  display: flex;
  width: 100%;
  min-height: 275px;
  padding: 1.4rem 1.5rem;
  align-items: flex-start;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  margin-bottom: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-meta time {
  color: var(--subtle);
}

.blog-card h3 {
  max-width: 540px;
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.23;
}

.blog-card-subtitle {
  margin-bottom: 0.8rem;
  color: var(--mint);
  font-family: var(--display);
  font-size: 0.84rem;
  line-height: 1.5;
}

.blog-card-summary {
  display: -webkit-box;
  max-width: 570px;
  margin-bottom: 1rem;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-card-read {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
}

.blog-card-read span,
.article-content a {
  color: var(--mint);
}

.case-hero {
  padding-top: 48px;
  padding-bottom: 68px;
}

.case-hero-dib {
  position: relative;
  isolation: isolate;
  background-color: var(--night);
  background-image:
    linear-gradient(90deg, rgba(17, 23, 25, 0.94) 0%, rgba(17, 23, 25, 0.84) 48%, rgba(17, 23, 25, 0.7) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(17, 23, 25, 0.15) 55%, rgba(17, 23, 25, 0.18) 100%),
    url("../images/doitbest-team/do-it-best-building.png");
  background-position: center, center, left 45%;
  background-size: cover;
}

.case-hero-inner {
  position: relative;
  z-index: 1;
}

.case-hero-inner > .article-back-link {
  margin-bottom: 2.6rem;
}

.case-hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.case-hero-copy {
  max-width: 760px;
}

.case-hero-copy .eyebrow {
  margin-bottom: 1.25rem;
}

.case-hero h1 {
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.case-hero h1 em,
.case-story-heading h2 em,
.case-approach h2 em,
.case-contact h2 em {
  color: var(--mint);
  font-style: normal;
}

.case-hero-lead {
  max-width: 700px;
  margin-bottom: 1rem;
  color: #c2cbc4;
  font-family: var(--display);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.case-hero-note {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-hero .case-period,
.brief-case .case-period {
  margin: 0 0 1.5rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.case-result-card {
  display: flex;
  min-height: 260px;
  padding: 1.6rem;
  border: 1px solid rgba(196, 225, 189, 0.24);
  background: linear-gradient(145deg, rgba(196, 225, 189, 0.09), rgba(196, 225, 189, 0.02) 74%), var(--night-soft);
  flex-direction: column;
  justify-content: center;
}

.case-result-label,
.case-result-foot,
.case-metric-label,
.timeline-kicker {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  line-height: 1.6;
  text-transform: uppercase;
}

.case-result-card > strong {
  margin: 0.35rem 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(4.2rem, 7vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
}

.case-result-card > strong span {
  color: var(--mint);
  font-size: 0.5em;
  letter-spacing: -0.05em;
}

.case-result-card p {
  max-width: 260px;
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.case-result-foot {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0.045em;
}

.case-metrics {
  display: grid;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.case-metric {
  min-width: 0;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.case-metric-label {
  display: block;
  min-height: 2.2em;
  color: var(--muted);
  font-size: 0.6rem;
}

.case-metric strong {
  display: block;
  margin: 0.6rem 0 0.4rem;
  color: var(--mint);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.case-metric p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.case-story {
  padding: 105px 0 112px;
  border-bottom: 1px solid var(--line);
  background: #17201f;
}

.case-story-heading {
  max-width: none;
  margin-bottom: 3.7rem;
}

.case-story-heading h2,
.case-approach h2,
.case-contact h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.case-story-heading > p:last-child,
.case-approach-copy > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.case-story-heading > p:last-child {
  max-width: none;
}

.initiative-team {
  margin: 0 0 3.5rem;
}

.team-diagram {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 86px auto;
  column-gap: 1rem;
}

.team-card {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(17, 23, 25, 0.55);
}

.team-card-heading {
  display: grid;
  min-height: 91px;
  align-content: start;
  justify-items: start;
  gap: 0.65rem;
}

.client-logo {
  width: 82px;
  height: 76px;
  object-fit: contain;
}

.team-bridge {
  width: min(100%, 460px);
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
}

.team-network-link {
  display: block;
  width: 100%;
  height: 86px;
}

.team-network-link line {
  fill: none;
  stroke: rgba(196, 225, 189, 0.62);
  stroke-width: 0.6;
}

.team-network-link marker path {
  fill: var(--mint);
}

.team-link-client {
  grid-column: 1;
  grid-row: 2;
}

.team-organizations {
  display: contents;
}

.team-client {
  grid-column: 1;
  grid-row: 3;
}

.team-link-partner {
  grid-column: 2;
  grid-row: 2;
}

.team-partner {
  grid-column: 2;
  grid-row: 3;
}

.counterpart-logo {
  display: block;
  width: min(100%, 230px);
  height: auto;
}

.team-client-heading,
.team-partner-heading {
  display: flex;
  height: 76px;
  margin-bottom: 0.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.team-client-heading p,
.team-partner-heading p {
  margin: 0;
  color: var(--subtle);
  font-size: 0.68rem;
}

.team-card h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.team-card-summary {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.team-bridge {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  background: linear-gradient(155deg, rgba(196, 225, 189, 0.09), rgba(196, 225, 189, 0.018) 75%), rgba(17, 23, 25, 0.72);
}

.team-portrait {
  width: 126px;
  height: 157px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(196, 225, 189, 0.35);
  background: #e9ece8;
}

.team-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.team-card-kicker {
  margin: 0 0 0.3rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.team-bridge h4 {
  margin-bottom: 0.2rem;
  font-size: 1.45rem;
}

.team-role-highlight {
  margin: 0 0 0.7rem;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 600;
}

.team-bridge .team-card-summary {
  max-width: 240px;
  margin-bottom: 0;
}

.client-roles,
.counterpart-developers,
.counterpart-support {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.counterpart-developers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 0.9rem;
}

.counterpart-developers li,
.counterpart-support li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
}

.counterpart-developers img,
.counterpart-support img {
  flex: 0 0 auto;
  border: 1px solid rgba(237, 240, 233, 0.16);
  border-radius: 50%;
  background: var(--panel);
  object-fit: cover;
}

.counterpart-developers img {
  width: min(100%, 136px);
  aspect-ratio: 1;
  height: auto;
  border-radius: 3px;
}

.counterpart-developers li > span,
.counterpart-support li > span {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.counterpart-developers strong,
.counterpart-support strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.counterpart-developers small,
.counterpart-support small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.counterpart-support {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.client-role-support img {
  width: min(100%, 86px);
  height: 92px;
  aspect-ratio: auto;
  border-radius: 3px;
}

.client-role-support {
  margin-top: calc(1rem + 1px);
}

.client-roles li > span {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.client-roles strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.client-role-core li {
  min-height: 180px;
}

.counterpart-support li {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.4rem;
}

.counterpart-support img {
  width: min(100%, 86px);
  height: 92px;
  border-radius: 3px;
}

.team-image-credit {
  margin: 0.75rem 0 0;
  color: var(--subtle);
  font-size: 0.68rem;
  text-align: right;
}

.team-image-credit a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(196, 225, 189, 0.35);
  text-underline-offset: 3px;
}

.team-image-credit a:hover {
  color: var(--mint);
}

.initiative-timeline {
  max-width: 900px;
  margin-inline: auto;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(196, 225, 189, 0.34);
}

.timeline-entry {
  position: relative;
  display: grid;
  padding: 0 0 2.6rem 1.8rem;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1.25rem;
}

.timeline-entry::before {
  position: absolute;
  top: 0.35rem;
  left: -1.52rem;
  width: 9px;
  height: 9px;
  border: 2px solid #17201f;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 1px rgba(196, 225, 189, 0.45);
  content: "";
}

.timeline-marker {
  display: grid;
  width: 64px;
  min-height: 48px;
  padding: 0.45rem;
  border: 1px solid rgba(196, 225, 189, 0.28);
  align-self: start;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.35;
  text-align: center;
  place-items: center;
}

.timeline-content {
  padding: 0.1rem 0 1.6rem;
  border-bottom: 1px solid var(--line);
}

.timeline-kicker {
  margin-bottom: 0.5rem;
}

.timeline-date {
  margin: 0 0 0.55rem;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.timeline-content h3 {
  max-width: 620px;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.timeline-content > p:not(.timeline-kicker) {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.timeline-proof {
  display: grid;
  max-width: 620px;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--mint);
  background: rgba(196, 225, 189, 0.055);
  gap: 0.25rem;
}

.timeline-proof strong {
  color: var(--ink);
  font-size: 0.83rem;
}

.timeline-proof span {
  color: var(--muted);
  font-size: 0.78rem;
}

.timeline-origin {
  padding-bottom: 0;
}

.timeline-origin .timeline-content {
  border-bottom: 0;
}

.case-approach {
  display: grid;
  padding-top: 105px;
  padding-bottom: 110px;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.case-approach-inline {
  margin: 0 0 4.5rem;
  padding: 2rem 0 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 1.25rem;
}

.case-approach-inline > .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.case-approach-inline .case-approach-copy h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 1.15;
}

.case-approach-inline .case-practices {
  padding-top: 0;
}

.case-approach-inline .case-practices::before {
  content: none;
}

.case-approach-inline .case-practices article:first-child {
  padding-top: 0;
}

.case-approach h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.case-practices {
  position: relative;
  padding-top: 20px;
}

.case-practices::before {
  position: absolute;
  top: 28px;
  right: 0;
  left: calc(-81.818% - clamp(3rem, 8vw, 7rem));
  height: 1px;
  background: var(--line);
  content: "";
}

.case-practices article {
  display: grid;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.8rem;
}

.case-practices article > span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.case-practices h3 {
  margin-bottom: 0.35rem;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-practices p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.case-contact {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: #182121;
}

.case-contact-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.case-contact h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.case-study-link {
  margin: 0 0 1.1rem;
}

.map-hero {
  background: radial-gradient(ellipse at 90% 20%, rgba(255, 0, 48, 0.08), transparent 55%), var(--night);
}

.map-product-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--night-soft);
}

.map-product-card > img {
  width: 240px;
  height: auto;
  margin-bottom: 2rem;
}

.map-version-path {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.map-version-path li {
  display: grid;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
}

.map-version-path li > span {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.map-version-path strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

.map-version-path p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.map-context {
  display: grid;
  padding-block: 90px;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
}

.map-context .case-story-heading {
  margin-bottom: 0;
}

.map-context h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.map-context-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.map-version-nav {
  display: grid;
  margin-bottom: 3rem;
  border: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.map-version-nav a {
  display: flex;
  padding: 1rem 1.25rem;
  align-items: center;
  gap: 0.8rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.map-version-nav a + a {
  border-left: 1px solid var(--line);
}

.map-version-nav a:hover {
  background: rgba(196, 225, 189, 0.06);
}

.map-version-nav span {
  color: var(--ink);
  font-family: var(--body);
}

.map-release {
  display: grid;
  padding-block: 3rem;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  scroll-margin-top: 7rem;
}

.map-release-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--mint);
  font-family: var(--display);
  font-size: 4rem;
  letter-spacing: -0.06em;
  line-height: 1;
}

.map-release h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.map-release p,
.map-engineering-grid p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.map-release .map-release-date {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.map-release-details h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.map-release-details > p {
  margin: 0 0 1.6rem;
}

.map-release-outcome {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--mint);
  background: rgba(196, 225, 189, 0.04);
}

.map-release-outcome p {
  margin: 0.5rem 0 0;
}

.map-source-note {
  max-width: 800px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.map-foundation,
.map-partnership {
  padding-block: 90px;
}

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

.map-engineering-grid article {
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: var(--night-soft);
}

.map-engineering-grid h3 {
  margin: 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.map-engineering-grid p {
  margin: 0;
}

.map-partnership {
  border-top: 1px solid var(--line);
  background: #17201f;
}

.case-testimonial {
  max-width: 900px;
  margin: 4rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.case-testimonial blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.case-testimonial figcaption {
  display: grid;
  gap: 0.25rem;
}

.case-testimonial figcaption strong {
  color: var(--mint);
}

.case-testimonial figcaption span {
  color: var(--muted);
  font-size: 0.84rem;
}

.brief-case-studies-testimonial {
  max-width: none;
  margin-top: 2.5rem;
}

@media (max-width: 960px) {
  .map-context {
    gap: 2rem;
  }

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

@media (max-width: 720px) {
  .map-context,
  .map-release {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .map-context,
  .map-foundation,
  .map-partnership {
    padding-block: 64px;
  }

  .map-version-nav {
    grid-template-columns: 1fr;
  }

  .map-version-nav a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .map-release {
    padding-block: 2.5rem;
  }
}

.case-studies-more {
  margin-top: 2rem;
  text-align: center;
}

.brief-case-studies-hero {
  border-bottom: 1px solid var(--line);
}

.brief-case-studies-layout {
  display: grid;
  padding-block: 72px 96px;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.brief-case-studies-sidebar {
  position: sticky;
  top: 110px;
}

.brief-case-studies-nav {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--night-soft);
}

.brief-case-studies-nav > p {
  margin-bottom: 1rem;
}

.brief-case-studies-nav a {
  display: grid;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.65rem;
  font-size: 0.88rem;
}

.brief-case-studies-nav a > span:first-child {
  padding-top: 0.15rem;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.brief-case-studies-nav small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brief-case-studies-nav a:hover,
.brief-case-studies-nav a:hover small {
  color: var(--mint-bright);
}

.brief-case {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.brief-case:first-child {
  padding-top: 0;
  border-top: 0;
}

.brief-case:last-child {
  padding-bottom: 0;
}

.brief-case h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.brief-case h2 em {
  color: var(--mint);
  font-style: normal;
}

.brief-case > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.brief-case-result {
  margin-block: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--mint);
  background: rgba(196, 225, 189, 0.04);
}

.brief-case-result p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .brief-case-studies-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .brief-case-studies-layout {
    padding-block: 48px 64px;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .brief-case-studies-sidebar {
    position: static;
  }

  .brief-case {
    scroll-margin-top: 90px;
  }
}

.article-shell {
  width: min(100% - 48px, 790px);
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 104px;
}

.article-header {
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}

.article-back-link {
  display: inline-flex;
  margin-bottom: 3rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.83rem;
}

.article-back-link:hover,
.article-footer a:hover {
  color: var(--mint-bright);
}

.article-header .eyebrow {
  margin-bottom: 1.1rem;
}

.article-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.article-deck {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
}

.article-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #d6dcd7;
  font-size: 0.82rem;
}

.article-byline time {
  color: var(--subtle);
}

.article-source {
  margin: 0.55rem 0 0;
  color: var(--subtle);
  font-size: 0.77rem;
}

.article-source a,
.article-source-note a,
.article-callout a {
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: rgba(196, 225, 189, 0.4);
  text-underline-offset: 3px;
}

.article-content {
  padding-top: 2.5rem;
  color: #c2cbc4;
  font-size: 1rem;
  line-height: 1.9;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content .article-lead {
  margin-bottom: 2.2rem;
  color: #e0e6e0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  line-height: 1.7;
}

.article-content h2 {
  margin: 2.5rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.article-content ul {
  display: grid;
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  gap: 0.85rem;
}

.article-content li {
  padding-left: 0.35rem;
}

.article-content li::marker {
  color: var(--mint);
}

.article-content strong {
  color: var(--ink);
  font-weight: 600;
}

.article-footnotes a {
  overflow-wrap: anywhere;
}

.article-callout {
  margin: 2.2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--mint);
  background: rgba(196, 225, 189, 0.055);
}

.article-callout p {
  margin: 0;
}

.article-source-note {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.82rem;
}

.article-footer {
  display: flex;
  margin-top: 2.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero h1 {
    max-width: 780px;
    font-size: clamp(3rem, 7vw, 4.6rem);
  }

  .hero-visual {
    width: min(100%, 590px);
    justify-self: center;
  }

  .team-diagram {
    max-width: 720px;
    margin-inline: auto;
  }

  .team-card-heading {
    min-height: auto;
    margin-bottom: 0.9rem;
  }

  .counterpart-logo {
    width: min(100%, 160px);
  }

  .team-bridge {
    padding: 1.5rem;
  }

  .team-bridge .team-card-summary {
    max-width: 400px;
  }
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-social {
    grid-column: 1;
  }

  .copyright {
    grid-column: 2;
    grid-row: 2;
  }

  .case-study-card {
    min-height: 365px;
    padding: 1.35rem;
  }

  .case-study-card-featured {
    min-height: 100%;
  }

  .initiative-team {
    margin-bottom: 3.6rem;
  }

  .counterpart-developers {
    gap: 0.85rem;
  }

  .team-image-credit {
    text-align: left;
  }

  .case-practices::before {
    left: calc(-81.818% - 3rem);
  }

  .case-hero-grid {
    gap: 2.5rem;
  }

  .case-approach {
    gap: 3rem;
  }
}

@media (max-width: 720px) {
  :root {
    scroll-padding-top: 5rem;
  }

  .section-shell {
    width: min(100% - 40px, 560px);
  }

  .articles-section {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .articles-heading {
    align-items: flex-end;
  }

  .articles-heading h2 {
    max-width: 450px;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .carousel-button {
    width: 38px;
    height: 38px;
  }

  .article-track .blog-card {
    flex-basis: min(88%, 420px);
  }

  .blog-card-link {
    min-height: 270px;
    padding: 1.2rem;
  }

  .blog-card h3 {
    font-size: 1.4rem;
  }

  .article-shell {
    width: min(100% - 40px, 790px);
    padding-top: 42px;
    padding-bottom: 80px;
  }

  .case-hero {
    padding-top: 36px;
    padding-bottom: 50px;
  }

  .case-hero-dib {
    background-image:
      linear-gradient(180deg, rgba(17, 23, 25, 0.56) 0%, rgba(17, 23, 25, 0.9) 40%, var(--night) 100%),
      url("../images/doitbest-team/do-it-best-building.png");
    background-position: center, left top;
    background-size: auto, auto 290px;
    background-repeat: no-repeat;
  }

  .case-hero-inner > .article-back-link {
    margin-bottom: 2rem;
  }

  .case-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .case-hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .case-result-card {
    min-height: auto;
  }

  .case-metrics {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    grid-template-columns: 1fr;
  }

  .case-metric-label {
    min-height: 0;
  }

  .case-story {
    padding-top: 76px;
    padding-bottom: 80px;
  }

  .case-story-heading {
    margin-bottom: 2.5rem;
  }

  .case-story-heading h2,
  .case-approach h2 {
    font-size: clamp(2.4rem, 9vw, 3.5rem);
  }

  .team-diagram {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 56px auto 56px auto;
  }

  .team-client {
    grid-column: 1;
    grid-row: 1;
  }

  .team-link-client {
    grid-column: 1;
    grid-row: 2;
    height: 56px;
  }

  .team-bridge {
    grid-column: 1;
    grid-row: 3;
  }

  .team-link-partner {
    grid-column: 1;
    grid-row: 4;
    height: 56px;
  }

  .team-partner {
    grid-column: 1;
    grid-row: 5;
  }

  .initiative-timeline {
    margin-left: 0.25rem;
    padding-left: 0.55rem;
  }

  .timeline-entry {
    padding-left: 0.65rem;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .timeline-entry::before {
    left: -1rem;
  }

  .timeline-marker {
    width: 43px;
    min-height: 42px;
    padding: 0.25rem;
    font-size: 0.62rem;
  }

  .case-approach {
    padding-top: 76px;
    padding-bottom: 82px;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-approach-inline {
    margin-bottom: 3.5rem;
    padding: 1.5rem 0 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .case-approach-inline .case-approach-copy h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }

  .case-practices::before {
    top: 0;
    left: 0;
  }

  .case-practices {
    padding-top: 0;
  }

  .case-contact {
    padding: 72px 0;
  }

  .case-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-contact h2 {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }

  .article-back-link {
    margin-bottom: 2.2rem;
  }

  .article-content {
    font-size: 0.96rem;
  }

  .article-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    width: calc(100% - 40px);
    min-height: 72px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.6rem 20px 1.2rem;
    border-bottom: 1px solid var(--line);
    background: #111719;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(237, 240, 233, 0.07);
  }

  .primary-navigation .nav-contact {
    min-height: 46px;
    margin-top: 0.85rem;
    padding: 0 0.8rem;
    justify-content: space-between;
    border: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 75px;
    padding-bottom: 77px;
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero h1 {
    max-width: 570px;
    font-size: clamp(3.1rem, 12vw, 4.4rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-note {
    margin-top: 2.2rem;
  }

  .hero-portrait {
    width: min(100%, 390px);
  }

  .client-strip-inner {
    min-height: auto;
    padding-top: 1.4rem;
    padding-bottom: 1.5rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .client-strip p {
    max-width: none;
  }

  .client-logos {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }

  .client-logo-dib {
    width: 42px;
  }

  .client-logo-map {
    width: 110px;
  }

  .client-logo-hsc {
    width: 150px;
  }

  .section-space {
    padding-top: 82px;
    padding-bottom: 88px;
  }

  .section-heading {
    margin-bottom: 2.2rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .section-heading h2,
  .capabilities-copy h2,
  .about-copy h2 {
    font-size: clamp(2.6rem, 10vw, 3.55rem);
  }

  .section-intro {
    max-width: 500px;
  }

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

  .case-study-card,
  .case-study-card-featured {
    min-height: 365px;
    grid-row: auto;
  }

  .case-study-card-featured {
    background-image:
      linear-gradient(180deg, rgba(23, 32, 32, 0.8) 0, rgba(23, 32, 32, 0.15) 70px, rgba(23, 32, 32, 0.3) 150px, #172020 240px),
      url("../images/doitbest-team/do-it-best-building.png");
    background-size: 100% 100%, auto 240px;
  }

  .case-study-card-featured .card-content {
    margin-top: 0;
    padding-top: 210px;
  }

  .card-content {
    padding-top: 5.5rem;
  }

  .capabilities-inner {
    padding-top: 82px;
    padding-bottom: 82px;
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .about-inner {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .about-copy h2 {
    font-size: clamp(2.5rem, 9vw, 3.5rem);
  }

  .contact-section {
    padding-top: 83px;
    padding-bottom: 85px;
  }

  .contact-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
  }

  .contact-main h2 {
    font-size: clamp(1.125rem, 4.6vw, 2rem);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .footer-social,
  .copyright {
    grid-column: 1;
    grid-row: auto;
  }

  .copyright {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
