
:root {
  --green: #255946;
  --green-dark: #1f4638;
  --green-soft: #e9f1e1;
  --gold: #f7c35f;
  --gold-dark: #d9a742;
  --cream: #f7f1e3;
  --cream-2: #fffaf0;
  --paper: #fffdf7;
  --brown: #6e4b2f;
  --charcoal: #24332d;
  --muted: #6d776f;
  --line: rgba(37, 89, 70, .16);
  --shadow: 0 18px 45px rgba(31, 70, 56, .12);
  --radius: 14px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family: Barlow, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: .06em; text-underline-offset: .22em; }
a:hover { color: var(--green); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 42px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 999; background: var(--green-dark); color: white; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.hidden { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 10px 30px rgba(31,70,56,.08); }
.topbar { background: var(--green-dark); color: rgba(255,255,255,.86); font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 0; }
.topbar p { margin: 0; font-weight: 600; letter-spacing: .03em; }
.topbar a { color: white; text-decoration: none; font-weight: 700; }
.topbar-links { display: flex; gap: 18px; }
.navbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-dark); }
.brand-mark { width: 68px; height: 68px; border-radius: 50%; background: var(--green); color: var(--gold); border: 4px solid var(--gold); display: grid; place-items: center; font-family: "Amatic SC", Barlow, sans-serif; font-weight: 700; font-size: 2.05rem; letter-spacing: -.04em; box-shadow: 0 8px 18px rgba(31,70,56,.16); }
.brand-text strong { display: block; font-size: 1.22rem; line-height: 1; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.brand-text em { display: block; font-style: normal; color: var(--brown); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-top: 5px; }
.nav-menu { display: flex; align-items: center; justify-content: center; gap: 24px; flex: 1; }
.nav-menu a { position: relative; text-decoration: none; font-weight: 700; color: var(--charcoal); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; padding: 32px 0; }
.nav-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 26px; height: 3px; border-radius: 99px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--green); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--green); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 21px; height: 2px; background: white; border-radius: 999px; transition: .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

h1, h2, h3 { line-height: 1.08; margin: 0 0 18px; color: var(--charcoal); }
h1 { font-size: clamp(3.2rem, 7vw, 6.6rem); font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.35rem); font-weight: 800; letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; }
p { margin: 0 0 18px; color: var(--muted); }
.script-title { font-family: "Amatic SC", Barlow, sans-serif; color: var(--gold-dark); font-size: clamp(2.05rem, 3.6vw, 3.15rem); line-height: .9; font-weight: 700; letter-spacing: .01em; margin: 0 0 12px; }
.script-title.light { color: var(--gold); text-shadow: 0 2px 8px rgba(0,0,0,.2); }

.button-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 8px; padding: 16px 25px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; line-height: 1; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(31,70,56,.16); }
.button-primary, .button-shop { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.button-primary:hover, .button-shop:hover { background: var(--green); color: white; border-color: var(--green); }
.button-secondary { color: var(--green); border-color: var(--green); background: transparent; }
.button-secondary:hover { color: white; background: var(--green); }
.button-light { background: white; color: var(--green-dark); border-color: white; }
.button-light:hover { background: transparent; color: white; border-color: white; }
.button-gold { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.button-gold:hover { background: white; color: var(--green-dark); border-color: white; }

.hero, .page-hero { position: relative; overflow: hidden; background: var(--green-dark); display: grid; align-items: center; min-height: 720px; }
.page-hero.compact { min-height: 450px; place-items: center; text-align: center; }
.hero > img, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,47,36,.88) 0%, rgba(18,47,36,.62) 45%, rgba(18,47,36,.25) 100%), radial-gradient(circle at 80% 25%, rgba(247,195,95,.12), transparent 30%); }
.page-hero .hero-overlay { background: linear-gradient(0deg, rgba(18,47,36,.72), rgba(18,47,36,.46)); }
.hero-content { position: relative; z-index: 2; padding: 100px 0 130px; max-width: 720px; color: white; }
.hero-left { margin-inline: 0 auto; }
.hero-content.narrow { max-width: 860px; margin-inline: auto; padding: 95px 0; }
.hero-content h1 { color: white; text-shadow: 0 4px 26px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.7); }
.hero-content p:not(.script-title) { color: rgba(255,255,255,.9); max-width: 640px; font-size: 1.14rem; text-shadow: 0 1px 8px rgba(0,0,0,.3); }

.feature-overlap { margin-top: -72px; position: relative; z-index: 5; padding-bottom: 28px; }
.feature-cards, .card-grid { display: grid; gap: 24px; }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .service-card, .recipe-detail, .contact-panel, .netlify-form, .steps-grid > div { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; border: 1px solid rgba(31,70,56,.08); }
.feature-card { min-height: 220px; display: grid; align-content: start; }
.round-icon, .farm-icon, .steps-grid span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 800; margin-bottom: 18px; }
.farm-icon { font-size: 1.65rem; }
.feature-card h3, .service-card h3 { margin-bottom: 10px; }

.section { padding: clamp(70px, 9vw, 122px) 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: white; position: relative; overflow: hidden; }
.section-green::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(247,195,95,.16), transparent 28%), radial-gradient(circle at 90% 80%, rgba(255,255,255,.1), transparent 24%); pointer-events: none; }
.section-green > * { position: relative; z-index: 1; }
.section-green h2, .section-green h3 { color: white; }
.section-green p { color: rgba(255,255,255,.78); }
.two-col { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: clamp(34px, 6vw, 80px); }
.align-center { align-items: center; }
.reverse-mobile { grid-template-columns: 1fr .98fr; }
.section-heading { max-width: 820px; margin: 0 auto 46px; text-align: center; }
.section-heading p:not(.script-title) { font-size: 1.06rem; }

.overlap-image { position: relative; min-height: 560px; }
.agrikol-image .main-img { width: 78%; height: 500px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.agrikol-image .float-img { position: absolute; right: 0; bottom: 0; width: 48%; height: 275px; object-fit: cover; border-radius: 22px; border: 12px solid var(--paper); box-shadow: var(--shadow); }
.harvest-badge { position: absolute; left: 34px; bottom: 34px; width: 138px; height: 138px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; align-content: center; color: var(--green-dark); box-shadow: 0 20px 40px rgba(31,70,56,.18); transform: rotate(-8deg); }
.harvest-badge strong { font-family: "Amatic SC", Barlow, sans-serif; font-size: 3.3rem; line-height: .75; }
.harvest-badge span { display: block; font-size: .76rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.image-card { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: white; }
.image-card.framed { padding: 12px; background: white; }
.image-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/4.5; border-radius: 18px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 26px; }
.check-list li { position: relative; padding-left: 34px; margin: 10px 0; font-weight: 700; color: var(--charcoal); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--green-dark); font-size: .8rem; }
.service-card { text-align: left; }
.service-card a { color: var(--green); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; font-size: .86rem; }
.section-green .service-card { background: white; }
.section-green .service-card h3 { color: var(--charcoal); }
.section-green .service-card p { color: var(--muted); }
.product-feature { display: grid; grid-template-columns: 1.06fr .94fr; overflow: hidden; border-radius: 26px; background: var(--green-dark); box-shadow: var(--shadow); }
.product-feature img { width: 100%; height: 100%; min-height: 535px; object-fit: cover; }
.product-panel { padding: clamp(34px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; color: white; }
.product-panel h2, .product-panel h3 { color: white; }
.product-panel p { color: rgba(255,255,255,.82); }
.cta-panel-section { padding-top: 0; }
.cta-panel { border-radius: 26px; background: var(--green-dark); color: white; padding: clamp(32px, 5vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-panel::after { content: "W9"; position: absolute; right: -10px; bottom: -55px; font-family: "Amatic SC", Barlow, sans-serif; font-weight: 700; font-size: 11rem; color: rgba(255,255,255,.06); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: white; font-size: clamp(2.15rem, 4vw, 3.7rem); }
.cta-panel p { color: rgba(255,255,255,.82); max-width: 700px; }
.cta-panel.dark { background: var(--charcoal); }

.recipe-card { overflow: hidden; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.recipe-card img { width: 100%; height: 230px; object-fit: cover; }
.recipe-card div { padding: 26px; }
.recipe-card a { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: .86rem; letter-spacing: .08em; }
.signup-band { background: var(--gold); padding: 66px 0; color: var(--green-dark); }
.signup-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: center; }
.signup-grid h2 { color: var(--green-dark); }
.signup-grid p { color: rgba(31,70,56,.78); }
.signup-grid .script-title { color: white; text-shadow: none; }
.netlify-form { display: grid; gap: 15px; }
.form-inline { grid-template-columns: 1fr 1.2fr auto; align-items: end; background: rgba(255,255,255,.55); box-shadow: none; }
.netlify-form label { display: grid; gap: 7px; }
.netlify-form span { font-weight: 800; color: var(--green-dark); font-size: .92rem; }
.netlify-form input, .netlify-form textarea, .netlify-form select { width: 100%; border: 2px solid rgba(31,70,56,.1); background: white; border-radius: 13px; padding: 14px 15px; color: var(--charcoal); }
.netlify-form textarea { resize: vertical; }
.site-footer { background: #1a2e26; color: white; padding: 66px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 34px; }
.site-footer h3 { color: var(--gold); font-size: 1.18rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { display: block; color: rgba(255,255,255,.76); margin: 8px 0; text-decoration: none; font-weight: 700; }
.site-footer p { color: rgba(255,255,255,.7); }
.footer-brand .brand-mark { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.footer-brand strong, .footer-brand em { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .92rem; }
.small { font-size: .92rem; }
.image-mosaic .mosaic-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
.mosaic-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.mosaic-grid img:first-child { height: 540px; grid-row: span 2; }
.practice-grid { display: grid; gap: 32px; }
.practice-card { display: grid; grid-template-columns: .96fr 1.04fr; gap: 38px; align-items: center; background: white; border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.practice-card.reverse { grid-template-columns: 1.04fr .96fr; }
.practice-card.reverse img { order: 2; }
.practice-card img { width: 100%; height: 370px; object-fit: cover; border-radius: 20px; }
.order-steps .steps-grid, .steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.recipe-list { display: grid; gap: 28px; }
.recipe-detail { scroll-margin-top: 150px; }
.recipe-detail-header { max-width: 850px; }
.recipe-columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; margin-top: 20px; }
.recipe-columns li { margin: 9px 0; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 38px; align-items: start; }
.contact-panel { position: sticky; top: 132px; }
.contact-detail { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-detail strong { display: block; color: var(--green); font-weight: 800; margin-bottom: 4px; }
.contact-detail span { color: var(--muted); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.thank-you-section { min-height: calc(100vh - 176px); display: grid; place-items: center; padding: 86px 0; background: var(--cream); }
.thank-you-card { text-align: center; background: white; border-radius: 28px; padding: clamp(38px, 7vw, 82px); box-shadow: var(--shadow); max-width: 820px; }
.thank-you-card h1 { color: var(--green-dark); }
.centered { justify-content: center; }

@media (max-width: 1040px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .navbar { min-height: 82px; }
  .nav-menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: white; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; padding: 10px; }
  .nav-open .nav-menu { display: flex; }
  .nav-menu a { padding: 16px 18px; }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover { background: var(--green-soft); border-radius: 12px; }
  .topbar-inner { justify-content: center; text-align: center; flex-wrap: wrap; }
  .three, .four, .two-col, .reverse-mobile, .product-feature, .signup-grid, .footer-grid, .practice-card, .practice-card.reverse, .order-steps .steps-grid, .steps-grid, .recipe-columns, .contact-grid { grid-template-columns: 1fr; }
  .practice-card.reverse img { order: 0; }
  .hero { min-height: 650px; }
  .hero-content { max-width: 760px; }
  .feature-overlap { margin-top: 0; padding-top: 24px; background: var(--cream); }
  .overlap-image { min-height: 0; }
  .agrikol-image .main-img, .agrikol-image .float-img { position: static; width: 100%; height: 330px; border: 0; margin-bottom: 16px; }
  .harvest-badge { left: 18px; top: 18px; bottom: auto; width: 110px; height: 110px; }
  .product-feature img { min-height: 340px; }
  .form-inline, .form-two { grid-template-columns: 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .contact-panel { position: static; }
  .image-mosaic .mosaic-grid { grid-template-columns: 1fr 1fr; }
  .mosaic-grid img:first-child { height: 320px; grid-row: auto; }
  .mosaic-grid img { height: 300px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-links { display: none; }
  .brand-mark { width: 58px; height: 58px; font-size: 1.8rem; }
  .brand-text strong { font-size: 1rem; }
  .brand-text em { font-size: .66rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .script-title { font-size: 2.25rem; }
  .hero, .page-hero.compact { min-height: 520px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(18,47,36,.84), rgba(18,47,36,.56)); }
  .hero-content { padding: 74px 0 86px; }
  .button, .vertical-mobile .button { width: 100%; }
  .section { padding: 64px 0; }
  .feature-card, .service-card, .recipe-detail, .contact-panel, .netlify-form, .steps-grid > div { padding: 25px; }
  .image-mosaic .mosaic-grid { grid-template-columns: 1fr; }
  .mosaic-grid img, .mosaic-grid img:first-child { height: 280px; }
  .footer-bottom { display: block; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }


/* =========================================================
   Agrikol-inspired motion system for W9 Beef
   Recreated independently for Netlify-friendly static HTML.
   ========================================================= */
.no-js .preloader,
.no-js .back-to-top { display: none; }
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--cream-2);
  transition: opacity .5s ease, visibility .5s ease;
}
.js.is-loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  border: 5px solid var(--gold);
  color: var(--gold);
  font-family: "Amatic SC", Barlow, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  box-shadow: 0 16px 45px rgba(31,70,56,.18);
  animation: loader-breathe 1.5s ease-in-out infinite;
}
.preloader__line {
  width: 155px;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(37,89,70,.14);
}
.preloader__line span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  animation: loader-line 1.15s ease-in-out infinite;
}
@keyframes loader-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes loader-line {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(230%); }
}

body.page-ready .site-header {
  animation: header-drop .65s cubic-bezier(.22,1,.36,1) both;
}
@keyframes header-drop {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header.scrolled { box-shadow: 0 16px 36px rgba(31,70,56,.13); }

.hero > img,
.page-hero > img {
  transform-origin: center;
  will-change: transform;
}
body.page-ready .hero > img,
body.page-ready .page-hero > img {
  animation: hero-kenburns 10s ease-out both;
}
@keyframes hero-kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: 14%;
  border-radius: 50%;
  border: 1px solid rgba(247,195,95,.2);
  box-shadow: inset 0 0 0 42px rgba(247,195,95,.05);
  z-index: 1;
  animation: slow-drift 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes slow-drift {
  from { transform: translate3d(0,0,0) rotate(0deg); opacity: .55; }
  to { transform: translate3d(-24px,18px,0) rotate(10deg); opacity: .9; }
}
body.page-ready .hero-content > * {
  opacity: 0;
  animation: hero-copy-in .82s cubic-bezier(.22,1,.36,1) forwards;
}
body.page-ready .hero-content > *:nth-child(1) { animation-delay: .12s; }
body.page-ready .hero-content > *:nth-child(2) { animation-delay: .25s; }
body.page-ready .hero-content > *:nth-child(3) { animation-delay: .39s; }
body.page-ready .hero-content > *:nth-child(4) { animation-delay: .53s; }
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(34px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.22,1,.36,1), filter .72s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}
.motion-ready .reveal-left { transform: translateX(-46px); }
.motion-ready .reveal-right { transform: translateX(46px); }
.motion-ready .reveal-zoom { transform: scale(.94); filter: blur(3px); }
.motion-ready .reveal.in-view,
.motion-ready .reveal-left.in-view,
.motion-ready .reveal-right.in-view,
.motion-ready .reveal-zoom.in-view {
  opacity: 1;
  transform: translate(0,0) scale(1);
  filter: blur(0);
}

.float-img,
.harvest-badge { animation: farm-float 4.8s ease-in-out infinite alternate; }
.harvest-badge { animation-delay: .45s; }
@keyframes farm-float {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

.feature-card,
.service-card,
.recipe-card,
.practice-card,
.contact-panel,
.netlify-form,
.steps-grid > div,
.image-card,
.recipe-detail {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.feature-card:hover,
.service-card:hover,
.recipe-card:hover,
.practice-card:hover,
.steps-grid > div:hover,
.recipe-detail:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(31,70,56,.17);
}
.recipe-card img,
.image-card img,
.product-feature img,
.practice-card img,
.mosaic-grid img,
.agrikol-image img {
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .8s ease;
}
.recipe-card:hover img,
.image-card:hover img,
.product-feature:hover img,
.practice-card:hover img,
.mosaic-grid img:hover,
.agrikol-image:hover img {
  transform: scale(1.045);
}
.round-icon,
.farm-icon,
.steps-grid span {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.round-icon::after,
.farm-icon::after,
.steps-grid span::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.62), transparent 65%);
  transform: translateX(-100%) rotate(12deg);
}
.feature-card:hover .round-icon,
.service-card:hover .farm-icon,
.steps-grid > div:hover span {
  transform: rotate(-4deg) scale(1.08);
  background: var(--gold);
  color: var(--green-dark);
}
.feature-card:hover .round-icon::after,
.service-card:hover .farm-icon::after,
.steps-grid > div:hover span::after {
  animation: icon-shine .75s ease;
}
@keyframes icon-shine {
  to { transform: translateX(105%) rotate(12deg); }
}

.button { position: relative; overflow: hidden; }
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.4) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.button:hover::before { transform: translateX(120%); }
.button:active { transform: translateY(0) scale(.98); }

.cta-panel::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -48px;
  top: -52px;
  border-radius: 50%;
  background: rgba(247,195,95,.16);
  animation: cta-orbit 7s ease-in-out infinite alternate;
}
@keyframes cta-orbit {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(25px,18px) scale(1.16); }
}
.cta-panel::after { animation: watermark-drift 5s ease-in-out infinite alternate; }
@keyframes watermark-drift {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-12px) rotate(-2deg); }
}

.signup-band {
  position: relative;
  overflow: hidden;
}
.signup-band::before,
.signup-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  pointer-events: none;
  animation: slow-drift 9s ease-in-out infinite alternate;
}
.signup-band::before { width: 210px; height: 210px; left: -82px; bottom: -96px; }
.signup-band::after { width: 140px; height: 140px; right: 8%; top: -48px; animation-delay: 1s; }
.signup-grid { position: relative; z-index: 1; }

.nav-open .nav-menu { animation: mobile-menu-in .28s ease both; }
@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(31,70,56,.2);
  opacity: 0;
  transform: translateY(18px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .25s ease, color .25s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { background: var(--green); color: white; transform: translateY(-4px) scale(1.03); }

.js .page-exit {
  opacity: .25;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 1040px) {
  .motion-ready .reveal-left,
  .motion-ready .reveal-right { transform: translateY(34px); }
  .hero::before, .page-hero::before { width: 260px; height: 260px; right: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader,
  .back-to-top { display: none !important; }
  .motion-ready .reveal,
  .motion-ready .reveal-left,
  .motion-ready .reveal-right,
  .motion-ready .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  body.page-ready .hero-content > *,
  body.page-ready .hero > img,
  body.page-ready .page-hero > img,
  .float-img,
  .harvest-badge,
  .cta-panel::before,
  .cta-panel::after,
  .signup-band::before,
  .signup-band::after {
    animation: none !important;
  }
}


/* Marketing archive reference page */
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.archive-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border: 1px solid rgba(31,70,56,.08); }
.archive-card h3 { margin-top: 0; color: var(--green-dark); }
.archive-card p { margin-bottom: 0; }
@media (max-width: 760px) { .archive-grid { grid-template-columns: 1fr; } }
