@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #061a35;
  --blue: #0a2e5d;
  --bright: #079bd7;
  --steel: #73859a;
  --ice: #f3f7fa;
  --ink: #102034;
  --line: #d9e2e9;
  --white: #ffffff;
  --gray-600: #5c6d7e;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 88vw); margin: 0 auto; }

/* ── Header ── */
.site-header {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
  gap: 36px;
  height: 92px;
  padding: 0 4.5vw;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(6, 26, 53, 0.78);
  backdrop-filter: blur(10px);
}

.site-header.inner-header { position: fixed; }

.site-header.is-stuck {
  background: rgba(6, 26, 53, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand { margin-right: auto; }

.logo-shell {
  align-items: center;
  width: 290px;
  height: 64px;
  display: flex;
  overflow: visible;
}

.logo-shell img {
  object-fit: contain;
  filter: drop-shadow(rgba(255,255,255,0.72) 1px 0) drop-shadow(rgba(255,255,255,0.72) -1px 0)
          drop-shadow(rgba(255,255,255,0.72) 0 1px) drop-shadow(rgba(255,255,255,0.72) 0 -1px)
          drop-shadow(rgba(74,190,242,0.42) 0 0 8px);
  width: 100%;
  height: 100%;
}

.desktop-nav { gap: 30px; font-size: 14px; display: flex; }

.desktop-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 36px 0;
  position: relative;
}

.desktop-nav a::after {
  content: "";
  background: var(--bright);
  height: 2px;
  transition: var(--transition);
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after { right: 0; }

.nav-dropdown { position: relative; align-self: stretch; display: flex; align-items: stretch; }

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 36px 0;
}

.desktop-nav .nav-dropdown-toggle::after {
  content: "▾";
  position: static;
  background: none;
  height: auto;
  width: auto;
  bottom: auto;
  left: auto;
  right: auto;
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.85;
  line-height: 1;
  transition: transform 0.25s ease;
  display: inline-block;
}

.desktop-nav .nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--bright);
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown:focus-within .nav-dropdown-toggle::before,
.nav-dropdown-toggle.active::before { right: 0; }

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.96);
  transform-origin: top center;
  min-width: 210px;
  background: rgb(8, 32, 58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.22s ease;
  box-shadow: rgba(0, 0, 0, 0.35) 0 16px 36px;
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-6px);
  transition: background 0.15s ease, color 0.15s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a::after { display: none; }

.nav-dropdown:hover .nav-dropdown-menu a,
.nav-dropdown:focus-within .nav-dropdown-menu a {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown-menu a:nth-child(1) { transition-delay: 0.04s; }
.nav-dropdown-menu a:nth-child(2) { transition-delay: 0.07s; }
.nav-dropdown-menu a:nth-child(3) { transition-delay: 0.10s; }
.nav-dropdown-menu a:nth-child(4) { transition-delay: 0.13s; }
.nav-dropdown-menu a:nth-child(5) { transition-delay: 0.16s; }
.nav-dropdown-menu a:nth-child(6) { transition-delay: 0.19s; }
.nav-dropdown-menu a:nth-child(7) { transition-delay: 0.22s; }

.nav-dropdown-menu a:first-child {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: rgba(7, 155, 215, 0.22);
  color: var(--white);
}

.mobile-submenu { border-bottom: 1px solid rgb(24, 57, 86); }

.mobile-submenu summary {
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
}

.mobile-submenu summary::-webkit-details-marker { display: none; }

.mobile-submenu a {
  border-bottom: none;
  padding: 10px 12px 10px 26px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.mobile-submenu a:hover,
.mobile-submenu a.active { color: rgb(79, 184, 232); }

.header-cta {
  border: 1px solid rgb(79, 184, 232);
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta:hover { color: var(--navy); background: var(--white); }

.mobile-menu { display: none; }

.menu-toggle { display: none; }

/* Legacy header compat */
.header-inner { display: contents; }
.logo { display: none; }
.main-nav { gap: 30px; font-size: 14px; display: flex; }
.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  padding: 36px 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  background: var(--bright);
  height: 2px;
  transition: var(--transition);
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 100%;
}
.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }
.nav-cta { display: none; }

/* ── Hero ── */
.hero {
  color: var(--white);
  background: var(--navy);
  align-items: center;
  min-height: 900px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero-bg, .hero-media {
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  transform: scale(1.01);
}

.hero-overlay, .hero-shade {
  background: linear-gradient(90deg, rgba(4,21,43,0.98) 0%, rgba(6,26,53,0.94) 32%, rgba(10,46,93,0.42) 62%, rgba(6,26,53,0.12) 100%);
  position: absolute;
  inset: 0;
}

.hero-content {
  z-index: 2;
  width: min(760px, 52vw);
  margin: 92px 0 100px 6vw;
  position: relative;
}

.eyebrow, .section-kicker, .section-tag, .hero-tag {
  color: var(--bright);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  letter-spacing: -0.055em;
  max-width: 820px;
  margin: 0;
  font-size: clamp(56px, 5.6vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  color: var(--white);
}

.hero h1 span { color: rgb(220, 234, 244); }

.hero p, .hero-copy {
  color: rgb(197, 210, 223);
  max-width: 610px;
  margin: 30px 0 0;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions { gap: 14px; margin-top: 34px; display: flex; flex-wrap: wrap; }

.trust-strip {
  z-index: 3;
  backdrop-filter: blur(8px);
  background: rgba(5, 25, 50, 0.86);
  border: 1px solid rgba(154, 189, 213, 0.35);
  display: flex;
  position: absolute;
  bottom: 25px;
  left: 3.3vw;
}

.trust-strip span {
  border-right: 1px solid rgba(154, 189, 213, 0.25);
  padding: 24px 28px;
  font-size: 13px;
  font-weight: 700;
}

.trust-strip span:last-child { border: 0; }
.trust-strip b { color: var(--bright); margin-right: 10px; }

/* ── Buttons ── */
.button, .btn {
  cursor: pointer;
  border: 1px solid transparent;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  display: inline-flex;
}

.button:hover, .btn:hover { transform: translateY(-2px); }

.button.primary, .btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #0a69a8, var(--bright));
  box-shadow: rgba(0, 112, 170, 0.2) 0 12px 30px;
}

.button.secondary, .btn-outline {
  color: var(--white);
  background: rgba(4, 20, 39, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-navy {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.btn-navy:hover { background: var(--navy); }

.text-link, .card-link {
  color: rgb(8, 122, 172);
  font-weight: 800;
  display: inline-block;
}

.text-link { margin-top: 14px; }
.text-link span { margin-left: 8px; }

/* ── Sections ── */
section, .section { padding: 110px 6vw; }

h2 {
  letter-spacing: -0.04em;
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 750;
  line-height: 1.05;
  color: var(--ink);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header p, .intro-copy > p, .section-heading > p {
  color: rgb(92, 109, 126);
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.bg-light, .products, .core-business, .our-team, .products-page, .project-highlights { background: var(--ice); }

.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-header h2, .bg-navy h2 { color: var(--white); }
.bg-navy .section-header p { color: rgba(255,255,255,0.7); }

/* Intro */
.intro { display: block; }

.intro-main {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  display: grid;
}

.intro-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  max-height: 460px;
  background-color: rgb(232, 238, 244);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: rgba(4, 30, 55, 0.08) 0 24px 50px;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.intro-copy h2 {
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  max-width: 14ch;
}

.intro-copy > p {
  color: rgb(92, 109, 126);
  font-size: 16px;
  line-height: 1.75;
  max-width: 52ch;
}

.intro-copy .text-link {
  margin-top: 26px;
  display: inline-block;
}

.intro-project-strip {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding-top: 36px;
}

.intro-project-strip-head {
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

.intro-project-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.intro-project-thumbs a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  display: block;
  background: rgb(232, 238, 244);
  box-shadow: rgba(4, 30, 55, 0.06) 0 12px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intro-project-thumbs a:hover {
  transform: translateY(-4px);
  box-shadow: rgba(4, 30, 55, 0.12) 0 18px 40px;
}

.intro-project-thumbs img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
  display: block;
}

.intro-project-thumbs a:hover img { transform: scale(1.05); }

.metrics {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  padding-top: 30px;
  display: grid;
}

.metrics strong { color: var(--blue); font-size: 23px; display: block; }
.metrics span {
  color: rgb(117, 132, 148);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 7px;
  font-size: 12px;
  display: block;
}

/* Vision / Mission */
.vision-mission {
  color: var(--white);
  background: rgb(41, 67, 93);
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
}

.vision-mission > div, .vision-mission article {
  background: var(--navy);
  min-height: 360px;
  padding: 60px 4vw;
}

.vision-mission .vision-lead {
  background: linear-gradient(135deg, rgb(7, 56, 97), rgb(8, 124, 175));
}

.vision-mission article {
  flex-direction: column;
  justify-content: flex-start;
  gap: 48px;
  display: flex;
}

.vision-mission article span {
  color: rgb(100, 201, 239);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 800;
}

.vision-mission article h3 {
  color: rgb(231, 240, 246);
  max-width: 470px;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.vm-grid { display: contents; }
.vm-card { display: contents; }

.section-kicker.light { color: rgb(105, 197, 237); }

/* Industries */
.industries { padding-top: 90px; padding-bottom: 90px; }

.compact-heading { max-width: 850px; margin-bottom: 50px; }

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

.industry-card {
  background-position: center;
  background-size: cover;
  min-height: 410px;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  background: linear-gradient(rgba(4,20,39,0.05) 25%, rgba(4,20,39,0.92) 100%);
  transition: 0.3s;
  position: absolute;
  inset: 0;
}

.industry-card:hover::before {
  background: linear-gradient(rgba(3,29,53,0.04), rgba(3,42,75,0.9));
}

.industry-card .card-body,
.industry-card div {
  z-index: 1;
  color: var(--white);
  position: absolute;
  bottom: 26px;
  left: 26px;
  right: 26px;
}

.industry-card span {
  color: rgb(91, 199, 239);
  font-size: 11px;
  font-weight: 800;
}

.industry-card h3 { margin: 10px 0 0; font-size: 21px; color: var(--white); }
.industry-card .card-img { display: none; }

.industry-oil { background-image: url('../assets/images/industry-oil-gas.webp'); }
.industry-petro { background-image: url('../assets/images/industry-petrochemical.webp'); }
.industry-power { background-image: url('../assets/images/industry-power-utilities.webp'); }
.industry-marine { background-image: url('../assets/images/industry-maritime.webp'); }
.industry-general { background-image: url('../assets/images/industry-manufacturing.webp'); }
.industry-utilities { background-image: url('../assets/images/industry-power-utilities.webp'); }

/* Core services portfolio (company profile) */
.services-portfolio-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  display: grid;
}

.service-portfolio-card {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-portfolio-card:hover {
  border-color: rgb(128, 189, 217);
  transform: translateY(-4px);
  box-shadow: rgba(4, 30, 55, 0.12) 0 18px 40px;
}

.service-portfolio-num {
  color: rgb(7, 155, 215);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 18px 18px 0;
}

.service-portfolio-image {
  aspect-ratio: 4 / 3;
  margin: 12px 18px 0;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.service-portfolio-body {
  padding: 16px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-portfolio-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}

.service-portfolio-body > p {
  color: rgb(92, 109, 126);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.service-portfolio-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}

.service-portfolio-body li {
  color: rgb(72, 88, 104);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 4px 0 4px 14px;
  position: relative;
}

.service-portfolio-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(7, 155, 215);
}

.service-portfolio-body .text-link {
  font-size: 12px;
  margin-top: auto;
}

.solution-capabilities {
  margin-top: 48px;
  background: rgb(4, 19, 38);
  border-radius: 12px;
  padding: 28px 24px;
}

.solution-capabilities h3 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px;
}

.solution-cap-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.solution-cap-grid span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
  padding: 8px 4px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.solution-cap-grid span:hover {
  background: rgba(7, 155, 215, 0.15);
}

.section-lead-cyan {
  color: rgb(7, 155, 215);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

/* Core Business */
.section-heading {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 8vw;
  margin-bottom: 55px;
  display: grid;
}

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

.business-card {
  color: var(--white);
  background-position: center;
  background-size: cover;
  align-items: flex-end;
  min-height: 510px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.business-card:nth-child(-n+3) { grid-column: span 2; }
.business-card:nth-child(n+4) { grid-column: span 3; min-height: 450px; }

.business-card::before {
  content: "";
  background: linear-gradient(rgba(2,16,31,0.05) 15%, rgba(3,23,45,0.97) 100%);
  transition: 0.3s;
  position: absolute;
  inset: 0;
}

.business-card:hover::before {
  background: linear-gradient(rgba(0,77,116,0.08), rgba(4,49,82,0.97));
}

.business-card > div {
  z-index: 1;
  width: 100%;
  padding: 34px;
  position: relative;
}

.business-card span {
  color: rgb(100, 202, 240);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  font-weight: 800;
}

.business-card h3 { margin: 13px 0; font-size: 27px; color: var(--white); }

.business-card p {
  color: rgb(195, 210, 222);
  min-height: 70px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.business-card b { color: rgb(110, 208, 242); margin-top: 24px; font-size: 12px; display: inline-block; }

.business-valves { background-image: url('../assets/images/products-hero.png'); }
.business-sealing { background-image: url('../assets/images/quotation-hero.png'); }
.business-service { background-image: url('../assets/images/projects-hero.png'); }
.business-testing { background-image: url('../assets/images/octsb-sat-testing.png'); }
.business-engineering { background-image: url('../assets/images/about-hero.png'); }

/* Products grid */
.product-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  display: grid;
}

.product-grid-top { display: contents; }
.product-grid-bottom { display: contents; }

.product-card {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
  flex-direction: column;
  grid-column: span 3;
  min-height: 500px;
  transition: 0.25s;
  display: flex;
  overflow: hidden;
}

.product-card:nth-child(n+5) { grid-column: span 4; }

.product-card:hover {
  border-color: rgb(128, 189, 217);
  transform: translateY(-5px);
  box-shadow: rgba(4, 30, 55, 0.14) 0 20px 55px;
}

.product-image, .product-card .card-img {
  aspect-ratio: 4 / 3;
  background: rgb(232, 238, 244);
  display: block;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-image-gpt {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgb(232, 238, 244);
}

.product-image img { object-fit: cover; width: 100%; height: 100%; transition: transform 0.45s; display: block; }
.product-card:hover .product-image img { transform: scale(1.035); }

.product-card-copy, .product-card .card-body {
  border-top: 3px solid rgb(7, 138, 195);
  flex-direction: column;
  flex: 1;
  padding: 27px;
  display: flex;
}

.product-card-copy > span { color: var(--bright); font-size: 11px; font-weight: 800; }
.product-card h3 { margin: 18px 0 11px; font-size: 22px; color: var(--ink); }
.product-card p { color: rgb(109, 125, 140); margin: 0; font-size: 14px; line-height: 1.55; }
.product-card-copy > a, .product-card .card-link { margin-top: auto; padding-top: 25px; font-size: 13px; }

/* Why us */
.why-us { background: var(--white); }

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

.why-grid article, .service-card {
  border-top: 3px solid rgb(7, 138, 195);
  min-height: 255px;
  padding: 30px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.why-grid article:hover, .service-card:hover {
  border-color: rgb(128, 189, 217);
  transform: translateY(-3px);
  box-shadow: rgba(4, 30, 55, 0.08) 0 12px 30px;
}

.why-grid b { color: rgb(7, 138, 195); font-size: 12px; }
.why-grid h3, .service-card h3 { margin: 55px 0 12px; font-size: 21px; color: var(--ink); }
.why-grid p, .service-card p { color: rgb(99, 117, 136); margin: 0; font-size: 14px; line-height: 1.65; }

.card-icon { display: none; }

/* Facility / Workshop */
.facility {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 8vw;
  display: grid;
}

.facility-photo {
  background-size: cover;
  background-position: center;
  min-height: 570px;
}

.facility > div > p:not(.section-kicker) { color: rgb(92, 109, 126); font-size: 16px; line-height: 1.75; margin-top: 1rem; }

.facility ul { margin: 28px 0; padding: 0; list-style: none; }

.facility li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0 14px 25px;
  position: relative;
  color: rgb(92, 109, 126);
}

.facility li::before {
  content: "";
  background: var(--bright);
  width: 7px;
  height: 7px;
  position: absolute;
  top: 20px;
  left: 0;
}

/* Confidence strip */
.confidence {
  color: var(--white);
  background: var(--navy);
  grid-template-columns: repeat(4, 1fr);
  padding: 0 6vw;
  display: grid;
}

.confidence span, .stats-grid .stat-item {
  text-align: center;
  border-right: 1px solid rgb(37, 66, 94);
  padding: 34px 24px;
  font-size: 12px;
  font-weight: 750;
}

.confidence span:last-child { border-right: 0; }

.stats-grid {
  display: contents;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* CTA */
.cta-band, .cta-banner {
  color: var(--white);
  background: linear-gradient(120deg, rgb(10, 46, 93), rgb(7, 95, 145));
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 78px 6vw;
  display: flex;
  border-radius: 0;
}

.cta-band h2, .cta-banner h2 {
  max-width: 850px;
  font-size: clamp(35px, 4vw, 57px);
  color: var(--white);
}

.cta-band .button, .cta-banner .btn { color: var(--navy); box-shadow: none; background: var(--white); flex: 0 0 auto; }

.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; max-width: 520px; }

/* Director */
.director-message, .director-section {
  color: var(--white);
  background: linear-gradient(135deg, rgb(4, 20, 38), rgb(10, 49, 88));
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
  gap: 8vw;
  display: grid;
}

.director-photo {
  border-bottom: 4px solid var(--bright);
  min-height: 680px;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
}

.director-photo img { object-fit: cover; object-position: center 20%; width: 100%; height: 100%; display: block; }

.director-copy, .director-content {
  flex-direction: column;
  justify-content: center;
  padding: 30px 0;
  display: flex;
}

.director-copy blockquote, .director-content blockquote {
  color: var(--white);
  letter-spacing: -0.025em;
  margin: 0 0 35px;
  font-size: clamp(27px, 3vw, 43px);
  font-weight: 650;
  line-height: 1.25;
  font-style: normal;
  border-left: none;
  padding-left: 0;
}

.director-copy > p:not(.section-kicker), .director-content p {
  color: rgb(185, 203, 217);
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
}

.director-name { font-weight: 700; font-size: 19px; color: var(--white); }

.director-title {
  color: rgb(103, 200, 239);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.director-signoff {
  border-top: 1px solid rgba(255,255,255,0.2);
  gap: 5px;
  margin-top: 30px;
  padding-top: 25px;
  display: grid;
}

/* Grids legacy */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: rgba(4,30,55,0.1) 0 16px 40px; }

.card-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.5rem; font-weight: 700; }
.card-body p { color: rgb(99, 117, 136); font-size: 0.9rem; }

/* Page hero (inner pages) */
.page-hero {
  color: var(--white);
  background: linear-gradient(100deg, rgba(4,19,38,0.98), rgba(8,49,88,0.9));
  align-items: flex-end;
  min-height: 520px;
  padding: 180px 6vw 90px;
  display: flex;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.page-hero.has-bg .page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.page-hero.has-bg .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4,19,38,0.98), rgba(8,49,88,0.9));
}

.page-hero-content { position: relative; z-index: 1; max-width: 900px; }

.page-hero h1 {
  letter-spacing: -0.055em;
  max-width: 900px;
  margin: 0;
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

.page-hero p, .page-hero-content > p { color: rgb(194, 211, 223); max-width: 720px; margin: 26px 0 0; font-size: 19px; line-height: 1.6; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.breadcrumb a { color: rgb(103, 200, 239); }
.breadcrumb .breadcrumb-current { color: var(--white); font-weight: 700; }

.product-root { margin-bottom: 1.5rem; }
.product-root .breadcrumb { margin-bottom: 0.85rem; }

.product-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.35rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.product-subnav a {
  color: rgb(103, 200, 239);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.product-subnav a:hover { color: var(--white); }
.product-subnav a.active { color: var(--white); font-weight: 700; }

@media (max-width: 768px) {
  .product-subnav { gap: 0.35rem 0.9rem; font-size: 0.8125rem; }
}

/* Product detail */
.product-detail-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 0;
  padding: 180px 6vw 90px;
  color: var(--white);
}

.product-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,19,38,0.95) 20%, rgba(6,26,53,0.4));
}

.product-detail-hero .container { position: relative; z-index: 1; }
.product-detail-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; }

.detail-grid, .detail-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: start;
  gap: 10vw;
}

.product-detail-body {
  max-width: 820px;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.detail-section { margin-bottom: 2.5rem; }

.detail-section h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bright);
}

.detail-section p, .detail-section li, .prose p, .detail-copy { color: rgb(92, 109, 126); font-size: 17px; line-height: 1.8; }
.detail-section ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.75rem; }

.product-photo {
  width: 100%;
  max-width: 420px;
  margin: 1.25rem 0 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.product-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 1.25rem;
}

.product-photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.sidebar-box, .detail-layout aside {
  background: var(--ice);
  border-top: 4px solid var(--bright);
  padding: 40px;
  position: sticky;
  top: 90px;
}

.sidebar-box h3 { color: var(--ink); font-size: 1.1rem; margin-bottom: 1rem; }

.checklist, .detail-list { list-style: none; padding: 0; margin: 38px 0 0; }

.checklist li, .detail-list li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0 18px 28px;
  position: relative;
  color: rgb(92, 109, 126);
  font-size: 0.9rem;
}

.checklist li::before, .detail-list li::before {
  content: "";
  background: var(--bright);
  width: 8px;
  height: 8px;
  position: absolute;
  top: 24px;
  left: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-page {
  background: rgb(213, 224, 232);
  grid-template-columns: 1.3fr 1fr;
  gap: 1px;
  display: grid;
  padding: 0;
}

.contact-page article {
  background: var(--ice);
  min-height: 250px;
  padding: 45px;
}

.contact-page h3 { margin: 35px 0 12px; font-size: 25px; }
.contact-page p, .contact-page a { color: rgb(83, 103, 121); margin-top: 35px; font-size: 17px; line-height: 1.7; display: block; }

.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: #4ec4ef;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.contact-icon-fill svg {
  fill: currentColor;
  stroke: none;
}

.contact-info-item h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-info-item p { color: rgb(92, 109, 126); font-size: 0.9rem; margin-top: 0; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bright);
  box-shadow: rgba(90, 197, 238, 0.12) 0 0 0 2px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

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

.quote-form label { color: rgb(197, 212, 224); gap: 8px; font-size: 12px; font-weight: 700; display: grid; }
.quote-form .full { grid-column: 1 / -1; }

.quote-form input, .quote-form select, .quote-form textarea {
  color: var(--white);
  width: 100%;
  font: inherit;
  background: rgb(11, 41, 77);
  border: 1px solid rgb(54, 80, 106);
  border-radius: 0;
  outline: none;
  padding: 15px 16px;
}

.quotation { color: var(--white); background: rgb(7, 30, 59); grid-template-columns: 0.8fr 1.2fr; gap: 9vw; display: grid; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.team-card {
  text-align: center;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--line);
}

.team-photo {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  background-size: cover;
  background-position: center;
}

.team-card .card-body h3 { font-size: 1rem; }
.team-card .card-body .role { color: var(--bright); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }

.team-group-photo {
  background: rgb(7, 28, 52);
  border-bottom: 4px solid rgb(7, 138, 195);
  position: relative;
  overflow: hidden;
  box-shadow: rgba(4, 29, 54, 0.16) 0 25px 70px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--line);
}

.timeline-item { position: relative; padding-bottom: 2.5rem; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--bright);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--bright);
}

.timeline-year { font-weight: 800; color: var(--bright); font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline-item h4 { color: var(--ink); font-size: 1rem; margin-bottom: 0.35rem; }
.timeline-item p { color: rgb(92, 109, 126); font-size: 0.9rem; }

.company-timeline {
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), rgb(11, 60, 106));
  grid-column: 1 / -1;
  grid-template-columns: repeat(5, 1fr);
  display: grid;
}

.company-timeline article {
  border-right: 1px solid rgba(255,255,255,0.18);
  min-height: 155px;
  padding: 35px 28px;
  position: relative;
}

.company-timeline article::before {
  content: "";
  background: var(--navy);
  border: 3px solid rgb(121, 210, 242);
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
}

.company-timeline strong { color: rgb(85, 197, 239); font-size: 27px; display: block; }
.company-timeline span { color: rgb(212, 226, 236); margin-top: 14px; font-size: 13px; line-height: 1.45; display: block; }

/* About page */
.about-overview {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  padding-bottom: 0;
  display: grid;
}

.about-overview-copy { padding: 20px 6vw 65px 0; }

.about-overview-copy > p:not(.section-kicker):not(.petronas-licensed) {
  color: rgb(92, 109, 126);
  font-size: 16px;
  line-height: 1.75;
}

.about-office-photo { min-height: 660px; overflow: hidden; }

.about-office-photo img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
}

.about-capabilities {
  border-top: 1px solid var(--line);
  gap: 0;
  margin-top: 32px;
  display: grid;
}

.about-capabilities article {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 17px 0;
  display: grid;
}

.about-capabilities b { color: rgb(7, 138, 195); font-size: 11px; }
.about-capabilities h3 { margin: 0 0 5px; font-size: 17px; color: var(--ink); }
.about-capabilities p { color: rgb(104, 121, 138); margin: 0; font-size: 13px; }

.about-direction {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
}

.about-vision, .about-mission { min-height: 520px; padding: 75px 6vw; }

.about-vision {
  color: var(--white);
  background: linear-gradient(135deg, rgb(7, 56, 98), rgb(8, 124, 171));
}

.about-vision h2 { color: var(--white); }

.about-vision > p:last-child {
  color: rgb(199, 223, 236);
  font-size: 18px;
  line-height: 1.7;
  margin-top: 1rem;
}

.about-mission { background: var(--ice); }

.about-mission ul { margin: 35px 0 0; padding: 0; list-style: none; }

.about-mission li {
  color: rgb(78, 97, 115);
  border-bottom: 1px solid rgb(213, 224, 232);
  padding: 18px 0 18px 30px;
  line-height: 1.6;
  position: relative;
}

.about-mission li::before {
  content: "";
  background: var(--bright);
  width: 8px;
  height: 8px;
  position: absolute;
  top: 25px;
  left: 0;
}

.our-team { background: var(--ice); }

.page-hero > div { max-width: 900px; position: relative; z-index: 1; }

.page-hero[style*="background-image"] {
  background-size: cover;
  background-position: center;
}

.project-card .card-img { aspect-ratio: 16/9; }

/* Project gallery — bento layout */
.project-gallery { background: var(--ice); }

.project-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.project-gallery-head p:last-child {
  max-width: 420px;
  color: rgb(109, 125, 140);
  font-size: 15px;
  line-height: 1.65;
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-pills button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgb(203, 216, 225);
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.project-pills button:hover,
.project-pills button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.project-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgb(203, 216, 225);
  background: var(--navy);
  min-height: 210px;
  cursor: pointer;
}

.project-tile.is-hidden { display: none; }

.project-tile:focus-visible {
  outline: 2px solid var(--bright);
  outline-offset: 3px;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.project-tile:hover img { transform: scale(1.06); }

.project-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(6, 26, 53, 0.05) 35%, rgba(6, 26, 53, 0.88) 100%);
  color: var(--white);
  transition: background 0.3s ease;
}

.project-tile:hover .project-tile-overlay {
  background: linear-gradient(180deg, rgba(6, 26, 53, 0.15) 10%, rgba(6, 26, 53, 0.94) 100%);
}

.project-tile-tag {
  color: rgb(100, 201, 239);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 10px;
}

.project-tile h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
}

.project-tile p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 520px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-tile:hover p {
  opacity: 1;
  transform: translateY(0);
}

.project-tile-index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}

.project-tile--hero { grid-column: span 7; grid-row: span 2; }
.project-tile--tall { grid-column: span 5; grid-row: span 2; }
.project-tile--wide { grid-column: span 8; grid-row: span 1; }
.project-tile--compact { grid-column: span 4; grid-row: span 1; }

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 53, 0.88);
  backdrop-filter: blur(4px);
}

.project-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 96vw);
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: rgba(0, 0, 0, 0.35) 0 24px 60px;
}

.project-lightbox-dialog img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: rgb(232, 238, 244);
  display: block;
}

.project-lightbox-caption {
  padding: 24px 28px 28px;
}

.project-lightbox-tag {
  color: var(--bright);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 10px;
}

.project-lightbox-caption h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 8px;
}

.project-lightbox-desc {
  color: rgb(109, 125, 140);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.project-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(6, 26, 53, 0.75);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.project-lightbox-close:hover { background: var(--navy); }

/* Home — featured projects */
.project-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgb(203, 216, 225);
  background: var(--navy);
  min-height: 360px;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-featured-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(4, 30, 55, 0.14) 0 20px 55px;
}

.project-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  transition: transform 0.5s ease;
  display: block;
}

.project-featured-card:hover img { transform: scale(1.05); }

.project-featured-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(6, 26, 53, 0.05) 40%, rgba(6, 26, 53, 0.9) 100%);
  color: var(--white);
}

.project-featured-copy span {
  color: rgb(100, 201, 239);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 8px;
}

.project-featured-copy h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}

.project-photo-intro {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgb(203, 216, 225);
}

.project-photo-intro h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.project-photo-intro p {
  color: rgb(109, 125, 140);
  font-size: 15px;
  max-width: 640px;
}

.project-photo-wall {
  column-count: 4;
  column-gap: 16px;
  margin-top: 8px;
}

.project-photo {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgb(203, 216, 225);
  cursor: pointer;
  background: var(--navy);
}

.project-photo.is-hidden,
.project-photo.is-collapsed { display: none; }

.project-photo:focus-visible {
  outline: 2px solid var(--bright);
  outline-offset: 3px;
}

.project-photo img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.project-photo:hover img { transform: scale(1.04); }

.project-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 26, 53, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.project-photo:hover .project-photo-overlay { opacity: 1; }

.project-photo-overlay span {
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.project-load-more-wrap.is-hidden { display: none; }

.project-gallery.is-filter-gallery .project-bento { display: none; }
.project-gallery.is-filter-gallery .project-photo-intro { margin-top: 0; padding-top: 0; border-top: none; }

.project-tag {
  display: inline-block;
  background: rgba(7, 155, 215, 0.12);
  color: var(--bright);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.highlight-grid article {
  background: var(--white);
  border-bottom: 3px solid rgb(7, 138, 195);
  min-height: 290px;
  padding: 34px;
}

/* Services page */
.services {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  display: grid;
}

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

.capability-grid article {
  background: rgb(8, 35, 66);
  min-height: 280px;
  padding: 38px;
}

.capability-grid article > span { color: rgb(85, 194, 238); font-size: 12px; font-weight: 800; }
.capability-grid h3 { margin: 45px 0 14px; font-size: 25px; color: var(--white); }
.capability-grid p { color: rgb(174, 193, 209); font-size: 15px; line-height: 1.65; }
.capability-grid a { color: rgb(97, 199, 239); margin-top: 20px; font-size: 13px; font-weight: 800; display: inline-block; }

.service-list { border-top: 1px solid rgba(255,255,255,0.2); }
.service-list article {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 30px 0;
  display: grid;
}

/* Footer */
.site-footer, footer {
  color: rgb(219, 230, 238);
  background: rgb(4, 19, 38);
  padding: 65px 6vw 25px;
}

.footer-grid, .footer-main {
  grid-template-columns: 1.2fr 0.55fr 1fr 0.7fr;
  gap: 5vw;
  padding-bottom: 55px;
  display: grid;
}

.footer-brand p { color: rgb(137, 161, 180); font-size: 14px; line-height: 1.7; margin-top: 1rem; }
.footer-brand .logo { display: none; }

.footer-col h4, .footer-main h3 {
  color: rgb(102, 197, 237);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  margin-bottom: 1.25rem;
}

.footer-col a, .footer-col p, .footer-main p, .footer-main a {
  color: rgb(158, 176, 191);
  font-size: 14px;
  line-height: 1.7;
  display: block;
  padding: 0.2rem 0;
}

.footer-col a:hover, .footer-main a:hover { color: var(--bright); }

.footer-bottom {
  color: rgb(111, 135, 154);
  border-top: 1px solid rgb(34, 55, 76);
  justify-content: space-between;
  padding-top: 24px;
  font-size: 11px;
  display: flex;
}

.content-split, .product-intro, .about-overview, .project {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 9vw;
  display: grid;
}

.selection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.selection-tags span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
}

.values {
  background: rgb(213, 224, 232);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  display: grid;
}

.values article {
  background: var(--ice);
  min-height: 330px;
  padding: 55px 4vw;
}

.values span { color: rgb(7, 131, 185); text-transform: uppercase; letter-spacing: 0.15em; font-size: 11px; font-weight: 800; }
.values h3 { margin: 55px 0 0; font-size: 25px; line-height: 1.45; }

/* Responsive */
.hydrotest-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hydrotest-intro-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hydrotest-intro-copy .section-lead-cyan {
  margin-bottom: 1.25rem;
}

.hydrotest-intro-copy > p {
  color: rgb(92, 109, 126);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.hydrotest-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.hydrotest-benefits li {
  color: rgb(72, 88, 104);
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.hydrotest-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(7, 155, 215);
  font-weight: 800;
}

.hydrotest-intro-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgb(203, 216, 225);
}

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

.hydrotest-service-card {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hydrotest-service-card .card-num {
  color: rgb(7, 155, 215);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 18px 18px 0;
}

.hydrotest-service-card .card-img {
  margin: 12px 18px 0;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
}

.hydrotest-service-card .card-body {
  padding: 16px 18px 22px;
  flex: 1;
}

.hydrotest-service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.hydrotest-service-card h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(7, 155, 215);
  margin: 14px 0 8px;
}

.hydrotest-service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hydrotest-service-card li {
  color: rgb(92, 109, 126);
  font-size: 13px;
  line-height: 1.55;
  padding: 3px 0 3px 14px;
  position: relative;
}

.hydrotest-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(7, 155, 215);
}

.qa-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.qa-step {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}

.qa-step b {
  display: block;
  color: rgb(7, 155, 215);
  font-size: 11px;
  margin-bottom: 8px;
}

.qa-step span {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

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

.hydrotest-panel {
  background: rgb(4, 19, 38);
  border-radius: 12px;
  padding: 28px 24px;
  color: var(--white);
}

.hydrotest-panel h3 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hydrotest-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

.hydrotest-panel li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.hydrotest-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgb(103, 200, 239);
  font-weight: 700;
}

.hydrotest-panel.light {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
}

.hydrotest-panel.light h3 { color: rgb(7, 155, 215); }
.hydrotest-panel.light li { color: rgb(72, 88, 104); }
.hydrotest-panel.light li::before { color: rgb(7, 155, 215); }

.hydrotest-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hydrotest-apps span {
  background: var(--white);
  border: 1px solid rgb(203, 216, 225);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hydrotest-standards {
  background: rgb(4, 19, 38);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.hydrotest-standards h3 {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hydrotest-standards p {
  color: rgb(103, 200, 239);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
}

.hydrotest-standards small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.other-services-grid .service-card { min-height: 0; }

.pdf-viewer-block {
  background: var(--ice);
  border: 1px solid rgb(203, 216, 225);
  border-radius: 12px;
  overflow: hidden;
}

.pdf-viewer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgb(4, 19, 38);
  color: var(--white);
}

.pdf-viewer-head p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.pdf-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pdf-viewer-actions a {
  font-size: 12px;
  font-weight: 700;
  color: rgb(103, 200, 239);
}

.pdf-embed {
  display: block;
  width: 100%;
  height: min(92vh, 1200px);
  border: 0;
  background: rgb(230, 236, 242);
}

.pdf-viewer-note {
  padding: 14px 20px;
  font-size: 13px;
  color: rgb(92, 109, 126);
  border-top: 1px solid rgb(203, 216, 225);
}

.brochure-fullpage {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: auto;
  margin: 0 auto;
  border-radius: 0 0 12px 12px;
  image-rendering: auto;
}

.hydrotest-banner-hero {
  position: relative;
  background: rgb(4, 19, 38);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 78px;
}

.hydrotest-banner-hero .breadcrumb-bar {
  position: absolute;
  top: 96px;
  left: max(6vw, calc((100% - 1024px) / 2 + 24px));
  z-index: 2;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.hydrotest-banner-hero .breadcrumb-bar a {
  color: rgb(103, 200, 239);
}

.hydrotest-banner-hero img {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: auto;
  image-rendering: auto;
}

.pdf-viewer-block {
  max-width: 1024px;
  margin: 0 auto;
}

@media (max-width: 1050px) {
  .desktop-nav, .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    cursor: pointer;
    border: 1px solid rgb(79, 184, 232);
    padding: 11px 15px;
    font-size: 12px;
    font-weight: 800;
    list-style: none;
    color: var(--white);
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    background: var(--navy);
    border: 1px solid rgb(40, 77, 112);
    width: 230px;
    padding: 12px;
    display: grid;
    position: absolute;
    top: 48px;
    right: 0;
    box-shadow: rgba(0,0,0,0.3) 0 18px 40px;
    z-index: 100;
  }
  .mobile-menu nav a {
    border-bottom: 1px solid rgb(24, 57, 86);
    padding: 12px;
    font-size: 13px;
    color: var(--white);
  }
  .hero-content { width: 70vw; }
  section, .section { padding: 85px 5vw; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card:nth-child(n) { grid-column: auto; }
  .grid-4, .footer-grid, .footer-main { grid-template-columns: repeat(2, 1fr); }
  .hydrotest-intro, .hydrotest-split { grid-template-columns: 1fr; }
  .hydrotest-service-grid { grid-template-columns: 1fr; }
  .qa-process { grid-template-columns: repeat(3, 1fr); }
  .hydrotest-apps { grid-template-columns: repeat(2, 1fr); }
  .hydrotest-benefits, .hydrotest-panel ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header { height: 78px; padding: 0 18px; }
  .logo-shell { width: 190px; height: 48px; }
  .hero { align-items: flex-start; min-height: 780px; }
  .hero-bg, .hero-media { opacity: 0.65; background-position: 62% center; }
  .hero-overlay, .hero-shade { background: linear-gradient(rgba(4,21,43,0.95) 10%, rgba(6,26,53,0.88) 55%, rgba(6,26,53,0.76)); }
  .hero-content { width: auto; margin: 150px 24px 180px; }
  .hero h1 { font-size: 48px; }
  .hero p, .hero-copy { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-strip { display: grid; bottom: 20px; left: 18px; right: 18px; }
  .trust-strip span { border-bottom: 1px solid rgba(154,189,213,0.2); border-right: 0; padding: 13px 17px; }
  .intro, .section-heading, .services, .project, .quotation, .content-split, .detail-grid, .detail-layout,
  .facility, .director-message, .director-section, .about-overview, .about-direction, .product-intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-main { grid-template-columns: 1fr; gap: 28px; }
  .intro-photo { max-height: none; aspect-ratio: 16 / 10; }
  .intro-copy h2 { max-width: none; }
  .intro-project-thumbs { grid-template-columns: repeat(2, 1fr); }
  .about-overview-copy { padding: 0; }
  .about-office-photo { min-height: 420px; }
  .about-vision, .about-mission { min-height: 0; padding: 55px 24px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .services-portfolio-grid { grid-template-columns: 1fr; }
  .qa-process { grid-template-columns: repeat(2, 1fr); }
  .hydrotest-apps { grid-template-columns: 1fr; }
  .product-card:nth-child(n) { grid-column: auto; min-height: 0; }
  .director-photo { min-height: 560px; }
  .vision-mission { grid-template-columns: 1fr; }
  .vision-mission > div, .vision-mission article { min-height: 300px; padding: 45px 24px; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .services-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-cap-grid { grid-template-columns: repeat(4, 1fr); }
  .industry-card { min-height: 360px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card:nth-child(n) { grid-column: auto; min-height: 440px; }
  .company-timeline { grid-template-columns: 1fr; }
  .confidence span, .stats-grid .stat-item { border-bottom: 1px solid rgb(37,66,94); border-right: 0; }
  .page-hero { min-height: 440px; padding: 145px 24px 70px; }
  .page-hero h1 { font-size: 48px; }
  .cta-band, .cta-banner { flex-direction: column; align-items: flex-start; }
  .quote-form { grid-template-columns: 1fr; }
  .footer-grid, .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .sidebar-box, .detail-layout aside { position: static; }
  .project-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .project-tile--hero, .project-tile--tall, .project-tile--wide, .project-tile--compact {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }
  .project-tile p { opacity: 1; transform: none; }
  .project-gallery-head { flex-direction: column; align-items: flex-start; }
  .project-featured-grid { grid-template-columns: 1fr; }
  .project-featured-card { min-height: 300px; }
  .project-photo-wall { column-count: 2; }
}

.form-privacy {
  margin: 0 0 1rem;
  color: var(--gray-600);
  font-size: 13px;
  line-height: 1.55;
}

.location-band .compact-heading p:last-child {
  margin-top: 0.7rem;
  color: var(--gray-600);
  font-size: 16px;
}

.contact-map {
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #e7eef3;
  min-height: 420px;
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-open {
  display: inline-flex;
  margin-top: 16px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.petronas-licensed {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 22px;
  padding: 10px 14px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.petronas-logo {
  width: 22px;
  height: 26px;
  display: block;
  flex: none;
}

.petronas-word {
  color: #00a19c;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.petronas-status {
  color: var(--navy);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .project-photo-wall { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { transition: none !important; }
}
