:root {
  --paper: #f3eee4;
  --paper-strong: #fbf8f1;
  --ink: #17201b;
  --muted: #687068;
  --line: rgba(23, 32, 27, 0.16);
  --line-dark: rgba(255, 255, 255, 0.16);
  --green: #244f3c;
  --green-2: #35684d;
  --wheat: #c99b4c;
  --rust: #9d5538;
  --steel: #56616a;
  --charcoal: #101612;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(23, 32, 27, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 70%);
}

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

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

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

h1,
h2 {
  margin-bottom: 0;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: grid;
  width: min(var(--max), calc(100% - 48px));
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  transform: translateX(-50%);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.header-solid {
  border-color: rgba(23, 32, 27, 0.12);
  background: rgba(16, 22, 18, 0.9);
  box-shadow: 0 18px 46px rgba(16, 22, 18, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.menu-toggle,
.primary-action,
.secondary-action {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--paper-strong);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(16, 22, 18, 0.82);
  color: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(18px);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper-strong);
}

.menu-toggle {
  display: none;
  width: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(16, 22, 18, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--paper-strong);
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  color: var(--paper-strong);
  background: var(--charcoal);
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 22, 18, 0.96) 0%, rgba(16, 22, 18, 0.78) 42%, rgba(16, 22, 18, 0.26) 100%),
    linear-gradient(180deg, rgba(16, 22, 18, 0.12), rgba(16, 22, 18, 0.78));
}

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

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--max), calc(100% - 48px));
  min-height: 96svh;
  align-content: center;
  gap: 24px;
  margin: 0 auto;
  padding: 118px 0 98px;
}

.eyebrow {
  margin: 0;
  color: var(--wheat);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(251, 248, 241, 0.78);
  font-size: clamp(18px, 1.9vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  color: var(--paper-strong);
  background: var(--green-2);
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--paper-strong);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  z-index: 2;
  display: grid;
  width: min(640px, calc(100% - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(16, 22, 18, 0.78);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  min-height: 96px;
  padding: 18px;
  border-right: 1px solid var(--line-dark);
}

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

.hero-panel span,
dt {
  display: block;
  margin-bottom: 8px;
  color: rgba(251, 248, 241, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.statement,
.section,
.systems-band,
.contact {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.statement {
  padding: 54px 0 42px;
}

.statement p {
  max-width: 1040px;
  margin-bottom: 0;
  font-size: clamp(25px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.split,
.operations-section,
.company-details,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.12fr);
  gap: clamp(36px, 7vw, 90px);
}

.section-label {
  display: grid;
  align-content: start;
  gap: 18px;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 19px;
}

.copy-stack p,
.contact p,
.systems-band p {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  max-width: 850px;
  gap: 18px;
  margin-bottom: 44px;
}

.commodity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.commodity-grid article {
  min-height: 284px;
  padding: 24px;
  background: var(--paper-strong);
}

.commodity-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--rust);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}

.commodity-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--rust);
}

.commodity-grid p,
.operations-board p {
  margin-bottom: 0;
  color: var(--muted);
}

.clients-section {
  padding-top: 76px;
}

.client-groups {
  display: grid;
  gap: 30px;
}

.client-group {
  display: grid;
  gap: 12px;
}

.client-category {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.client-logo {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--paper-strong);
}

.client-logo img {
  width: 100%;
  max-width: 172px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(0.88);
  opacity: 0.58;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.client-logo:hover img {
  filter: grayscale(0) saturate(1) contrast(1);
  opacity: 1;
  transform: translateY(-1px);
}

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

.operations-board article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(36, 79, 60, 0.08), transparent),
    rgba(251, 248, 241, 0.62);
}

.ops-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--green);
}

.operations-board span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.systems-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 76px);
  padding: clamp(34px, 6vw, 68px);
  border-radius: 6px;
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(201, 155, 76, 0.18), transparent 40%),
    var(--charcoal);
}

.systems-band p {
  align-self: end;
  color: rgba(251, 248, 241, 0.72);
  font-size: 18px;
}

.system-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: var(--line-dark);
}

.system-strip span {
  min-height: 74px;
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(251, 248, 241, 0.82);
  font-weight: 800;
}

.company-details {
  align-items: start;
}

dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--line);
}

dl div {
  padding: 22px;
  background: var(--paper-strong);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.contact {
  align-items: start;
  padding: 76px 0 50px;
  border-top: 1px solid var(--line);
}

.contact > div {
  display: grid;
  gap: 20px;
}

.contact > div > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.contact-lines a {
  width: max-content;
  color: var(--green);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 27, 0.18);
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #fffdf7;
  font: inherit;
}

.contact-form input {
  min-height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 32px);
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 6px);
    right: 0;
    display: grid;
    min-width: min(320px, calc(100vw - 32px));
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
  }

  .site-header.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    min-height: 44px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 48px);
    margin: -90px auto 34px;
  }

  .split,
  .operations-section,
  .systems-band,
  .company-details,
  .contact {
    grid-template-columns: 1fr;
  }

  .commodity-grid,
  .client-logo-grid,
  .system-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-copy,
  .statement,
  .section,
  .systems-band,
  .contact {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .hero-copy {
    min-height: 90svh;
    padding-top: 104px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(16, 22, 18, 0.94), rgba(16, 22, 18, 0.6)),
      linear-gradient(180deg, rgba(16, 22, 18, 0.2), rgba(16, 22, 18, 0.84));
  }

  .hero-panel {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .primary-action,
  .secondary-action,
  .hero-actions {
    width: 100%;
  }

  .commodity-grid,
  .client-logo-grid,
  .operations-board,
  .system-strip {
    grid-template-columns: 1fr;
  }

  .commodity-grid article {
    min-height: 230px;
  }

  .commodity-grid span {
    margin-bottom: 22px;
  }
}
