:root {
  --ink: #12211f;
  --ink-soft: #4a5b58;
  --paper: #fbfaf6;
  --tint: #eef3ef;
  --line: #d9e2dc;
  --brand: #0f6b5c;
  --brand-dark: #0a4d42;
  --accent: #d98b2b;
  --dark: #0d1f1c;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: .85em 1.5em; border-radius: 999px; border: 0;
  background: var(--brand); color: #fff; font: 600 .95rem var(--sans);
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-small { padding: .55em 1.1em; font-size: .88rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 246, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font: 600 1.15rem var(--serif); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px); }
.hero h1 { max-width: 15ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

/* Hero illustration */
.hero-art { width: 100%; max-width: 480px; justify-self: end; overflow: visible; }
.ha-disc { fill: var(--tint); }
.ha-lattice { fill: none; stroke: var(--line); stroke-width: 2; }
.ha-ground { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.ha-bond { fill: none; stroke: var(--brand); stroke-width: 3; opacity: .55; }
.ha-atom { fill: var(--brand); }
.ha-atom-accent { fill: var(--accent); }
.ha-glass { fill: rgba(255, 255, 255, .45); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ha-liquid { fill: var(--brand); opacity: .85; }
.ha-liquid-accent { fill: var(--accent); opacity: .85; }
.ha-shine { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: .6; }
.ha-bubbles circle { fill: #fff; opacity: 0; transform-box: fill-box; animation: bubble 3.2s ease-in infinite; }
.ha-bubbles circle:nth-child(2) { animation-delay: 1.1s; }
.ha-bubbles circle:nth-child(3) { animation-delay: 2.1s; }
.ha-float { animation: float 6s ease-in-out infinite; }
@keyframes bubble {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: .8; }
  100% { transform: translateY(-80px); opacity: 0; }
}
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .ha-bubbles circle, .ha-float { animation: none; }
  .ha-bubbles circle { opacity: .6; }
}

/* Line icons (cards, chips, process) */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint {
  background-color: var(--tint);
  /* faint hexagon pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%230f6b5c' stroke-opacity='.06' stroke-width='1.5'/%3E%3C/svg%3E");
}
.section-dark { background: var(--dark); color: #e7efec; }
.section-dark .eyebrow { color: var(--accent); }
.section-lead { color: var(--ink-soft); max-width: 56ch; margin-bottom: 2.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stats dt { font: 600 1.9rem var(--serif); color: var(--brand); }
.stats dd { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -16px rgba(13, 31, 28, .3); }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 12px; background: var(--tint); color: var(--brand);
}
.card-accent .card-icon { background: rgba(255,255,255,.15); color: #fff; }
.card-accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.card-accent p { color: #d5ebe5; }
.card-accent .tag { background: rgba(255,255,255,.15); color: #fff; }
.tag {
  display: inline-block; margin-bottom: 1rem; padding: .25em .7em; border-radius: 6px;
  background: var(--tint); color: var(--brand); font-size: .78rem; font-weight: 600;
}

/* Industries */
.chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  padding: .7em 1.3em; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 500; background: #fff;
  display: flex; align-items: center; gap: .55em;
}
.chips .icon { width: 20px; height: 20px; color: var(--brand); }

/* Quality */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.checks li { padding-left: 2rem; position: relative; color: #b9cac5; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checks strong { color: #fff; display: block; }

.process {
  list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative;
  text-align: center; font-size: .9rem; font-weight: 500; color: #e7efec;
}
.process::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%;
  border-top: 2px dashed rgba(217, 139, 43, .45);
}
.process li { position: relative; display: grid; justify-items: center; gap: .8rem; }
.process-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--dark); border: 2px solid var(--accent); color: var(--accent);
}

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.form { display: grid; gap: 1rem; background: #fff; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 500; }
.form input, .form textarea {
  font: inherit; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form .btn { justify-self: start; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .88rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer a { color: var(--ink-soft); }

/* Mobile */
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding: 20px 16px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .two-col { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; justify-self: center; }
  .process { grid-template-columns: 1fr; justify-items: start; gap: 18px; text-align: left; }
  .process::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed rgba(217, 139, 43, .45); }
  .process li { grid-auto-flow: column; align-items: center; gap: 1rem; }
}
