:root {
  /* CCS identity */
  --olive: #5f7f0e;
  --olive-deep: #3c520c;
  --olive-ink: #2c3b09;
  --lime: #c6f162;
  --lime-deep: #b4e24a;
  --ink: #404040;
  /* CSL / PETRONAS brochure palette. Used on Si-COAT product sections and the partner badge. */
  --csl-teal: #00a99f;
  --csl-lime: #b3db18;
  --csl-ink: #232d30;
  --csl-panel: #ececec;
  --muted: #5c5c5c;
  --paper: #f4f5ef;
  --white: #ffffff;
  --line: #d9decc;
  --line-strong: #c5ccb4;
  --danger: #8a3b2a;
  --shadow: 0 18px 40px rgba(44, 59, 9, 0.08);
  --header: 76px;
  --max: 1120px;
  /* Museo Sans needs an Adobe Fonts kit. Until CCS adds a kit ID, Raleway is the visible body face. */
  --sans: "museo-sans", "Raleway", system-ui, sans-serif;
  --display: "Raleway", "museo-sans", system-ui, sans-serif;
  --light: "Montserrat", "Raleway", system-ui, sans-serif;
  --arabic: "Noto Sans Arabic", "Raleway", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
:lang(ar) body,
:lang(ar) button,
:lang(ar) input,
:lang(ar) textarea {
  font-family: var(--arabic);
}
img {
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}
a { color: var(--olive-deep); }
a:hover { color: var(--olive-ink); }
:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: var(--lime);
  color: var(--olive-ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-inline-end: auto;
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 650;
}
:lang(ar) .brand-name strong { font-family: var(--arabic); letter-spacing: 0; font-size: 1.05rem; }
.brand-name span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--white);
}
.lang-switch a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  padding: 6px 8px;
  border-radius: 999px;
}
.lang-switch a[aria-current="true"] {
  background: var(--olive);
  color: white;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 650;
}

.site-nav {
  border-top: 1px solid var(--line);
  background: var(--white);
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 8px 0 10px;
}
.header-enquire { padding: 8px 12px; font-size: 0.9rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav a[aria-current="page"] {
  color: var(--olive-deep);
  box-shadow: inset 0 -2px 0 var(--lime-deep);
}

.hero {
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(198, 241, 98, 0.16), transparent 50%),
    linear-gradient(160deg, #2f400b 0%, #3c520c 55%, #4d6810 100%);
  color: white;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  padding: 56px 0 48px;
  align-items: end;
}
.kicker {
  margin: 0 0 10px;
  color: var(--lime);
  font-family: var(--light);
  font-weight: 300;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
:lang(ar) .kicker { letter-spacing: 0; text-transform: none; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; font-family: var(--display); }
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: 0;
  margin: 0 0 16px;
}
:lang(ar) h1, :lang(ar) h2, :lang(ar) .brand-name strong {
  font-family: var(--arabic);
  letter-spacing: 0;
}
.hero h1 { color: white; }
.lead { font-size: 1.12rem; max-width: 68ch; }
.hero .lead { color: #f3f6ea; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-lime { background: var(--lime); color: var(--olive-ink); }
.btn-lime:hover { background: white; color: var(--olive-ink); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-olive { background: var(--olive); color: white; }
.btn-olive:hover { background: var(--olive-deep); color: white; }

.supply-band {
  background: white;
  border-bottom: 1px solid var(--line);
}
.supply-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
}
.supply-band .kicker { color: var(--olive-deep); }
.supply-band h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.supply-band p { margin: 0; max-width: 72ch; }
.supply-band .btn { white-space: nowrap; }

.spec-plate {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(198, 241, 98, 0.35);
  border-radius: 14px;
  padding: 18px 18px 8px;
}
.spec-plate ol { list-style: none; margin: 0; padding: 0; }
.spec-plate li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.spec-plate li:first-child { border-top: 0; }
.spec-plate strong { display: block; color: white; }
.spec-plate span { color: #e4ebcf; font-size: 0.92rem; }
.num {
  font-family: var(--display);
  color: var(--lime);
  font-size: 1.6rem;
  line-height: 1;
}

.page-head { padding: 36px 0 8px; }
.page-head h1 { color: var(--olive-ink); margin-bottom: 10px; }
.review-note {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  background: #fbfcf6;
  color: var(--muted);
  font-size: 0.82rem;
}

.section { padding: 28px 0; }
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -28px;
  position: relative;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--olive);
  border-radius: 12px;
  padding: 16px 16px 14px;
}
.metric b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--olive-deep);
  line-height: 1;
}
:lang(ar) .metric b { font-family: var(--arabic); font-size: 1.45rem; }
.metric span { display: block; font-weight: 700; margin: 6px 0 4px; }
.metric small { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.card .num { display: block; margin-bottom: 6px; }
h2 { font-size: 1.7rem; margin: 0 0 12px; color: var(--olive-ink); letter-spacing: 0; }
h3 { margin: 18px 0 8px; font-size: 1.2rem; color: var(--olive-deep); }

.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-inline-start: 1.2rem; }
.prose li { margin: 6px 0; }

.feature {
  background: white;
  border: 1px solid var(--line);
  border-inline-start: 6px solid var(--csl-teal);
  border-radius: 12px;
  padding: 18px 20px 8px;
  margin: 8px 0 18px;
}
.feature h2 { margin-bottom: 2px; }
.feature-name { margin: 0 0 8px; font-weight: 650; color: var(--csl-ink); }
.case-soon, .case-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}
.case-link { color: var(--olive-deep); }

.timeline {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
}
.timeline li {
  position: relative;
  margin: 0 0 16px;
  padding: 2px 0 4px 22px;
  border-inline-start: 3px solid var(--olive);
}
.timeline .when {
  display: block;
  color: var(--olive-deep);
  font-weight: 700;
  font-size: 0.92rem;
}
.timeline h3 { margin: 2px 0 6px; }
.timeline p { margin: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: start; padding: 10px 12px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--olive-deep); color: white; font-weight: 650; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: #f8faf3; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.steps h3 { margin: 0 0 4px; }

.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 650;
  font-size: 0.92rem;
}

form.enquiry { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 650; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { min-height: 140px; resize: vertical; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #f8fbe9;
  border: 1px solid var(--line-strong);
}
.notice.error { background: #fbf3f1; border-color: #e4c8c2; color: var(--danger); }
.mailto { margin-top: 8px; }

.site-footer {
  margin-top: 28px;
  background: #2a2a2a;
  color: #ececec;
  padding: 32px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.footer-brand img { width: 44px; height: 44px; background: white; border-radius: 8px; }
.legal {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #cfcfcf;
  font-size: 0.92rem;
}

/* Si-COAT / CSL product sections. CCS header and footer stay on the CCS palette. */
.csl-page .kicker { color: var(--csl-teal); }
.csl-page h1 {
  color: var(--csl-ink);
  box-shadow: inset 0 3px 0 var(--csl-teal);
  padding-top: 12px;
}
.csl-band {
  position: relative;
  overflow: hidden;
  background: var(--csl-panel);
  border-block: 1px solid #e2e2e2;
}
.csl-band .wrap { position: relative; z-index: 1; }
.csl-band::before,
.csl-band::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
}
.csl-band::before {
  top: -70px;
  inset-inline-end: -40px;
  background: linear-gradient(135deg, var(--csl-teal) 50%, transparent 50%);
  opacity: 0.18;
}
.csl-band::after {
  bottom: -80px;
  inset-inline-start: -50px;
  background: linear-gradient(135deg, transparent 50%, var(--csl-lime) 50%);
  opacity: 0.45;
}
.partner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 18px;
}
.partner img {
  width: auto;
  height: 112px;
  max-width: none;
  object-fit: contain;
  background: transparent;
  flex: 0 0 auto;
}
.partner figcaption {
  margin: 0;
  color: var(--csl-ink);
  font-family: var(--light);
  font-weight: 300;
  font-size: 0.95rem;
  max-width: 28ch;
}
.product-label {
  color: var(--csl-teal);
  font-weight: 700;
}
.footer-partner {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-partner img {
  height: 96px;
  width: auto;
  max-width: none;
  object-fit: contain;
  background: transparent;
  flex: 0 0 auto;
}
.footer-partner p {
  margin: 0;
  color: #f2f2f2;
  font-family: var(--light);
  font-weight: 300;
  max-width: 28ch;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 18px;
}
.gallery picture, .hero-photo picture, .lead-photo picture {
  display: block;
  width: 100%;
}
.shot, .hero-photo, .lead-photo { margin: 0; min-width: 0; }
.gallery img, .lead-photo img, .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  background: transparent;
}
.gallery img { aspect-ratio: 4 / 3; height: 220px; }
.lead-photo img { height: auto; max-height: 640px; object-fit: contain; background: var(--csl-panel); }
.hero-photo img { height: min(52vw, 460px); border-radius: 16px; }

@media (max-width: 900px) {
  .hero-grid, .metrics, .cards, .footer-grid, .fields, .supply-grid { grid-template-columns: 1fr; }
  .metrics { margin-top: 16px; }
  .header-bar { flex-wrap: wrap; row-gap: 8px; padding-bottom: 8px; }
  .brand { min-width: 0; }
  .brand-name strong { white-space: nowrap; font-size: 1.15rem; }
  .header-enquire { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 10px 0; }
  .header-bar { min-height: 68px; }
  .brand-name span { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: auto; max-height: 420px; }
}
