:root {
  color-scheme: light;
  --nav-gray: #d4d4d4;
  --ink: #111827;
  --muted: #53606b;
  --blue: #00a9e8;
  --navy: #09165b;
  --teal: #168b94;
  --line: #dfe5ea;
  --paper: #ffffff;
  --soft: #f4f8fb;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 35, 55, 0.09);
  box-shadow: 0 12px 34px rgba(15, 35, 55, 0.08);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  width: clamp(260px, 23vw, 330px);
  min-width: 250px;
  padding: 0;
}

.logo-link img {
  width: 100%;
  max-height: 66px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  width: 100%;
  padding: 0;
  color: #26323d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-height: 44px;
  border: 1px solid rgba(0, 169, 232, 0.55);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(0, 169, 232, 0.08);
  color: #007db1;
}

.site-nav .nav-cta:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: clamp(96px, 13vw, 160px) clamp(22px, 7vw, 92px);
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: -18px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 12, 38, 0.62) 0%, rgba(5, 12, 38, 0.38) 45%, rgba(5, 12, 38, 0.1) 100%),
    url("assets/hero-chemistry-photo-3.jpg") 54% center / cover,
    url("assets/solvent-transport.jpeg") center / cover;
  filter: blur(2px) saturate(1.08) brightness(1.14);
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(3, 7, 18, 0.05);
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(1.14rem, 1.65vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--blue);
  border-radius: 0;
  padding: 0 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section {
  padding: clamp(66px, 9vw, 118px) clamp(22px, 7vw, 92px);
}

.section-copy {
  max-width: 700px;
}

.section-copy.wide {
  max-width: 900px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.1vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.9vw, 3rem);
  line-height: 1.04;
}

.section-copy p:not(.eyebrow),
.application-item p,
.contact-form {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.17rem);
  line-height: 1.6;
}

.section-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.value-drivers {
  background:
    linear-gradient(180deg, #fff 0%, #f6f9fc 100%);
}

.value-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.driver-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.driver-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
  align-items: center;
  border: 1px solid rgba(15, 35, 55, 0.1);
  border-radius: 8px;
  min-height: 176px;
  padding: clamp(20px, 2.5vw, 30px);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 35, 55, 0.08);
}

.driver-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: currentColor;
  pointer-events: none;
}

.driver-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(56px, 6vw, 82px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 10%, white);
}

.driver-icon svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.driver-card > div:last-child {
  position: relative;
  z-index: 1;
}

.driver-card h3 {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2.25vw, 2.1rem);
  font-weight: 900;
  line-height: 1.02;
}

.driver-card p {
  position: relative;
  margin-top: 8px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.28;
}

.driver-card.orange {
  color: #d56c35;
}

.driver-card.yellow {
  color: #b1a91e;
}

.driver-card.green {
  color: #5f9630;
}

.driver-card.forest {
  color: #2e6c30;
}

.technology {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(440px, 1.05fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
  min-height: auto;
  padding-block: clamp(66px, 8vw, 104px);
  background: #fff;
}

.technology .section-copy {
  grid-column: 1 / -1;
  max-width: 980px;
}

.technology .section-copy h2 {
  font-size: clamp(2.15rem, 3.5vw, 4rem);
}

.technology-points {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technology-points li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.52;
}

.technology-points li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 169, 232, 0.12);
}

.technology-visuals {
  display: grid;
  height: auto;
  min-height: 0;
}

.technology-body {
  align-self: center;
}

.process-panel {
  display: grid;
  min-height: 390px;
  margin: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 169, 232, 0.08), transparent 38%),
    #fff;
}

.process-svg {
  display: block;
  align-self: center;
  width: 100%;
  height: auto;
}

.process-image-panel {
  align-items: center;
  min-height: 0;
  padding: clamp(18px, 3vw, 32px);
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 30, 45, 0.08);
}

.process-image-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.membrane-unit rect {
  fill: #f8fbfd;
  stroke: #0d1b2a;
  stroke-width: 6;
}

.membrane-line {
  fill: none;
  stroke: #21366f;
  stroke-linecap: round;
  stroke-width: 7;
}

.diagram-arrow {
  marker-end: url("#arrowhead");
  stroke: #111827;
  stroke-linecap: round;
  stroke-width: 6;
}

.diagram-label {
  fill: #111827;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.solvent-points circle,
.solvent-dot {
  fill: #ff3028;
}

.water-points circle,
.water-dot {
  fill: #2e5f9e;
}

.diagram-legend {
  fill: #0d4a70;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 900;
}

.diagram-legend text:first-of-type {
  fill: #ff3028;
}

.target-slide {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: var(--soft);
}

.target-copy h2 {
  max-width: 760px;
}

.target-copy h2 span {
  display: block;
}

.target-photo {
  overflow: hidden;
  margin-top: 28px;
  min-height: 280px;
}

.target-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.target-calcs {
  display: grid;
  align-content: start;
  gap: 16px;
}

.calc-line {
  border-left: 7px solid currentColor;
  border-top: 0;
  padding: 20px 22px;
  color: #4e78be;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 55, 0.08);
}

.calc-line p {
  margin: 0;
  color: #111;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.45;
}

.calc-line strong {
  font-weight: 900;
}

.calc-line em {
  font-style: normal;
  font-weight: 900;
}

.calc-line .red-value {
  color: #e23b31;
}

.calc-line .green-value {
  color: #138a43;
}

.calc-line.red {
  color: #e23b31;
}

.calc-line.green {
  color: #3da35a;
}

.calc-line.dark-green {
  color: #138a43;
}

.roi {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  background:
    linear-gradient(180deg, #fff 0%, #f4f8fb 100%);
}

.roi-calculator {
  display: grid;
  gap: 24px;
  border-top: 5px solid var(--blue);
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 35, 55, 0.12);
}

.roi-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.roi-results article {
  display: grid;
  gap: 8px;
  min-height: 110px;
  border: 1px solid var(--line);
  padding: 18px;
  background: #f8fbfd;
}

.roi-results span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.roi-results strong {
  align-self: end;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  line-height: 1;
}

.roi-results .roi-total {
  grid-column: 1 / -1;
  min-height: 124px;
  border-color: rgba(0, 169, 232, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 169, 232, 0.12), rgba(255, 255, 255, 0.75)),
    #fff;
}

.roi-results .roi-total strong {
  color: #138a43;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
}

.applications {
  background: #fff;
}

.application-list {
  display: grid;
  gap: clamp(52px, 7vw, 96px);
  margin-top: clamp(40px, 6vw, 76px);
}

.application-item {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.application-item.reverse img {
  order: 2;
}

.application-item img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.application-item .lead {
  margin-top: 18px;
  color: #202f3d;
  font-weight: 800;
}

.application-item p:not(.lead) {
  margin-top: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
  align-self: start;
  border-top: 5px solid var(--blue);
  padding: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 35, 55, 0.12);
}

label {
  display: grid;
  gap: 8px;
  color: #26323d;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9d3dc;
  border-radius: 0;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 169, 232, 0.22);
  border-color: var(--blue);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 6vw, 80px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    url("assets/pharma-lab.jpeg") center / cover;
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

@media (max-width: 920px) {
  .site-header {
    min-height: 76px;
    padding-inline: 18px;
  }

  .logo-link {
    min-width: 210px;
    width: 230px;
  }

  .menu-toggle {
    display: grid;
    gap: 7px;
    margin-left: auto;
    margin-right: 18px;
    border: 0;
    background: transparent;
    padding: 12px;
  }

  .menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--navy);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 22px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 35, 55, 0.09);
    box-shadow: 0 16px 30px rgba(15, 35, 55, 0.08);
    font-size: 1.05rem;
  }

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

  .site-nav a {
    width: 100%;
    padding: 14px 0;
  }

  .site-nav .nav-cta {
    justify-content: center;
    width: fit-content;
    margin-top: 8px;
    padding: 0 20px;
  }

  .hero {
    min-height: calc(100vh - 76px);
  }

  .technology,
  .application-item,
  .roi,
  .contact {
    grid-template-columns: 1fr;
  }

  .technology {
    min-height: auto;
  }

  .technology-visuals {
    height: auto;
    min-height: 0;
  }

  .target-slide {
    grid-template-columns: 1fr;
  }

  .roi-inputs,
  .roi-results {
    grid-template-columns: 1fr;
  }

  .target-calcs {
    grid-row: auto;
    grid-column: auto;
  }

  .driver-list {
    grid-template-columns: 1fr;
  }

  .application-item.reverse img {
    order: 0;
  }

  .process-panel {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .logo-link {
    min-width: 190px;
    width: 190px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .driver-card {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .driver-icon {
    width: 58px;
  }

  .driver-card h3 {
    font-size: clamp(1.45rem, 8vw, 2.25rem);
  }

  .driver-card p {
    max-width: none;
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .target-copy h2 {
    font-size: clamp(2.2rem, 9vw, 3.6rem);
  }

  .calc-line {
    min-height: auto;
    padding-block: 18px;
  }

  .calc-line p {
    font-size: 1rem;
  }

  .process-panel {
    min-height: 0;
    overflow: hidden;
  }

  .process-image-panel {
    padding: 14px;
  }

  .application-item img,
  .target-photo,
  .target-photo img {
    min-height: 260px;
  }

  .contact-form {
    padding: 22px;
  }
}
