:root {
  --ink: #152128;
  --muted: #52616b;
  --paper: #ffffff;
  --panel: #f4f7f8;
  --line: #d9e2e6;
  --blue: #2f91bf;
  --blue-dark: #176386;
  --green: #397d5b;
  --amber: #c98724;
  --deep: #0f2533;
  --shadow: 0 18px 40px rgba(19, 39, 52, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green);
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 10;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand-row {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 28px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand img {
  width: min(1080px, calc(100vw - 90px));
  height: auto;
}

.nav-bar {
  background: #d7e0ea;
  border-top: 1px solid #c6d1dc;
  border-bottom: 1px solid #c6d1dc;
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.site-nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.05vw, 16px);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--panel);
  color: var(--blue-dark);
}

.site-nav .nav-cta {
  margin: 6px 0 6px 10px;
  background: var(--blue-dark);
  color: var(--paper);
}

.site-nav .nav-cta:hover {
  background: var(--green);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: clamp(530px, 38vw, 590px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f7f5f0;
  color: var(--paper);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 28, 40, 0.98) 0%,
    rgba(10, 28, 40, 0.94) 34%,
    rgba(10, 28, 40, 0.78) 50%,
    rgba(10, 28, 40, 0.34) 66%,
    rgba(10, 28, 40, 0.04) 82%
  );
  content: "";
  pointer-events: none;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-media img {
  width: auto;
  max-width: none;
  height: 100%;
}

.hero-content,
.section-inner,
.page-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero .eyebrow,
.deep .eyebrow {
  color: #b8ddec;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: 3.4rem;
}

.hero h1 {
  max-width: 610px;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.25rem;
}

.hero .lead {
  max-width: 630px;
  margin: 22px 0 0;
  color: #e8f2f6;
  font-size: 1.3rem;
}

.hero .body-copy {
  max-width: 650px;
  margin: 16px 0 0;
  color: #d5e7ee;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--blue-dark);
  border-radius: 6px;
  background: var(--blue-dark);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--paper);
}

.button.secondary:hover {
  background: var(--paper);
  color: var(--deep);
}

.button.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--deep);
}

.section {
  padding: 74px 0;
}

.hero + .section {
  padding-top: 24px;
}

.section.alt {
  background: var(--panel);
}

.section.deep {
  background: var(--deep);
  color: var(--paper);
}

.section.ai-band {
  background: #f7faf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading p,
.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy {
  display: grid;
  gap: 14px;
}

.deep .section-heading p,
.deep .card p,
.deep .muted {
  color: #d0e2e9;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.signal {
  border-left: 4px solid var(--amber);
  background: var(--paper);
  padding: 18px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(19, 39, 52, 0.08);
}

.card.service-card {
  position: relative;
  display: flex;
  min-height: 255px;
  flex-direction: column;
  overflow: hidden;
}

.card.service-card::before,
.card.service-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.card.service-card::before {
  top: 25px;
  right: 22px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--line);
}

.card.service-card::after {
  top: 30px;
  right: 33px;
  width: 30px;
  height: 2px;
  background: var(--line);
}

.card.service-card h3 {
  margin-bottom: 12px;
}

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

.card.service-card a {
  margin-top: auto;
  font-weight: 700;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-flow::before {
  position: absolute;
  z-index: 0;
  top: 23px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
}

.process-marker {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--paper);
  border-radius: 999px;
  background: var(--blue-dark);
  color: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-step:last-child .process-marker {
  background: var(--green);
}

.process-card {
  min-width: 0;
  min-height: 330px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(19, 39, 52, 0.08);
}

.process-step:last-child .process-card {
  border-top-color: var(--green);
}

.process-card h2 {
  margin-bottom: 14px;
  font-size: 1.38rem;
}

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

.process-card .process-result {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--ink);
}

.process-feedback {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--green);
  font-weight: 750;
}

.process-feedback span {
  color: var(--amber);
  font-size: 1.45rem;
  line-height: 1;
}

.client-logo {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 14px 18px;
}

.client-logo img {
  width: auto;
  max-width: min(100%, 250px);
  max-height: 100%;
  object-fit: contain;
}

.proof-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
}

.proof-logo {
  margin-bottom: 2px;
}

.proof-label {
  margin: 0 0 4px;
  color: #b8ddec;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card h3 {
  font-size: 1.48rem;
}

.proof-card blockquote {
  margin: 0;
  border-left: 3px solid var(--amber);
  padding-left: 16px;
}

.proof-card blockquote p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.proof-card blockquote footer {
  margin-top: 10px;
  color: #a9c3ce;
  font-size: 0.9rem;
}

.proof-card > a {
  width: fit-content;
  color: #c4e5f2;
  font-weight: 750;
}

.proof-card > a:hover {
  color: var(--paper);
}

.case-study-teaser {
  display: grid;
  grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1.38fr);
  gap: 22px;
  align-items: center;
}

.case-study-teaser-logo {
  height: 92px;
}

.case-study-teaser .proof-label {
  color: var(--blue-dark);
}

.case-study-teaser h3 {
  margin-bottom: 8px;
  font-size: 1.38rem;
}

.case-study-teaser p:not(.proof-label) {
  margin: 0;
  color: var(--muted);
}

.case-study-teaser a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 750;
}

.proof-bridge-link {
  margin: 24px 0 0;
}

.proof-bridge-link a {
  font-weight: 750;
}

.related-proof {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.related-proof-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-proof-links {
  display: grid;
  gap: 8px;
}

.related-proof-links a {
  font-weight: 650;
}

.case-studies-list {
  display: grid;
  gap: 42px;
}

.case-study-detail {
  scroll-margin-top: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(19, 39, 52, 0.1);
}

.case-study-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.46fr) minmax(280px, 1.15fr) minmax(230px, 0.72fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.case-study-header .eyebrow {
  margin-bottom: 8px;
}

.case-study-header h2 {
  font-size: 1.85rem;
}

.case-study-logo {
  height: 112px;
}

.case-outcome {
  border-left: 4px solid var(--amber);
  padding-left: 18px;
}

.case-outcome span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-outcome strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 1.22rem;
  line-height: 1.25;
}

.case-outcome p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.case-study-body {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 32px 28px;
}

.case-flow {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-flow::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--green));
  content: "";
}

.case-stage {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.case-marker {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--blue-dark);
  color: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.case-stage:last-child .case-marker {
  background: var(--green);
}

.case-stage h3 {
  margin: 4px 0 8px;
}

.case-stage p {
  margin: 0;
  color: var(--muted);
}

.case-testimonial {
  border-radius: 8px;
  background: var(--deep);
  color: var(--paper);
  padding: 28px;
}

.case-testimonial .eyebrow {
  color: #b8ddec;
}

.case-testimonial blockquote {
  margin: 0;
}

.case-testimonial blockquote p {
  margin: 0;
  color: #edf5f7;
  font-size: 1.04rem;
  line-height: 1.72;
}

.case-testimonial blockquote footer {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 18px;
}

.case-testimonial blockquote footer span {
  color: #b9d0d9;
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f4f8;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.deep .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.deep .tag {
  background: rgba(255, 255, 255, 0.14);
  color: #d7edf5;
}

.list {
  margin: 18px 0 0;
  padding-left: 20px;
}

.list li + li {
  margin-top: 10px;
}

.architecture-list {
  display: grid;
  gap: 14px;
}

.architecture-node {
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(19, 39, 52, 0.08);
  font-weight: 700;
}

.page-hero {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 38px;
  align-items: end;
}

.page-hero h1 {
  font-size: 2.9rem;
}

.service-page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 145, 191, 0.13), transparent 32%),
    linear-gradient(135deg, #f4f7f8, #ffffff);
}

.service-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.service-hero-copy p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.system-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.system-map-visual {
  position: relative;
  width: min(100%, 440px);
  height: 300px;
}

.system-map-visual::before,
.system-map-visual::after {
  position: absolute;
  z-index: 0;
  background: linear-gradient(90deg, var(--blue), var(--green));
  content: "";
}

.system-map-visual::before {
  top: 50%;
  right: 46px;
  left: 46px;
  height: 2px;
}

.system-map-visual::after {
  top: 46px;
  bottom: 46px;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--blue), var(--green));
}

.system-node {
  position: absolute;
  z-index: 1;
  width: 94px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--paper);
  border-radius: 999px;
  background: #e8f4f8;
  color: var(--blue-dark);
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px rgba(19, 39, 52, 0.1);
  padding: 10px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

.system-node-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.system-node-2 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.system-node-3 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.system-node-4 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.system-node-center {
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  background: var(--deep);
  color: var(--paper);
  font-size: 0.91rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 30px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.panel.accent {
  border-top: 5px solid var(--green);
}

.service-image,
.contact-photo,
.inline-editorial-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

.service-image {
  height: 230px;
  margin: -24px -24px 24px;
  border-radius: 3px 3px 8px 8px;
}

.service-image img,
.contact-photo img,
.inline-editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-image-tech-strategy img,
.contact-photo img {
  object-position: 72% top;
}

.service-image-data-pipelines img {
  object-position: center 55%;
}

.service-image-system-integration img {
  object-position: center;
}

.service-image-ai-enabled-systems img {
  object-position: center 58%;
}

.inline-editorial-image {
  height: 270px;
  margin: 0 0 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: 28px;
}

.contact-photo {
  height: 240px;
  margin: -24px -24px 26px;
  border-radius: 3px 3px 8px 8px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-item {
  border-left: 4px solid var(--blue);
  padding-left: 14px;
}

.contact-item strong {
  display: block;
}

.contact-form-embed {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-form-embed > * {
  margin-top: 0;
  margin-bottom: 0;
}

.contact-form-embed iframe {
  display: block;
  min-height: 643px;
}

.nav-toggle:focus,
.button:focus,
.site-nav a:focus {
  outline: 3px solid rgba(47, 145, 191, 0.32);
  outline-offset: 2px;
}

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

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1080px) {
  .brand-row,
  .site-nav {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: min(920px, calc(100vw - 70px));
  }

  .hero {
    min-height: 0;
    display: grid;
    overflow: visible;
    background: var(--deep);
  }

  .hero::after {
    display: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(220px, 32vw, 330px);
    overflow: hidden;
    background: #f7f5f0;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% top;
  }

  .hero-content {
    padding: 50px 0 58px;
  }

  .service-hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .system-map-visual {
    width: min(100%, 440px);
  }

  .process-flow {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-flow::before {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 23px;
    width: 2px;
    height: auto;
  }

  .process-step {
    grid-template-rows: auto;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .process-marker {
    margin: 0;
  }

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

  .process-feedback {
    justify-content: flex-start;
    margin-left: 64px;
  }

  .grid.services,
  .grid.four,
  .grid.three,
  .grid.related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-header {
    grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  }

  .case-outcome {
    grid-column: 2;
  }

  .case-study-body {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  }
}

@media (min-width: 1081px) and (max-width: 1200px) {
  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.8rem;
  }

  .site-nav .nav-cta {
    margin-left: 4px;
  }
}

@media (max-width: 1080px) {
  .brand-row {
    min-height: 72px;
    justify-content: space-between;
    padding: 14px 0;
  }

  .brand img {
    width: 260px;
  }

  .brand {
    justify-content: flex-start;
    width: auto;
  }

  .nav-bar {
    background: transparent;
    border: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    width: auto;
    min-height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-transform: none;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content {
    padding: 44px 0 52px;
  }

  .hero .lead {
    font-size: 1.12rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading,
  .page-hero-inner,
  .split,
  .contact-layout,
  .case-study-header,
  .case-study-body,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .case-outcome {
    grid-column: auto;
  }

  .service-hero-inner {
    width: min(1180px, calc(100% - 40px));
  }

  .signal-list,
  .grid.services,
  .grid.two,
  .grid.four,
  .grid.three,
  .grid.related-services {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-content,
  .section-inner,
  .page-hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 250px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .system-map-visual {
    width: min(100%, 330px);
    height: 260px;
  }

  .system-map-visual::before {
    right: 40px;
    left: 40px;
  }

  .system-map-visual::after {
    top: 40px;
    bottom: 40px;
  }

  .system-node {
    width: 82px;
    height: 82px;
    border-width: 4px;
    font-size: 0.71rem;
  }

  .system-node-center {
    width: 112px;
    height: 112px;
    font-size: 0.8rem;
  }

  .process-step {
    gap: 12px;
  }

  .process-card {
    padding: 18px;
  }

  .process-feedback {
    margin-left: 60px;
  }

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

  .case-study-header,
  .case-study-body,
  .case-testimonial {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 205px;
  }
}
