:root {
  --ink: #14221f;
  --muted: #5f6f6a;
  --paper: #f7f3ec;
  --surface: #ffffff;
  --line: #d9ddd6;
  --forest: #155b4a;
  --teal: #198f86;
  --blue: #285b85;
  --gold: #c59445;
  --shadow: 0 24px 60px rgba(20, 34, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
.partner-strip[id],
.anchor-alias {
  scroll-margin-top: 104px;
}

.anchor-alias {
  display: block;
  height: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.message-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.message-card {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.message-brand {
  margin-bottom: 42px;
}

.message-card h1 {
  max-width: 10ch;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 5.4rem);
}

.message-card p:not(.section-kicker) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #ffffff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 243, 236, 0.94);
  box-shadow: 0 10px 30px rgba(20, 34, 31, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
  box-shadow: 0 2px 10px rgba(20, 34, 31, 0.08);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--forest);
  color: #ffffff;
  font-size: 0.88rem;
  letter-spacing: 0;
}

.site-nav {
  gap: 28px;
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a:not(.nav-cta) {
  opacity: 0.9;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #1f221b;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: currentColor;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 7vw, 88px) 90px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 23, 21, 0.82) 0%, rgba(10, 23, 21, 0.58) 42%, rgba(10, 23, 21, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 23, 21, 0.18), rgba(10, 23, 21, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #a8eee1;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.9);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #1f221b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.section,
.band-inner,
.contact,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 58px;
  align-items: end;
}

.intro p:last-child,
.contact-copy p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.solution-band {
  padding: 0 0 82px;
}

.solution-grid {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 34, 31, 0.06);
  overflow: hidden;
}

.solution-tile {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.solution-tile:last-child {
  border-right: 0;
}

.solution-tile span,
.journey span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solution-tile h3,
.journey h3,
.value-grid h3 {
  margin-bottom: 10px;
  line-height: 1.15;
}

.solution-tile p,
.journey p,
.value-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.product-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(20, 34, 31, 0.04);
}

.products {
  padding-top: 76px;
}

.partner-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid rgba(25, 143, 134, 0.22);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(20, 34, 31, 0.06);
}

.partner-strip h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.partner-strip p {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.partner-strip img {
  width: 100%;
  max-width: 220px;
  justify-self: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.product-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(25, 143, 134, 0.06), rgba(25, 143, 134, 0)),
    var(--surface);
}

.product-card.featured {
  border-color: rgba(25, 143, 134, 0.34);
}

.product-card.future {
  background:
    linear-gradient(180deg, rgba(197, 148, 69, 0.12), rgba(197, 148, 69, 0.02)),
    var(--surface);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.product-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 6px 10px;
  background: rgba(21, 91, 74, 0.1);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-meta span:last-child {
  background: rgba(40, 91, 133, 0.1);
  color: var(--blue);
}

.product-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.product-card p {
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.product-card li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.service-number {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-weight: 800;
}

.service-card p,
.product-card p,
.step p,
.metric span {
  color: var(--muted);
}

.band {
  background: var(--ink);
  color: #ffffff;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 52px;
  padding: 92px 0;
}

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

.step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: block;
  margin-bottom: 8px;
  color: #a8eee1;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.journey article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.journey span {
  margin-bottom: 52px;
}

.values {
  background: #ffffff;
}

.values-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: 54px;
  padding: 90px 0;
}

.value-grid {
  display: grid;
  gap: 14px;
}

.value-grid article {
  padding: 22px;
  border-left: 4px solid var(--teal);
  background: #f7fbf8;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 56px;
  padding: 94px 0;
}

.email-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--forest);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fbfaf7;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(25, 143, 134, 0.18);
  border-color: var(--teal);
}

.contact-form .button {
  width: 100%;
  border: 0;
  font: inherit;
  font-weight: 800;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    align-items: stretch;
    padding: 16px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
    gap: 10px;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 86vh;
  }

  .intro,
  .band-inner,
  .values-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-tile:nth-child(2) {
    border-right: 0;
  }

  .solution-tile:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .product-grid,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .partner-strip img {
    justify-self: start;
    max-width: 180px;
  }

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

  .product-card.future {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    height: 34px;
    max-width: 68px;
    object-fit: contain;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 82vh;
    padding: 104px 20px 70px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .section {
    padding: 70px 0;
  }

  .service-grid,
  .product-grid,
  .solution-grid,
  .journey,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .solution-tile,
  .solution-tile:nth-child(2) {
    border-right: 0;
  }

  .solution-tile:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .partner-strip {
    padding: 20px;
  }

  .product-card {
    min-height: auto;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 28px;
  }

  .metric,
  .metric:nth-child(2),
  .metric:last-child {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .metric:first-child {
    border-top: 0;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }
}
