@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #131d26;
  --dark-2: #0d141b;
  --blue: #182b54;
  --cyan: #46aee3;
  --green: #40b659;
  --grey: #dfdfe4;
  --grey-soft: #f5f7fa;
  --text: #17212b;
  --muted: #425166;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(19, 29, 38, 0.16);
  --shadow-soft: 0 14px 36px rgba(19, 29, 38, 0.1);
  --radius: 8px;
  --shell: 1300px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--dark);
  border-radius: 6px;
  transition: top 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9999;
  background: #131C26;
  border-bottom: 1px solid rgba(223, 223, 228, 0.16);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.nav-shell {
  min-height: 102px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand-link img {
  width: 276px;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.button-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(19, 29, 38, 0.22);
}

.nav-cta {
  background: var(--green);
  color: var(--white);
  white-space: nowrap;
}

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

.button-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(19, 29, 38, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 150px 0 92px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 20, 27, 0.84), rgba(19, 29, 38, 0.64) 48%, rgba(19, 29, 38, 0.74)),
    linear-gradient(180deg, rgba(19, 29, 38, 0.1), rgba(19, 29, 38, 0.92));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 65px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  max-width: 890px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 18px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.section {
  padding: 104px 0;
}

.section-light {
  background: var(--white);
}

.section-muted {
  background:
    linear-gradient(180deg, #f8fafc 0%, #eef4f8 100%);
}

.section-dark {
  background:
    linear-gradient(135deg, var(--dark-2) 0%, var(--blue) 100%);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2,
.clients-section h2,
.about-copy h2,
.cta-copy h2 {
  margin: 0;
  color: var(--blue);
  font-size: 40px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.section-heading-dark h2,
.section-heading-dark p {
  color: var(--white);
}

.section-heading-dark p {
  opacity: 0.92;
}

.service-grid {
  display: grid;
  gap: 24px;
}

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

.service-grid-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 28px auto 0;
}

.service-card,
.project-card,
.testimonial-card,
.contact-form,
.contact-info {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.service-card,
.project-card,
.testimonial-card {
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.project-card:hover,
.testimonial-card:hover {
  transform: translateY(-7px) rotateX(1deg);
  border-color: rgba(70, 174, 227, 0.32);
  box-shadow: var(--shadow);
}

.service-card img,
.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card div,
.project-card div {
  padding: 24px;
}

.service-card h3,
.project-card h2,
.testimonial-card h3,
.contact-info h3 {
  margin: 0;
  color: var(--dark);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0;
}

.service-card p,
.project-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.service-card a,
.project-card a {
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(70, 174, 227, 0.65);
  text-underline-offset: 4px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(70, 174, 227, 0.28);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
  padding: 28px;
}

.testimonial-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

.testimonial-card h3 {
  color: var(--white);
}

.testimonial-card span {
  display: block;
  margin-top: 5px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 600;
}

.about-grid,
.cta-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media img,
.cta-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.about-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.clients-section {
  padding: 78px 0 96px;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.client-marquee {
  position: relative;
  width: 100%;
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 60px;
  animation: client-scroll 18s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-track img {
  flex: 0 0 auto;
  width: clamp(128px, 12vw, 190px);
  height: 82px;
  object-fit: contain;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 12px 18px rgba(19, 29, 38, 0.12));
}

@keyframes client-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 30px));
  }
}

.cta-section {
  padding: 76px 0;
  background:
    linear-gradient(135deg, rgba(19, 29, 38, 0.94), rgba(24, 43, 84, 0.9)),
    var(--dark);
  color: var(--white);
}

.cta-copy h2,
.cta-copy p {
  color: var(--white);
}

.cta-copy p {
  margin: 18px 0 28px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 500;
}

.cta-media img {
  max-height: 420px;
}

.contact-section {
  background: var(--grey-soft);
}

.contact-grid {
  align-items: start;
}

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

.contact-form h2,
.contact-info h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 29, 38, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  padding: 13px 14px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(70, 174, 227, 0.14);
}

.contact-info {
  display: grid;
  gap: 22px;
}

.contact-info h3 {
  font-size: 16px;
}

.contact-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.contact-info a {
  color: var(--dark);
}

.contact-method {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 14px 26px rgba(19, 29, 38, 0.18);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon-email {
  background: linear-gradient(135deg, var(--cyan), #1789c8);
}

.contact-icon-call {
  background: linear-gradient(135deg, var(--green), #258f40);
}

.contact-icon-location {
  background: linear-gradient(135deg, var(--blue), #315a99);
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding: 150px 0 82px;
}

.page-hero-bg,
.page-hero-shade {
  position: absolute;
  inset: 0;
}

.page-hero-bg {
  background-image: url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.page-hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 20, 27, 0.88), rgba(24, 43, 84, 0.68)),
    linear-gradient(180deg, rgba(19, 29, 38, 0.18), rgba(19, 29, 38, 0.9));
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: 54px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 880px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.93);
  font-size: 18px;
  font-weight: 500;
}

.about-page .page-hero h1 {
  font-size: 48px;
  line-height: 1.08;
}

.about-page .page-hero h1 span {
  color: var(--green);
}

.about-page .page-hero p {
  color: rgba(255, 255, 255, 0.98);
  font-size: 17px;
}

.about-page .about-copy h2,
.about-page .image-copy-card h2,
.about-page .booking-card h2 {
  color: var(--cyan);
  font-size: 34px;
  line-height: 1.14;
}

.about-page .founder-copy h2 {
  color: var(--green);
  font-size: 42px;
  line-height: 1.14;
}

.about-page .role-label {
  color: var(--cyan);
  font-size: 32px;
  line-height: 1.14;
  font-weight: 700;
}

.about-page .about-copy p,
.about-page .founder-copy p:not(.role-label),
.about-page .image-copy-card p {
  color: #101a27;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.founder-copy {
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.founder-copy h2,
.image-copy-card h2,
.booking-card h2 {
  margin: 0;
  color: var(--blue);
  font-size: 36px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0;
}

.role-label {
  margin: 6px 0 22px;
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
}

.founder-copy p:not(.role-label),
.image-copy-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
}

.founder-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.image-copy-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.image-copy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.image-copy-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.image-copy-card div {
  padding: 30px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}

.contact-form select {
  width: 100%;
  border: 1px solid rgba(19, 29, 38, 0.14);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  padding: 13px 14px;
  outline: none;
}

.contact-form select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(70, 174, 227, 0.14);
}

.booking-card {
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.booking-card h2 {
  margin-bottom: 24px;
}

.calendly-inline-widget {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.source-large-hero {
  min-height: 58vh;
}

.source-large-hero .page-hero-bg,
.source-compact-hero .page-hero-bg {
  opacity: 0.2;
}

.source-large-hero .page-hero-shade,
.source-compact-hero .page-hero-shade {
  background: linear-gradient(180deg, rgba(19, 28, 38, 0.92), rgba(19, 28, 38, 0.94));
}

.source-large-hero .page-hero h1,
.source-large-hero h1,
.source-compact-hero h1 {
  color: var(--white);
  font-size: 65px;
  line-height: 1;
  font-weight: 600;
}

.source-compact-hero {
  min-height: 34vh;
  padding: 136px 0 70px;
}

.service-scroll-layout {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.service-anchor-list {
  position: sticky;
  top: 122px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: start;
}

.service-anchor-list a {
  display: grid;
  min-height: 86px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #40b659, #258f40);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  font-size: 16px;
  line-height: 1.28;
  font-weight: 700;
  text-align: left;
  box-shadow:
    0 18px 34px rgba(64, 182, 89, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-anchor-list a:hover,
.service-anchor-list a:focus-visible,
.service-anchor-list a.is-active {
  transform: translateY(-2px);
  border-color: rgba(70, 174, 227, 0.7);
  background: linear-gradient(135deg, #258f40, #40b659);
  box-shadow:
    0 22px 42px rgba(64, 182, 89, 0.28),
    0 0 0 3px rgba(70, 174, 227, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.service-detail-grid {
  display: grid;
  gap: 24px;
}

.service-detail-card,
.portfolio-card,
.resource-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.service-detail-card {
  padding: 34px;
  scroll-margin-top: 130px;
}

.service-detail-card h2,
.why-copy h2 {
  margin: 0 0 18px;
  color: #000000;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}

.service-detail-card p,
.source-intro p,
.why-copy li {
  color: #101a27;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.74;
}

.service-detail-card p {
  margin: 14px 0 0;
}

.service-detail-card ul,
.why-copy ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail-card li,
.why-copy li {
  position: relative;
  padding-left: 28px;
}

.service-detail-card li::before,
.why-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(64, 182, 89, 0.14);
}

.source-heading h2 {
  color: #000000;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.industry-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 196px;
  place-items: center;
  border-radius: var(--radius);
  background-image: var(--industry-bg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 186, 168, 0.5);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 28, 38, 0.1), rgba(19, 28, 38, 0.38));
}

.industry-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--white);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.industry-mining {
  --industry-bg: url("/assets/img/industry-mining.png");
}

.industry-manufacturing {
  --industry-bg: url("/assets/img/industry-manufacturing.png");
}

.industry-oil-gas {
  --industry-bg: url("/assets/img/industry-oil-gas.png");
}

.industry-rail {
  --industry-bg: url("/assets/img/industry-rail.png");
}

.industry-refineries {
  --industry-bg: url("/assets/img/industry-refineries.png");
}

.industry-smelters {
  --industry-bg: url("/assets/img/industry-smelters.png");
}

.why-grid {
  max-width: 1160px;
}

.why-copy {
  text-align: center;
}

.why-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.why-point {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: center;
  min-height: 238px;
  padding: 26px 20px 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 250, 0.98));
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow:
    0 22px 42px rgba(19, 29, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform-style: preserve-3d;
}

.why-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, #40b659, #258f40);
  box-shadow:
    0 18px 30px rgba(64, 182, 89, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.why-icon-blue {
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow:
    0 18px 30px rgba(70, 174, 227, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.why-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-point p {
  margin: 0;
  color: #101a27;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.source-intro {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.source-intro p {
  margin: 0;
  color: #101a27;
  font-size: 18px;
}

.portfolio-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card,
.resource-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.portfolio-card:hover,
.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(70, 174, 227, 0.3);
  box-shadow: var(--shadow);
}

.portfolio-card img,
.resource-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-card div,
.resource-card div {
  padding: 24px;
}

.portfolio-card h2,
.resource-card h2 {
  margin: 0;
  color: #000000;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 600;
}

.resource-card h2 {
  color: #54595f;
  font-size: 21px;
  line-height: 1.2;
}

.portfolio-card p {
  margin: 13px 0 18px;
  color: #101a27;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
}

.portfolio-card a,
.resource-card .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  margin-top: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #258f40);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 16px 28px rgba(64, 182, 89, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.portfolio-card a:hover,
.portfolio-card a:focus-visible,
.resource-card .read-more:hover,
.resource-card .read-more:focus-visible {
  transform: translateY(-2px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--dark));
  box-shadow:
    0 20px 36px rgba(19, 29, 38, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.source-project-hero {
  min-height: 498px;
  padding: 150px 0 80px;
}

.source-project-hero .page-hero-bg {
  background-image: none;
  background-color: #131c26;
  opacity: 1;
}

.source-project-hero.project-hero-with-image .page-hero-bg {
  background-image: var(--project-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.source-project-hero .page-hero-shade {
  background:
    linear-gradient(180deg, rgba(19, 28, 38, 0.68), rgba(19, 28, 38, 0.82)),
    linear-gradient(90deg, rgba(19, 28, 38, 0.84), rgba(19, 28, 38, 0.48));
}

.source-project-hero h1 {
  max-width: 1188px;
  margin: 0 auto;
  color: var(--project-title-color, var(--cyan));
  font-size: 65px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.project-detail-section {
  background: #f6f8fb;
}

.source-project-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(19, 29, 38, 0.08);
  box-shadow: var(--shadow-soft);
}

.source-project-content h2 {
  margin: 46px 0 18px;
  color: var(--green);
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}

.source-project-content h2:first-child {
  margin-top: 0;
}

.source-project-content h3,
.source-project-content h4 {
  margin: 30px 0 14px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.2;
}

.source-project-content h3 {
  font-size: 26px;
}

.source-project-content h4 {
  font-size: 19px;
}

.source-project-content p,
.source-project-content li,
.source-project-content td {
  color: #2d3748;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.76;
}

.source-project-content p {
  margin: 0 0 16px;
}

.source-project-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.resource-detail-page .source-project-hero {
  min-height: 500px;
}

.resource-detail-page .source-project-hero .page-hero-shade {
  background:
    linear-gradient(180deg, rgba(19, 28, 38, 0.7), rgba(19, 28, 38, 0.82)),
    linear-gradient(90deg, rgba(19, 28, 38, 0.82), rgba(19, 28, 38, 0.44));
}

.source-resource-content {
  max-width: 1440px;
  padding-inline: 40px;
}

.source-resource-content img {
  display: block;
  width: min(100%, 1024px);
  max-width: 100%;
  height: auto;
  margin: 28px auto 34px;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(19, 29, 38, 0.14);
}

.source-resource-content img[src*="resource-detail-equipment-hierarchy"] {
  width: min(100%, 1360px);
}

.source-resource-content h2 {
  color: #40B659;
  font-size: 35px;
  line-height: 1;
  margin: 36px 0 18px;
}

.source-resource-content h3,
.source-resource-content h4,
.source-resource-content h5,
.source-resource-content h6 {
  color: #64748b;
  font-weight: 500;
}

.source-resource-content h3 {
  font-size: 28px;
  line-height: 1.2;
}

.source-resource-content h4 {
  font-size: 24px;
  line-height: 1.2;
  margin: 20px 0 14px;
}

.source-resource-content h5 {
  display: block;
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.28;
}

.source-resource-content p,
.source-resource-content li,
.source-resource-content td {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.source-resource-content p {
  margin: 0 0 15px;
}

.source-resource-content p:has(span[style*="font-style: italic"]):last-of-type {
  margin-top: 34px;
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 600;
}

.source-resource-content p:has(span[style*="font-style: italic"]):last-of-type span {
  font-size: inherit !important;
  font-weight: 600 !important;
}

.source-resource-content hr {
  height: 1px;
  margin: 30px 0;
  border: 0;
  background: #e2e8f0;
}

.source-resource-content .article-back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--blue);
  text-decoration: none;
}

.source-resource-content .article-back-link:hover,
.source-resource-content .article-back-link:focus-visible {
  color: var(--green);
}

.source-resource-content ul,
.source-resource-content ol {
  display: block;
  margin: 14px 0 24px;
  padding-left: 40px;
  list-style-position: outside;
}

.source-resource-content ul {
  list-style-type: disc;
}

.source-resource-content ol {
  list-style-type: decimal;
}

.source-resource-content ul > li,
.source-resource-content ol > li {
  padding-left: 0;
}

.source-resource-content ul > li::before,
.source-resource-content ol > li::before {
  content: none;
  display: none;
}

.project-check-list,
.source-project-content ul,
.source-project-content ol {
  display: grid;
  gap: 11px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

.project-check-list li,
.source-project-content ul > li,
.source-project-content ol > li {
  position: relative;
  padding-left: 30px;
}

.project-check-list li::before,
.source-project-content ul > li::before,
.source-project-content ol > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(64, 182, 89, 0.13);
}

.source-project-content.source-resource-content ul,
.source-project-content.source-resource-content ol {
  display: block;
  margin: 14px 0 24px;
  padding-left: 40px;
  list-style-position: outside;
}

.source-project-content.source-resource-content ul {
  list-style-type: disc;
}

.source-project-content.source-resource-content ol {
  list-style-type: decimal;
}

.source-project-content.source-resource-content ul > li,
.source-project-content.source-resource-content ol > li {
  padding-left: 0;
}

.source-project-content.source-resource-content ul > li::before,
.source-project-content.source-resource-content ol > li::before {
  content: none;
  display: none;
}

.source-html-block {
  overflow-x: auto;
}

.source-html-block table,
.sam-compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.sam-project {
  color: #2d3748;
}

.sam-project .sam-pills,
.sam-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.sam-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--blue);
  background: #f4f8fb;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 700;
}

.sam-scope-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 22px;
}

.sam-scope-card {
  flex: 1 1 150px;
  padding: 16px 14px;
  border-radius: 6px;
  background: #f4f8fb;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--cyan);
  text-align: center;
}

.sam-scope-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 15px;
}

.sam-stats {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: var(--white);
}

.sam-stat {
  flex: 1 1 150px;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}

.sam-stat:last-child {
  border-right: none;
}

.sam-stat-num {
  color: var(--green);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.sam-stat-label {
  margin-top: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sam-method {
  margin: 24px 0 16px;
}

.sam-method-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.sam-method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(19, 29, 38, 0.06);
}

.sam-method-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.sam-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}

.sam-step-icon {
  display: none;
}

.sam-step-title {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.sam-step-body {
  margin-top: 8px;
  color: #4a5568;
  font-size: 13px;
  line-height: 1.55;
}

.sam-method-caption {
  margin: 16px 0 0;
  color: #6b7a99;
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.sam-compare-wrap {
  margin: 22px 0 12px;
  overflow-x: auto;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.sam-compare thead th {
  padding: 16px 18px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  background: #f4f8fb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.sam-compare thead th:nth-child(3) {
  color: var(--cyan);
  background: var(--blue);
}

.sam-compare tbody td {
  padding: 14px 18px;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #cbd5e0;
  vertical-align: middle;
}

.sam-compare tbody td:first-child {
  color: var(--blue);
  background: #fafbfc;
  font-size: 13px;
  font-weight: 700;
}

.sam-compare tbody td:last-child {
  border-right: none;
}

.gain,
.sam-compare .gain {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--white);
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.sam-feedback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0 12px;
}

.sam-chart-box,
.sam-score-list {
  padding: 18px;
  border-radius: var(--radius);
  background: #fafbfc;
  border: 1px solid #e2e8f0;
}

.sam-chart-title {
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.sam-chart-sub {
  margin-bottom: 12px;
  color: #6b7a99;
  font-size: 12px;
}

.sam-chart-canvas-wrap {
  display: grid;
  min-height: 180px;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(70, 174, 227, 0.08), rgba(64, 182, 89, 0.12)),
    #ffffff;
}

.sam-chart-canvas-wrap::after {
  content: "All 11 dimensions rated 5.0 / 5.0";
  max-width: 260px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
}

.sam-score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.sam-score-row:last-child {
  border-bottom: none;
}

.score {
  color: var(--green);
  font-weight: 800;
}

.sam-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 12px;
}

.sam-testimonial {
  padding: 24px 26px;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #f4f8fb;
}

.sam-testimonial.alt {
  border-left-color: var(--cyan);
}

.sam-testimonial-label {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sam-testimonial.alt .sam-testimonial-label {
  color: var(--cyan);
}

.sam-testimonial-body {
  color: #2d3748;
  font-size: 15px;
  font-style: italic;
  line-height: 1.8;
}

.sam-testimonial-attr {
  margin-top: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0;
}

.footer-brand img {
  width: 340px;
  max-height: 96px;
  object-fit: contain;
}

.footer-brand p {
  margin: 20px 0 0;
  max-width: 330px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.72;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 500;
}

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

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 12px 0 18px;
  }

  .site-nav.is-open a {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .service-grid-top,
  .project-grid,
  .testimonial-grid,
  .portfolio-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-scroll-layout {
    grid-template-columns: 1fr;
  }

  .service-anchor-list {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 28px;
  }

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

  .sam-method-track,
  .sam-testimonial-grid,
  .sam-feedback {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    align-items: stretch;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand-link img {
    width: 157px;
    max-height: 42px;
  }

  .hero {
    min-height: 72vh;
    padding: 122px 0 70px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .hero p,
  .section-heading p,
  .cta-copy p {
    font-size: 15px;
  }

  .hero-actions {
    gap: 12px;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .clients-section h2,
  .about-copy h2,
  .cta-copy h2 {
    font-size: 30px;
  }

  .service-grid-top,
  .service-grid-bottom,
  .project-grid,
  .testimonial-grid,
  .service-anchor-list,
  .service-scroll-layout,
  .industry-grid,
  .portfolio-grid,
  .resource-grid,
  .why-card-grid,
  .about-grid,
  .cta-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid-bottom {
    max-width: none;
  }

  .about-grid,
  .cta-grid,
  .contact-grid {
    gap: 32px;
  }

  .client-track {
    gap: 34px;
    animation-duration: 15s;
  }

  .client-track img {
    width: 132px;
    height: 70px;
  }

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

  .page-hero {
    min-height: 48vh;
    padding: 122px 0 66px;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .page-hero p {
    font-size: 15px;
  }

  .about-page .page-hero h1 {
    max-width: 330px;
    font-size: 23px;
    line-height: 1.14;
  }

  .about-page .page-hero p {
    max-width: 320px;
    font-size: 13.5px;
  }

  .about-page .page-hero h1 span {
    color: var(--green);
  }

  .founder-grid,
  .vision-mission-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    gap: 28px;
  }

  .founder-copy,
  .booking-card {
    padding: 24px;
  }

  .founder-copy h2,
  .image-copy-card h2,
  .booking-card h2 {
    font-size: 28px;
  }

  .about-page .about-copy h2,
  .about-page .image-copy-card h2,
  .about-page .booking-card h2 {
    font-size: 27px;
  }

  .about-page .founder-copy h2 {
    font-size: 32px;
  }

  .about-page .role-label {
    font-size: 27px;
  }

  .source-large-hero h1,
  .source-compact-hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .source-compact-hero {
    min-height: 32vh;
  }

  .source-project-hero {
    min-height: 418px;
    padding: 124px 0 60px;
  }

  .source-project-hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .source-project-content {
    padding: 26px 20px;
  }

  .source-project-content h2 {
    font-size: 28px;
    line-height: 1;
  }

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

  .source-project-content p,
  .source-project-content li,
  .source-project-content td {
    font-size: 15px;
    line-height: 1.68;
  }

  .sam-stat {
    flex-basis: 50%;
    border-bottom: 1px solid #e2e8f0;
  }

  .sam-scope-card {
    flex-basis: 100%;
  }

  .sam-chart-canvas-wrap {
    min-height: 150px;
  }

  .sam-chart-canvas-wrap::after {
    font-size: 20px;
  }

  .sam-score-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-anchor-list a {
    min-height: 58px;
    text-align: center;
  }

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

  .service-detail-card h2,
  .source-heading h2,
  .why-copy h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .industry-card {
    min-height: 118px;
  }

  .industry-card h3 {
    font-size: 24px;
  }

  .contact-page-grid {
    gap: 26px;
  }

  .contact-method {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
  }

  .footer-brand img {
    width: 260px;
  }
}


/* ============================================================
   Project-detail page rebuild (2026-05-24)
   Adds: criticality table, sub-bullet indent, wider SAP article,
         sam-* methodology block styles ported from live source.
   ============================================================ */

/* Sub-bullet — used for indented child items inside a primary list */
.source-project-content .project-check-list > li > ul.project-sub-list {
  list-style: none;
  margin: 12px 0 6px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.source-project-content .project-sub-list > li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  color: #2d3748;
  line-height: 1.7;
}

.source-project-content .project-sub-list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00B7EB;
  box-shadow: none;
}

/* Criticality table on Underground Copper Mine */
.source-table-wrap {
  margin: 18px 0 28px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(19, 28, 38, 0.08);
  box-shadow: 0 2px 8px rgba(19, 28, 38, 0.04);
  background: #fff;
}

.project-criticality-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.project-criticality-table thead th {
  background: linear-gradient(135deg, #00B7EB, #40B659);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.project-criticality-table thead th:last-child {
  border-right: none;
}

.project-criticality-table tbody td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid #eef1f5;
  color: #131C26;
  font-weight: 600;
}

.project-criticality-table tbody tr:nth-child(odd) td {
  background: #f7fafc;
}

.project-criticality-table tbody tr:hover td {
  background: #eff7fb;
}

.project-criticality-table tbody tr:last-child td {
  border-bottom: none;
}

/* Wider article — used by SAP page so the 5-step flowchart can breathe */
.source-project-content.wide-article {
  max-width: 1380px;
  padding: 56px 56px;
}

@media (max-width: 720px) {
  .source-project-content.wide-article {
    padding: 32px 22px;
  }
}

/* sam-* methodology block (SAP page) */
.source-html-block .sam-project {
  color: #2d3748;
}

.source-html-block .sam-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}

@media (max-width: 720px) {
  .source-html-block .sam-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.source-html-block .sam-stat {
  background: #f4f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}

.source-html-block .sam-stat-num {
  font-size: 38px;
  font-weight: 700;
  color: #40B659;
  line-height: 1;
  margin-bottom: 6px;
}

.source-html-block .sam-stat-num.blue {
  color: #00B7EB;
}

.source-html-block .sam-stat-num.dark {
  color: #131C26;
}

.source-html-block .sam-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7a99;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Methodology track — 5 step flowchart */
.source-html-block .sam-method {
  margin: 28px 0;
}

.source-html-block .sam-method-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .source-html-block .sam-method-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .source-html-block .sam-method-track {
    grid-template-columns: 1fr;
  }
}

.source-html-block .sam-method-step {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px 24px;
  box-shadow: 0 2px 12px rgba(19, 28, 38, 0.05);
  display: flex;
  flex-direction: column;
}

.source-html-block .sam-step-num {
  font-size: 13px;
  font-weight: 700;
  color: #00B7EB;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.source-html-block .sam-step-icon {
  width: 54px;
  height: 54px;
  margin: 2px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f8fb;
  border-radius: 50%;
}

.source-html-block .sam-step-icon svg {
  width: 28px;
  height: 28px;
}

.source-html-block .sam-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #131C26;
  margin: 0 0 8px;
  line-height: 1.3;
}

.source-html-block .sam-step-body {
  font-size: 13.5px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.source-html-block .sam-step-arrow {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #cbd5e0;
}

@media (max-width: 980px) {
  .source-html-block .sam-step-arrow {
    display: none;
  }
}

.source-html-block .sam-method-caption {
  margin-top: 18px;
  text-align: center;
  color: #4a5568;
  font-size: 14px;
}

/* Scope grid (SAP page) */
.source-html-block .sam-scope-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 26px;
}

@media (max-width: 720px) {
  .source-html-block .sam-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.source-html-block .sam-scope-card {
  padding: 16px 14px;
  border-radius: 8px;
  background: #f4f8fb;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #00B7EB;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.source-html-block .sam-scope-card strong {
  color: #131C26;
  font-size: 15px;
  font-weight: 700;
}

.source-html-block .sam-scope-card span {
  font-size: 12.5px;
  color: #6b7a99;
}

/* Comparison table (SAP page) */
.source-html-block .sam-compare-wrap {
  margin: 22px 0 26px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.source-html-block .sam-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.source-html-block .sam-compare thead th {
  background: linear-gradient(135deg, #00B7EB, #40B659);
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
}

.source-html-block .sam-compare tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid #eef1f5;
  vertical-align: top;
  color: #131C26;
}

.source-html-block .sam-compare tbody tr:last-child td {
  border-bottom: none;
}

.source-html-block .sam-compare .gain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 4px 8px;
  background: rgba(64, 182, 89, 0.12);
  color: #2f8a47;
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 999px;
}

/* Radar chart wrap (SAP page) */
.source-html-block .sam-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin: 24px 0 26px;
  align-items: start;
}

@media (max-width: 900px) {
  .source-html-block .sam-feedback {
    grid-template-columns: 1fr;
  }
}

.source-html-block .sam-chart-box {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 22px 16px;
}

.source-html-block .sam-chart-title {
  font-size: 14px;
  font-weight: 700;
  color: #131C26;
  margin: 0 0 4px;
}

.source-html-block .sam-chart-sub {
  font-size: 12.5px;
  color: #6b7a99;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.source-html-block .sam-chart-canvas-wrap {
  position: relative;
  height: 360px;
  width: 100%;
}

@media (max-width: 720px) {
  .source-html-block .sam-chart-canvas-wrap {
    height: 280px;
  }
}

.source-html-block .sam-score-list {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  gap: 6px;
}

.source-html-block .sam-score-list h4 {
  margin: 0 0 8px;
  color: #131C26;
  font-size: 14px;
}

.source-html-block .sam-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #eef1f5;
}

.source-html-block .sam-score-row:last-child {
  border-bottom: none;
}

.source-html-block .sam-score-row .dim {
  color: #131C26;
}

.source-html-block .sam-score-row .score {
  font-weight: 700;
  color: #40B659;
}

/* Pills below chart */
.source-html-block .sam-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.source-html-block .sam-pill {
  background: #f4f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  text-align: center;
  flex: 1 1 160px;
}

.source-html-block .sam-pill > div:first-child {
  font-size: 22px;
  font-weight: 700;
  color: #131C26;
}

.source-html-block .sam-pill.blue > div:first-child {
  color: #00B7EB;
}

.source-html-block .sam-pill > div:last-child {
  font-size: 12.5px;
  color: #6b7a99;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* Testimonial grid (SAP page) */
.source-html-block .sam-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 8px;
}

@media (max-width: 720px) {
  .source-html-block .sam-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.source-html-block .sam-testimonial {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #00B7EB;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(19, 28, 38, 0.04);
}

.source-html-block .sam-testimonial-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #6b7a99;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.source-html-block .sam-testimonial-body p {
  font-style: italic;
  color: #2d3748;
  line-height: 1.7;
  margin: 0;
}

.source-html-block .sam-testimonial-attr {
  margin-top: 12px;
  font-weight: 700;
  font-size: 13px;
  color: #131C26;
}


/* ============================================================
   Project-detail page rebuild (2026-05-24, second pass)
   - Replace pseudo-element green dot with the live site's
     chevron-circle-right SVG icon for primary bullets, in cyan
   - Sub-bullets use the live site's small solid-circle SVG, also cyan
   - Suppress the legacy ::before dot whenever a real SVG icon is present
   - Criticality table: match the live look (white background, cyan headers,
     light grey alternating rows, structured bold leading terms inside cells)
   ============================================================ */

/* Suppress legacy green-dot pseudo when a real SVG icon is rendered. */
.project-check-list li:has(.picon-wrap)::before,
.project-sub-list li:has(.picon-wrap)::before,
.source-project-content ul > li:has(.picon-wrap)::before,
.source-project-content ol > li:has(.picon-wrap)::before {
  content: none;
  display: none;
  background: none;
  box-shadow: none;
}

/* New layout: icon column + text column for primary list items. */
.project-check-list > li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
  padding-left: 0;
  margin: 0;
}

.project-check-list > li .picon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: #00B7EB;
  flex: 0 0 24px;
}

.project-check-list > li .picon-wrap svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.project-check-list > li .ptext {
  display: block;
  color: #2d3748;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 500;
}

.project-check-list > li .ptext strong {
  font-weight: 700;
  color: #131C26;
}

.project-check-list > li .ptext a {
  color: #40B659;
  font-weight: 700;
  text-decoration: underline;
}

/* Sub-list inherits the same icon+text pattern but smaller and indented. */
.project-check-list > li > ul.project-sub-list {
  grid-column: 2 / 3;
  list-style: none;
  margin: 10px 0 6px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.project-sub-list > li {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  padding-left: 0;
  margin: 0;
}

.project-sub-list > li .picon-wrap {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  color: #00B7EB;
  flex: 0 0 16px;
}

.project-sub-list > li .picon-wrap svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
  display: block;
}

.project-sub-list > li .ptext {
  font-size: 15px;
  color: #2d3748;
  line-height: 1.65;
}

/* ---------- Criticality table — match the live look ---------- */

/* The wrapper inherits the v1 .source-table-wrap which is fine.
   Override the header gradient and tighten the look. */
.project-criticality-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  background: #fff;
}

.project-criticality-table thead th {
  background: #ffffff;
  color: #46AEE3;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  padding: 16px 18px;
  text-align: center;
  border-bottom: 2px solid #e3edf3;
  border-right: 1px solid #eef1f5;
}

.project-criticality-table thead th:last-child {
  border-right: none;
}

/* Inline span styling from the live source (e.g. font-size: 30px,
   color: #46aee3) is preserved in the cell HTML and will render
   inside the <th> automatically. The CSS above provides a sensible
   fallback when no inline styles are present (rare). */

.project-criticality-table tbody td {
  padding: 14px 18px;
  text-align: center;
  border-right: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
  color: #131C26;
  font-weight: 500;
  vertical-align: middle;
  background: #ffffff;
}

.project-criticality-table tbody td:last-child {
  border-right: none;
}

/* Live site uses light grey alternating rows (#F0F0F0). */
.project-criticality-table tbody tr:nth-child(even) td {
  background: #f6f8fb;
}

.project-criticality-table tbody tr:hover td {
  background: #eff7fb;
}

.project-criticality-table tbody tr:last-child td {
  border-bottom: none;
}

/* When a cell's content includes <strong> or styled span, preserve weight
   and any inline colour the source set. */
.project-criticality-table td strong,
.project-criticality-table td span[style*="font-weight: bold"],
.project-criticality-table td span[style*="font-weight: bolder"] {
  font-weight: 700;
  color: #131C26;
}

.project-criticality-table td p {
  margin: 0;
}

/* When the CHPP-style gap/recommendation table renders, allow left-alignment
   if the cell content uses `text-align: left` inline styles (it does on live). */
.project-criticality-table td[style*="text-align: left"],
.project-criticality-table td p span[style*="text-align: left"] {
  text-align: left;
}

/* Slightly softer wrap shadow on the table */
.source-table-wrap {
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(19, 28, 38, 0.06);
}

/* SAP page final fidelity fix: keep the real Chart.js canvas visible.
   Earlier fallback CSS added text over this area before the live chart
   script was restored. */
.source-html-block .sam-project {
  max-width: 1380px !important;
}

.source-html-block .sam-chart-canvas-wrap {
  display: block !important;
  min-height: 0 !important;
  background: transparent !important;
}

.source-html-block .sam-chart-canvas-wrap::after {
  content: none !important;
  display: none !important;
}
