/* ============ Tokens ============ */
:root{
  --cream: #f6f1e4;
  --cream-deep: #efe7d3;
  --ink: #1c2a20;
  --ink-soft: #3d4a3f;
  --muted: #6b7568;
  --green: #16291d;
  --green-deep: #0f1c13;
  --gold: #c9a156;
  --gold-soft: #ddc287;
  --line: rgba(28,42,32,0.12);
  --line-light: rgba(246,241,228,0.18);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--sans);
  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; }
h1,h2,h3{ font-family: var(--serif); font-weight: 500; margin:0; color: var(--green); }
p{ margin:0; }
.section-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.eyebrow{
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.eyebrow--light{ color: var(--gold-soft); }

/* ============ Buttons ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn span{ transition: transform .25s ease; display:inline-block; }
.btn:hover span{ transform: translateX(4px); }
.btn-primary{
  background: var(--gold);
  color: var(--green-deep);
}
.btn-primary:hover{ background: var(--gold-soft); }
.btn-ghost{
  background: transparent;
  color: var(--cream);
  border-color: rgba(246,241,228,0.5);
}
.btn-ghost:hover{ border-color: var(--cream); background: rgba(246,241,228,0.08); }

/* ============ Header ============ */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.scrolled{
  background: rgba(246,241,228,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  transition: padding .35s ease;
}
.site-header.scrolled .nav-wrap{ padding: 16px 40px; }

.logo{
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.01em;
  transition: color .35s ease;
}
.logo span{ color: var(--gold); }
.site-header.scrolled .logo{ color: var(--green); }

.main-nav{ display:flex; gap: 40px; }
.main-nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cream);
  position:relative;
  padding-bottom: 4px;
  transition: color .35s ease, opacity .2s ease;
}
.site-header.scrolled .main-nav a{ color: var(--ink); }
.main-nav a:hover{ opacity: 0.7; }
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:1px;
  background: currentColor;
  transition: width .25s ease;
}
.main-nav a:hover::after{ width:100%; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
}
.nav-toggle span{
  width:22px; height:1.5px;
  background: var(--cream);
  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}
.site-header.scrolled .nav-toggle span{ background: var(--ink); }

/* ============ Hero ============ */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  color: var(--cream);
}
.hero-bg{
  position:absolute; inset:-20px;
  background:
    radial-gradient(ellipse 70% 50% at 25% 20%, rgba(255,214,140,0.25), transparent 60%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05);
}
.hero-bg::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(10,16,9,0.25);
}
.hero-bg::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:46%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 18px),
    linear-gradient(180deg, rgba(20,31,18,0) 0%, rgba(12,20,10,0.55) 100%);
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,16,9,0.15) 0%, rgba(10,16,9,0.05) 35%, rgba(8,13,7,0.55) 78%, rgba(6,10,5,0.78) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  max-width: var(--maxw);
  width:100%;
  margin: 0 auto;
  padding: 160px 40px 110px;
}
.hero-content .eyebrow{ color: var(--gold-soft); }
.hero h1{
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
  color: var(--cream);
  max-width: 920px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-sub{
  margin-top: 28px;
  max-width: 540px;
  font-size: 17px;
  color: rgba(246,241,228,0.82);
  font-weight: 300;
}
.hero-actions{
  margin-top: 38px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* ============ About ============ */
.about{ padding: 130px 0; background: var(--cream); }
.about-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}
.about-left h2{
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.18;
}
.about-right p{
  font-size: 16.5px;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 620px;
}
.stats-row{
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display:flex;
  gap: 64px;
  flex-wrap: wrap;
}
.stat{ display:flex; flex-direction:column; gap: 6px; }
.stat-num{
  font-family: var(--serif);
  font-size: 34px;
  color: var(--green);
}
.stat-label{
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
}

/* ============ Products ============ */
.products{ padding: 40px 0 130px; background: var(--cream); }
.products-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.products-head h2{ font-size: clamp(28px, 3.2vw, 40px); }
.products-sub{
  max-width: 340px;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 300;
}
.product-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card{ display:flex; flex-direction:column; }
.product-img{
  aspect-ratio: 4/5;
  border-radius: 4px;
  margin-bottom: 22px;
  position:relative;
  overflow:hidden;
  background-size: cover;
  background-position: center;
}
.product-img::after{
  content:"";
  position:absolute; inset:0;
  box-shadow: inset 0 -40px 60px rgba(0,0,0,0.18);
}
.product-img--pulses{
  background-image: url("images/other-commodities.jpg");
  background-size: cover;
  background-position: center;
}
.product-img--grains{
  background-image: url("images/wheat.jpg");
  background-size: cover;
  background-position: center;
}
.product-img--oilseeds{
  background-image: url("images/canola.jpg");
  background-size: cover;
  background-position: center 62%;
}
.product-more{
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.product-more p{
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 15.5px;
  font-weight: 300;
  margin-bottom: 22px;
}
.product-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-tags li{
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 14px;
}
.product-card h3{
  font-size: 22px;
  margin-bottom: 10px;
}
.product-card p{
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  max-width: 340px;
}

/* ============ Why Us ============ */
.why-us{
  background: var(--green);
  padding: 130px 0;
  color: var(--cream);
  position: relative;
  overflow:hidden;
}
.why-us::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(201,161,86,0.12), transparent 60%);
}
.why-heading{
  position:relative;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--cream);
  line-height: 1.18;
  margin-bottom: 64px;
}
.why-grid{
  position:relative;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.why-card{
  background: var(--green);
  padding: 36px 30px;
}
.why-icon{
  color: var(--gold);
  margin-bottom: 22px;
}
.why-icon svg{
  width: 22px;
  height: 22px;
  display: block;
}
.why-card h3{
  color: var(--cream);
  font-size: 19px;
  margin-bottom: 12px;
  font-weight: 500;
}
.why-card p{
  color: rgba(246,241,228,0.68);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.65;
}

/* ============ Contact ============ */
.contact{ padding: 130px 0; background: var(--cream); }
.contact-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.contact-left h2{
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 20px;
}
.contact-copy{
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 300;
  max-width: 420px;
}
.contact-info{
  margin-top: 44px;
  display:flex;
  flex-direction:column;
  gap: 22px;
}
.info-item{
  display:flex;
  flex-direction:column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.info-label{
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.info-item a, .info-item span{
  font-size: 16px;
  color: var(--ink);
}
.info-item a:hover{ color: var(--gold); }

.contact-form{
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 40px;
  display:flex;
  flex-direction:column;
  gap: 22px;
}
.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field{ display:flex; flex-direction:column; gap: 8px; }
.form-field label{
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color: var(--gold);
}
.contact-form .btn{ align-self: flex-start; }
.form-note{
  font-size: 14px;
  color: var(--green);
  min-height: 20px;
}
.form-note.error{ color: #a3432f; }

/* ============ Footer ============ */
.site-footer{
  background: var(--green-deep);
  color: rgba(246,241,228,0.75);
  padding: 70px 0 0;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-light);
}
.footer-grid p{
  margin-top: 14px;
  max-width: 320px;
  font-size: 14.5px;
  font-weight: 300;
}
.logo--footer{ color: var(--cream); }
.footer-nav{ display:flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a{ font-size: 14.5px; }
.footer-nav a:hover{ color: var(--gold); }
.footer-bottom{
  padding: 26px 40px;
  font-size: 13px;
}

/* ============ Reveal animation ============ */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 980px){
  .about-grid, .contact-grid{ grid-template-columns: 1fr; gap: 48px; }
  .product-grid{ grid-template-columns: 1fr 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .section-wrap{ padding: 0 24px; }
  .nav-wrap{ padding: 20px 24px; }
  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--green-deep);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 99;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a,
  .site-header.scrolled .main-nav a{ color: var(--cream); font-size: 20px; }
  .nav-toggle{ display:flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
  .nav-toggle.open span{ background: var(--cream) !important; }

  .hero-content{ padding: 130px 24px 80px; }
  .product-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .products-head{ flex-direction: column; align-items:flex-start; }
  .footer-bottom{ padding: 26px 24px; }
  .contact-form{ padding: 28px; }
}
