:root {
  --ink-950: #071620;
  --ink-900: #0d2432;
  --ink-850: #123040;
  --ink-800: #18394a;
  --ink-700: #2a5063;
  --steel-600: #52788b;
  --steel-500: #668c9e;
  --steel-300: #a8bdc7;
  --steel-200: #cbd8de;
  --steel-100: #e3eaed;
  --paper: #f4f3ee;
  --paper-2: #ecebe5;
  --white: #ffffff;
  --blue: #1469a5;
  --blue-2: #2f85bc;
  --orange: #f4a321;
  --red: #de3c2b;
  --green: #59a45f;
  --text: #13232d;
  --muted: #60717b;
  --line: rgba(13, 36, 50, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 10px 30px rgba(7, 22, 32, 0.08);
  --shadow-md: 0 22px 60px rgba(7, 22, 32, 0.15);
  --shadow-lg: 0 40px 100px rgba(7, 22, 32, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shell: min(1280px, calc(100vw - 64px));
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

html.no-scroll,
html.no-scroll body {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection,
::selection {
  color: var(--white);
  background: var(--blue);
}

img {
  display: block;
  max-width: 100%;
  height: auto; /* keep aspect ratio when width/height attrs are present (e.g. CMS images) */
}

/* Wide content injected as raw CMS HTML (news article body) must scroll, not overflow,
   on narrow phones — the ancestor .section uses overflow: clip. */
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.prose pre {
  max-width: 100%;
  overflow-x: auto;
}

svg {
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3.35rem, 6.5vw, 7.5rem);
}

h2 {
  font-size: clamp(2.35rem, 4.25vw, 4.9rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 2.1rem);
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.section {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
  overflow: clip;
}

.section-tight {
  padding: clamp(70px, 7.5vw, 108px) 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink-900);
}

.section-deep {
  color: var(--white);
  background: var(--ink-950);
}

.section-steel {
  color: var(--white);
  background: var(--steel-600);
}

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

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.48fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 82px);
}

.section-heading.is-centered {
  display: block;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.section-dark .section-heading p,
.section-deep .section-heading p,
.section-steel .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  content: "";
}

.section-dark .eyebrow,
.section-deep .eyebrow,
.section-steel .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow,
.contact-band .eyebrow,
.chemistry-image-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.52;
}

.section-dark .lead,
.section-deep .lead,
.section-steel .lead {
  color: rgba(255, 255, 255, 0.72);
}

.button,
.header-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius-pill);
  font-weight: 760;
  transition: transform 300ms var(--ease), color 300ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.button {
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: 0.9rem;
}

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

.button-primary {
  color: var(--ink-950);
  background: linear-gradient(120deg, #ffc44e, var(--orange));
  box-shadow: 0 12px 28px rgba(244, 163, 33, 0.25);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(244, 163, 33, 0.35);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

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

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

.button-outline {
  color: var(--ink-900);
  border-color: var(--ink-900);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink-900);
}

.button .icon,
.header-cta .icon,
.text-link .icon,
.search-result .icon {
  width: 18px;
  height: 18px;
}

.button .icon svg,
.header-cta .icon svg,
.text-link .icon svg,
.search-result .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.text-link {
  justify-content: flex-start;
  color: var(--blue);
  font-size: 0.9rem;
}

.text-link-light {
  color: var(--white);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 250ms ease, border-color 250ms ease, transform 250ms var(--ease);
}

.icon-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.scroll-progress {
  position: fixed;
  z-index: 1500;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--red));
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  transition: color 300ms ease, background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled,
body:not([data-page="home"]) .site-header {
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(7, 22, 32, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 12px;
}

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

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

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.brand-copy small {
  max-width: 170px;
  opacity: 0.72;
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.5vw, 24px);
}

.nav-item {
  position: relative;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 760;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  background: linear-gradient(90deg, var(--orange), var(--red));
  content: "";
  transition: transform 280ms var(--ease);
}

.nav-item:hover .nav-link::after,
.nav-item.is-active .nav-link::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform 250ms ease;
}

.icon-chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.has-mega:hover .icon-chevron {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  top: var(--header-height);
  left: 50%;
  display: grid;
  width: min(1080px, calc(100vw - 64px));
  padding: 34px;
  transform: translate(-50%, -12px);
  grid-template-columns: 0.7fr 1.3fr;
  gap: 46px;
  border: 1px solid rgba(13, 36, 50, 0.08);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 320ms var(--ease), visibility 220ms ease;
}

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

.mega-intro {
  padding: 28px;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(13, 36, 50, 0.97), rgba(20, 105, 165, 0.92)),
    url("../images/process-piping.jpg") center/cover;
}

.mega-intro strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.65rem;
  line-height: 1.15;
}

.mega-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.91rem;
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 4px 20px;
}

.mega-link {
  display: grid;
  min-height: 54px;
  padding: 10px 4px;
  grid-template-columns: 32px 1fr 22px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 720;
  transition: color 220ms ease, padding 260ms var(--ease);
}

.mega-link:hover {
  padding-left: 10px;
  color: var(--blue);
}

.mega-index {
  color: var(--steel-500);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.mega-link .icon {
  width: 18px;
  height: 18px;
}

.mega-link .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  min-height: 44px;
  padding: 11px 18px;
  color: var(--ink-950);
  background: linear-gradient(120deg, #ffc551, var(--orange));
  font-size: 0.78rem;
}

.header-cta .icon {
  width: 16px;
  height: 16px;
}

.site-header.is-scrolled .search-toggle,
body:not([data-page="home"]) .search-toggle {
  color: var(--ink-900);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 1300;
  inset: 0;
  transform: translateY(-100%);
  color: var(--white);
  background: var(--ink-950);
  visibility: hidden;
  transition: transform 520ms var(--ease), visibility 520ms ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
}

.mobile-head-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-menu-body {
  display: grid;
  padding-top: 34px;
  padding-bottom: 60px;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 70px;
}

.mobile-nav-row {
  position: relative;
  display: grid;
  min-height: 62px;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav-row > a {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: clamp(1.25rem, 3.8vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.03em;
}

.mobile-nav-row > a span {
  color: var(--steel-300);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.mobile-sub-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
}

.mobile-sub-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  transition: transform 250ms ease;
}

.mobile-subnav {
  display: grid;
  max-height: 0;
  padding-left: 42px;
  grid-column: 1 / -1;
  gap: 12px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease), opacity 250ms ease, padding 420ms var(--ease);
}

.mobile-subnav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.mobile-nav-row.is-open .mobile-subnav {
  max-height: 360px;
  padding-top: 8px;
  padding-bottom: 24px;
  opacity: 1;
}

.mobile-nav-row.is-open .mobile-sub-toggle svg {
  transform: rotate(180deg);
}

.mobile-contact-card {
  align-self: start;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-contact-card a {
  display: block;
  margin: 8px 0;
  font-weight: 700;
}

.mobile-contact-card p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.search-overlay {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  padding-top: clamp(100px, 12vh, 150px);
  align-items: start;
  color: var(--white);
  background: rgba(7, 22, 32, 0.94);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  transform: translateY(20px);
  transition: transform 420ms var(--ease);
}

.search-overlay.is-open .search-panel {
  transform: translateY(0);
}

.search-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  display: grid;
  margin: 22px 0 30px;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.search-box .icon {
  width: 28px;
  height: 28px;
}

.search-box .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.search-box input {
  width: 100%;
  padding: 18px 0 22px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: clamp(1.6rem, 4vw, 4.2rem);
  font-weight: 720;
  letter-spacing: -0.04em;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.search-results {
  display: grid;
  max-width: 820px;
  gap: 2px;
}

.search-result {
  display: flex;
  padding: 16px 4px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  transition: padding 250ms var(--ease), color 250ms ease;
}

.search-result:hover {
  padding-left: 12px;
  color: var(--orange);
}

.search-result span:first-child {
  display: grid;
  gap: 2px;
}

.search-result small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-result strong {
  font-size: 1.1rem;
}

.search-hint {
  color: rgba(255, 255, 255, 0.55);
}

.hero {
  position: relative;
  min-height: clamp(900px, 100svh, 980px);
  color: var(--white);
  background: var(--ink-950);
  overflow: hidden;
}

.hero-carousel,
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-media {
  position: absolute;
  inset: -4%;
  transform: scale(1.05);
  background-position: center;
  background-size: cover;
  transition: transform 9s linear;
}

.hero-slide.is-active .hero-slide-media {
  transform: scale(1.12);
}

.hero-slide-media.media-fabrication {
  background-image: url("../images/hero-fabrication-cinematic.jpg");
  background-position: 58% center;
}

.hero-slide-media.media-welding {
  background-image: url("../images/welding.jpg");
  background-position: 78% 48%;
}

.hero-slide-media.media-chemical {
  background-image: url("../images/chemical-lab.jpg");
  background-position: 72% 34%;
}


/* Image composition refinements */
.mosaic-card,
.value-card-image,
.split-media,
.project-card,
.capability-visual,
.gallery-item,
.project-tile-image,
.page-hero-media,
.chemistry-image {
  background-repeat: no-repeat;
}

.mosaic-card[style*="energy-facility.jpg"],
.value-card-image[style*="energy-facility.jpg"],
.project-card[style*="energy-facility.jpg"],
.page-hero-media[style*="energy-facility.jpg"],
.capability-visual[style*="energy-facility.jpg"],
.gallery-item[style*="energy-facility.jpg"],
.project-tile-image[style*="energy-facility.jpg"] {
  background-position: 50% 52%;
}

.mosaic-card[style*="fabrication-workshop.jpg"],
.value-card-image[style*="fabrication-workshop.jpg"],
.split-media[style*="fabrication-workshop.jpg"],
.page-hero-media[style*="fabrication-workshop.jpg"],
.capability-visual[style*="fabrication-workshop.jpg"],
.gallery-item[style*="fabrication-workshop.jpg"],
.project-tile-image[style*="fabrication-workshop.jpg"] {
  background-position: 56% 50%;
}

.mosaic-card[style*="maintenance-facility.jpg"],
.value-card-image[style*="maintenance-facility.jpg"],
.page-hero-media[style*="maintenance-facility.jpg"],
.capability-visual[style*="maintenance-facility.jpg"],
.gallery-item[style*="maintenance-facility.jpg"] {
  background-position: 58% 50%;
}

.value-card-image[style*="pipe-inspection.jpg"],
.page-hero-media[style*="pipe-inspection.jpg"],
.capability-visual[style*="pipe-inspection.jpg"],
.gallery-item[style*="pipe-inspection.jpg"],
.project-tile-image[style*="pipe-inspection.jpg"],
.news-image[style*="pipe-inspection.jpg"] {
  background-position: 76% 44%;
}

.value-card-image[style*="process-piping.jpg"],
.page-hero-media[style*="process-piping.jpg"],
.capability-visual[style*="process-piping.jpg"],
.gallery-item[style*="process-piping.jpg"],
.project-tile-image[style*="process-piping.jpg"] {
  background-position: 53% 46%;
}

.mosaic-card[style*="chemical-lab.jpg"],
.page-hero-media[style*="chemical-lab.jpg"],
.capability-visual[style*="chemical-lab.jpg"],
.gallery-item[style*="chemical-lab.jpg"] {
  background-position: 72% 36%;
}

.chemistry-image {
  background-position: 70% 36%;
}

.value-card-image[style*="welding.jpg"],
.page-hero-media[style*="welding.jpg"],
.gallery-item[style*="welding.jpg"] {
  background-position: 76% 46%;
}

.project-card[style*="offshore-facility.jpg"],
.page-hero-media[style*="offshore-facility.jpg"],
.gallery-item[style*="offshore-facility.jpg"],
.project-tile-image[style*="offshore-facility.jpg"] {
  background-position: 54% 50%;
}
.hero-slide-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 32, 0.92) 0%, rgba(7, 22, 32, 0.7) 38%, rgba(7, 22, 32, 0.16) 72%, rgba(7, 22, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 22, 32, 0.8) 0%, transparent 34%);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  content: "";
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: clamp(900px, 100svh, 980px);
  padding-top: calc(var(--header-height) + 54px);
  padding-bottom: 180px;
  align-items: center;
}

.hero-content {
  width: min(760px, 76vw);
  padding: clamp(28px, 4vw, 58px);
  border-left: 4px solid var(--orange);
  background: rgba(13, 36, 50, 0.82);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px) saturate(130%);
}

.hero-slide .hero-content > * {
  transform: translateY(24px);
  opacity: 0;
  transition: transform 700ms var(--ease), opacity 500ms ease;
}

.hero-slide.is-active .hero-content > * {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide.is-active .hero-content > *:nth-child(2) { transition-delay: 80ms; }
.hero-slide.is-active .hero-content > *:nth-child(3) { transition-delay: 150ms; }
.hero-slide.is-active .hero-content > *:nth-child(4) { transition-delay: 220ms; }

.hero h1,
.hero .hero-heading {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.7vw, 4.7rem);
}

.hero h1 .accent-text,
.hero .hero-heading .accent-text {
  display: block;
  color: #ffc04b;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.35vw, 1.24rem);
}

.hero-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-kicker span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 36px;
  left: 0;
}

.hero-control-inner {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: end;
  gap: 18px;
}

.hero-pause {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(7, 22, 32, 0.35);
  backdrop-filter: blur(10px);
}

.hero-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-progress-track {
  position: absolute;
  top: -17px;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--orange), #ffd16d);
}

.hero-tab {
  padding: 10px 0;
  border: 0;
  color: rgba(255, 255, 255, 0.54);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 250ms ease;
}

.hero-tab.is-active,
.hero-tab:hover {
  color: var(--white);
}

.hero-tab small {
  display: block;
  margin-bottom: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-tab strong {
  display: block;
  font-size: clamp(0.78rem, 1vw, 0.92rem);
}

.proof-bar {
  position: relative;
  z-index: 5;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.proof-grid {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  align-items: stretch;
}

.proof-title,
.proof-item {
  display: flex;
  padding: 22px 24px;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.proof-title {
  padding-left: 0;
}

.proof-title strong {
  font-size: 1.05rem;
}

.proof-title span,
.proof-item span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.proof-item strong {
  margin-bottom: 2px;
  color: var(--ink-900);
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  line-height: 1;
}

.vision-intro {
  max-width: 1070px;
  margin: 0 auto clamp(50px, 7vw, 86px);
  text-align: center;
}

.vision-intro h2 {
  margin-bottom: 26px;
  font-size: clamp(2.25rem, 4vw, 4.5rem);
}

.vision-intro p {
  max-width: 800px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(250px, 29vw);
  gap: 18px;
}

.mosaic-card {
  position: relative;
  display: flex;
  min-height: 290px;
  padding: 26px;
  align-items: flex-end;
  border-radius: var(--radius-sm);
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 38px rgba(7, 22, 32, 0.24);
  overflow: hidden;
}

.mosaic-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 32, 0.02) 20%, rgba(7, 22, 32, 0.9) 100%);
  content: "";
}

.mosaic-card::after {
  position: absolute;
  inset: 0;
  transform: translateY(101%);
  background: linear-gradient(135deg, rgba(20, 105, 165, 0.76), rgba(222, 60, 43, 0.55));
  content: "";
  transition: transform 520ms var(--ease);
}

.mosaic-card:hover::after {
  transform: translateY(0);
}

.mosaic-card.wide {
  grid-column: span 7;
}

.mosaic-card.medium {
  grid-column: span 5;
}

.mosaic-card.third {
  grid-column: span 4;
}

.mosaic-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mosaic-content small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mosaic-content h3 {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.4vw, 2.55rem);
}

.mosaic-content p {
  max-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease), opacity 320ms ease;
}

.mosaic-card:hover .mosaic-content p {
  max-height: 100px;
  opacity: 1;
}

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

.value-card {
  position: relative;
  min-height: 360px;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-radius: var(--radius-md);
  color: var(--ink-900);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
}

.value-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(244, 163, 33, 0.16), transparent 38%);
  content: "";
}

.value-card-image {
  height: 190px;
  background-position: center;
  background-size: cover;
}

.value-card-body {
  position: relative;
  z-index: 2;
  padding: 26px;
}

.value-card-body small {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.value-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.value-card-body p {
  color: var(--muted);
  font-size: 0.89rem;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.split-feature.is-reversed .split-media {
  order: 2;
}

.split-media {
  position: relative;
  min-height: clamp(440px, 58vw, 690px);
  border-radius: var(--radius-md);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.split-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 22, 32, 0.75) 100%);
  content: "";
}

.split-media-badge {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  padding: 22px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: rgba(7, 22, 32, 0.62);
  backdrop-filter: blur(15px);
}

.split-media-badge strong {
  display: block;
  font-size: 1.2rem;
}

.split-media-badge span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
}

.split-copy h2 {
  margin-bottom: 26px;
}

.split-copy > p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .split-copy > p,
.section-deep .split-copy > p,
.section-steel .split-copy > p {
  color: rgba(255, 255, 255, 0.7);
}

.check-grid {
  display: grid;
  margin: 30px 0 38px;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 680;
}

.check-item::before {
  display: inline-grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  content: "✓";
  font-size: 0.72rem;
}

.section-dark .check-item::before,
.section-deep .check-item::before,
.section-steel .check-item::before {
  color: var(--ink-950);
  background: var(--orange);
}

.project-feature-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.62fr;
  gap: 20px;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 620px;
  padding: clamp(26px, 4vw, 48px);
  align-items: flex-end;
  border-radius: var(--radius-md);
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.project-card.small {
  min-height: 620px;
}

.project-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 32, 0.05) 15%, rgba(7, 22, 32, 0.92) 100%);
  content: "";
}

.project-card::after {
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  content: "";
  transition: transform 400ms var(--ease);
}

.project-card:hover::after {
  transform: scale(0.96);
}

.project-card-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.project-card .tag-row {
  margin-bottom: 16px;
}

.project-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 4.2rem);
}

.project-card.small h3 {
  font-size: clamp(1.7rem, 3vw, 2.9rem);
}

.project-card p {
  color: rgba(255, 255, 255, 0.72);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  padding: 5px 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(7, 22, 32, 0.32);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tag-dark {
  color: var(--ink-800);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.roadmap::before {
  position: absolute;
  top: 42px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  content: "";
}

.roadmap-step {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  text-align: center;
}

.roadmap-dot {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: var(--ink-900);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.03);
}

.roadmap-dot strong {
  color: var(--orange);
  font-size: 1.55rem;
}

.roadmap-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.roadmap-step p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.maintenance-cycle {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.cycle-visual {
  position: relative;
  display: grid;
  width: min(500px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
}

.cycle-visual::before,
.cycle-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.cycle-visual::before { inset: 7%; }
.cycle-visual::after { inset: 20%; border-style: dashed; }

.cycle-center {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-950);
  background: linear-gradient(135deg, #ffd367, var(--orange));
  box-shadow: 0 18px 50px rgba(244, 163, 33, 0.2);
  text-align: center;
}

.cycle-center strong {
  max-width: 110px;
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.cycle-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  background: rgba(13, 36, 50, 0.9);
  box-shadow: 0 12px 30px rgba(7, 22, 32, 0.3);
  font-size: 0.8rem;
  font-weight: 780;
  text-align: center;
}

.cycle-node:nth-child(3) { top: 0; left: 50%; transform: translateX(-50%); }
.cycle-node:nth-child(4) { top: 50%; right: 0; transform: translateY(-50%); }
.cycle-node:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.cycle-node:nth-child(6) { top: 50%; left: 0; transform: translateY(-50%); }

.cycle-orbit {
  position: absolute;
  inset: 7%;
  border: 2px solid transparent;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: orbit 14s linear infinite;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.chemistry-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}

.chemistry-image {
  position: relative;
  min-height: 650px;
  border-radius: var(--radius-md);
  background: url("../images/chemical-lab.jpg") center/cover;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.chemistry-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 22, 32, 0.82) 100%);
  content: "";
}

.chemistry-image-copy {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 34px;
  left: 34px;
  color: var(--white);
}

.chemistry-image-copy strong {
  display: block;
  max-width: 520px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}

.chemistry-columns {
  display: grid;
  gap: 16px;
}

.chemistry-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 300ms var(--ease), background 300ms ease, box-shadow 300ms ease;
}

.chemistry-card:hover {
  transform: translateX(7px);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.chemistry-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chemistry-card h3 {
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.chemistry-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.cert-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition: transform 300ms var(--ease), background 300ms ease;
}

.cert-card::before {
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.cert-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.075);
}

.cert-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.cert-card p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.cert-card small {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-marquee {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.client-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

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

.client-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  min-height: 126px;
  padding: 26px;
  border-right: 1px solid var(--line);
  color: var(--ink-800);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-align: center;
}

/* A fixed height keeps mixed-size source logos optically consistent. */
.client-logo {
  width: auto;
  max-width: 168px;
  height: 46px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-name.is-logo .client-logo {
  height: 58px;
}

.client-name.is-logo-text .client-label {
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.client-marquee:hover .client-logo {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

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

.news-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 340ms var(--ease), box-shadow 340ms ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.news-image {
  height: 220px;
  background-position: center;
  background-size: cover;
  transition: transform 600ms var(--ease);
}

.news-card:hover .news-image {
  transform: scale(1.04);
}

.news-body {
  display: flex;
  padding: 26px;
  flex: 1;
  flex-direction: column;
}

.news-meta {
  display: flex;
  margin-bottom: 14px;
  justify-content: space-between;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-body h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.news-body p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-body .text-link {
  margin-top: auto;
}

.contact-band {
  position: relative;
  padding: clamp(84px, 10vw, 150px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 22, 32, 0.95), rgba(20, 105, 165, 0.75)),
    url("../images/process-piping.jpg") center/cover;
  overflow: hidden;
}

.contact-band::after {
  position: absolute;
  top: -120px;
  right: -70px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
  content: "";
}

.contact-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.contact-band h2 {
  max-width: 880px;
  margin-bottom: 20px;
}

.contact-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.site-footer {
  color: var(--ink-900);
  background: var(--white);
}

.footer-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 38%, var(--orange) 68%, var(--red) 100%);
}

.footer-main {
  display: grid;
  padding: 72px 0 58px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 8vw, 120px);
}

.footer-brand p {
  max-width: 440px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.brand-dark {
  color: var(--ink-900);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-columns > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-columns h3 {
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-columns a,
.footer-columns span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  transition: color 220ms ease;
}

.footer-columns a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-legal a {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* Page heroes */
.page-hero {
  position: relative;
  min-height: 670px;
  padding: calc(var(--header-height) + 120px) 0 90px;
  color: var(--white);
  background: var(--ink-900);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  transform: translateY(var(--parallax-y, 0));
  background-position: center;
  background-size: cover;
}

.page-hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 32, 0.92) 0%, rgba(7, 22, 32, 0.68) 45%, rgba(7, 22, 32, 0.28) 100%),
    linear-gradient(0deg, rgba(7, 22, 32, 0.72), transparent 45%);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 450px;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumbs {
  display: flex;
  margin-bottom: auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-hero h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.8vw, 7.2rem);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.page-hero .page-hero-meta {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 150px);
}

.page-intro-grid h2 {
  margin-bottom: 0;
}

.page-intro-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.facts-grid {
  display: grid;
  margin-top: 52px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fact-card {
  min-height: 170px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.fact-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.fact-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.timeline {
  position: relative;
  display: grid;
  max-width: 1050px;
  margin-inline: auto;
  gap: 0;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  min-height: 220px;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  margin-inline: auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--ink-950);
  background: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
}

.timeline-content {
  padding: 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
}

.timeline-item:nth-child(odd) .timeline-dot {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
  grid-column: 2;
  grid-row: 1;
}

.timeline-content small {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.value-principles {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.principle {
  display: flex;
  min-height: 185px;
  padding: 20px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 300ms var(--ease), color 300ms ease, background 300ms ease;
}

.principle:hover {
  transform: translateY(-6px);
  color: var(--white);
  background: var(--ink-900);
}

.principle span {
  color: var(--steel-500);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.principle strong {
  font-size: 1.05rem;
}

.workforce-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workforce-item {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.workforce-item span {
  display: block;
  margin-bottom: 30px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.workforce-item strong {
  font-size: 1.15rem;
}

/* Capabilities */
.lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.lifecycle::before {
  position: absolute;
  top: 36px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--red));
  content: "";
}

.lifecycle-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.lifecycle-step span {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink-900);
  box-shadow: 0 0 0 8px var(--paper);
  font-size: 0.7rem;
  font-weight: 800;
}

.lifecycle-step strong {
  font-size: 0.82rem;
}

.capability-section {
  position: relative;
  padding: clamp(90px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
  overflow: clip;
}

.capability-section:nth-of-type(even) {
  background: var(--white);
}

.capability-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.capability-sticky {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.capability-number {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.capability-sticky h2 {
  margin-bottom: 24px;
}

.capability-sticky p {
  color: var(--muted);
}

.capability-panel {
  display: grid;
  gap: 16px;
}

.capability-visual {
  min-height: 420px;
  border-radius: var(--radius-md);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-sm);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-list li {
  position: relative;
  min-height: 54px;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.65);
  list-style: none;
  font-size: 0.88rem;
  font-weight: 680;
}

.service-list li::before {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red));
  content: "";
}

/* Facility */
.facility-stat-band {
  position: relative;
  margin-top: -65px;
  z-index: 5;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.facility-stat {
  min-height: 160px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.facility-stat:last-child {
  border-right: 0;
}

.facility-stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.facility-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.facility-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.facility-cap-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.facility-cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.facility-cap-card span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.facility-cap-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.facility-cap-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(3) { grid-column: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; }
.gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(6) { grid-column: span 4; }

/* Projects */
.filter-bar {
  display: flex;
  margin-bottom: 42px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 760;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.filter-button.is-active,
.filter-button:hover {
  color: var(--white);
  border-color: var(--ink-900);
  background: var(--ink-900);
}

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

.project-tile {
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 360ms var(--ease), opacity 250ms ease, box-shadow 360ms ease;
}

.project-tile:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.project-tile[hidden] {
  display: none;
}

.project-tile-image {
  position: relative;
  height: 380px;
  background-position: center;
  background-size: cover;
}

.project-tile-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 22, 32, 0.55));
  content: "";
}

.project-tile-body {
  padding: 30px;
}

.project-tile-body .tag-row {
  margin-bottom: 18px;
}

.project-tile-body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.project-tile-body p {
  color: var(--muted);
}

.project-detail-head {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(50px, 8vw, 120px);
}

.project-facts {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--line);
}

.project-fact-row {
  display: grid;
  padding: 16px 0;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.project-fact-row span:first-child {
  color: var(--muted);
}

.project-story h2 {
  margin-bottom: 24px;
}

.project-story p {
  color: var(--muted);
  font-size: 1.02rem;
}

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

.scope-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.scope-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.scope-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.scope-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.release-note {
  padding: 22px 24px;
  border-left: 3px solid var(--orange);
  color: var(--muted);
  background: rgba(244, 163, 33, 0.09);
  font-size: 0.88rem;
}

/* Safety */
.safety-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.safety-pillar {
  min-height: 310px;
  padding: 32px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink-900);
}

.safety-pillar span {
  display: block;
  margin-bottom: 52px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.safety-pillar h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.safety-pillar p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.management-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.management-card h3 {
  margin-bottom: 26px;
  font-size: 1.6rem;
}

.management-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  list-style: none;
}

.management-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.management-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.cert-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.cert-row {
  display: grid;
  padding: 24px 0;
  grid-template-columns: 0.42fr 0.58fr 0.3fr;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.cert-row strong {
  font-size: 1.35rem;
}

.cert-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-badge {
  justify-self: end;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  color: #395b3b;
  background: rgba(89, 164, 95, 0.14);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge.is-review {
  color: #7d5206;
  background: rgba(244, 163, 33, 0.18);
}

/* Products */
.catalog-toolbar {
  display: grid;
  margin-bottom: 36px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.catalog-search {
  position: relative;
  max-width: 640px;
}

.catalog-search input {
  width: 100%;
  min-height: 56px;
  padding: 14px 52px 14px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  outline: 0;
  background: var(--white);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 105, 165, 0.1);
}

.catalog-search::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border: 2px solid var(--blue);
  border-radius: 50%;
  content: "";
}

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

.product-card {
  display: flex;
  min-height: 360px;
  padding: 28px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 340ms var(--ease), box-shadow 340ms ease, border-color 340ms ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(20, 105, 165, 0.28);
  box-shadow: var(--shadow-md);
}

.product-card[hidden] {
  display: none;
}

.product-code {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-code span:last-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
}

.product-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.product-card > p {
  color: var(--muted);
  font-size: 0.88rem;
}

.product-meta {
  display: grid;
  margin: 24px 0;
  gap: 10px;
}

.product-meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  font-size: 0.78rem;
}

.product-meta span:first-child {
  color: var(--muted);
}

.product-card .text-link {
  margin-top: auto;
}

.catalog-empty {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
}

.product-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.product-process-step {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.product-process-step span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.product-process-step h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.product-process-step p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* News */
.news-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}

.news-feature-main {
  position: relative;
  display: flex;
  min-height: 590px;
  padding: 40px;
  align-items: flex-end;
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    linear-gradient(180deg, transparent 25%, rgba(7,22,32,0.9)),
    url("../images/global-projects-map.png") center/cover,
    var(--ink-800);
  overflow: hidden;
}

.news-feature-main h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
}

.news-feature-main p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.news-feature-side {
  display: grid;
  gap: 22px;
}

.news-mini {
  display: flex;
  min-height: 284px;
  padding: 28px;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-md);
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -170px 90px -80px rgba(7, 22, 32, 0.92);
}

.news-mini small {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.news-mini h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 320px;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.article-body h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 2.3rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.article-sidebar h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.article-sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* Careers */
.career-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.career-benefit {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.career-benefit span {
  display: block;
  margin-bottom: 50px;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.career-benefit h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.career-benefit p {
  color: var(--muted);
  font-size: 0.86rem;
}

.jobs-empty {
  display: grid;
  min-height: 320px;
  padding: 40px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  text-align: center;
}

.jobs-empty > div {
  max-width: 620px;
}

.jobs-empty p {
  color: rgba(255, 255, 255, 0.65);
}

/* Contact and forms */
.contact-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

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

.contact-detail-card {
  display: grid;
  min-height: 130px;
  padding: 22px;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.contact-detail-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
}

.contact-detail-card .icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-detail-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail-card strong,
.contact-detail-card a {
  font-size: 0.95rem;
  line-height: 1.45;
}

.form-card {
  padding: clamp(28px, 4vw, 50px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.form-card > p {
  margin-bottom: 32px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink-800);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--paper);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 105, 165, 0.1);
}

.checkbox-field {
  display: flex;
  margin: 18px 0 24px;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
}

.checkbox-field input {
  margin-top: 3px;
}

.form-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: #315c37;
  background: rgba(89, 164, 95, 0.14);
  font-size: 0.82rem;
}

.map-block {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(13, 36, 50, 0.84), rgba(20, 105, 165, 0.64)),
    url("../images/global-projects-map.png") center/cover;
  overflow: hidden;
}

.map-block::after {
  position: absolute;
  top: 46%;
  left: 37%;
  width: 20px;
  height: 20px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 18px rgba(222, 60, 43, 0.22);
  content: "";
  animation: pulse 2.5s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(222, 60, 43, 0.38); }
  70% { box-shadow: 0 0 0 26px rgba(222, 60, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 60, 43, 0); }
}

.map-label {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: rgba(7, 22, 32, 0.58);
  backdrop-filter: blur(14px);
}

.map-label strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.map-label span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

/* Legal */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  gap: 4px;
}

.legal-nav a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-nav a:hover {
  color: var(--blue);
  background: rgba(20, 105, 165, 0.08);
}

.legal-content h2 {
  margin-top: 54px;
  margin-bottom: 18px;
  font-size: 2rem;
}

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

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

/* Reveal and motion */
[data-reveal] {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 760ms var(--ease), opacity 560ms ease;
}

[data-reveal="left"] {
  transform: translateX(-35px);
}

[data-reveal="right"] {
  transform: translateX(35px);
}

[data-reveal].is-visible {
  transform: translate(0, 0);
  opacity: 1;
}

.stagger > * {
  transition-delay: calc(var(--i, 0) * 85ms);
}

@media (max-width: 1180px) {
  :root {
    --shell: min(1120px, calc(100vw - 44px));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .header-actions .search-toggle {
    display: inline-grid;
  }

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

  .value-principles {
    grid-template-columns: repeat(4, 1fr);
  }

  .principle:last-child {
    grid-column: span 2;
  }

  .lifecycle,
  .product-process {
    grid-template-columns: repeat(4, 1fr);
  }

  .lifecycle::before {
    display: none;
  }

  .lifecycle-step span {
    box-shadow: none;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(860px, calc(100vw - 34px));
    --header-height: 74px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand-copy small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .section-heading,
  .split-feature,
  .chemistry-grid,
  .maintenance-cycle,
  .page-intro-grid,
  .capability-layout,
  .project-detail-head,
  .contact-layout,
  .article-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
    align-items: start;
  }

  .hero {
    min-height: 960px;
  }

  .hero-shell {
    min-height: 960px;
    padding-top: calc(var(--header-height) + 62px);
    padding-bottom: 205px;
    align-items: start;
  }

  .hero-content {
    width: min(720px, 92vw);
  }

  .hero-control-inner {
    grid-template-columns: 44px 1fr;
  }

  .hero-tabs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-tab {
    display: none;
  }

  .hero-tab.is-active {
    display: block;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-title {
    grid-column: 1 / -1;
    padding-left: 24px;
    border-bottom: 1px solid var(--line);
  }

  .mosaic-grid {
    grid-auto-rows: minmax(320px, 48vw);
  }

  .mosaic-card.wide,
  .mosaic-card.medium,
  .mosaic-card.third {
    grid-column: span 6;
  }

  .project-feature-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.small {
    min-height: 520px;
  }

  .roadmap {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }

  .roadmap::before {
    display: none;
  }

  .cert-grid,
  .facility-cap-grid,
  .project-scope-grid,
  .safety-pillars,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .timeline::before {
    left: 27px;
  }

  .timeline-item {
    min-height: 0;
    padding: 14px 0;
    grid-template-columns: 56px 1fr;
  }

  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

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

  .principle:last-child {
    grid-column: auto;
  }

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

  .capability-sticky,
  .article-sidebar,
  .legal-nav {
    position: static;
  }

  .project-grid,
  .management-grid,
  .news-feature {
    grid-template-columns: 1fr;
  }

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

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

  .contact-band-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mobile-menu-body {
    grid-template-columns: 1fr;
  }

  .mobile-contact-card {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .section {
    padding: 78px 0;
  }

  .header-actions {
    gap: 3px;
  }

  .search-toggle {
    display: none !important;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .hero {
    min-height: 760px; /* fallback for browsers without svh */
    min-height: 100svh; /* fit one phone screen so the carousel controls stay above the fold */
  }

  .hero-shell {
    min-height: 760px;
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 54px);
    padding-bottom: 128px;
    align-items: start;
  }

  .hero-content {
    width: 100%;
    padding: 26px 22px;
    border-left-width: 3px;
  }

  .hero h1,
.hero .hero-heading {
    font-size: clamp(2.65rem, 12.4vw, 4.2rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

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

  .hero-controls {
    bottom: 24px;
  }

  .hero-control-inner {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-title,
  .proof-item {
    padding-left: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mosaic-grid {
    display: block;
  }

  .mosaic-card {
    min-height: 380px;
    margin-bottom: 14px;
  }

  .values-grid,
  .cert-grid,
  .facility-cap-grid,
  .project-scope-grid,
  .safety-pillars,
  .news-grid,
  .career-benefits,
  .workforce-grid,
  .facts-grid,
  .facility-stats,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 330px;
  }

  .split-feature.is-reversed .split-media {
    order: 0;
  }

  .split-media {
    min-height: 430px;
  }

  .split-media-badge {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .check-grid,
  .service-list,
  .form-grid,
  .management-list {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.small {
    min-height: 470px;
    padding: 24px;
  }

  .roadmap {
    grid-template-columns: 1fr;
  }

  .cycle-node {
    width: 76px;
    height: 76px;
    font-size: 0.66rem;
  }

  .chemistry-image {
    min-height: 470px;
  }

  .client-name {
    min-width: 210px;
    min-height: 100px;
  }

  .client-logo {
    max-width: 132px;
    height: 36px;
  }

  .client-name.is-logo .client-logo {
    height: 44px;
  }

  .page-hero {
    min-height: 590px;
    padding-top: calc(var(--header-height) + 90px);
  }

  .page-hero-inner {
    min-height: 390px;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.7rem);
  }

  .facility-stat-band {
    margin-top: -36px;
  }

  .facility-stat {
    min-height: 130px;
  }

  .value-principles,
  .lifecycle,
  .product-process {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 130px;
  }

  .capability-visual {
    min-height: 300px;
  }

  .project-tile-image {
    height: 300px;
  }

  .cert-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .status-badge {
    justify-self: start;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 320px;
  }

  .news-feature-main {
    min-height: 480px;
    padding: 28px;
  }

  .contact-layout {
    gap: 36px;
  }

  .form-card {
    padding: 24px 18px;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
  }

  .footer-bottom {
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }

  .mobile-menu-body {
    padding-top: 20px;
  }

  .mobile-nav-row > a {
    font-size: 1.42rem;
  }

  .search-overlay {
    padding-top: 80px;
  }

  .search-box input {
    font-size: 1.65rem;
  }
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
