/* ==========================================================================
   LEAFCORE — Pure Botanicals. Global Trust.
   Design tokens
   ========================================================================== */
:root{
  --forest-deep:  #33971f;
  --forest:       #1a8f1a;
  --forest-light: #2F6B4F;
  --gold:         #B8924A;
  --gold-bright:  #D4AF6A;
  --gold-soft:    #E9DCC2;
  --cream:        #FBF9F4;
  --cream-2:      #F5F1E7;
  --sage:         #EFF3EC;
  --ink:          #1C231F;
  --ink-soft:     #4A554E;
  --ink-faint:    #7C877E;
  --line:         #E1E6DC;
  --white:        #FFFFFF;

  --font-display: "Fraunces", serif;
  --font-body:    "Inter", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.68,.28,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--forest-deep);
  margin:0;
  letter-spacing:-0.01em;
}
p{ margin:0; }
button{ font-family:var(--font-body); cursor:pointer; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* -------------------- eyebrow / labels -------------------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold);
}
.eyebrow::before{
  content:"";
  width:22px; height:1px;
  background:var(--gold);
}

/* -------------------- buttons -------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:14.5px;
  letter-spacing:0.01em;
  padding:14px 26px;
  border-radius:2px;
  border:1px solid transparent;
  transition:all .35s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--forest-deep);
  color:var(--cream);
  border-color:var(--forest-deep);
}
.btn-primary:hover{
  background:var(--gold);
  border-color:var(--gold);
  color:var(--forest-deep);
  transform:translateY(-1px);
}
.btn-ghost{
  background:transparent;
  color:var(--forest-deep);
  border-color:var(--ink);
  border-color:rgba(15,61,46,.35);
}
.btn-ghost:hover{
  border-color:var(--forest-deep);
  background:rgba(15,61,46,.05);
}
.btn-gold{
  background:var(--gold);
  color:var(--forest-deep);
  border-color:var(--gold);
}
.btn-gold:hover{
  background:var(--gold-bright);
  border-color:var(--gold-bright);
  transform:translateY(-1px);
}
.btn-outline-light{
  background:transparent;
  color:var(--cream);
  border-color:rgba(251,249,244,.4);
}
.btn-outline-light:hover{
  border-color:var(--cream);
  background:rgba(251,249,244,.08);
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar{
  background:var(--forest-deep);
  color:rgba(251,249,244,.85);
}
.topbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px 32px;
  font-size:12.5px;
}
.topbar-contacts{ display:flex; align-items:center; gap:26px; }
.topbar-contacts a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:rgba(251,249,244,.85);
  font-weight:500;
  transition:color .25s var(--ease);
}
.topbar-contacts a:hover{ color:var(--gold-bright); }
.topbar-contacts svg{ width:14px; height:14px; flex-shrink:0; }
.topbar-tag{
  font-family:var(--font-display);
  font-style:italic;
  font-size:12.5px;
  color:rgba(251,249,244,.55);
  letter-spacing:0.01em;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:fixed;
  top:33px; left:0; right:0;
  z-index:100;
  background:rgba(251,249,244,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background .3s var(--ease), top .3s var(--ease);
}
.site-header.scrolled{ top:0; }
.site-header.scrolled{
  border-bottom-color:var(--line);
  background:rgba(251,249,244,.97);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 32px;
  max-width:var(--container);
  margin:0 auto;
}
.brand{ display:flex; align-items:center; }
.brand img{ height:44px; width:auto; }

.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  font-weight:600;
  font-size:13.5px;
  letter-spacing:0.03em;
  color:var(--ink-soft);
  position:relative;
  padding:4px 0;
  transition:color .25s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; right:100%;
  bottom:-2px;
  height:1px;
  background:var(--gold);
  transition:right .3s var(--ease);
}
.nav-links a:hover{ color:var(--forest-deep); }
.nav-links a:hover::after{ right:0; }

.header-cta{ display:flex; align-items:center; gap:14px; }
.header-cta .btn{ padding:11px 20px; font-size:13px; }

.nav-toggle{
  display:none;
  background:none; border:none;
  width:34px; height:26px;
  position:relative;
  flex-direction:column;
  justify-content:space-between;
}
.nav-toggle span{
  display:block; height:2px; width:100%;
  background:var(--forest-deep);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.open span:nth-child(1){ transform:translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-11px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;
  padding:176px 0 110px;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(17, 17, 17, 0.14), transparent 42%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 70%, var(--sage) 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.8fr;
  gap:64px;
  align-items:center;
}
.hero-copy h1{
  font-size:clamp(38px,4.6vw,60px);
  line-height:1.06;
  font-weight:600;
}
.hero-copy h1 em{
  font-style:italic;
  color:var(--gold);
  font-weight:500;
}
.hero-copy .eyebrow{ margin-bottom:22px; }
.hero-sub{
  margin-top:24px;
  max-width:520px;
  font-size:17px;
  color:var(--ink-soft);
  line-height:1.7;
}
.hero-actions{
  display:flex;
  gap:16px;
  margin-top:36px;
  flex-wrap:wrap;
}
.hero-badges{
  display:flex;
  gap:10px;
  margin-top:44px;
  flex-wrap:wrap;
}
.hero-badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 16px 9px 12px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:100px;
  font-size:12.5px;
  font-weight:600;
  color:var(--black);
  letter-spacing:0.01em;
}
.hero-badge .dot{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--gold);
  flex-shrink:0;
}

/* signature mark: ring + route */
.hero-visual{
  position:relative;
  aspect-ratio:1/1;
  max-width:440px;
  justify-self:end;
}
.hero-visual svg{ width:100%; height:100%; }
.route-path{
  fill:none;
  stroke:var(--gold);
  stroke-width:1.4;
  stroke-dasharray:5 6;
  opacity:.55;
  animation:dash 60s linear infinite;
}
@keyframes dash{ to{ stroke-dashoffset:-1000; } }
.node{
  fill:var(--cream);
  stroke:var(--gold);
  stroke-width:1.4;
}
.node-dot{ fill:var(--gold); }
.origin-mark{
  fill:var(--forest-deep);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
section{ position:relative; padding:108px 0; }
.section-alt{ background:var(--sage); }
.section-dark{
  background:var(--forest-deep);
  color:var(--cream);
}
.section-dark h2, .section-dark h3{ color:var(--cream); }

.section-head{
  max-width:640px;
  margin-bottom:56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{
  margin-top:16px;
  font-size:clamp(28px,3.2vw,40px);
  line-height:1.14;
}
.section-head p{
  margin-top:18px;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.7;
}
.section-dark .section-head p{ color:rgba(251,249,244,.72); }

/* reveal-on-scroll */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display:grid;
  grid-template-columns:1fr 0.86fr;
  gap:72px;
  align-items:start;
}
.about-copy p{
  font-size:17px;
  color:var(--ink-soft);
  line-height:1.8;
}
.about-copy p + p{ margin-top:18px; }
.about-copy .eyebrow{ margin-bottom:16px; }
.about-copy h2{ font-size:clamp(26px,3vw,34px); margin-bottom:22px; line-height:1.16; }

.trust-panel{
  background:var(--white);
  border:1px solid var(--line);
  padding:36px;
}
.trust-panel h3{
  font-size:19px;
  margin-bottom:22px;
}
.trust-list li{
  display:flex;
  gap:14px;
  padding:16px 0;
  border-top:1px solid var(--line);
  font-size:14.5px;
  color:var(--ink-soft);
}
.trust-list li:first-child{ border-top:none; padding-top:0; }
.trust-list .num{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--gold);
  font-size:15px;
  flex-shrink:0;
  width:22px;
}

/* ==========================================================================
   Services / Sourcing solutions
   ========================================================================== */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.service-card{
  background:var(--cream);
  padding:38px 34px;
  transition:background .35s var(--ease);
}
.service-card:hover{ background:var(--white); }
.service-card .icon{
  width:40px; height:40px;
  margin-bottom:22px;
  color:var(--forest);
}
.service-card h3{
  font-size:18px;
  margin-bottom:10px;
}
.service-card p{
  font-size:14.5px;
  color:var(--ink-soft);
  line-height:1.65;
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process-wrap{ position:relative; }
.process-line{
  position:absolute;
  left:29px; top:12px; bottom:12px;
  width:1px;
  background:var(--line);
}
.process-line-fill{
  position:absolute;
  left:0; top:0;
  width:100%;
  height:0%;
  background:var(--gold);
  transition:height 1.2s var(--ease);
}
.process-steps{ display:flex; flex-direction:column; gap:0; }
.process-step{
  display:flex;
  gap:28px;
  padding:26px 0;
  align-items:flex-start;
}
.process-num{
  position:relative;
  z-index:2;
  flex-shrink:0;
  width:60px; height:60px;
  border-radius:50%;
  background:var(--cream);
  border:1.4px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display);
  font-size:20px;
  font-weight:600;
  color:var(--forest-deep);
  transition:background .4s var(--ease), color .4s var(--ease);
}
.process-step.in-view .process-num{
  background:var(--gold);
  color:var(--forest-deep);
}
.process-body{ padding-top:10px; }
.process-body h3{ font-size:19px; margin-bottom:6px; }
.process-body p{ font-size:14.5px; color:var(--ink-soft); max-width:520px; }

/* ==========================================================================
   Products
   ========================================================================== */
.product-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:40px;
  border-bottom:1px solid var(--line);
}
.product-tab{
  background:none;
  border:none;
  padding:12px 4px;
  margin-right:28px;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.01em;
  color:var(--ink-faint);
  border-bottom:2px solid transparent;
  transform:translateY(1px);
  transition:color .25s var(--ease), border-color .25s var(--ease);
}
.product-tab:hover{ color:var(--forest-deep); }
.product-tab.active{
  color:var(--forest-deep);
  border-bottom-color:var(--gold);
}
.product-panels{ position:relative; }
.product-panel{ display:none; }
.product-panel.active{ display:block; }
.product-cat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.product-cat{
  background:var(--white);
  border:1px solid var(--line);
  padding:30px 28px;
}
.product-cat h4{
  font-size:16px;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.product-cat ul li{
  font-size:14.5px;
  color:var(--ink-soft);
  padding:7px 0;
  display:flex;
  align-items:center;
  gap:10px;
}
.product-cat ul li::before{
  content:"";
  width:5px; height:5px;
  border-radius:50%;
  background:var(--gold);
  flex-shrink:0;
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industry-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.industry-card{
  background:var(--white);
  border:1px solid var(--line);
  padding:26px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:border-color .3s var(--ease), transform .3s var(--ease);
}
.industry-card:hover{
  border-color:var(--gold);
  transform:translateY(-3px);
}
.industry-card .icon{ width:26px; height:26px; color:var(--gold); }
.industry-card span{ font-weight:600; font-size:14px; color:var(--forest-deep); }

/* ==========================================================================
   Quality / Certifications
   ========================================================================== */
.quality-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}
.cert-badges{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.cert-badge{
  aspect-ratio:1.5/1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--white);
  border:1px solid var(--line);
  text-align:center;
}
.cert-badge span{
  font-weight:700;
  font-size:13px;
  letter-spacing:0.03em;
  color:var(--forest-deep);
}
.cert-badge small{
  font-size:10.5px;
  color:var(--ink-faint);
}
.cert-note{
  margin-top:22px;
  font-size:13px;
  color:var(--ink-faint);
  font-style:italic;
}

/* ==========================================================================
   Export documentation
   ========================================================================== */
.doc-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(251,249,244,.14);
  border:1px solid rgba(251,249,244,.14);
}
.doc-card{
  background:var(--forest-deep);
  padding:30px 24px;
}
.doc-card .doc-num{
  font-family:var(--font-display);
  color:var(--gold-bright);
  font-size:13px;
  margin-bottom:14px;
  letter-spacing:0.05em;
}
.doc-card h4{
  color:var(--cream);
  font-size:15px;
  font-weight:600;
  line-height:1.4;
}

/* ==========================================================================
   Why LEAFCORE
   ========================================================================== */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px 40px;
}
.why-item{ display:flex; gap:18px; }
.why-item .icon{
  width:22px; height:22px;
  color:var(--gold);
  flex-shrink:0;
  margin-top:3px;
}
.why-item h4{ font-size:16px; margin-bottom:6px; color:var(--forest-deep); }
.why-item p{ font-size:14px; color:var(--ink-soft); line-height:1.6; }

/* ==========================================================================
   Enquiry
   ========================================================================== */
.enquiry-grid{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  gap:64px;
  align-items:start;
}
.enquiry-info .eyebrow{ margin-bottom:16px; }
.enquiry-info h2{ font-size:clamp(26px,3vw,34px); line-height:1.16; }
.enquiry-info p{
  margin-top:18px;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.75;
  max-width:400px;
}
.enquiry-contacts{ margin-top:38px; display:flex; flex-direction:column; gap:22px; }
.enquiry-contacts li{ display:flex; gap:16px; align-items:flex-start; }
.enquiry-contacts svg{
  width:20px; height:20px;
  color:var(--gold);
  flex-shrink:0;
  margin-top:2px;
}
.enquiry-contacts span{
  display:block;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin-bottom:3px;
}
.enquiry-contacts a{
  font-size:15px;
  font-weight:600;
  color:var(--forest-deep);
}
.enquiry-contacts a[href^="tel"]:hover,
.enquiry-contacts a[href^="mailto"]:hover{ color:var(--gold); }

.enquiry-form{
  background:var(--white);
  border:1px solid var(--line);
  padding:40px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field label{
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.03em;
  color:var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family:var(--font-body);
  font-size:14.5px;
  color:var(--ink);
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:2px;
  padding:12px 14px;
  transition:border-color .25s var(--ease), background .25s var(--ease);
  width:100%;
}
.form-field textarea{ resize:vertical; min-height:96px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none;
  border-color:var(--gold);
  background:var(--white);
}
.form-field input:invalid:not(:placeholder-shown){ border-color:#C97A63; }
.form-submit{ align-self:flex-start; margin-top:6px; }
.form-note{
  font-size:13.5px;
  color:var(--forest);
  min-height:18px;
}
.form-note.error{ color:#B23A2F; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band{
  background:linear-gradient(120deg, var(--forest-deep) 0%, var(--forest) 100%);
  padding:90px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 0%, rgba(212,175,106,.16), transparent 55%);
}
.cta-band .container{ position:relative; }
.cta-band .eyebrow{ justify-content:center; }
.cta-band h2{
  color:var(--cream);
  font-size:clamp(28px,3.6vw,42px);
  margin-top:16px;
  max-width:640px;
  margin-left:auto; margin-right:auto;
  line-height:1.18;
}
.cta-band p{
  color:rgba(251,249,244,.7);
  margin-top:16px;
  font-size:16px;
}
.cta-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:38px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background:#0B2E22;
  color:rgba(251,249,244,.65);
  padding:76px 0 28px;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(251,249,244,.12);
}
.footer-brand img{
  height:38px;
  margin-bottom:18px;
  filter:brightness(0) invert(1);
  opacity:.92;
}
.footer-brand p{
  font-size:13.5px;
  line-height:1.7;
  max-width:280px;
  color:rgba(251,249,244,.55);
}
.footer-col h5{
  color:var(--cream);
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.footer-col li{ padding:7px 0; }
.footer-col a{
  font-size:13.5px;
  color:rgba(251,249,244,.6);
  transition:color .25s var(--ease);
}
.footer-col a:hover{ color:var(--gold-bright); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  font-size:12.5px;
  color:rgba(251,249,244,.4);
  flex-wrap:wrap;
  gap:12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ justify-self:center; max-width:320px; order:-1; }
  .about-grid{ grid-template-columns:1fr; gap:40px; }
  .enquiry-grid{ grid-template-columns:1fr; gap:44px; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .industry-grid{ grid-template-columns:repeat(2,1fr); }
  .doc-grid{ grid-template-columns:repeat(2,1fr); }
  .quality-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:repeat(2,1fr); }
  .product-cat-grid{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; row-gap:36px; }
}
@media (max-width: 720px){
  .topbar-tag{ display:none; }
  .topbar-row{ padding:7px 20px; justify-content:center; }
  .topbar-contacts{ gap:18px; }
  .nav-links, .header-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta .btn-primary{ padding:9px 16px; font-size:12.5px; }
  section{ padding:76px 0; }
  .hero{ padding:150px 0 76px; }
  .services-grid{ grid-template-columns:1fr; }
  .industry-grid{ grid-template-columns:1fr 1fr; }
  .doc-grid{ grid-template-columns:1fr 1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .product-cat-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; gap:16px; }
  .enquiry-form{ padding:28px 24px; }
  .cta-actions{ flex-direction:column; align-items:stretch; }
  .cta-actions .btn{ width:100%; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }

  /* mobile nav drawer */
  .nav-links.mobile-open{
    display:flex;
    position:fixed;
    top:105px; left:0; right:0; bottom:0;
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    padding:36px 32px;
    gap:26px;
    overflow-y:auto;
  }
  .nav-links.mobile-open a{ font-size:17px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto; }
}
