:root {
  --navy: #062f5f;
  --navy-2: #083d73;
  --blue: #0b6aa6;
  --sky: #eaf6fb;
  --ice: #f7fbfd;
  --cyan: #18a8b7;
  --ink: #10243d;
  --text: #26384e;
  --muted: #657589;
  --line: #dbe8f0;
  --surface: #ffffff;
  --shadow: 0 14px 30px rgba(6, 47, 95, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: #04254d;
  overflow-x: hidden;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  background: var(--surface);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 0 max(24px, 4.8vw);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 142px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy small {
  color: #52677a;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 21px 0 18px;
}

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

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  color: white;
  background: #075bb0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(7, 91, 176, 0.18);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: white;
  font-weight: 800;
}

.section-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(360px, 1.07fr);
  min-height: 330px;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.contact-layout > *,
.image-cta-grid > *,
.card,
.steps li,
.tag-list span {
  min-width: 0;
}

.hero-grid > div:first-child {
  align-self: center;
  padding: 38px 42px 38px 0;
}

.hero-media {
  position: relative;
  min-height: 330px;
  margin: 0 calc((100vw - min(1120px, 92vw)) / -2) 0 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(6, 47, 95, 0.68) 22%, rgba(6, 47, 95, 0.04) 62%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.page-hero {
  color: white;
  background:
    linear-gradient(135deg, rgba(6, 47, 95, 0.94), rgba(9, 92, 146, 0.9)),
    radial-gradient(circle at 88% 20%, rgba(24, 168, 183, 0.34), transparent 32%);
}

.page-hero .section-inner {
  padding: 32px 0 26px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 690px;
  margin-bottom: 14px;
  color: inherit;
  font-size: 34px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.22;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
}

.hero .lead + .lead {
  margin-top: -6px;
}

.lead {
  max-width: 740px;
  color: inherit;
  font-size: 14px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #b8f6f3;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 18px rgba(11, 106, 166, 0.2);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.button.light {
  color: var(--navy);
  background: white;
}

.section {
  padding: 30px 0;
}

.section.compact {
  padding: 36px 0;
}

.section.alt,
.contact-section {
  background: var(--ice);
}

.icon-section {
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

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

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

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

.card {
  position: relative;
  min-height: 120px;
  padding: 18px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card::before {
  display: none;
}

.card.has-icon::before {
  display: none;
}

.card-icon,
.band-icon {
  display: inline-flex;
  overflow: visible;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  padding: 0;
  color: var(--navy);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.card-icon {
  flex: 0 0 auto;
}

.card-icon use,
.band-icon use {
  pointer-events: none;
}

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

.card ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.metrics {
  padding: 14px 0;
  background: #e6f3fa;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

.metrics-grid > div {
  min-height: 90px;
  padding: 18px;
  border-right: 1px solid #cce2ef;
}

.metrics-grid > div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.metrics span,
.muted {
  color: var(--muted);
}

.metric-icon {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--navy);
  border: 0;
  border-radius: 0;
  background: transparent;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--navy);
  background: white;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(6, 47, 95, 0.06);
}

.tag-icon {
  width: 28px;
  height: 28px;
  color: var(--navy);
  flex: 0 0 auto;
}

.cta-band,
.mission-band {
  padding: 24px 0;
  color: white;
  background: linear-gradient(90deg, #052b58, #064779);
}

.mission-band article {
  position: relative;
  min-height: 150px;
  padding-left: 70px;
}

.mission-band article::before {
  display: none;
}

.mission-band .band-icon {
  position: absolute;
  left: 12px;
  top: 4px;
  color: white;
  border-color: transparent;
  background: transparent;
}

.mission-band h2,
.cta-band h2 {
  color: white;
}

.mission-band p {
  color: rgba(255, 255, 255, 0.86);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 38px;
  align-items: center;
}

.city-panel {
  display: grid;
  min-height: 360px;
  align-content: end;
  gap: 12px;
  padding: 28px;
  color: white;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(6, 47, 95, 0.02), rgba(6, 47, 95, 0.72)),
    linear-gradient(135deg, #9bd4ec, #095082 58%, #052c58);
  box-shadow: var(--shadow);
}

.city-panel span {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-height: 120px;
  padding: 48px 8px 8px;
  color: var(--navy);
  text-align: center;
}

.steps li::before {
  display: none;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -22px;
  width: 24px;
  height: 2px;
  background: #9bc8dc;
}

.steps li:last-child::after {
  display: none;
}

.steps span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.step-icon {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 1;
  width: 36px;
  height: 36px;
  color: var(--navy);
  transform: translate(-50%, -50%);
}

.image-cta {
  padding: 0;
  color: white;
  background: linear-gradient(90deg, #052b58, #063b70 58%, #0a6091);
}

.image-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  min-height: 176px;
}

.image-cta-grid > div {
  padding: 26px 36px 26px 0;
}

.image-cta h2 {
  max-width: 620px;
  margin-bottom: 14px;
  color: white;
  font-size: 18px;
  line-height: 1.25;
}

.image-cta .button.primary {
  background: #0f7cbb;
}

.image-cta-grid img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 0;
}

.visual-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 20px 0 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ice);
}

.visual-intro img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.visual-intro p {
  margin: 0;
  color: var(--muted);
}

.image-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.image-story-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.image-story-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(360px, 1fr) minmax(260px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.contact-info,
.contact-form {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 10px 14px;
}

.contact-form label {
  display: grid;
  gap: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.required-note {
  display: none;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--sky);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cddde8;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  background: white;
}

textarea {
  resize: vertical;
}

.form-status {
  margin: 4px 0 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 12px;
  background: var(--ice);
}

.form-status.error {
  color: #8a1f11;
  border-color: #efc6bd;
  background: #fff4f1;
}

.form-status.demo {
  color: #095a43;
  border-color: #a9ddcd;
  background: #eefbf7;
}

.form-status.success {
  color: #095a43;
  border-color: #a9ddcd;
  background: #eefbf7;
}

.form-status.loading {
  color: var(--navy);
  border-color: #b6d5e7;
  background: #f2f9fd;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.field-error {
  margin: -8px 0 0;
  color: #8a1f11;
  font-size: 13px;
}

.field-error:empty {
  display: none;
}

.is-invalid {
  border-color: #d24b35;
  background: #fffafa;
}

.integration-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.is-hidden {
  display: none;
}

.contact-media {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 6px 0 0 6px;
  box-shadow: none;
}

.contact-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .section:first-of-type {
  text-align: center;
}

.home-page .hero h1 {
  max-width: 520px;
}

.home-page .card-grid.three {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-page .card {
  min-height: 146px;
  padding: 14px 10px;
  text-align: center;
}

.home-page .card-icon {
  width: 42px;
  height: 42px;
  margin-right: auto;
  margin-bottom: 13px;
  margin-left: auto;
}

.home-page .card h3 {
  font-size: 12px;
}

.home-page .card p {
  font-size: 12px;
  line-height: 1.35;
}

.home-page .region-metric {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  text-align: left;
}

.home-page .region-metric .metric-icon {
  width: 34px;
  height: 34px;
}

.home-page .region-metric strong {
  font-size: 13px;
  line-height: 1.32;
}

.home-page .region-metric span {
  grid-column: 2;
}

.home-page .tag-list {
  align-items: flex-start;
}

.home-page .tag-list span {
  flex-direction: column;
  min-width: 116px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-page .tag-icon {
  width: 30px;
  height: 30px;
}

.home-page .success-strip {
  display: none;
}

.about-page .page-hero {
  display: none;
}

.about-page main > .section:first-child {
  padding-top: 28px;
}

.story-media {
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page .mission-band .card-grid.two {
  margin-top: 0;
}

.about-page .section:last-of-type {
  text-align: center;
}

.about-page .section:last-of-type .card-grid.three {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-page .section:last-of-type .card {
  min-height: 190px;
  padding: 18px 12px;
  text-align: center;
}

.about-page .section:last-of-type .card-icon {
  width: 40px;
  height: 40px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
}

.products-page .page-hero,
.services-page .page-hero {
  color: var(--navy);
  background: white;
}

.products-page .page-hero .section-inner,
.services-page .page-hero .section-inner {
  padding: 24px 0 16px;
}

.products-page .page-hero h1,
.services-page .page-hero h1 {
  font-size: 30px;
}

.products-page .page-hero .eyebrow,
.services-page .page-hero .eyebrow {
  color: var(--blue);
}

.products-page .page-hero p,
.services-page .page-hero p {
  color: var(--text);
}

.products-page .card-grid.four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 26px;
}

.products-page .card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: center;
  min-height: 90px;
  padding: 11px 14px;
  box-shadow: 0 6px 20px rgba(6, 47, 95, 0.06);
}

.products-page .card::before {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  margin: 0;
}

.products-page .card.has-icon .card-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 12px;
}

.product-card::before {
  display: none;
}

.product-thumb {
  grid-row: 1 / span 2;
  width: 74px;
  height: 74px;
  object-fit: cover;
  object-position: center center;
  border: 3px solid #e5f3f8;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(6, 47, 95, 0.1);
}

.product-card:nth-child(3) .product-thumb,
.product-card:nth-child(5) .product-thumb,
.product-card:nth-child(7) .product-thumb {
  object-position: center 46%;
}

.products-page .section.alt {
  background: white;
}

.products-page .image-cta-grid {
  min-height: 170px;
}

.products-page .image-cta-grid img {
  height: 170px;
}

.services-page .page-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.services-page .page-hero h1 {
  margin-right: auto;
  margin-left: auto;
}

.services-page main > .section {
  padding-top: 24px;
}

.services-page main {
  display: flex;
  flex-direction: column;
}

.services-page .card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  column-gap: 0;
  row-gap: 4px;
  min-height: 112px;
  padding: 16px;
}

.services-page .card::before {
  grid-row: 1 / span 2;
  margin: 0;
}

.services-page .card.has-icon .card-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
}

.services-page .card h3,
.services-page .card p,
.services-page .card ul {
  grid-column: 2;
}

.services-page .card h3 {
  margin: 0 0 4px;
}

.services-page .card p {
  margin: 0;
}

.services-page .card ul {
  margin-top: 6px;
}

.services-page .cta-band {
  margin-top: auto;
  padding: 16px 0;
  text-align: center;
}

.services-page .cta-band .split {
  display: block;
}

.services-page .cta-band .button {
  display: none;
}

.contact-page .contact-section {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: 20px 0 0;
  background: linear-gradient(90deg, #f7fbfd 0%, #f7fbfd 58%, #e6f3fa 58%, #e6f3fa 100%);
}

.contact-page main {
  display: flex;
  background: linear-gradient(90deg, #f7fbfd 0%, #f7fbfd 58%, #e6f3fa 58%, #e6f3fa 100%);
}

.contact-page .contact-section > .section-inner {
  flex: 0 1 min(1360px, calc(100vw - 48px));
  width: min(1360px, calc(100vw - 48px));
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(760px, 1.45fr) minmax(390px, 0.75fr);
  align-items: stretch;
  gap: 14px;
  min-height: 100%;
}

.contact-panel {
  padding: 0 0 20px;
}

.contact-panel h1 {
  max-width: 560px;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 24px;
}

.contact-panel .lead {
  max-width: 720px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 12px;
}

.contact-page .contact-grid {
  grid-template-columns: minmax(270px, 0.72fr) minmax(500px, 1.28fr);
  gap: 12px;
}

.contact-page .contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 7px 12px;
}

.contact-page .form-title,
.contact-page .contact-form .message-field,
.contact-page .contact-form .interest-group,
.contact-page .contact-form .field-error,
.contact-page .contact-form button,
.contact-page .form-status,
.contact-page .integration-note {
  grid-column: 1 / -1;
}

.contact-page .contact-form textarea {
  min-height: 62px;
}

.contact-page .form-title {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.2;
}

.contact-page .contact-info,
.contact-page .contact-form {
  padding: 16px;
  box-shadow: 0 10px 24px rgba(6, 47, 95, 0.08);
}

.contact-page .contact-info h2 {
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-page .contact-info p {
  margin-bottom: 10px;
  font-size: 12px;
}

.contact-page .contact-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-page .contact-line svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--blue);
}

.contact-page .coverage-title {
  margin: 18px 0 8px;
}

.contact-page .coverage-line {
  margin-bottom: 0;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  padding: 6px 9px;
  font-size: 12px;
}

.contact-page .button {
  min-height: 32px;
}

.interest-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.interest-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.interest-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.interest-group input {
  width: 13px;
  height: 13px;
  padding: 0;
}

.success-page .success-hero {
  color: var(--navy);
  background:
    linear-gradient(90deg, #f7fbff 0%, rgba(247,251,255,0.98) 34%, rgba(247,251,255,0.72) 50%, rgba(247,251,255,0.08) 76%),
    url("../images/sourcing-lab.png") right center / auto 100% no-repeat,
    #eef7fc;
}

.success-page .success-hero p {
  color: var(--text);
}

.success-page .success-hero .section-inner {
  min-height: 330px;
  padding-top: 60px;
}

.success-page .success-hero .eyebrow {
  color: #0b5fbd;
}

.success-page .success-hero h1 {
  max-width: 460px;
  font-size: 42px;
  line-height: 1.1;
}

.success-page .success-hero .lead {
  max-width: 460px;
  color: #3c4f65;
  font-size: 14px;
}

.success-page .metrics {
  padding: 0;
  background: white;
  border-bottom: 1px solid #e4edf5;
  box-shadow: 0 4px 16px rgba(6, 47, 95, 0.04);
}

.success-page .metrics-grid > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 16px;
  min-height: 102px;
  padding: 22px 30px;
  text-align: left;
  border-right-color: #e3edf5;
}

.success-page .metrics strong {
  font-size: 32px;
}

.success-page .metrics-grid > div:last-child strong {
  font-size: 14px;
  line-height: 1.35;
}

.success-page main > .section {
  background: #f8fbff;
}

.success-page main > .section h2 {
  margin-bottom: 22px;
  font-size: 28px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.case-grid.extended {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px 34px;
  margin-top: 0;
}

.case-grid.extended .case-card {
  grid-column: span 4;
}

.case-grid.extended .case-card-wide {
  grid-column: span 6;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(6, 47, 95, 0.08);
}

.case-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.case-card-wide {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.case-card-wide img {
  height: 170px;
  min-height: 0;
}

.case-body {
  padding: 32px 28px 26px;
}

.case-badge {
  position: absolute;
  top: 135px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  border: 3px solid white;
  border-radius: 50%;
  background: #0b64c8;
  box-shadow: 0 8px 18px rgba(11, 100, 200, 0.22);
}

.case-badge svg {
  width: 24px;
  height: 24px;
}

.case-card-wide .case-badge {
  top: 147px;
  left: 28px;
}

.case-label {
  margin-bottom: 10px;
  color: #0b64c8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-body h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.17;
}

.case-body h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 18px 0 5px;
  color: #0b64c8;
  font-size: 12px;
  line-height: 1.2;
}

.detail-icon {
  width: 14px;
  height: 14px;
  color: #0b64c8;
  flex: 0 0 auto;
}

.case-body p,
.case-body li {
  color: #26384e;
  font-size: 12px;
  line-height: 1.42;
}

.case-body ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.success-page .cta-band {
  padding: 0 0 34px;
  color: white;
  background: #f8fbff;
}

.success-page .cta-band .split {
  gap: 34px;
  min-height: 112px;
  padding: 28px 52px;
  border-radius: 8px;
  background: linear-gradient(90deg, #063a75, #075bb0);
}

.success-page .cta-band h2 {
  max-width: 330px;
  margin-bottom: 0;
  font-size: 24px;
}

.success-page .cta-band p {
  max-width: 460px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.9);
}

.success-page .cta-band .button {
  justify-self: end;
  min-width: 210px;
  color: var(--navy);
}

.site-footer {
  flex-shrink: 0;
  padding: 16px 0;
  color: white;
  background: #04254d;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 580px;
}

.footer-brand img {
  width: 82px;
  height: 52px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .site-header {
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .site-nav {
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

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

  .case-grid.extended {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
  }

  .case-grid.extended .case-card {
    grid-column: span 4;
  }

  .case-grid.extended .case-card-wide {
    grid-column: span 6;
  }

  .case-card-wide {
    display: grid;
    grid-template-columns: minmax(190px, 0.92fr) minmax(0, 1.08fr);
  }

  .case-card-wide img {
    height: 170px;
    min-height: 0;
  }

  .case-card-wide .case-badge {
    top: 147px;
    left: 28px;
  }

  .home-page .card-grid.three,
  .about-page .section:last-of-type .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-section > .section-inner {
    flex-basis: min(100% - 48px, 760px);
    width: min(100% - 48px, 760px);
  }

  .contact-media {
    grid-column: 1 / -1;
    height: 260px;
  }

  .contact-media img {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    min-height: 64px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle {
    position: absolute;
    top: 12px;
    right: auto;
    left: min(310px, calc(100% - 74px));
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 4vw;
    left: 4vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid,
  .split,
  .image-cta-grid,
  .contact-layout,
  .contact-grid,
  .visual-intro,
  .image-story-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .hero-grid > div:first-child {
    width: 100%;
    padding: 50px 0 34px;
  }

  .hero h1,
  .page-hero h1,
  .hero p,
  .page-hero p,
  .contact-info p,
  .card p {
    max-width: 100%;
    word-break: break-word;
  }

  .hero-media {
    min-height: 300px;
    margin: 0;
    border-radius: 6px 6px 0 0;
  }

  .hero-media img {
    width: 100%;
    min-height: 300px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(6, 47, 95, 0.02), rgba(6, 47, 95, 0.42));
  }

  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .home-page .card-grid.three,
  .about-page .section:last-of-type .card-grid.three,
  .products-page .card-grid.four,
  .case-grid.extended,
  .metrics-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .products-page .card,
  .services-page .card {
    grid-template-columns: 1fr;
  }

  .case-grid.extended .case-card,
  .case-grid.extended .case-card-wide,
  .case-card-wide {
    grid-column: auto;
  }

  .case-card-wide {
    display: block;
  }

  .products-page .card::before,
  .services-page .card::before {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .products-page .card.has-icon .card-icon,
  .services-page .card.has-icon .card-icon {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .services-page .card h3,
  .services-page .card p,
  .services-page .card ul {
    grid-column: auto;
  }

  .contact-page .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid > div {
    border-right: 0;
    border-bottom: 1px solid #cce2ef;
  }

  .metrics-grid > div:last-child {
    border-bottom: 0;
  }

  .steps li::after {
    display: none;
  }

  .image-cta-grid > div {
    padding: 34px 0;
  }

  .image-cta-grid img,
  .contact-media,
  .visual-intro img,
  .image-story-grid img,
  .case-card img {
    height: 240px;
  }

  .case-badge,
  .case-card-wide .case-badge {
    top: 214px;
    left: 24px;
  }

  .success-page .success-hero {
    background:
      linear-gradient(90deg, #f7fbff 0%, rgba(247,251,255,0.96) 68%, rgba(247,251,255,0.4)),
      url("../images/sourcing-lab.png") right center / auto 100% no-repeat,
      #eef7fc;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: min(100% - 28px, 300px);
  }

  .contact-page .contact-section > .section-inner {
    flex-basis: min(100% - 28px, 300px);
    width: min(100% - 28px, 300px);
  }

  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    min-width: 124px;
  }

  .brand img {
    width: 26px;
    height: 26px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 6.5px;
    letter-spacing: 2.5px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .hero-grid > div:first-child,
  .page-hero .section-inner,
  .contact-info,
  .contact-form,
  .card {
    max-width: 300px;
  }

  .hero-media,
  .image-cta-grid img,
  .visual-intro,
  .visual-intro img,
  .image-story-grid figure,
  .case-card,
  .contact-media {
    max-width: 300px;
  }

  .section {
    padding: 50px 0;
  }

  .card,
  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .footer-grid,
  .footer-grid nav {
    flex-direction: column;
  }

  .footer-brand {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .footer-brand img {
    width: 70px;
    height: 46px;
  }
}
