:root {
  --ink: #172033;
  --dark: #101820;
  --teal: #1F766F;
  --brass: #B3834E;
  --clay: #A75E45;
  --pale: #F3F6F5;
  --warm: #F8F4EF;
  --muted: #667085;
  --line: rgba(23,32,51,.14);
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: clamp(132px, 18vw, 190px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  text-decoration: none;
  padding: 10px 13px;
  font-size: 14px;
  font-weight: 760;
  color: var(--muted);
  border-radius: 8px;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
  background: rgba(31,118,111,.08);
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 9px;
}
.hero {
  min-height: 74vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 112px clamp(22px, 6vw, 92px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,17,28,.88), rgba(12,17,28,.58), rgba(12,17,28,.16)),
    linear-gradient(0deg, rgba(12,17,28,.28), rgba(12,17,28,.06));
}
.hero-content {
  position: relative;
  width: min(880px, 100%);
  color: #fff;
}
.eyebrow {
  margin: 0 0 18px;
  color: #9ED5CF;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--teal); }
.hero h1 {
  margin: 0;
  font-size: clamp(50px, 9vw, 112px);
  line-height: .94;
  font-weight: 900;
}
.lead {
  width: min(770px, 100%);
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 820;
  cursor: pointer;
  font: inherit;
}
.btn.primary {
  background: var(--teal);
  color: #fff;
}
.btn.primary:hover { background: #185F59; }
.btn.secondary {
  border-color: rgba(255,255,255,.48);
  color: #fff;
  background: rgba(255,255,255,.10);
}
.band {
  background: var(--dark);
  color: #fff;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}
.metrics div {
  padding: 28px clamp(18px, 4vw, 40px);
  border-right: 1px solid rgba(255,255,255,.14);
}
.metrics div:last-child { border-right: 0; }
.metrics strong {
  display: block;
  font-size: clamp(25px, 4vw, 42px);
}
.metrics span {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.section {
  padding: clamp(62px, 9vw, 112px) clamp(22px, 6vw, 92px);
}
.intro-grid,
.split,
.contact-grid,
.license-block {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.04;
}
.rich-text p,
.page-hero p,
.product-card p,
.news-list p,
.footer p,
.values p,
.contact-details dd {
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}
.rich-text a,
.contact-details a {
  color: var(--teal);
  font-weight: 760;
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.product-preview,
.subpage .section:nth-child(even) {
  background: var(--pale);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-height: 100%;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}
.product-card div { padding: 24px; }
.product-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}
.text-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}
.subpage .page-hero {
  padding: clamp(74px, 10vw, 130px) clamp(22px, 6vw, 92px);
  background: linear-gradient(135deg, var(--pale), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: .98;
}
.page-hero p { max-width: 860px; }
.image-panel img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  border-radius: 8px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.values div {
  border-top: 4px solid var(--brass);
  padding: 26px;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.values h3 {
  margin: 0;
  font-size: 23px;
}
.license-block {
  background:
    linear-gradient(135deg, rgba(31,118,111,.10), rgba(179,131,78,.12)),
    #fff;
}
.license-block dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1fr);
  gap: 18px 24px;
}
dt {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 850;
  color: var(--teal);
}
dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.news-list {
  display: grid;
  gap: 18px;
  background: var(--pale);
}
.news-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}
.news-list time {
  color: var(--teal);
  font-weight: 850;
  font-size: 13px;
}
.news-list h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 44px);
}
.contact-details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
}
.contact-details h2 {
  font-size: clamp(30px, 4vw, 52px);
}
.contact-details dl {
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  font-weight: 780;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}
textarea { resize: vertical; }
.footer {
  background: var(--dark);
  color: #fff;
  padding: 58px clamp(22px, 6vw, 92px) 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr .7fr 1fr;
  gap: 36px;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
}
.footer h2,
.footer h3 {
  margin: 0 0 14px;
}
.footer h2 { font-size: 28px; }
.footer a,
.footer p {
  display: block;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  margin: 8px 0;
}
.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-nav {
    min-height: 68px;
  }
  .brand img {
    width: clamp(126px, 42vw, 168px);
  }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.16);
  }
  .nav-open .nav-links { display: grid; }
  .nav-links a { padding: 13px; }
  .hero {
    min-height: 70vh;
    padding-top: 92px;
  }
  .metrics,
  .intro-grid,
  .split,
  .contact-grid,
  .license-block,
  .values,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .metrics div:last-child { border-bottom: 0; }
  .card-grid,
  .card-grid.wide {
    grid-template-columns: 1fr;
  }
  .license-block dl {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}

@media (max-width: 520px) {
  .site-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }
}
