/* Damini Corporation (DMC) — Emerald & Gold Brand Stylesheet */
:root {
  --ink: #0a2417;
  --ink-soft: #2b4638;
  --slate: #526d5e;
  --brand: #01874c;
  --brand-deep: #016538;
  --brand-dark: #062918;
  --gold: #f2df00;
  --gold-hover: #e5d200;
  --gold-deep: #9c8200;
  --gold-soft: #fdf9d4;
  --mist: #edf3ee;
  --paper: #f8faf8;
  --line: #d4e2d7;
  --white: #ffffff;
  --shadow: 0 20px 44px rgba(6, 41, 24, 0.08);
  --shadow-sm: 0 8px 24px rgba(6, 41, 24, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1140px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.7em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.05em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-dark);
  color: var(--gold);
  font-weight: 600;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4.25rem, 8.5vw, 6.75rem) 0;
}

.section.muted {
  background: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  color: var(--brand);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold-deep));
}

.page-lead,
.soft-text,
.intro-text {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 40rem;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.text-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(1, 135, 76, 0.2);
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(1, 101, 56, 0.26);
}

.hero .btn-primary,
.cta-band .btn-primary {
  background: var(--gold);
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero .btn-primary:hover,
.cta-band .btn-primary:hover {
  background: var(--gold-hover);
  color: var(--brand-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  color: var(--white);
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
}

.btn-outline {
  background: transparent;
  color: var(--brand-deep);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--brand);
  background: var(--mist);
  color: var(--brand-deep);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.is-inner .site-header {
  background: rgba(248, 250, 248, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

body.is-home .site-header:not(.is-scrolled) .brand {
  color: var(--white);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(6, 41, 24, 0.18);
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.76;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: inherit;
  opacity: 0.88;
  padding: 0.25rem 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand);
}

body.is-home .site-header:not(.is-scrolled) .site-nav a,
body.is-home .site-header:not(.is-scrolled) .nav-toggle {
  color: var(--white);
}

body.is-home .site-header:not(.is-scrolled) .site-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.05rem !important;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--white) !important;
  text-decoration: none !important;
  font-family: var(--display);
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  opacity: 1 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  transform: translateY(-1px);
}

body.is-home .site-header:not(.is-scrolled) .nav-cta {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brand-dark) !important;
}

body.is-home .site-header:not(.is-scrolled) .nav-cta:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 41, 24, 0.42) 0%, rgba(6, 41, 24, 0.78) 55%, rgba(6, 41, 24, 0.94) 100%),
    linear-gradient(120deg, rgba(1, 135, 76, 0.45), transparent 52%),
    url("../images/hero-wtp.jpg") center/cover no-repeat,
    var(--brand-dark);
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 78% 18%, rgba(1, 135, 76, 0.34), transparent 62%),
    radial-gradient(ellipse 45% 36% at 14% 78%, rgba(242, 223, 0, 0.14), transparent 58%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-content,
.hero-meta {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(242, 223, 0, 0.35);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.hero h1 {
  color: var(--white);
  max-width: 12ch;
  margin-bottom: 1.05rem;
}

.hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3.25rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(242, 223, 0, 0.85);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: clamp(26px, 3.8vw, 48px);
  display: block;
}

.hero-wave path {
  fill: var(--paper);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

/* Reveal — hero stays visible; below-fold sections animate in */
.hero .reveal {
  opacity: 1;
  transform: none;
}

.service-row,
.chem-group,
.person,
.location {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.service-row.is-visible,
.chem-group.is-visible,
.person.is-visible,
.location.is-visible {
  opacity: 1;
  transform: none;
}

/* Intro + services */
.intro {
  padding-bottom: 2.25rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: end;
}

.intro-copy h2 {
  margin-bottom: 0;
  max-width: 17ch;
}

.services-strip {
  padding-top: 1.25rem;
}

.services-showcase {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.75rem;
  align-items: stretch;
}

.services-list {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: opacity 0.55s ease, transform 0.55s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-row:hover,
.service-row.is-active {
  background: var(--white);
  border-color: var(--line);
  border-left-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.service-index {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.service-row.is-active .service-index {
  color: var(--brand-deep);
}

.service-body h3 {
  margin-bottom: 0.35rem;
}

.service-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42rem;
  font-size: 0.96rem;
}

.service-link {
  align-self: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-deep);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}

.service-link:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.service-preview {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-preview-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-dark);
  cursor: zoom-in;
}

.service-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.service-preview-media:hover img {
  transform: scale(1.03);
}

.service-preview-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.32rem 0.72rem;
  border-radius: 4px;
  background: rgba(6, 41, 24, 0.88);
  border: 1px solid rgba(242, 223, 0, 0.45);
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-preview-body {
  padding: 1.5rem 1.6rem 1.65rem;
  display: grid;
  gap: 0.9rem;
}

.service-preview-body h3 {
  margin: 0;
  font-size: 1.22rem;
}

.service-preview-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand-deep);
  border: 1px solid var(--line);
}

.service-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.4rem;
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.25rem;
  align-items: center;
}

.trust-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 1.85rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

/* CTA */
.cta-band {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(1, 135, 76, 0.35), transparent 50%),
    var(--brand-dark);
  color: var(--white);
  padding: clamp(3.25rem, 6.5vw, 4.75rem) 0;
  border-top: 3px solid var(--gold);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.45rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

.cta-band .btn-primary {
  flex-shrink: 0;
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3.75rem) 0 3rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, rgba(242, 223, 0, 0.14), transparent 60%),
    linear-gradient(180deg, #e7f0ea 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 17ch;
  margin-bottom: 0.95rem;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 3rem;
  align-items: start;
}

.story-main p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.story-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.aside-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.aside-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.aside-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
}

.aside-brand span {
  font-size: 0.82rem;
  color: var(--slate);
  font-weight: 500;
}

.fact-list {
  margin: 0;
  display: grid;
  gap: 1.05rem;
}

.fact-list dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.fact-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.people-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.person {
  padding: 1.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.person-role {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.92rem;
  margin: -0.35rem 0 0.85rem;
}

.person p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.75rem;
  align-items: start;
}

.location-cards {
  display: grid;
  gap: 1.15rem;
}

.location {
  padding: 1.45rem 1.5rem;
  border-left: 4px solid var(--brand);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.location h3 {
  margin-bottom: 0.45rem;
}

.location p {
  margin: 0;
  color: var(--ink-soft);
}

/* Products */
.product-head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.product-head p:last-child {
  color: var(--ink-soft);
}

.chem-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.chem-group {
  padding: 1.45rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(6, 41, 24, 0.03);
}

.chem-group h3 {
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chem-group li {
  position: relative;
  padding: 0.34rem 0 0.34rem 1.05rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chem-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.chem-wide {
  grid-column: 1 / -1;
}

.chem-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}

.chem-inline li {
  padding-left: 1.05rem;
}

.split-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.split-block.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-block.reverse > :first-child {
  order: 2;
}

.split-panel {
  min-height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bullet-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--brand);
  border: 2px solid var(--gold);
  border-radius: 2px;
}

.group-note h2 {
  margin-bottom: 1.65rem;
}

.group-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.group-items article {
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
}

.group-items p {
  color: var(--ink-soft);
  margin: 0;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.85rem;
}

.detail-block h2,
.detail-block h3 {
  margin-bottom: 0.7rem;
}

.detail-block p {
  color: var(--ink-soft);
  margin: 0;
}

.contact-list {
  display: grid;
  gap: 0.95rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
}

.contact-list li > span:first-child {
  color: var(--slate);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

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

.field {
  display: grid;
  gap: 0.42rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 0.82rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 135, 76, 0.16);
  background: var(--white);
}

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

.form-alert {
  margin-bottom: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-alert.is-success {
  background: #e7f6ee;
  color: #0b5231;
  border: 1px solid #9fd4b9;
}

.form-alert.is-error {
  background: #fdf0ec;
  color: #8f3519;
  border: 1px solid #ecc0b1;
}

/* Interactive Media Frames & Gallery */
.media-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
  border: 1px solid rgba(6, 41, 24, 0.08);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.media-card.is-interactive {
  cursor: zoom-in;
}

.media-card.is-interactive:hover img {
  transform: scale(1.03);
}

.media-badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 41, 24, 0.86);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.84rem;
  line-height: 1.35;
}

.media-badge strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}

.media-badge span {
  opacity: 0.82;
  font-size: 0.78rem;
}

.media-zoom-hint {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.58rem;
  border-radius: 4px;
  background: rgba(242, 223, 0, 0.16);
  border: 1px solid rgba(242, 223, 0, 0.45);
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Switchable Photo Frame (Trust & Metering) */
.photo-switcher {
  display: grid;
  gap: 0.9rem;
}

.photo-switcher .media-card {
  aspect-ratio: 4 / 3;
}

.switcher-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.switcher-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.switcher-tab:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.switcher-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* About: Facility Showcase & Interactive Timeline */
.facility-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  margin-top: 2.75rem;
}

.facility-strip .media-card {
  aspect-ratio: 16 / 10;
}

.timeline-shell {
  margin-top: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
}

.timeline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.timeline-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.timeline-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.timeline-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.timeline-panel h3 {
  margin-bottom: 0.45rem;
}

.timeline-panel p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46rem;
}

/* Location Actions */
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.95rem;
}

.mini-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--brand-deep);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mini-action:hover {
  background: var(--mist);
  border-color: var(--brand);
}

.mini-action.is-copied {
  background: #e7f6ee;
  border-color: var(--brand);
  color: var(--brand-deep);
}

/* Products: Chemicals Feature & Interactive Filter */
.chemicals-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.chemicals-banner .product-head {
  margin-bottom: 0;
}

.chemicals-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.9rem;
}

.chemicals-gallery .media-card {
  aspect-ratio: 4 / 3;
}

.chem-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(6, 41, 24, 0.03);
}

.chem-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chem-filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.44rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chem-filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.chem-filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.chem-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 1 1 250px;
  max-width: 340px;
}

.chem-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 0.58rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}

.chem-search:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(1, 135, 76, 0.16);
  background: var(--white);
}

.chem-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.chem-group.is-hidden,
.chem-group li.is-hidden {
  display: none;
}

.chem-enquire {
  opacity: 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: none;
  padding: 0.16rem 0.52rem;
  border-radius: 4px;
  background: var(--mist);
  border: 1px solid var(--line);
  transition: opacity 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.chem-group li:hover .chem-enquire,
.chem-group li:focus-within .chem-enquire {
  opacity: 1;
}

.chem-enquire:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.chem-empty {
  display: none;
  padding: 1.65rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--slate);
}

.chem-empty.is-visible {
  display: block;
}

/* Contact: Site Preview & Inline Validation */
.contact-photo-card {
  margin-top: 0.5rem;
}

.contact-photo-card .media-card {
  aspect-ratio: 16 / 9;
}

.field-error {
  font-size: 0.8rem;
  color: #9b3519;
  min-height: 1.1em;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #c85838;
  background: #fdf6f4;
}

/* Footer */
.site-footer {
  background: #041d11;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 2.75rem;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 2.25rem;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.footer-name {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.2rem;
  letter-spacing: -0.015em;
}

.footer-reg,
.footer-note {
  margin: 0;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 0.45rem;
  opacity: 0.72;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col p,
.footer-links {
  font-size: 0.95rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--brand);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6, 41, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(4, 24, 14, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.lightbox-dialog {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 90vh;
  display: grid;
  gap: 0.75rem;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: var(--brand-dark);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -0.65rem;
  right: -0.65rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--brand-dark);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

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

/* Responsive */
@media (max-width: 920px) {
  .intro-grid,
  .trust-grid,
  .story-grid,
  .locations-grid,
  .split-block,
  .split-block.reverse,
  .contact-layout,
  .cta-band-inner,
  .footer-grid,
  .people-list,
  .group-items,
  .services-showcase,
  .facility-strip,
  .chemicals-banner,
  .chemicals-gallery {
    grid-template-columns: 1fr;
  }

  .split-block.reverse > :first-child {
    order: 0;
  }

  .service-preview {
    position: static;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .service-link {
    grid-column: 2;
    justify-self: start;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .split-panel {
    min-height: 260px;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    color: var(--ink);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    color: var(--ink) !important;
  }

  .nav-cta {
    width: fit-content;
    color: var(--white) !important;
    background: var(--brand) !important;
    border-color: var(--brand) !important;
  }

  body.is-home .site-header:not(.is-scrolled) .nav-toggle {
    color: var(--white);
  }

  .chem-groups,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-content: center;
    padding-bottom: 3.5rem;
  }

  .hero-actions {
    margin-bottom: 2.5rem;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (hover: none) {
  .chem-enquire {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { animation: none; }
  .reveal,
  .service-row,
  .chem-group,
  .person,
  .location {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
