:root {
  --ink: #263236;
  --muted: #687175;
  --paper: #f6f8f8;
  --surface: #ffffff;
  --line: #d8e0e2;
  --teal: #287986;
  --teal-deep: #155a64;
  --teal-dark: #0d3f47;
  --charcoal: #5f6367;
  --accent: #c48d33;
  --baroid-red: #d70000;
  --baroid-dark: #211f20;
  --baroid-deep: #111213;
  --sand: #f2eee7;
  --sky: #e3eff2;
  --shadow: 0 24px 60px rgba(38, 50, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 6vw, 86px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(13, 63, 71, 0.95);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled {
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 238px;
  height: 64px;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.brand img {
  width: 238px;
  height: 64px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 10px 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 112px 0 42px;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 41, 47, 0.94) 0%, rgba(16, 78, 88, 0.68) 38%, rgba(7, 41, 47, 0.12) 78%),
    linear-gradient(0deg, rgba(7, 41, 47, 0.52), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5.7vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
}

.button.primary {
  background: var(--accent);
  color: #111714;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 790px;
}

.hero-stats span {
  min-width: 160px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

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

.intro-band {
  background: var(--teal-deep);
  color: #ffffff;
}

.expertise-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.expertise-strip span {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: var(--teal-deep);
  font-weight: 800;
}

.expertise-strip span:first-child {
  padding-left: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/africa.png") center / min(620px, 62vw) auto no-repeat;
  filter: grayscale(1);
  opacity: 0.14;
  pointer-events: none;
}

.about-section .section-inner {
  position: relative;
  z-index: 1;
}

.prose {
  color: var(--muted);
  font-size: 1.05rem;
}

.value-grid,
.values-grid,
.service-grid,
.application-grid,
.leader-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 56px;
}

.value-grid article,
.values-grid article,
.service-card,
.application-grid article,
.coverage-panel,
.leader-grid article,
.contact-card,
.process-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.value-grid article {
  padding: clamp(24px, 4vw, 40px);
}

.value-grid p,
.values-grid p,
.service-card p,
.leader-grid p,
.coverage-panel p {
  color: var(--muted);
}

.values-section {
  background: var(--sky);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.values-grid {
  grid-template-columns: repeat(5, 1fr);
}

.values-grid article {
  padding: 24px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.service-card {
  min-height: 430px;
  padding: 26px;
}

.service-card.wide {
  grid-column: span 2;
  min-height: 260px;
  background: var(--teal-deep);
  color: #ffffff;
}

.service-card.wide p {
  color: rgba(255, 255, 255, 0.78);
}

.service-image {
  grid-column: span 2;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-number {
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.service-card h4 {
  margin: 22px 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

ul,
ol {
  margin: 0;
  padding-left: 18px;
}

li + li {
  margin-top: 7px;
}

.baroid-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 0, 0, 0.28), transparent 34%),
    linear-gradient(135deg, var(--baroid-deep) 0%, var(--baroid-dark) 54%, #3b0808 100%);
  color: #ffffff;
}

.baroid-section::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: min(520px, 70vw);
  aspect-ratio: 1;
  border: 36px solid rgba(215, 0, 0, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.baroid-section .section-inner {
  position: relative;
  z-index: 1;
}

.baroid-section p,
.baroid-section li {
  color: rgba(255, 255, 255, 0.78);
}

.baroid-section .eyebrow {
  color: #ffdfdf;
}

.baroid-logo-card {
  width: min(210px, 48vw);
  margin-bottom: 26px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.baroid-logo-card img {
  width: 100%;
  height: auto;
}

.process-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.36);
}

.process-panel ol {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.process-panel li {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-left: 4px solid var(--baroid-red);
  background: #ffffff;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
}

.application-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}

.application-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: 38px;
  align-items: start;
}

.industries-section {
  position: relative;
  isolation: isolate;
  background: url("assets/metals.jpg") center 48% / cover no-repeat;
}

.industries-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(238, 247, 246, 0.76);
  pointer-events: none;
}

.industries-section .section-inner {
  position: relative;
  z-index: 1;
}

.pill-grid,
.pill-row,
.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-grid {
  margin-top: 28px;
}

.pill-grid span,
.pill-row span,
.country-list span {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 10px 13px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.coverage-panel {
  padding: 30px;
}

.country-list {
  margin-top: 22px;
}

.partnerships-section {
  background: var(--sand);
}

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

.leader-grid article {
  padding: 26px;
}

.leader-grid span {
  display: block;
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--teal);
  font-weight: 800;
}

.contact-section {
  padding: clamp(76px, 9vw, 124px) 0;
  background: var(--teal-deep);
  color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 40px;
  align-items: center;
}

.contact-layout p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.contact-card {
  padding: 30px;
  background: #ffffff;
  color: var(--ink);
}

.contact-card a {
  display: block;
  margin-top: 12px;
  color: var(--teal-deep);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #082f35;
  color: rgba(255, 255, 255, 0.74);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner span:first-child {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .expertise-strip,
  .values-grid,
  .leader-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card.wide,
  .service-image {
    grid-column: span 1;
  }
}

@media (min-width: 821px) and (max-height: 760px) {
  .hero {
    min-height: 760px;
    align-items: flex-start;
  }

  .hero-content {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--teal-dark);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .site-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    border: 0;
  }

  .hero {
    min-height: 860px;
    align-items: flex-end;
    padding: 112px 0 0;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(7, 41, 47, 0.96) 0%, rgba(16, 78, 88, 0.78) 54%, rgba(7, 41, 47, 0.15) 100%),
      linear-gradient(90deg, rgba(7, 41, 47, 0.74), transparent 75%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 0 0 34px;
  }

  .split,
  .value-grid,
  .application-grid,
  .coverage-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-section::before {
    background-size: min(390px, 88vw) auto;
    background-position: center top 70px;
    opacity: 0.1;
  }

  .service-card.wide,
  .service-image {
    min-height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 182px;
    height: 50px;
  }

  .brand img {
    width: 182px;
    height: 50px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .expertise-strip,
  .values-grid,
  .service-grid,
  .leader-grid {
    grid-template-columns: 1fr;
  }

  .expertise-strip span {
    min-height: 64px;
  }

  .expertise-strip span:first-child {
    padding-left: 18px;
  }

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

  .service-image {
    grid-column: auto;
    min-height: 260px;
  }
}
