/* OK YAMS — export site styles */
:root {
  --ink: #18271e;
  --ink-2: #2f4235;
  --muted: #637367;
  --paper: #ffffff;
  --cream: #f6f4ec;
  --sage: #e6eddf;
  --green: #3e6b4f;
  --green-dark: #20382a;
  --gold: #b78643;
  --line: #dfe4d8;
  --shadow: 0 18px 50px rgba(24, 39, 30, .08);
  --radius: 18px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-weight: 400; }
svg { display: block; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(24, 39, 30, .05); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 28px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; color: var(--green); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { font-family: "DM Serif Display", Georgia, serif; font-size: 24px; letter-spacing: .01em; line-height: 1; }
.brand__text span { color: var(--green); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: .86rem; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--green); }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 10px 18px; font-size: .8rem; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: #31583f; }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--green-dark); overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/images/hero-yam.webp") center / cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 29, 19, .94) 0%, rgba(14, 29, 19, .78) 46%, rgba(14, 29, 19, .28) 100%),
    linear-gradient(0deg, rgba(14, 29, 19, .82), transparent 48%);
}
.hero__inner { min-height: 700px; display: flex; align-items: center; padding: 110px 0 130px; }
.hero__content { max-width: 780px; }
.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; color: var(--green); }
.eyebrow--light { color: #bcd3b8; }
.hero h1 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 18px 0 22px;
  max-width: 15ch;
}
.hero__lead { font-size: 1.03rem; line-height: 1.75; color: rgba(255, 255, 255, .85); max-width: 690px; margin: 0; }
.hero__lead em { font-style: italic; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 32px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .76rem;
  font-weight: 600;
}
.badge::before { content: "✓"; color: #a8d5a2; font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { position: relative; background: var(--green); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 24px 0; }
.stat { text-align: center; border-right: 1px solid rgba(255, 255, 255, .18); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; line-height: 1.1; font-weight: 400; }
.stat span { display: block; font-size: .75rem; opacity: .82; margin-top: 4px; letter-spacing: .02em; }

/* Trust strip */
.trust-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: #fff; color: var(--green); display: grid; place-items: center; border: 1px solid var(--line); }
.trust-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: .86rem; }
.trust-item small { display: block; font-size: .74rem; color: var(--muted); }

/* Sections */
.section { padding: 100px 0; }
.section-head { max-width: 730px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 12px 0 16px;
}
.section-lead { color: var(--muted); font-size: 1rem; margin: 0 auto; max-width: 700px; }

/* Origins */
.origins { background: var(--paper); }
.origin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.origin-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.origin-card__media { height: 250px; overflow: hidden; }
.origin-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.origin-card:hover .origin-card__media img { transform: scale(1.05); }
.origin-card__body { padding: 30px; }
.origin-card__tag { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); font-weight: 800; margin-bottom: 10px; }
.origin-card h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.55rem; line-height: 1.25; margin: 0 0 12px; }
.origin-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.spec-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.spec-list li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--ink-2); }
.spec-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* Products */
.products { background: var(--cream); }
.product-group + .product-group { margin-top: 64px; }
.group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.group-head h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.75rem; margin: 0; }
.group-head p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 500px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media { height: 140px; background-size: cover; background-repeat: no-repeat; position: relative; }
.product-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(24, 39, 30, .12)); }
.media--fresh { background-image: url("../assets/images/hero-yam.webp"); background-position: center 60%; }
.media--slices { background-image: url("../assets/images/products-raw.webp"); background-position: 18% 50%; }
.media--chips { background-image: url("../assets/images/products-raw.webp"); background-position: 82% 50%; }
.media--powder { background-image: url("../assets/images/lab-extract.webp"); background-position: 32% 50%; }
.media--extract { background-image: url("../assets/images/lab-extract.webp"); background-position: 72% 45%; }
.media--formula { background-image: url("../assets/images/lab-extract.webp"); background-position: 18% 55%; }
.media--base { background-image: url("../assets/images/products-raw.webp"); background-position: 50% 30%; }
.media--oem { background-image: url("../assets/images/oem-packaging.webp"); background-position: center; }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.product-card p { font-size: .86rem; color: var(--muted); margin: 0 0 14px; }
.mini-specs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-specs li { font-size: .7rem; font-weight: 600; background: var(--sage); color: var(--ink-2); padding: 4px 9px; border-radius: 6px; }
.text-link { margin-top: auto; color: var(--green); font-size: .84rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(3px); }

/* Quality */
.quality { background: var(--green-dark); color: #fff; }
.quality h2 { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; margin: 12px 0 16px; }
.quality .section-lead { color: rgba(255, 255, 255, .72); margin: 0; }
.quality-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.quality-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0 24px; }
.qstat { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 18px 20px; background: rgba(255, 255, 255, .03); }
.qstat strong { display: block; font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; line-height: 1.1; font-weight: 400; }
.qstat span { display: block; font-size: .76rem; opacity: .76; margin-top: 5px; }
.quality-copy { font-size: .9rem; color: rgba(255, 255, 255, .78); }
.quality-notes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.quality-notes li { position: relative; padding-left: 24px; font-size: .86rem; color: rgba(255, 255, 255, .86); }
.quality-notes li::before { content: "✓"; position: absolute; left: 0; color: #a8d5a2; font-weight: 800; }
.table-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 26px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; min-width: 340px; }
caption { text-align: left; font-weight: 700; color: #cfe0c8; padding-bottom: 14px; font-size: .86rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
th { color: #bcd3b8; font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
td:last-child { font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
.note { font-size: .73rem; line-height: 1.6; color: rgba(255, 255, 255, .65); margin: 16px 0 0; }

/* Process */
.process { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 25px; left: 8%; right: 8%; height: 1px; background: var(--line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem;
  border: 5px solid #fff;
}
.step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 7px; }
.step p { font-size: .84rem; color: var(--muted); margin: 0; }

/* Applications */
.applications { background: var(--cream); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-icon { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px; background: var(--sage); color: var(--green); display: grid; place-items: center; }
.app-icon svg { width: 26px; height: 26px; }
.app-card h3 { font-size: 1.03rem; font-weight: 700; margin: 0 0 8px; }
.app-card p { font-size: .86rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq { background: #fff; }
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 16px 0 0; font-size: .92rem; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-family: "DM Serif Display", Georgia, serif; font-size: 2rem; margin: 10px 0 12px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .78rem; font-weight: 800; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfa;
  color: var(--ink);
  font-size: .92rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(62, 107, 79, .13); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 4px 0 22px; }
.check input { margin-top: 4px; accent-color: var(--green); flex-shrink: 0; }
.form-status { font-size: .84rem; color: var(--green); font-weight: 700; margin: 14px 0 0; min-height: 20px; }
.contact-info h3 { font-family: "DM Serif Display", Georgia, serif; font-size: 1.9rem; line-height: 1.2; margin: 10px 0 14px; }
.contact-info > p { color: var(--muted); font-size: .92rem; }
.contact-email { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-weight: 800; text-decoration: none; margin: 8px 0 26px; font-size: 1.05rem; }
.contact-email:hover { text-decoration: underline; }
.contact-email svg { width: 20px; height: 20px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--ink-2); }
.info-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.contact-note { margin-top: 26px !important; font-size: .76rem !important; color: var(--muted) !important; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { color: #9fc79f; }
.site-footer .brand__text span { color: #9fc79f; }
.footer-brand p { font-size: .86rem; max-width: 320px; margin: 16px 0 0; }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin: 4px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; font-size: .86rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 700px; color: rgba(255, 255, 255, .55); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 24px 20px; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 16px 30px rgba(24, 39, 30, .1); border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .hero__inner { min-height: auto; padding: 90px 0 100px; }
  .hero h1 { max-width: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .origin-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .hero__inner { padding: 72px 0 84px; }
  .hero h1 { font-size: 2.35rem; }
  .hero__lead { font-size: .96rem; }
  .hero__actions .btn { width: 100%; }
  .stats-grid { padding: 20px 0; }
  .stat strong { font-size: 1.7rem; }
  .stat span { font-size: .7rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .group-head { display: block; }
  .group-head p { margin-top: 10px; }
  .product-grid { grid-template-columns: 1fr; }
  .quality-stats { grid-template-columns: 1fr 1fr; }
  .qstat strong { font-size: 1.7rem; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .app-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
