/* Pure Good Food Ingredients — simple single page
   Change brand colours, corner radius and spacing here. */
:root {
  --deep: #1E4A2C;      /* dark green */
  --leaf: #8DC04F;      /* light green (buttons, accents) */
  --surface: #F1F4EC;   /* soft green band */
  --ink: #17221A;
  --body: #4C5A4F;
  --rule: #DCE3D6;
  --radius: 20px;
  --section: 112px;
  --wrap: 1160px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--deep); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--deep); letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4vw, 48px); }
p, ul { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--surface { background: var(--surface); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; }

.kicker { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { color: #fff; }
.btn--leaf { background: var(--leaf); color: #102615; }
.btn--leaf:hover { color: #102615; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.masthead { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--deep); }
.wordmark img { width: 48px; height: auto; }
.site-nav { display: flex; gap: 28px; font-size: 16px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--deep); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; padding-top: 64px; padding-bottom: var(--section); }
.hero__copy { flex: 1 1 440px; min-width: 0; }
.hero h1 { margin-bottom: 20px; font-size: clamp(44px, 5.4vw, 68px); line-height: 1.04; text-wrap: balance; }
.lede { margin-bottom: 32px; max-width: 460px; font-size: 20px; color: var(--body); }
.hero__img { flex: 1 1 420px; min-width: 0; height: 520px; object-fit: cover; border-radius: var(--radius); }

/* Why */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__img { height: 480px; object-fit: cover; border-radius: var(--radius); }
.split h2 { margin-bottom: 32px; }
.points { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.points li { padding: 16px 0; border-bottom: 1px solid var(--rule); color: var(--body); }
.points b { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--deep); }

/* Products */
#products h2 { margin-bottom: 40px; }
.products { display: flex; flex-wrap: wrap; gap: 24px; }
.product { flex: 1 1 360px; min-width: 0; }
.product img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.product h3 { margin-bottom: 4px; font-size: 26px; font-weight: 600; }
.product p { color: var(--body); }

/* Contact */
.contact { background: var(--deep); color: #E9F1E0; }
.contact__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; padding-top: 96px; padding-bottom: 96px; }
.contact h2 { color: #fff; margin-bottom: 10px; }
.contact p { color: #C5D6B8; }
.contact__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact__list li { display: flex; gap: 16px; align-items: baseline; }
.contact__list span { width: 64px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A9C196; }
.contact__list a { color: #fff; font-size: 19px; font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #163821; color: #A9C196; font-size: 14px; }
.site-footer a { color: inherit; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 24px; }

/* Motion: gentle fade-in only */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.anim-in { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 700px) {
  :root { --section: 72px; }
  .wrap { padding: 0 20px; }
  .site-nav { gap: 18px; font-size: 15px; }
  .wordmark span { display: none; }
  .hero { padding-top: 32px; }
  .hero__img { height: 320px; }
  .split__img { height: 300px; }
  .product img { height: 260px; }
  .contact__inner { padding-top: 64px; padding-bottom: 64px; }
}

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