/* ============================================================
   GRV Chemicals LLP — Main Stylesheet
   Mobile-first, lightweight, SEO-focused
   ============================================================ */

/* ============================================================
   Fonts — self-hosted (no CDN). Inter for body and headings,
   the Twenty Twenty-Four body typeface.
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/inter/Inter-VariableFont_slnt,wght.woff2") format("woff2");
}

/* ============================================================
   CSS Custom Properties
   ============================================================ */

:root {
  --navy: #0e1838;
  --navy-dark: #080d24;
  --navy-mid: #1d2c6e;
  --green: #4f9a2e;
  --green-dark: #3d7d22;
  --green-light: #6fb23e;
  --green-tint: rgba(79, 154, 46, 0.08);
  --text: #1a2035;
  --text-muted: #48516c;
  --text-light: #8b9ab0;
  --bg: #f7f8fb;
  --white: #ffffff;
  --border: rgba(15, 24, 48, 0.10);
  --shadow-sm: 0 1px 3px rgba(15, 24, 48, 0.08);
  --shadow: 0 4px 12px rgba(15, 24, 48, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 24, 48, 0.16);
  --radius: 8px;
  --radius-sm: 8px;
  --radius-lg: 8px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-sans);
  --max-w: 1240px;
  --header-h: 68px;
  --topbar-h: 38px;
}

/* ============================================================
   Reset
   ============================================================ */

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

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

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Typography
   Classic serif headings on a clean system-sans body — gives the
   site a traditional, established feel with zero font downloads.
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-head);
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.9rem;
}

p {
  margin-bottom: 1rem;
}

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

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

/* ============================================================
   Container
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 60px);
  padding-right: clamp(16px, 4vw, 60px);
}

/* ============================================================
   Section
   ============================================================ */

.section {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo:hover {
  color: var(--navy);
}

/* ============================================================
   Logo lockup (emblem + crisp wordmark) — header & footer
   ============================================================ */

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo-lockup .logo-emblem {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--navy);
  white-space: nowrap;
  text-transform: uppercase;
}

.logo-wordmark span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green-dark);
  margin-top: 3px;
}

/* Footer / dark background variant */
.logo-lockup--light .logo-wordmark {
  color: var(--white);
}

.logo-lockup--light .logo-wordmark span {
  color: var(--green-light);
}

.logo-lockup--light .logo-emblem {
  height: 42px;
}

@media (max-width: 560px) {
  .logo-lockup .logo-emblem {
    height: 38px;
  }
  .logo-wordmark {
    font-size: 0.98rem;
  }
}

/* ============================================================
   Main Navigation
   ============================================================ */

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 6px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  background-color: var(--green-tint);
  color: var(--green-dark);
}

.main-nav a.current-menu-item,
.main-nav a.current-page-ancestor {
  color: var(--green-dark);
  background-color: var(--green-tint);
}

/* ============================================================
   Header CTA
   ============================================================ */

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.btn-search:hover {
  background-color: var(--green-tint);
  color: var(--green);
}

/* ============================================================
   Mobile Menu Toggle
   ============================================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   Mobile Navigation Overlay
   ============================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  background-color: var(--navy);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-close {
  align-self: flex-end;
  background-color: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  margin-bottom: 24px;
  line-height: 1;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  margin: 0;
}

.mobile-nav-list a {
  display: block;
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.15s ease;
}

.mobile-nav-list a:hover {
  color: var(--green-light);
}

.mobile-nav-cta {
  margin-top: auto;
  padding-top: 24px;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  font-family: inherit;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background-color: rgba(14, 24, 56, 0.04);
  color: var(--navy);
}

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

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* ============================================================
   Exhibition Banner
   ============================================================ */

.exhibition-banner {
  background-color: var(--navy);
  border-bottom: 2px solid var(--green);
  padding: 10px 0;
}

.exhibition-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.exhibition-banner-icon {
  color: var(--green-light);
  flex-shrink: 0;
}

.exhibition-banner-text {
  flex: 1;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.exhibition-banner-text strong {
  color: var(--white);
}

.exhibition-badge {
  background-color: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.exhibition-sep {
  color: rgba(255, 255, 255, 0.3);
}

.exhibition-booth {
  color: var(--green-light);
  font-weight: 600;
}

.exhibition-desc {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  width: 100%;
  margin-top: 2px;
}

.exhibition-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.exhibition-banner-cta:hover {
  background-color: var(--green-dark);
  color: var(--white);
}

.exhibition-banner-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.exhibition-banner-close:hover {
  color: var(--white);
}

@media (max-width: 480px) {
  .exhibition-banner-text {
    font-size: 0.8rem;
  }
  .exhibition-banner-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #13205a 100%);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  color: var(--white);
  text-align: center;
}

.hero.hero-compact {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.hero.hero-compact h1 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 10px;
  display: block;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

/* ============================================================
   Search Bar
   ============================================================ */

.search-bar {
  display: flex;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
}

.search-bar:focus-within {
  border-color: var(--green);
}

.search-bar input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  background-color: transparent;
}

.search-bar button {
  padding: 16px 28px;
  background-color: var(--green);
  color: var(--white);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.search-bar button:hover {
  background-color: var(--green-dark);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Hero Photo — Brenntag-style full-bleed
   ============================================================ */

.hero-photo {
  position: relative;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center 40%;
  text-align: left;
}

.hero-photo-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    108deg,
    rgba(8, 13, 36, 0.70) 0%,
    rgba(14, 24, 56, 0.52) 52%,
    rgba(14, 24, 56, 0.18) 100%
  );
  z-index: 1;
}

.hero-photo .container {
  position: relative;
  z-index: 2;
}

/* ============================================================
   Hero Banner Slider
   ============================================================ */

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-slide {
    background-image: var(--bg-mobile);
    background-position: center center;
  }
}

.hero-slide-active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.65);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
  flex-shrink: 0;
}

.hero-dot:hover {
  background: rgba(255,255,255,.55);
}

.hero-dot-active {
  background: white;
  border-color: white;
  transform: scale(1.3);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: white;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

@media (max-width: 768px) {
  .hero-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-dots {
    bottom: 16px;
    gap: 8px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }
}

/* Optional banner image behind the hero (set via Customizer) */
.hero--image {
  position: relative;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(460px, 82vh, 800px);
  padding-top: 0;
  padding-bottom: clamp(28px, 5vh, 60px);
}

/* Bottom-anchored overlay so the text band sits in the lower portion */
.hero--image::before {
  background: linear-gradient(to top, rgba(8, 13, 36, 0.92) 0%, rgba(8, 13, 36, 0.55) 22%, rgba(8, 13, 36, 0.12) 45%, rgba(8, 13, 36, 0) 70%);
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 13, 36, 0.85) 0%, rgba(14, 24, 56, 0.72) 100%);
  z-index: 1;
}

.hero--image .container {
  position: relative;
  z-index: 2;
}

/* Compact banner text so it forms a tidy band at the bottom, not the whole banner */
.hero--image .hero-label {
  margin-bottom: 6px;
}

.hero--image h1 {
  font-size: clamp(1.12rem, 2.24vw, 1.82rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero--image .hero-sub {
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.5;
  margin-bottom: 18px;
}

.hero--image .hero-cta .btn {
  padding: 11px 22px;
  font-size: 0.95rem;
}

/* Mobile: keep the banner text/buttons to a small bottom band */
@media (max-width: 600px) {
  .hero--image {
    padding-bottom: 20px;
  }
  .hero--image .hero-label {
    font-size: 0.58rem;
    margin-bottom: 3px;
  }
  .hero--image h1 {
    font-size: 1.3rem;
    line-height: 1.15;
    margin-bottom: 22px;
  }
  /* Sub-text hidden on phones to keep the hero compact (still shows on desktop) */
  .hero--image .hero-sub {
    display: none;
  }
  .hero--image .hero-cta {
    gap: 8px;
  }
  .hero--image .hero-cta .btn {
    padding: 7px 13px;
    font-size: 0.78rem;
  }
}

.hero-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-photo .hero-sub {
  margin-left: 0;
  margin-right: 0;
}

.hero-photo .hero-cta {
  justify-content: flex-start;
}

/* ============================================================
   Photo Tiles — Brenntag-style grid
   ============================================================ */

.photo-tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.photo-tiles-grid .photo-tile:nth-child(-n+3) {
  grid-column: span 2;
}

.photo-tiles-grid .photo-tile:nth-child(n+4) {
  grid-column: span 3;
}

.photo-tiles-grid-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.photo-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  text-decoration: none;
  background-color: var(--navy-dark);
  cursor: pointer;
}

.photo-tile-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.photo-tile:hover .photo-tile-bg {
  transform: scale(1.06);
}

.photo-tile::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    to top,
    rgba(8, 13, 36, 0.90) 0%,
    rgba(8, 13, 36, 0.30) 55%,
    transparent 100%
  );
  transition: background 0.3s ease;
  z-index: 1;
}

.photo-tile:hover::after {
  background: linear-gradient(
    to top,
    rgba(8, 13, 36, 0.93) 0%,
    rgba(8, 13, 36, 0.55) 60%,
    rgba(8, 13, 36, 0.10) 100%
  );
}

.photo-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  z-index: 2;
}

.photo-tile-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.photo-tile-content .tile-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  display: block;
}

.photo-tile-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.photo-tile:hover .photo-tile-arrow {
  opacity: 1;
  transform: translateY(0);
}

.photo-tiles-grid-sm .photo-tile {
  min-height: 200px;
}

.photo-tiles-grid-sm .photo-tile-content h3 {
  font-size: 1rem;
}

/* ============================================================
   Cards
   ============================================================ */

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(79, 154, 46, 0.35);
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   Category Cards
   ============================================================ */

.category-card {
  padding: 40px 20px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  min-height: 350px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(79, 154, 46, 0.35);
  color: inherit;
}

.category-icon {
  width: 46px;
  height: 46px;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
  margin-bottom: 14px;
}

.category-icon svg {
  width: 22px;
  height: 22px;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.category-products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  text-align: left;
}

.category-products li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.category-products li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green);
  vertical-align: middle;
  margin-right: 8px;
}

/* ============================================================
   Product Cards
   ============================================================ */

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.3;
}

.product-card .cas-badge {
  font-size: 0.72rem;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  background-color: var(--green-tint);
  color: var(--green-dark);
  padding: 3px 9px;
  border-radius: var(--radius);
  border: 1px solid rgba(79, 154, 46, 0.2);
  display: inline-block;
  align-self: flex-start;
  margin: 10px 0 0;
}

/* Trim long descriptions so cards stay even */
.product-card .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .category-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.product-card .card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(15, 24, 48, 0.015);
}

/* ============================================================
   Grids
   ============================================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Tighter vertical rhythm for card sections */
.section--cards {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(36px, 5vw, 60px);
}

.section--cards .section-header {
  margin-bottom: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Cards size to their content on phones — no tall empty space */
  .category-card {
    min-height: 0;
    padding: 26px 18px 24px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ============================================================
   Feature Items
   ============================================================ */

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Industry Cards
   ============================================================ */

.industry-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: default;
}

.industry-card:hover {
  background-color: var(--green-tint);
  border-color: var(--green);
}

.industry-card svg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  color: var(--green);
}

/* ============================================================
   Process Steps
   ============================================================ */

.process-steps {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
}

.step {
  flex: 1;
  min-width: 130px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 4px;
}

.step-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.step.active {
  background-color: var(--green);
  border-color: var(--green);
}

.step.active .step-num {
  color: rgba(255, 255, 255, 0.7);
}

.step.active .step-name {
  color: var(--white);
}

.step-arrow {
  color: var(--border);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Steps on dark backgrounds */
.section-navy .step,
.section-navy-mid .step,
.section-navy-dark .step {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-navy .step .step-num,
.section-navy-mid .step .step-num,
.section-navy-dark .step .step-num {
  color: rgba(255, 255, 255, 0.5);
}

.section-navy .step .step-name,
.section-navy-mid .step .step-name,
.section-navy-dark .step .step-name {
  color: rgba(255, 255, 255, 0.9);
}

.section-navy .step.active,
.section-navy-mid .step.active,
.section-navy-dark .step.active {
  background-color: var(--green);
  border-color: var(--green);
}

.section-navy .step.active .step-num,
.section-navy-mid .step.active .step-num,
.section-navy-dark .step.active .step-num {
  color: rgba(255, 255, 255, 0.7);
}

.section-navy .step.active .step-name,
.section-navy-mid .step.active .step-name,
.section-navy-dark .step.active .step-name {
  color: var(--white);
}

.section-navy .step-arrow,
.section-navy-mid .step-arrow,
.section-navy-dark .step-arrow {
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   Forms
   ============================================================ */

.form-group {
  margin-bottom: 20px;
}

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

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.form-error {
  font-size: 0.8rem;
  color: #c53030;
  margin-top: 4px;
}

.form-success {
  font-size: 0.9rem;
  color: var(--green-dark);
  background-color: var(--green-tint);
  border: 1px solid rgba(79, 154, 46, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.btn-submit {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
   Table
   ============================================================ */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  font-size: 0.9rem;
}

.product-table th {
  background-color: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.product-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.product-table tr:last-child td {
  border-bottom: none;
}

.product-table tr:hover td {
  background-color: var(--green-tint);
}

.product-table .cas {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  font-size: 0.8rem;
}

/* ============================================================
   Breadcrumbs
   ============================================================ */

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-light);
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.breadcrumbs .sep {
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text-muted);
}

/* ============================================================
   Global CTA / Lead Capture
   ============================================================ */

.global-cta {
  background-color: var(--navy);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  color: var(--white);
}

.global-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.global-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.global-cta-inner {
  text-align: center;
}

.global-cta-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.global-cta-form input {
  flex: 1 1 180px;
  padding: 12px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.global-cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.global-cta-form input:focus {
  border-color: var(--green-light);
  background-color: rgba(255, 255, 255, 0.12);
}

.global-cta-form .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: clamp(40px, 6vw, 64px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--green-light);
}

.footer-logo-img {
  display: block;
  width: 160px;
  height: auto;
}

.footer-gst {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  letter-spacing: 0.04em;
}

.footer-address {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
  white-space: nowrap;
}

.footer-contact-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ============================================================
   CAS Badge (standalone)
   ============================================================ */

.cas-badge {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-dark);
  background-color: var(--green-tint);
  border: 1px solid rgba(79, 154, 46, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius);
  display: inline-block;
}

/* ============================================================
   Dark Section Variants
   ============================================================ */

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

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

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

.section-navy .section-label,
.section-navy-mid .section-label,
.section-navy-dark .section-label {
  color: var(--green-light);
}

.section-navy-mid .section-title,
.section-navy-dark .section-title,
.section-navy-mid h2,
.section-navy-dark h2,
.section-navy-mid h3,
.section-navy-dark h3 {
  color: var(--white);
}

.section-navy-mid .section-desc,
.section-navy-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.section-navy .section-title {
  color: var(--white);
}

.section-navy .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   Product Detail Page
   ============================================================ */

.product-detail {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.product-meta {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 32px;
}

.product-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}

.product-meta-row {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.product-meta-row:last-child {
  border-bottom: none;
}

.product-meta-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  min-width: 185px;
  flex-shrink: 0;
}

.product-meta-value {
  font-size: 0.9rem;
  color: var(--text);
}

.product-grade-row {
  align-items: center;
  justify-content: space-between;
}

.product-grade-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.product-grade-group {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 4px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--green);
}

.product-grade-group:first-of-type {
  margin-top: 4px;
}

/* Grades shown as clickable chips (each downloads its TDS) */
.grades-hint {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: -6px 0 14px;
}

.grade-group-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.grade-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.grade-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.grade-chip svg {
  opacity: 0.6;
}

.grade-chip:hover {
  border-color: var(--green);
  background-color: var(--green-tint);
  color: var(--green-dark);
}

.grade-chip:hover svg {
  opacity: 1;
}

.grade-chip--muted {
  color: var(--text-light);
  font-weight: 500;
  cursor: default;
}

/* Stack label above value on small screens */
@media (max-width: 480px) {
  .product-meta-row {
    flex-direction: column;
    gap: 4px;
  }
  .product-meta-label {
    min-width: 0;
  }
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
}

/* ============================================================
   Capabilities Grid (Custom Synthesis)
   ============================================================ */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.capability-chip {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.capability-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
}

.named-reactions-grid .capability-chip {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.named-reactions-grid .capability-chip::before {
  background-color: var(--green-light);
}

/* ============================================================
   Industry Detail Section
   ============================================================ */

.industry-section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.industry-section:last-child {
  border-bottom: none;
}

.industry-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.industry-icon {
  width: 52px;
  height: 52px;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

.related-products {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-tag {
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  background-color: var(--navy);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius);
}

/* Clickable product tags (Industries page) link to the product page. */
a.product-tag {
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

a.product-tag:hover,
a.product-tag:focus-visible {
  background-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ============================================================
   Sidebar Filter / Products Layout
   ============================================================ */

.products-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.filter-sidebar {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.filter-sidebar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-list li {
  margin: 0;
}

.filter-list a {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-list a:hover,
.filter-list a.active {
  background-color: var(--green-tint);
  color: var(--green-dark);
}

.filter-count {
  font-size: 0.75rem;
  background-color: var(--border);
  color: var(--text-light);
  padding: 2px 7px;
  border-radius: var(--radius);
}

/* ============================================================
   Category Filter Tabs
   ============================================================ */

.category-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.category-filter-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background-color: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}

.category-filter-btn:hover {
  background-color: var(--green-tint);
  color: var(--green-dark);
  border-color: var(--green);
}

.category-filter-btn.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================================
   View Toggle
   ============================================================ */

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background-color: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================================
   Products Content Header
   ============================================================ */

.products-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.products-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   Contact Page
   ============================================================ */

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.contact-detail a,
.contact-detail p {
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  margin: 0;
}

.contact-detail a:hover {
  color: var(--green);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================================
   Page Header
   ============================================================ */

.page-header {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
}

/* ============================================================
   Why Partner Cards
   ============================================================ */

.why-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-card-icon {
  width: 44px;
  height: 44px;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Specialism Cards (About Page)
   ============================================================ */

.specialism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.specialism-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.specialism-card .icon {
  width: 48px;
  height: 48px;
  background-color: var(--green-tint);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.specialism-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}

.specialism-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Search Results Page
   ============================================================ */

.search-results-header {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.search-term-highlight {
  color: var(--green-dark);
  font-weight: 700;
}

/* ============================================================
   404 Page
   ============================================================ */

.error-404-section {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(60px, 10vw, 120px);
  text-align: center;
}

.error-404-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.15;
}

.error-404-content {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-404-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   Utility Classes
   ============================================================ */

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--text-muted);
}

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

.text-green {
  color: var(--green);
}

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

.hidden {
  display: none;
}

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

/* ============================================================
   Responsive — 1024px (Tablet Landscape)
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .filter-sidebar {
    display: none;
  }

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

  .contact-grid > *:first-child {
    order: 2;
  }

  .contact-grid > *:last-child {
    order: 1;
  }
}

/* ============================================================
   Responsive — 768px (Tablet Portrait)
   ============================================================ */

@media (max-width: 768px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* On mobile the 108deg gradient covers everything — switch to vertical */
  .hero-photo-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8, 13, 36, 0.58) 0%,
      rgba(14, 24, 56, 0.42) 60%,
      rgba(14, 24, 56, 0.15) 100%
    );
  }

  /* Hero — content anchored to bottom ~20% */
  .hero-photo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 580px;
    padding-top: 0;
    padding-bottom: 40px;
  }

  .hero-photo .container {
    flex: 0 0 auto;
  }

  .hero-photo h1 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .hero-photo .hero-sub {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
  }

  .hero-photo .hero-label {
    font-size: 0.6rem;
    margin-bottom: 5px;
  }

  .hero-cta {
    gap: 8px;
  }

  .hero-photo .hero-cta .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex: 1;
  }

  /* Fix orphaned last photo tile */
  .photo-tiles-grid .photo-tile:nth-child(odd):last-child {
    grid-column: span 2;
  }

  /* Square tiles on tablet/mobile — override min-height so aspect-ratio controls */
  .photo-tiles-grid .photo-tile {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .category-filter-tabs {
    gap: 6px;
  }

  .products-content-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .three-col-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-tiles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-tiles-grid .photo-tile:nth-child(-n+3),
  .photo-tiles-grid .photo-tile:nth-child(n+4) {
    grid-column: span 1;
  }

  .photo-tiles-grid-sm {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Responsive — 640px (Small tablet / large phone)
   ============================================================ */

@media (max-width: 640px) {
  .hero h1,
  .hero-photo h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .hero-label {
    font-size: 0.68rem;
    margin-bottom: 8px;
  }

  .hero-photo {
    min-height: 580px;
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .hero-cta .btn-lg {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  h2, .section-title {
    font-size: 1.45rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }
}

/* ============================================================
   Responsive — 480px (Mobile)
   ============================================================ */

@media (max-width: 480px) {
  /* Footer: brand full-width top, nav 2-col, inquiry full-width bottom */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-brand .footer-logo-img {
    width: 130px;
  }

  .footer-desc {
    display: none;
  }

  .footer-address {
    display: none;
  }

  .footer-col:not(.footer-col-inquiry) {
    padding: 16px 0 16px;
  }

  .footer-col:not(.footer-col-inquiry):first-of-type {
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-col:not(.footer-col-inquiry):last-of-type {
    padding-left: 12px;
  }

  .footer-col-inquiry {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
  }

  .footer-col h4 {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }

  .footer-nav {
    gap: 4px;
  }

  .footer-nav a {
    font-size: 0.78rem;
  }

  /* Icon-only pills on mobile — compact, centered */
  .footer-contact-pills {
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center;
  }

  .footer-contact-pill {
    flex: none;
    width: 36px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }

  .pill-label {
    display: none;
  }

  /* Process steps — compact vertical list on mobile */
  .process-steps {
    flex-direction: column;
    gap: 4px;
    overflow-x: visible;
  }

  .step {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    min-width: 0;
    flex: none;
    text-align: left;
  }

  .step-num {
    font-size: 0.62rem;
    white-space: nowrap;
    margin-bottom: 0;
    min-width: 44px;
  }

  .step-name {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .step-arrow {
    display: none;
  }

  /* Smaller section headings and descriptions on mobile */
  h2, .section-title {
    font-size: 1.55rem;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  /* All btn-lg smaller on mobile */
  .btn-lg {
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  /* Hero — smaller text on mobile */
  .hero h1,
  .hero-photo h1 {
    font-size: 1.9rem;
    margin-bottom: 12px;
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }

  .hero-label {
    font-size: 0.68rem;
    margin-bottom: 10px;
  }

  /* Hero CTA buttons side-by-side */
  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn-lg {
    flex: 1;
    padding: 11px 14px;
    font-size: 0.85rem;
  }

  .global-cta-form {
    flex-direction: column;
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .search-bar input {
    border-radius: 0;
  }

  .search-bar button {
    border-radius: 0;
  }

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

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

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

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

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

  .photo-tiles-grid,
  .photo-tiles-grid-sm {
    grid-template-columns: 1fr 1fr;
  }

  .photo-tiles-grid .photo-tile:nth-child(-n+3),
  .photo-tiles-grid .photo-tile:nth-child(n+4) {
    grid-column: span 1;
  }

  /* Last tile spans full width if it's alone in its row */
  .photo-tiles-grid .photo-tile:nth-child(odd):last-child {
    grid-column: span 2;
  }
}

/* ============================================================
   Clients Grid
   ============================================================ */

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

.client-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-card:hover {
  border-color: rgba(79, 154, 46, 0.35);
  box-shadow: 0 4px 16px rgba(15, 24, 48, 0.08);
}

.client-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.client-sector {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   USP Accent Cards — Why GRV section (light bg)
   ============================================================ */

.usp-accent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.usp-accent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.usp-accent-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.usp-accent-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.usp-accent-card p {
  color: var(--text-muted);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 20px;
}

.usp-accent-meta {
  font-size: 0.8rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.5;
}

.usp-accent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.15s ease;
}

.usp-accent-link:hover {
  gap: 10px;
  color: var(--green-dark);
}

@media (max-width: 768px) {
  .usp-accent-grid {
    grid-template-columns: 1fr;
  }

  .usp-accent-card {
    padding: 28px 24px;
  }
}

/* ============================================================
   Logo Wall — Partner logos / trusted-by grid
   ============================================================ */

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.logo-wall-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  max-width: 200px;
  height: 72px;
}

.logo-wall-item img {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.logo-wall-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Light background variant */
.logo-wall-light {
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
}

.logo-wall-light .logo-wall-item {
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  min-width: 160px;
  max-width: 210px;
  height: 80px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wall-light .logo-wall-item img {
  filter: grayscale(1);
  opacity: 0.5;
  max-height: 34px;
  max-width: 140px;
}

/* Name fallback (shown when no logo image) */
.logo-wall-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .logo-wall-item {
    min-width: 130px;
    padding: 16px 20px;
  }
}

/* ============================================================
   USP Editorial Layout (Why GRV — homepage)
   ============================================================ */

.usp-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 56px;
  align-items: start;
}

.usp-editorial-sep {
  background: var(--border);
  align-self: stretch;
}

.usp-editorial-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.usp-editorial-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--green);
  opacity: 0.18;
  margin-bottom: -6px;
}

.usp-editorial-item h3 {
  font-size: 1.35rem;
  color: var(--navy);
  line-height: 1.25;
}

.usp-editorial-item p {
  color: var(--text-muted);
  line-height: 1.75;
}

.usp-editorial-tags {
  font-size: 0.78rem;
  color: var(--green-dark);
  font-weight: 600;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .usp-editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }
  .usp-editorial-sep {
    width: 100%;
    height: 1px;
    min-height: 0;
    align-self: auto;
  }
}

/* ============================================================
   Industry Cell Grid (Industries — homepage)
   ============================================================ */

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

.industry-cell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-cell-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.6s ease;
}

.industry-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,
    rgba(6, 14, 24, 0.95) 0%,
    rgba(6, 14, 24, 0.75) 28%,
    rgba(6, 14, 24, 0.20) 58%,
    rgba(6, 14, 24, 0) 100%);
}

.industry-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.industry-cell:hover .industry-cell-photo {
  transform: scale(1.06);
}

.industry-cell-body {
  width: 100%;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}

.industry-cell-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 5px;
}

.industry-cell-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  margin-bottom: 11px;
}

.industry-cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.industry-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(20, 32, 48, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 9px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}

@media (max-width: 640px) {
  .industry-cell-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .industry-cell-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Header Brochure Button
   ============================================================ */

.header-brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

/* ============================================================
   Footer Social Icons
   ============================================================ */

.footer-social-icons {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

/* ============================================================
   Client Reference Strip (Trusted By)
   ============================================================ */

.client-strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.client-strip-item {
  flex: 1;
  min-width: 140px;
  padding: 22px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.client-strip-item:last-child {
  border-right: none;
}

.client-strip-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.client-strip-sector {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .client-strip-item {
    flex: 0 0 33.33%;
    border-bottom: 1px solid var(--border);
  }
  .client-strip-item:nth-child(3n) {
    border-right: none;
  }
}

.client-strip-logo {
  max-height: 36px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.25s, filter 0.25s;
  margin: 0 auto 2px;
  display: block;
}

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

/* ============================================================
   Global Reach / Export Map Section
   ============================================================ */

.export-map-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.export-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.export-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.export-dot-origin {
  width: 12px;
  height: 12px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(79,154,46,.28), 0 0 0 10px rgba(79,154,46,.1);
}

.export-dot-label {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.export-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.export-stat {
  background: rgba(255,255,255,.06);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.export-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.export-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .export-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .export-stat-num {
    font-size: 1.6rem;
  }
}

/* ============================================================
   Custom Synthesis — Responsive Grids
   ============================================================ */

.synthesis-caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.synthesis-cards-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .synthesis-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .synthesis-caps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 400px) {
  .synthesis-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Global Mobile Tightening (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
  /* Tighter section padding on small phones */
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  /* Smaller hero on mobile */
  .hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .hero-compact {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  /* Section headers closer to content */
  .section-header {
    margin-bottom: 28px !important;
  }

  /* Header gap tighter with just logo + hamburger */
  .header-inner {
    gap: 12px;
  }

  /* Export map: smaller dots on tiny screens */
  .export-dot {
    width: 5px;
    height: 5px;
  }

  .export-dot-origin {
    width: 8px;
    height: 8px;
  }

  /* Map: reduce bottom margin */
  .export-map-wrap {
    margin-bottom: 0;
  }

  /* USP editorial — tighter gap */
  .usp-editorial-item {
    padding: 0;
  }

  /* Industry photo cards: single column on small phones */
  .industry-cell-grid {
    grid-template-columns: 1fr;
  }

  /* Client strip: 2-col max */
  .client-strip-item {
    flex: 0 0 50%;
  }

  .client-strip-item:nth-child(2n) {
    border-right: none;
  }

  /* Footer contact pills: allow 2 rows but constrain width */
  .footer-contact-pills {
    flex-wrap: wrap;
    gap: 6px;
  }

}

/* ============================================================
   Product Catalogue (classic, grouped-by-category listing)
   ============================================================ */

.product-cat-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.product-cat-index a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-cat-index a:hover {
  background-color: var(--green-tint);
  color: var(--green-dark);
  border-color: var(--green);
}

/* "Swipe to see all categories" hint — only shown on the mobile swipe row. */
.product-cat-hint {
  display: none;
}

/* Mobile: horizontal "swipe row" for the category filter — one neat line that
   scrolls sideways, instead of messy multi-row wrapping. */
@media (max-width: 600px) {
  .product-cat-index {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 0;
    border-bottom: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox: hide scrollbar */
  }
  .product-cat-index::-webkit-scrollbar {
    display: none;                    /* Chrome / Safari: hide scrollbar */
  }
  .product-cat-index a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  /* spacer so the last chip can scroll fully clear of the edge */
  .product-cat-index::after {
    content: "";
    flex: 0 0 8px;
  }
  /* swipe hint doubles as the divider under the filter row */
  .product-cat-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-light);
    margin: 0 0 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .product-cat-hint svg {
    opacity: 0.65;
  }
}

.product-cat-group {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.product-cat-group:last-child {
  margin-bottom: 0;
}

.product-cat-group-head {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
}

.product-cat-group-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0;
}

.product-cat-group-head p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Footer Widgets (optional widget area)
   ============================================================ */

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: clamp(32px, 5vw, 56px);
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widget {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-widget a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-widget a:hover {
  color: var(--green-light);
}

.footer-widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 14px;
}

/* ============================================================
   Comments
   ============================================================ */

.comments-area {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.comment-list ol {
  list-style: none;
  padding-left: 24px;
}

.comment-list .comment {
  margin-bottom: 20px;
}

.comment-list .comment-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.comment-author {
  font-weight: 600;
  color: var(--navy);
}

.comment-metadata {
  font-size: 0.78rem;
  color: var(--text-light);
}

.comment-respond {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

/* ============================================================
   Top Utility Bar (contact + social)
   ============================================================ */

.topbar {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
  padding: 4px 0;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-contact a,
.topbar-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s ease;
}

.topbar-contact a:hover,
.topbar-social a:hover {
  color: var(--white);
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.topbar-social svg {
  display: block;
}

@media (max-width: 600px) {
  .topbar-contact {
    gap: 14px;
  }
  /* Keep the bar compact on phones — show the phone, drop the long email text. */
  .topbar-contact a:first-child .tb-label {
    display: none;
  }
}

/* ============================================================
   Primary Nav — dropdown sub-menus
   ============================================================ */

.main-nav li {
  position: relative;
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background-color: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin: 0;
  flex-direction: column;
  gap: 2px;
  display: none;
  z-index: 1100;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  display: flex;
}

.main-nav .sub-menu a {
  white-space: nowrap;
  width: 100%;
}

.main-nav .menu-item-has-children > a::after {
  content: "\25BE";
  margin-left: 5px;
  font-size: 0.7em;
  vertical-align: middle;
  opacity: 0.7;
}

/* Third level — products fly out to the right of the hovered category */
.main-nav .sub-menu .sub-menu {
  top: -7px;
  left: 100%;
}

.main-nav .sub-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .sub-menu .menu-item-has-children > a::after {
  content: "\25B8"; /* right-pointing triangle */
  margin-left: 8px;
}

/* Dropdown sub-items inside the mobile menu — shown as an indented list */
.mobile-nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 4px 0 10px 14px;
  display: none;
}

/* Accordion: sub-menu opens only when its parent is tapped */
.mobile-nav-list .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.mobile-nav-list .menu-item-has-children > a {
  position: relative;
}

.mobile-nav-list .menu-item-has-children > a::after {
  content: "\25BE";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.mobile-nav-list .menu-item-has-children.is-open > a::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Level 2 (categories) — medium weight, near-white */
.mobile-nav-list .sub-menu a {
  font-size: 1.02rem;
  font-weight: 600;
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Level 3 (products) — lighter, smaller, indented with an accent rail */
.mobile-nav-list .sub-menu .sub-menu {
  padding-left: 16px;
  margin-left: 2px;
  border-left: 2px solid rgba(111, 178, 62, 0.45);
}

.mobile-nav-list .sub-menu .sub-menu a {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 0;
}

/* ============================================================
   Industries / Applications — card grid
   ============================================================ */

.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.industry-detail-card {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.industry-detail-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 32px 26px;
}

.industry-detail-card .category-icon {
  margin-bottom: 18px;
}

.industry-detail-card h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.industry-detail-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-detail-card .related-products {
  margin-top: auto;
  justify-content: center;
}

.industry-detail-card .btn {
  align-self: center;
}

@media (max-width: 980px) {
  .industry-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .industry-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Homepage Intro / About band
   ============================================================ */

.intro-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.intro-band-text .section-label {
  margin-bottom: 10px;
}

.intro-band-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.intro-band-text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.intro-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intro-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Long text values (e.g. "Concept → Commercial") shrink to fit the box. */
.intro-stat-num--text {
  font-size: 1.05rem;
  line-height: 1.2;
}

/* About page — Business Snapshot cards: 2-up on desktop, stacked on mobile. */
.about-snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

@media (max-width: 640px) {
  .about-snapshot-grid {
    grid-template-columns: 1fr;
  }
}

/* About page — "Who We Are" overview: text + "At a Glance" card.
   Two columns on desktop, single column on tablet/mobile. */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 860px) {
  .about-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.intro-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 860px) {
  .intro-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================================
   Sticky Contact Tab (right edge)
   ============================================================ */

.sticky-contact {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 9px;
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: var(--shadow);
  transition: background-color 0.15s ease, padding-right 0.15s ease;
}

.sticky-contact span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sticky-contact:hover {
  background-color: var(--green-dark);
  color: var(--white);
  padding-right: 13px;
}

@media (max-width: 600px) {
  .sticky-contact {
    padding: 12px 8px;
    font-size: 0.75rem;
  }
  .sticky-contact svg {
    width: 14px;
    height: 14px;
  }
}

@media print {
  .sticky-contact {
    display: none;
  }
}

/* ============================================================
   TDS Download Modal
   ============================================================ */

.grv-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.grv-modal.is-open {
  display: block;
}

.grv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 36, 0.6);
}

.grv-modal-box {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 460px;
  margin: 7vh auto;
  max-height: 86vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.grv-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
}

.grv-modal-close:hover {
  color: var(--navy);
}

.grv-modal-box h3 {
  margin-bottom: 4px;
}

.grv-modal-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ============================================================
   Print Styles
   ============================================================ */

@media print {
  .site-header,
  .site-footer,
  .global-cta,
  .mobile-menu-toggle,
  .mobile-nav,
  .btn,
  form {
    display: none;
  }

  body {
    color: #000000;
    background-color: #ffffff;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  .product-table th {
    background-color: #cccccc;
    color: #000000;
  }

  .card {
    box-shadow: none;
    border: 1px solid #cccccc;
  }
}
