:root {
  --graphite: #17201d;
  --ink: #23302b;
  --steel: #dfe5e2;
  --paper: #f7f5ef;
  --white: #ffffff;
  --green: #315f4e;
  --green-deep: #204237;
  --wheat: #c99c48;
  --rust: #9d4d38;
  --muted: #68746f;
  --line: rgba(35, 48, 43, 0.16);
  --shadow: 0 24px 60px rgba(23, 32, 29, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

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

.page-shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: rgba(23, 32, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 178px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.nav-action,
.button,
.menu-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 740;
}

.menu-toggle {
  display: none;
  width: 44px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-action {
  padding: 0 16px;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 14px;
}

.menu-toggle svg,
.nav-action svg,
.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.menu-toggle .menu-icon-close {
  display: none;
}

.menu-toggle.is-open .menu-icon-line {
  display: none;
}

.menu-toggle.is-open .menu-icon-close {
  display: block;
}

.hero {
  position: relative;
  min-height: clamp(610px, 82svh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 22, 20, 0.88) 0%, rgba(15, 22, 20, 0.65) 34%, rgba(15, 22, 20, 0.18) 74%),
    linear-gradient(0deg, rgba(15, 22, 20, 0.68) 0%, rgba(15, 22, 20, 0) 38%),
    rgba(15, 22, 20, 0.12);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--wheat);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.94;
  font-weight: 820;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

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

.button {
  min-width: 164px;
  padding: 0 20px;
}

.button-primary {
  background: var(--wheat);
  color: #1d211b;
}

.button-primary:hover {
  background: #d6aa54;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.signal-band {
  background: var(--graphite);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid div {
  min-height: 118px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  font-size: 21px;
}

.signal-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.intro-section,
.products-section,
.capabilities-section,
.quality-section,
.markets-section,
.rfq-section {
  padding: 92px 0;
}

.intro-grid,
.quality-grid,
.market-layout,
.rfq-layout,
.capability-layout {
  display: grid;
  gap: 56px;
}

.intro-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

.products-section {
  background: var(--white);
}

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

.section-heading.compact {
  max-width: 520px;
  margin: 0;
}

.section-heading p:not(.section-kicker),
.quality-copy p,
.rfq-copy p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
}

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

.product-card {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.product-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(49, 95, 78, 0.26);
  background: rgba(49, 95, 78, 0.08);
  color: var(--green);
}

.product-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.product-card p {
  min-height: 118px;
  margin-top: 14px;
  color: var(--muted);
}

.product-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
}

.product-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--wheat);
  content: "";
}

.capabilities-section {
  background: var(--green-deep);
  color: var(--white);
}

.capabilities-section h2,
.capabilities-section h3 {
  color: var(--white);
}

.capabilities-section .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.capability-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.process-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list span {
  color: var(--wheat);
  font-weight: 820;
}

.process-list p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
}

.quality-section {
  background: #f0eee5;
}

.quality-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

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

.document-panel div {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(23, 32, 29, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(23, 32, 29, 0.08);
}

.document-panel span {
  display: inline-grid;
  width: 52px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(157, 77, 56, 0.24);
  color: var(--rust);
  font-size: 12px;
  font-weight: 820;
}

.document-panel strong {
  display: block;
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.25;
}

.markets-section {
  background: var(--white);
}

.market-layout {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
}

.market-board {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(49, 95, 78, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 95, 78, 0.08) 1px, transparent 1px),
    #fbfaf6;
  background-size: 42px 42px;
}

.market-row {
  display: grid;
  grid-template-columns: 120px minmax(120px, 1fr) 250px;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(35, 48, 43, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
}

.market-row span {
  font-weight: 780;
}

.market-row div {
  height: 11px;
  overflow: hidden;
  background: rgba(49, 95, 78, 0.14);
}

.market-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--wheat));
}

.market-row strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.rfq-section {
  background: var(--graphite);
  color: var(--white);
}

.rfq-layout {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
}

.rfq-section h2 {
  color: var(--white);
}

.rfq-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-strip {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-strip > span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-strip > a {
  color: var(--wheat);
  font-size: 22px;
  font-weight: 760;
  word-break: break-word;
}

.company-details {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
}

.company-details strong {
  color: var(--white);
  font-size: 16px;
}

.company-details span {
  font-size: 15px;
}

.rfq-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

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

.rfq-form label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 760;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.rfq-form textarea {
  resize: vertical;
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
  border-color: var(--wheat);
  box-shadow: 0 0 0 3px rgba(201, 156, 72, 0.2);
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}

.form-button {
  width: fit-content;
  margin-top: 4px;
  border: 0;
}

.rfq-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  color: var(--wheat);
  font-size: 14px;
}

.site-footer {
  padding: 44px 0;
  background: #101714;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  width: fit-content;
}

.site-footer p {
  max-width: 520px;
  margin-top: 14px;
}

.footer-company {
  display: grid;
  gap: 4px;
  max-width: 520px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-style: normal;
}

.footer-company strong {
  color: var(--white);
}

.footer-company span {
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 960px) {
  .site-header {
    gap: 14px;
  }

  .site-nav {
    display: none;
  }

  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu:not([hidden]) {
    position: absolute;
    top: calc(100% + 8px);
    left: max(20px, calc((100vw - 1180px) / 2));
    right: max(20px, calc((100vw - 1180px) / 2));
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(23, 32, 29, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
  }

  .mobile-menu a {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 14px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    font-weight: 720;
  }

  .mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .mobile-menu .mobile-menu-action {
    margin-top: 4px;
    background: var(--wheat);
    color: #1d211b;
  }

  .mobile-menu .mobile-menu-action:hover {
    background: #d6aa54;
    color: #1d211b;
  }

  .signal-grid,
  .product-grid,
  .intro-grid,
  .quality-grid,
  .market-layout,
  .rfq-layout,
  .capability-layout {
    grid-template-columns: 1fr;
  }

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

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

  .product-card p {
    min-height: 0;
  }

  .market-row {
    grid-template-columns: 110px 1fr;
  }

  .market-row strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mobile-menu:not([hidden]) {
    left: 14px;
    right: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 142px;
    height: auto;
  }

  .menu-toggle {
    width: 42px;
    min-height: 42px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 22, 20, 0.9) 0%, rgba(15, 22, 20, 0.72) 58%, rgba(15, 22, 20, 0.28) 100%),
      linear-gradient(0deg, rgba(15, 22, 20, 0.7) 0%, rgba(15, 22, 20, 0) 36%);
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .signal-grid,
  .document-panel,
  .form-split {
    grid-template-columns: 1fr;
  }

  .signal-grid div {
    min-height: 96px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .intro-section,
  .products-section,
  .capabilities-section,
  .quality-section,
  .markets-section,
  .rfq-section {
    padding: 64px 0;
  }

  h2 {
    font-size: 34px;
  }

  .market-board,
  .rfq-form {
    padding: 18px;
  }

  .market-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .market-row strong {
    grid-column: auto;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
