:root {
  --ink: #14211d;
  --muted: #64726d;
  --paper: #fbfaf4;
  --white: #ffffff;
  --line: #dfe6df;
  --mist: #eaf4ee;
  --forest: #174b3e;
  --forest-dark: #0c3028;
  --moss: #668d4e;
  --sun: #f4c84f;
  --clay: #d66b4f;
  --sky: #73bdcf;
  --shadow: 0 24px 70px rgba(20, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 244, 0.94);
  border-bottom: 1px solid rgba(223, 230, 223, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-size: 16px;
}

.main-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.main-nav a,
.header-action {
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.header-action:hover {
  color: var(--forest);
}

.header-action {
  color: var(--forest-dark);
  font-weight: 850;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 75px);
  padding: clamp(30px, 5vw, 76px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 38, 32, 0.82), rgba(10, 38, 32, 0.4) 55%, rgba(10, 38, 32, 0.16)),
    url("assets/catalog-sourcing-desk.png") center/cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 930px;
  color: var(--white);
  padding-bottom: min(10vh, 96px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

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

.hero-copy {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.section-heading,
.site-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 14px 36px rgba(244, 200, 79, 0.3);
}

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

.section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading p,
.section p {
  color: var(--muted);
}

.section-heading p {
  max-width: 520px;
}

.advantage-grid,
.product-list,
.process-grid,
.solution-grid,
.inspection-grid,
.team-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.advantage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantage-grid article,
.solution-grid article,
.process-grid article,
.inspection-grid article,
.team-grid article,
.contact-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.advantage-grid span,
.process-grid span,
.product-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 22px;
  padding: 0 12px;
  color: var(--white);
  background: var(--forest);
  border-radius: 999px;
  font-weight: 850;
}

.products-band,
.quality-page,
.products-page {
  background: var(--mist);
}

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

.category-grid.expanded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card,
.product-card,
.media-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-card img,
.product-card img,
.media-card img {
  height: 280px;
  object-fit: cover;
}

.category-card span,
.media-card figcaption {
  display: block;
  padding: 22px;
  font-size: 22px;
  font-weight: 850;
}

.product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card div {
  padding: 24px;
}

.wholesale-callout,
.quality-hero,
.custom-hero,
.about-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--forest-dark);
}

.wholesale-callout img,
.quality-hero img,
.custom-hero img,
.about-hero img,
.contact-hero img {
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wholesale-callout p,
.quality-hero p,
.custom-hero p,
.about-hero p,
.contact-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.trust {
  text-align: center;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.logo-wall span {
  display: grid;
  place-items: center;
  min-height: 86px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  font-size: 24px;
  font-weight: 900;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 48, 40, 0.88), rgba(12, 48, 40, 0.45)),
    url("assets/category-collage.png") center/cover;
}

.page-hero h1 {
  max-width: 880px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

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

.process-grid,
.inspection-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inspection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.quote-form {
  display: grid;
  gap: 16px;
  max-width: 860px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--forest-dark);
  font-weight: 850;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(115, 189, 207, 0.34);
  border-color: var(--sky);
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  margin-bottom: 14px;
  color: var(--muted);
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
}

@media (max-width: 1100px) {
  .advantage-grid,
  .category-grid.expanded,
  .product-list,
  .process-grid,
  .inspection-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .category-grid,
  .solution-grid,
  .media-grid,
  .wholesale-callout,
  .quality-hero,
  .custom-hero,
  .about-hero,
  .contact-hero,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .hero-actions,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 24px 18px;
  }

  .button {
    width: 100%;
  }

  .advantage-grid,
  .product-list,
  .process-grid,
  .inspection-grid,
  .team-grid,
  .logo-wall {
    grid-template-columns: 1fr;
  }
}
