:root {
  --ink: #1d2520;
  --muted: #65706a;
  --line: #dfe4dd;
  --paper: #f8f8f3;
  --soft: #edf2ea;
  --leaf: #255f48;
  --leaf-deep: #183c31;
  --rose: #b65d6d;
  --gold: #b3914d;
  --white: #ffffff;
}

* {
  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;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(29, 37, 32, 0.08);
  background: rgba(248, 248, 243, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--leaf);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

nav a:hover {
  color: var(--leaf);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(38px, 6vw, 80px) clamp(20px, 5vw, 72px) 42px;
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: 1;
  font-weight: 760;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  border-color: var(--leaf);
  background: var(--leaf);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 95, 72, 0.18);
}

.button.primary:hover {
  background: var(--leaf-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(24, 60, 49, 0.24);
}

.button.secondary {
  background: var(--white);
  color: var(--leaf);
}

.button.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 60, 49, 0.1);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  max-width: 620px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-metrics dt {
  margin-bottom: 4px;
  color: var(--leaf);
  font-size: 24px;
  font-weight: 850;
}

.hero-metrics dd {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  perspective: 900px;
  transform-style: preserve-3d;
  will-change: transform;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 228, 221, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(24, 60, 49, 0.12);
  transform: translateZ(0);
  will-change: transform;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 34%, rgba(24, 60, 49, 0.26));
  opacity: 0.72;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.gallery-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 32px);
  min-height: 34px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(29, 37, 32, 0.62);
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
  backdrop-filter: blur(12px);
}

.hero-gallery .hero-main,
.gallery-card.hero-main {
  grid-row: span 2;
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.intro,
.quality {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 20px;
}

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

.section-note {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.product-section,
.faq {
  background: var(--white);
}

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

.category-card,
.buyer-grid article,
.faq-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.category-card:hover,
.buyer-grid article:hover,
.faq-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 95, 72, 0.28);
  box-shadow: 0 20px 48px rgba(24, 60, 49, 0.12);
}

.category-card.wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 650ms ease;
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-card.wide img {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.category-card div {
  padding: 22px;
}

.category-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card p,
.buyer-grid p,
.quality-list span,
.faq-grid p,
.inquiry-copy p,
footer span {
  color: var(--muted);
}

.buyers {
  background: var(--paper);
}

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

.buyer-grid article,
.faq-grid article {
  min-height: 190px;
  padding: 26px;
}

.process {
  position: relative;
  overflow: hidden;
  background: var(--leaf-deep);
  color: var(--white);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 78%, transparent);
  pointer-events: none;
}

.process > * {
  position: relative;
}

.process .eyebrow {
  color: #e5c2c8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sourcing;
}

.process-list li {
  position: relative;
  counter-increment: sourcing;
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.process-list li::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 78px;
  height: 1px;
  background: rgba(217, 189, 128, 0.4);
  transform-origin: left;
  transition: transform 260ms ease;
}

.process-list li:hover::after {
  transform: scaleX(0.72);
}

.process-list li::before {
  content: "0" counter(sourcing);
  display: block;
  margin-bottom: 40px;
  color: #d9bd80;
  font-weight: 850;
}

.process-list strong,
.process-list span,
.quality-list strong,
.quality-list span {
  display: block;
}

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

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

.quality-list div {
  padding: 20px;
  border-left: 3px solid var(--rose);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 220ms ease, background 220ms ease;
}

.quality-list div:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.92);
}

.quality-list strong {
  margin-bottom: 6px;
}

.inquiry-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: #f4efe8;
}

.inquiry-band::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(179, 145, 77, 0.22);
  border-radius: 8px;
  pointer-events: none;
}

.inquiry-band > * {
  position: relative;
}

.inquiry-copy {
  position: sticky;
  top: 104px;
}

.contact-lines a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--leaf);
  font-weight: 750;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(24, 60, 49, 0.08);
}

.inquiry-form label,
.inquiry-form .full {
  display: grid;
  gap: 8px;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

.inquiry-form span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffefa;
  color: var(--ink);
  min-height: 46px;
  padding: 11px 12px;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 95, 72, 0.24);
  outline-offset: 2px;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin-bottom: 0;
  color: var(--leaf);
  font-weight: 750;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #072d17;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(20, 55, 32, 0.24);
  will-change: transform;
}

.js-enabled .js-reveal,
.js-enabled .js-reveal-card,
.js-enabled .js-section .eyebrow,
.js-enabled .js-section h2,
.js-enabled .js-section .section-note,
.js-enabled .js-section .inquiry-copy p,
.js-enabled .js-section .contact-lines a {
  visibility: hidden;
}

.motion-ready .js-reveal,
.motion-ready .js-reveal-card,
.motion-ready .js-section .eyebrow,
.motion-ready .js-section h2,
.motion-ready .js-section .section-note,
.motion-ready .js-section .inquiry-copy p,
.motion-ready .js-section .contact-lines a {
  visibility: visible;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .category-grid,
  .buyer-grid,
  .process-list,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .intro,
  .quality,
  .inquiry-band,
  .category-card.wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-gallery .hero-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-card.hero-main {
    grid-column: span 2;
    grid-row: auto;
  }

  .hero-metrics,
  .category-grid,
  .buyer-grid,
  .process-list,
  .quality-list,
  .faq-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .category-card.wide {
    grid-column: auto;
  }

  .category-card.wide img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .inquiry-copy {
    position: static;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-reveal,
  .js-reveal-card,
  .js-section .eyebrow,
  .js-section h2,
  .js-section .section-note,
  .js-section .inquiry-copy p,
  .js-section .contact-lines a {
    visibility: visible;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
  }

  h1 {
    font-size: 40px;
  }

  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }
}
