:root {
  --brand: #ef6b45;
  --brand-dark: #ba4828;
  --brand-soft: #fff0eb;
  --ink: #17191c;
  --muted: #5c626b;
  --paper: #ffffff;
  --quiet: #f6f5f2;
  --line: #dfdfda;
  --deep: #22272b;
  --green: #2f675d;
  --shadow: 0 18px 50px rgba(22, 25, 28, 0.13);
  --header: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #153f8f;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px 64px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 28px rgba(47, 31, 25, 0.14);
}

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

.brand img {
  width: 210px;
  height: auto;
  filter: brightness(0) invert(1);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.desktop-nav > a,
.nav-menu__button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.desktop-nav > a:hover,
.nav-menu__button:hover {
  color: rgba(255, 255, 255, 0.82);
}

.nav-menu {
  position: relative;
}

.nav-menu__button::after {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(920px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  color: var(--ink);
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu:hover .mega-menu,
.nav-menu:focus-within .mega-menu,
.nav-menu.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.menu-group {
  min-height: 230px;
  padding: 22px;
  background: #fff;
}

.menu-group strong {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 14px;
}

.menu-group a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.menu-group a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-cta {
  color: var(--brand);
  background: #fff;
}

.button--primary {
  color: #fff;
  background: var(--brand);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--light {
  color: var(--brand-dark);
  background: #fff;
}

.button--light:hover {
  color: #fff;
  background: var(--deep);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
}

.button--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.mobile-menu {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 60;
  overflow-y: auto;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-menu nav {
  display: grid;
  padding: 18px;
}

.mobile-menu a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.mobile-menu__services {
  display: grid;
  grid-template-columns: 1fr;
  padding: 8px 0 16px;
}

.mobile-menu__services a {
  padding: 10px 12px;
  color: var(--muted);
  border-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(20, 22, 24, 0.95), rgba(20, 22, 24, 0.74) 48%, rgba(20, 22, 24, 0.42)),
    linear-gradient(0deg, rgba(20, 22, 24, 0.68), rgba(20, 22, 24, 0.1));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  margin: 0 auto;
  padding: 118px 0 78px;
}

.hero__copy {
  align-self: end;
  max-width: 850px;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: 72px;
  line-height: 0.96;
}

.hero p {
  max-width: 740px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 22px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  align-self: end;
  display: grid;
  border-top: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-bottom: 0;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.77);
  font-size: 14px;
}

.split-section,
.content-band,
.method-band,
.funding-band,
.cta-band,
.article-layout,
.blog-layout,
.contact-layout {
  padding: 92px 64px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: center;
  background: var(--quiet);
}

.split-section--intro {
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.7fr);
}

.split-section > p,
.section-title p {
  color: var(--muted);
  font-size: 18px;
}

.section-title {
  max-width: 850px;
}

.section-title h2,
.page-hero h1,
.service-hero h1,
.post-hero h1,
.cta-band h2,
.funding-band h2 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.04;
}

.section-title p {
  max-width: 740px;
  margin: 0;
}

.content-band {
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-grid--compact {
  margin-top: 24px;
}

.service-card {
  min-height: 280px;
  background: #fff;
}

.service-card a {
  height: 100%;
  display: grid;
  align-content: start;
  padding: 30px;
}

.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--brand);
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card:hover h3 {
  color: var(--brand-dark);
}

.section-action {
  margin-top: 28px;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
  color: #fff;
  background: var(--deep);
}

.method-band .section-title p {
  color: rgba(255, 255, 255, 0.72);
}

.method-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  background-position: center;
  background-size: cover;
}

.method-media img,
.rounded-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rounded-image {
  max-height: 560px;
  border-radius: 8px;
}

.steps {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
}

.proof-section {
  background: var(--quiet);
}

.client-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: 36px;
  margin-top: 40px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.logo-grid figure {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  background: #fff;
}

.logo-grid img {
  max-height: 72px;
  object-fit: contain;
}

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

.sector-grid span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}

.funding-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 42px;
  align-items: center;
  background: #f2f7f5;
}

.funding-band p,
.cta-band p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.funding-band img {
  justify-self: end;
  width: min(340px, 100%);
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: end;
  color: #fff;
  background: var(--brand);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  opacity: 0.86;
}

.page-hero,
.service-hero,
.post-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 102px 64px 68px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(35, 39, 43, 0.94), rgba(35, 39, 43, 0.76)),
    var(--deep);
}

.page-hero--orange {
  background:
    linear-gradient(120deg, rgba(186, 72, 40, 0.96), rgba(239, 107, 69, 0.9)),
    var(--brand);
}

.page-hero--contact {
  background:
    linear-gradient(120deg, rgba(35, 39, 43, 0.9), rgba(47, 103, 93, 0.82)),
    var(--green);
}

.page-hero > div,
.post-hero > div {
  width: min(980px, 100%);
}

.page-hero p,
.post-hero p,
.service-hero p {
  max-width: 790px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.service-hero {
  min-height: 520px;
  background: var(--deep);
}

.service-hero__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.4;
}

.service-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(24, 27, 30, 0.94), rgba(24, 27, 30, 0.76) 52%, rgba(24, 27, 30, 0.34));
}

.service-hero__copy {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--brand-soft);
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 58px;
  align-items: start;
  background: #fff;
}

.article-layout--single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.rich-content {
  color: var(--ink);
  font-size: 18px;
}

.rich-content--contained {
  max-height: 760px;
  overflow: auto;
  margin-top: 48px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 34px 0 12px;
  line-height: 1.14;
}

.rich-content h2 {
  font-size: 32px;
}

.rich-content h3 {
  font-size: 24px;
}

.rich-content p,
.rich-content li {
  color: var(--muted);
}

.rich-content a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rich-content img {
  margin: 28px 0;
  border-radius: 8px;
}

.rich-content blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--brand);
  background: var(--quiet);
}

.side-panel,
.blog-sidebar,
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--quiet);
}

.side-panel {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.side-panel h2,
.blog-sidebar h2,
.contact-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.side-panel p,
.contact-card p {
  color: var(--muted);
}

.related-links {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.related-links h3 {
  margin: 0 0 4px;
}

.related-links a,
.blog-sidebar a,
.contact-card a {
  display: block;
  color: var(--brand-dark);
  font-weight: 800;
}

.service-group {
  margin-top: 58px;
}

.service-group:first-child {
  margin-top: 0;
}

.service-group h2 {
  margin: 0;
  font-size: 34px;
}

.sector-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.sector-cards article,
.team-grid article,
.post-card {
  border: 1px solid var(--line);
  background: #fff;
}

.sector-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sector-cards h2,
.team-grid h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.sector-cards p,
.team-grid p {
  margin: 10px 0 0;
  color: var(--muted);
}

.sector-cards article > h2,
.sector-cards article > p {
  padding-right: 20px;
  padding-left: 20px;
}

.sector-cards article > h2 {
  padding-top: 20px;
}

.sector-cards article > p {
  padding-bottom: 22px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--line);
}

.team-grid article {
  min-height: 130px;
  padding: 24px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
  gap: 54px;
  align-items: end;
  padding: 104px 64px 76px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(31, 35, 39, 0.98), rgba(31, 35, 39, 0.84)),
    var(--deep);
}

.about-hero__copy {
  max-width: 740px;
}

.about-hero h1 {
  margin: 0 0 20px;
  font-size: 56px;
  line-height: 1;
}

.about-hero p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero__media {
  margin: 0;
  border-top: 4px solid var(--brand);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.about-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-section {
  padding: 92px 64px;
  background: #fff;
}

.founder-grid,
.portrait-grid {
  display: grid;
  gap: 18px;
}

.founder-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.portrait-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.profile-card figure {
  margin: 0;
  background: #e8e4e1;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 220ms ease;
}

.profile-card--lead img {
  aspect-ratio: 5 / 4;
}

.profile-card div {
  padding: 18px 20px 20px;
}

.profile-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.16;
}

.profile-card p {
  margin: 7px 0 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.profile-card:hover img {
  transform: scale(1.025);
}

.about-focus {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.82fr);
  gap: 64px;
  align-items: center;
  padding: 92px 64px;
  background: var(--quiet);
}

.about-focus p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.about-focus figure {
  margin: 0;
}

.about-focus figure img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

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

.pillar-grid span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: #fff;
  font-weight: 800;
}

.about-work {
  background: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.work-grid article {
  min-height: 220px;
  padding: 28px;
  background: #fff;
}

.work-grid h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.12;
}

.work-grid p {
  margin: 0;
  color: var(--muted);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.blog-layout--single {
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 28px;
}

.post-card time {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.post-card h2 {
  margin: 8px 0 12px;
  font-size: 28px;
  line-height: 1.16;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.post-card__cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}

.post-card__cats a,
.blog-sidebar a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header) + 24px);
}

.blog-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}

.blog-sidebar span {
  color: var(--brand-dark);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 64px 84px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-weight: 800;
}

.pagination span {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--quiet);
}

.contact-form textarea {
  resize: vertical;
}

.check-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card h3 {
  margin: 18px 0 0;
}

.legal-note {
  padding-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 64px;
  color: rgba(255, 255, 255, 0.78);
  background: #151719;
}

.site-footer img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 14px 32px;
    gap: 18px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 58px;
  }

  .sector-cards,
  .team-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header: 76px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 170px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero__inner,
  .about-hero,
  .about-focus,
  .split-section,
  .method-band,
  .client-proof,
  .funding-band,
  .cta-band,
  .article-layout,
  .blog-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    width: min(100% - 36px, 720px);
    gap: 32px;
    padding: 88px 0 48px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 19px;
  }

  .hero-stats {
    max-width: 620px;
  }

  .split-section,
  .about-hero,
  .about-focus,
  .team-section,
  .content-band,
  .method-band,
  .funding-band,
  .cta-band,
  .article-layout,
  .blog-layout,
  .contact-layout {
    padding: 72px 32px;
  }

  .page-hero,
  .service-hero,
  .post-hero {
    min-height: 360px;
    padding: 86px 32px 56px;
  }

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

  .side-panel,
  .blog-sidebar {
    position: static;
  }

  .funding-band img {
    justify-self: start;
  }

  .about-hero h1 {
    font-size: 44px;
  }

  .about-hero__media {
    max-width: 720px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand img {
    width: 145px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-stats div {
    padding: 18px;
  }

  .split-section,
  .about-hero,
  .about-focus,
  .team-section,
  .content-band,
  .method-band,
  .funding-band,
  .cta-band,
  .article-layout,
  .blog-layout,
  .contact-layout {
    padding: 58px 18px;
  }

  .page-hero,
  .service-hero,
  .post-hero {
    padding: 72px 18px 44px;
  }

  .section-title h2,
  .about-hero h1,
  .page-hero h1,
  .service-hero h1,
  .post-hero h1,
  .cta-band h2,
  .funding-band h2 {
    font-size: 32px;
  }

  .service-grid,
  .sector-grid,
  .sector-cards,
  .team-grid,
  .founder-grid,
  .portrait-grid,
  .pillar-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    gap: 28px;
    padding-top: 76px;
  }

  .about-hero p {
    font-size: 17px;
  }

  .about-hero__actions {
    width: 100%;
  }

  .about-hero__media img {
    aspect-ratio: 4 / 3;
  }

  .profile-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: center;
  }

  .profile-card img,
  .profile-card--lead img {
    aspect-ratio: 1 / 1;
  }

  .profile-card div {
    padding: 16px;
  }

  .profile-card h2 {
    font-size: 18px;
  }

  .work-grid article {
    min-height: 0;
    padding: 24px;
  }

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

  .logo-grid figure {
    min-height: 96px;
    padding: 14px;
  }

  .logo-grid img {
    max-height: 58px;
  }

  .method-media {
    aspect-ratio: 4 / 3;
  }

  .method-media img {
    display: none;
  }

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

  .service-card a {
    padding: 24px;
  }

  .service-card span {
    margin-bottom: 20px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .post-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .post-card__cats {
    min-width: 0;
  }

  .contact-form {
    padding: 22px;
  }

  .rich-content {
    font-size: 16px;
  }

  .rich-content--contained {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 18px;
  }
}

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