:root {
  --navy: #062b3f;
  --navy-2: #0b394a;
  --forest: #0f4d3a;
  --green: #4fae73;
  --mist: #f4f7f5;
  --graphite: #1e2528;
  --silver: #dde5e1;
  --sand: #d8c7a3;
  --blue: #0a84ff;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --dark-glass: rgba(6, 43, 63, 0.72);
  --shadow: 0 24px 70px rgba(6, 43, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 34px;
  color: var(--white);
  background: rgba(6, 43, 63, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.header-scrolled {
  background: var(--dark-glass);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 18px 45px rgba(6, 43, 63, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 28px;
  font-weight: 760;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 174, 115, 0.95), rgba(10, 132, 255, 0.92)),
    var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  transform: rotate(45deg);
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a {
  opacity: 0.82;
  transition: opacity 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.nav-active {
  color: #a9f0c1;
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-button,
.close-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.icon-button span {
  display: block;
  width: 16px;
  height: 16px;
  margin: 11px auto 0;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.icon-button span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -4px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 999px;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-panel {
  position: fixed;
  inset: 72px 14px auto;
  z-index: 29;
  display: none;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.mobile-panel.panel-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
}

.mobile-panel a {
  padding: 16px 12px;
  color: var(--navy);
  border-bottom: 1px solid rgba(6, 43, 63, 0.08);
  font-weight: 740;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: start center;
  padding-top: 108px;
  background: rgba(6, 43, 63, 0.42);
  backdrop-filter: blur(22px) saturate(1.2);
}

.search-overlay.overlay-open {
  display: grid;
}

.search-shell {
  width: min(760px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
}

.close-button {
  position: absolute;
  right: 14px;
  top: 14px;
  border-color: rgba(6, 43, 63, 0.12);
  background: rgba(6, 43, 63, 0.06);
}

.close-button::before,
.close-button::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.close-button::before {
  transform: rotate(45deg);
}

.close-button::after {
  transform: rotate(-45deg);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-right: 52px;
}

.search-form input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 43, 63, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--graphite);
  outline: none;
}

.search-form input {
  min-height: 54px;
  padding: 0 18px;
}

.search-form button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 760;
  cursor: pointer;
}

.search-form button,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--forest), #126f52);
  box-shadow: 0 12px 34px rgba(15, 77, 58, 0.24);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.page {
  display: none;
}

.page-active {
  display: block;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px 34px 74px;
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 43, 63, 0.84), rgba(6, 43, 63, 0.38) 52%, rgba(6, 43, 63, 0.12));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b7f7cb;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

p,
li {
  color: rgba(30, 37, 40, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.value-grid,
.product-grid,
.proof-grid,
.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.product-card,
.proof-grid article,
.sustainability-grid article,
.timeline article,
.contact-aside,
.stat-panel {
  border: 1px solid rgba(6, 43, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 45px rgba(6, 43, 63, 0.08);
}

.value-card,
.proof-grid article,
.sustainability-grid article,
.timeline article {
  padding: 26px;
}

.value-card span,
.timeline span,
.sustainability-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 820;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: 46px;
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.flow-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 43, 63, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-weight: 780;
}

.media-band {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 46px;
}

.media-band img,
.solution-panel img,
.product-card img {
  width: 100%;
  object-fit: cover;
}

.media-band img {
  height: 480px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 160px 34px 74px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(6, 43, 63, 0.95), rgba(15, 77, 58, 0.74)),
    url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.compact-hero h1 {
  width: min(980px, 100%);
  font-size: clamp(42px, 7vw, 82px);
}

.solution-layout {
  display: grid;
  gap: 22px;
}

.solution-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(6, 43, 63, 0.12);
  padding-bottom: 34px;
}

.solution-panel img {
  height: 320px;
  border-radius: 8px;
}

.solution-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.solution-panel li {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 77, 58, 0.1);
  color: var(--forest);
  font-size: 13px;
  font-weight: 780;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 42px;
  border: 1px solid rgba(6, 43, 63, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  cursor: pointer;
}

.filter-bar .filter-active {
  color: var(--white);
  background: var(--forest);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  height: 240px;
}

.product-card h3,
.product-card p {
  padding-inline: 20px;
}

.product-card h3 {
  padding-top: 20px;
}

.product-card p {
  padding-bottom: 20px;
}

.product-card.product-hidden {
  display: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.stat-panel div {
  padding: 26px;
  border-right: 1px solid rgba(6, 43, 63, 0.1);
}

.stat-panel div:last-child {
  border-right: 0;
}

.stat-panel strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.1;
}

.stat-panel span {
  color: rgba(30, 37, 40, 0.6);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 760;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 144px;
  resize: vertical;
  padding: 14px;
}

.full-span {
  grid-column: 1 / -1;
}

.contact-aside {
  padding: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 34px;
  color: var(--white);
  background: var(--navy);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mobile-panel,
  .search-overlay,
  .search-shell {
    backdrop-filter: none;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .site-header {
    padding: 0 18px;
  }

  .hero {
    min-height: 86vh;
    padding: 132px 22px 58px;
  }

  .value-grid,
  .product-grid,
  .proof-grid,
  .sustainability-grid,
  .timeline,
  .split-section,
  .media-band,
  .solution-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .stat-panel {
    grid-template-columns: 1fr;
  }

  .stat-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 43, 63, 0.1);
  }

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

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 24px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 66px 0;
  }

  .search-form {
    grid-template-columns: 1fr;
    padding-right: 0;
    padding-top: 52px;
  }

  .page-hero {
    padding: 134px 22px 54px;
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }
}
