/* ==========================================================================
   Fruitsy — site stylesheet
   One file for the whole site. Replaces Bootstrap + the old template CSS.
   Sections: 1 tokens · 2 base · 3 layout helpers · 4 header · 5 footer
             6 shared components · 7 home · 8 how · 9 why · 10 who
             11 farm & gallery · 12 motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/roboto-latin.woff2") format("woff2");
}

:root {
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-alt: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --red: #c9171e;
  --orange: #f15a24;
  --brown: #a67c52;
  --ink: #161d27;
  --text: #353535;
  --text-soft: #494948;
  --grey: #808080;
  --nav-link: #555;
  --nav-muted: #afafaf;
  --social: #9a9a9a;
  --footer-bg: #585858;
  --yellow: #ffd34e;
  --icon-yellow: #ffe300;

  --grad-green: linear-gradient(to right, #44b656, #91c83d);
  --grad-orange: linear-gradient(to right, #f05d2a, #e60023);
  --grad-violet: linear-gradient(to right, #2a0567, #711de0);
  --grad-brown: linear-gradient(to right, #98835b, #c1a941);

  --radius: 20px;
  --wrap: 975px;
  --gutter: 16px;
  --nav-h: 72px;
}
@media (min-width: 768px) {
  :root { --nav-h: 101px; --gutter: 24px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.25;
  color: #777;
  background: #fff;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: #c23f0f; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
strong { font-weight: 700; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* 3. Layout helpers -------------------------------------------------------- */
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.page { padding-top: var(--nav-h); }

/* Long paragraphs keep the original justified look on wide screens only —
   on phones justification leaves big gaps between words. */
.justify { text-align: left; }
@media (min-width: 768px) {
  .justify { text-align: justify; }
}

.section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 35px);
  line-height: 1.15;
  color: var(--red);
  text-transform: uppercase;
}

/* 4. Header ---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  padding: 12px var(--gutter);
  background: #fff;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-nav.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }

.site-nav__brand { display: block; line-height: 0; }
.site-nav__brand img { width: 200px; height: auto; }

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 4px;
  cursor: pointer;
}
.site-nav__toggle span,
.site-nav__toggle span::before,
.site-nav__toggle span::after {
  display: block;
  width: 26px; height: 2px;
  background: rgba(0, 0, 0, .55);
  border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.site-nav__toggle span { position: relative; }
.site-nav__toggle span::before,
.site-nav__toggle span::after { content: ""; position: absolute; left: 0; }
.site-nav__toggle span::before { top: -8px; }
.site-nav__toggle span::after { top: 8px; }
.site-nav__toggle[aria-expanded="true"] span { background: transparent; }
.site-nav__toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav__menu {
  display: none;
  width: 100%;
  padding: 8px 0 12px;
}
.site-nav__menu.is-open { display: block; }

.site-nav__links { text-align: center; }
.site-nav__links li { border-bottom: 1px solid #ddd; }
.site-nav__links a {
  display: block;
  padding: 12px 8px;
  font-size: 20px;
  font-weight: 500;
  color: var(--nav-link);
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a[aria-current="page"] { color: var(--nav-muted); }

.social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 14px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--social);
  border-radius: 50%;
  color: var(--social);
}
.social a:hover { color: var(--nav-link); border-color: var(--nav-link); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

@media (min-width: 768px) {
  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 30px var(--gutter) 8px;
  }
  .site-nav__brand img { width: 200px; }
  .site-nav__toggle { display: none; }
  .site-nav__menu { display: contents; }
  .site-nav__links {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  .site-nav__links li { border: 0; }
  .site-nav__links a { padding: 8px; }
  .social { justify-self: end; margin: 0; }
}
@media (min-width: 992px) {
  .site-nav__brand img { width: 247px; }
}

/* Home page (desktop): transparent header over the hero, logo appears once scrolled. */
@media (min-width: 992px) {
  .site-nav--overlay:not(.is-scrolled) { background: transparent; }
  .site-nav--overlay:not(.is-scrolled) .site-nav__brand {
    visibility: hidden;
    opacity: 0;
  }
  .site-nav--overlay .site-nav__brand { transition: opacity .25s ease, visibility .25s; }
}

/* 5. Footer ---------------------------------------------------------------- */
.site-footer {
  padding: 30px 0 18px;
  background: var(--footer-bg);
  color: #fff;
  font-family: var(--font-alt);
  text-align: center;
}
.site-footer__cols {
  display: grid;
  gap: 24px;
  justify-content: center;
}
.site-footer h2 {
  margin-bottom: 8px;
  font-family: var(--font-alt);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}
.site-footer li {
  padding-bottom: 10px;
  font-size: 13px;
  line-height: 1;
}
.site-footer__copy {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.4;
}
.site-footer__copy p + p { margin-top: 12px; }
.site-footer__copy a { font-family: var(--font); color: var(--orange); }
.site-footer__copy a:hover { color: #ff8a5c; }
@media (min-width: 768px) {
  .site-footer__cols {
    grid-template-columns: repeat(2, 235px);
    gap: 30px;
    text-align: left;
  }
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1d2026;
  color: var(--orange);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
  cursor: pointer;
  transition: transform .3s ease, opacity .3s ease;
}
.to-top.is-visible { opacity: .4; pointer-events: auto; transform: none; }
.to-top:hover, .to-top:focus-visible { opacity: .85; }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }

/* 6. Shared components ----------------------------------------------------- */
.card {
  position: relative;
  border-radius: var(--radius);
}
.card--green { background: var(--grad-green); }
.card--orange { background: var(--grad-orange); }
.card--brown { background: var(--grad-brown); }

/* Outline fruit icons with a word sitting inside the fruit. */
.fruit-badge {
  position: relative;
  margin-inline: auto;
}
.fruit-badge img { margin-inline: auto; max-height: 230px; width: auto; }
.fruit-badge__label {
  position: absolute;
  left: 0; right: 0;
  top: var(--cy, 64%);
  transform: translateY(-50%);
  padding-inline: 12%;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* 7. Home ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__stage {
  position: relative;
  /* The artwork is laid out on a 1920 × 900 canvas (layers use % of it). */
  aspect-ratio: 1920 / 900;
  width: 100%;
}
.hero__layer {
  position: absolute;
  display: block;
}
.hero__layer img { width: 100%; }
.hero__layer--logo { left: 38.02%; top: 16.67%; width: 28.54%; }
.hero__layer--berries { left: 29.69%; top: 28.33%; width: 32.92%; }
.hero__layer--leaf-small { left: 84.84%; top: 38.89%; width: 4.74%; }
.hero__layer--leaf { left: 10.42%; top: 33.33%; width: 7.19%; }
.hero__layer--berry-right { left: 79.38%; top: 64.44%; width: 15.42%; }
.hero__layer--berry-small { left: 4.69%; top: 22.22%; width: 5%; }
.hero__layer--leaf-big { left: 87.5%; top: 11.56%; width: 15.1%; }
.hero__layer--berry-left { left: -1.04%; top: 64.89%; width: 15.31%; }

/* Phones: a tighter arrangement of the same artwork below the header
   (the header already shows the logo, so the big wordmark is hidden). */
@media (max-width: 991.98px) {
  .hero { margin-top: var(--nav-h); }
  .hero__layer--logo { display: none; }
}
@media (max-width: 767.98px) {
  .hero__stage { aspect-ratio: 4 / 3; }
  .hero__layer--berries { left: 23%; top: 8%; width: 54%; }
  .hero__layer--berry-left { left: -9%; top: 54%; width: 27%; }
  .hero__layer--berry-right { left: 81%; top: 42%; width: 25%; }
  .hero__layer--leaf-big { left: 80%; top: 0; width: 24%; }
  .hero__layer--leaf { left: 7%; top: 24%; width: 13%; }
  .hero__layer--berry-small { left: 4%; top: 6%; width: 9%; }
  .hero__layer--leaf-small { left: 74%; top: 30%; width: 8%; }
}

.tagline {
  overflow: hidden;
  margin-block: 0 30px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 30px;
  color: #000;
  white-space: nowrap;
}
.tagline__track {
  display: inline-flex;
  gap: 6rem;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
}
.tagline:hover .tagline__track,
.tagline:focus-within .tagline__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

.promise {
  display: grid;
  margin-bottom: 50px;
}
.promise__text { padding: 40px 24px 8px; color: #fff; }
.promise__text h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 4vw, 35px);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}
.promise__text p {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
}
.promise__img { align-self: end; justify-self: center; }
.promise__img img { width: 366px; }
@media (min-width: 992px) {
  .promise { grid-template-columns: 5fr 7fr; }
  .promise__img { order: -1; justify-self: start; margin-left: -20px; }
  .promise__text { padding: 60px 24px 44px 15px; }
}

.fruitsy-is {
  margin-block: 80px 85px;
  padding: 40px 16px 50px;
  text-align: center;
  color: #fff;
}
.fruitsy-is h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 35px);
  font-weight: 700;
  text-transform: uppercase;
}
.fruitsy-is__list {
  display: grid;
  gap: 30px;
  justify-content: center;
}
.fruitsy-is__item { padding-top: 20px; }
.fruitsy-is .fruit-badge__label { font-size: 23px; }
.fruitsy-is__note {
  padding-top: 10px;
  font-size: 24px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .fruitsy-is__list { grid-template-columns: repeat(3, minmax(0, 230px)); gap: 10px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .fruitsy-is .fruit-badge img { max-height: 190px; }
  .fruitsy-is .fruit-badge__label { font-size: 19px; }
  .fruitsy-is__note { font-size: 20px; }
}

/* 8. How ------------------------------------------------------------------- */
.how-intro { padding-top: 20px; text-align: center; }
.how-intro h1 { margin-bottom: 4px; }
.model-title {
  margin-block: 0 10px;
  font-family: var(--font-alt);
  font-size: 20px;
  font-weight: 700;
  line-height: 36px;
  color: var(--ink);
  text-transform: uppercase;
  text-align: center;
}
.actor { text-align: center; }
.actor img { width: 180px; margin-inline: auto; }
.actor figcaption,
.chain li {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--brown);
}

/* Conventional model — vertical timeline on small screens */
.chain-diagram {
  position: relative;
  isolation: isolate;
  margin-top: 30px;
}
.chain-diagram::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 2%;
  width: 1px; height: 96%;
  background: var(--orange);
}
.chain-diagram .actor figcaption { padding-block: 4px; background: #fff; }
.chain-diagram .actor--grower { display: flex; flex-direction: column-reverse; }
.chain { margin-block: 20px; }
.chain li {
  position: relative;
  display: flex;
  align-items: center;
  width: 50%;
  min-height: 60px;
  font-size: 13px;
  line-height: 1.25;
}
.chain li::before,
.chain li::after {
  content: "";
  position: absolute;
  top: 50%;
  background: var(--orange);
}
.chain li::before { width: 25px; height: 1px; }
.chain li::after { width: 12px; height: 12px; border-radius: 50%; transform: translateY(-50%); }
.chain li:nth-child(odd) { margin-left: 50%; padding-left: 36px; }
.chain li:nth-child(odd)::before { left: 0; }
.chain li:nth-child(odd)::after { left: -6px; }
.chain li:nth-child(even) { justify-content: flex-end; padding-right: 36px; text-align: right; }
.chain li:nth-child(even)::before { right: 0; }
.chain li:nth-child(even)::after { right: -6px; }

/* Conventional model — horizontal zig-zag on desktop */
@media (min-width: 992px) {
  .chain-diagram {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: start;
    margin-top: 70px;
  }
  .chain-diagram::before { left: 5%; top: 77px; width: 90%; height: 1px; }
  .chain-diagram .actor--grower { flex-direction: column; }
  .chain-diagram .actor figcaption { margin-top: 8px; }
  .chain {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    height: 153px;
    margin: 0 44px;
  }
  .chain li {
    display: block;
    width: auto;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px;
    text-align: center !important;
  }
  .chain li span {
    position: absolute;
    left: 50%;
    width: 160px;
    transform: translateX(-50%);
  }
  .chain li:nth-child(odd) span { bottom: calc(100% - 77px + 34px); }
  .chain li:nth-child(even) span { top: calc(77px + 34px); }
  .chain li::before { left: 50% !important; width: 1px; height: 25px; }
  .chain li::after { left: 50% !important; width: 15px; height: 15px; top: 77px; transform: translate(-50%, -50%); }
  .chain li:nth-child(odd)::before { top: 52px; }
  .chain li:nth-child(even)::before { top: 77px; }
}

/* The Fruitsy way */
.fruitsy-way { margin-top: 60px; }
.fruitsy-way__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fruitsy-way .actor--grower { display: flex; flex-direction: column-reverse; }
.fruitsy-way__hub img { width: 220px; margin-block: 10px; }
@media (min-width: 768px) {
  .fruitsy-way__row { flex-direction: row; justify-content: center; gap: 40px; }
  .fruitsy-way .actor--grower { flex-direction: column; }
  .fruitsy-way .actor figcaption { margin-top: 8px; }
  .fruitsy-way__hub { margin-bottom: 40px; }
}

.how-desc {
  max-width: 838px;
  margin: 50px auto 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.how-we-do { margin-block: 50px 16px; }
.how-yellow { padding-block: 30px 10px; background: var(--yellow); }
.how-yellow__cols { display: grid; gap: 0 32px; }
.how-yellow p {
  padding-bottom: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
@media (min-width: 992px) {
  .how-yellow__cols { grid-template-columns: repeat(3, 1fr); }
}

/* 9. Why ------------------------------------------------------------------- */
.why-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 320px;
  color: #fff;
  overflow: hidden;
}
.why-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .33);
}
.why-hero__text {
  position: relative;
  z-index: 1;
  width: min(85%, 1400px);
  margin: 0 auto;
  padding-block: 40px;
}
.why-hero__text h1,
.why-hero__text p {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(20px, 2.45vw, 35px);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.why-hero__text p { margin-top: .9em; }
@media (min-width: 992px) {
  .why-hero { aspect-ratio: 1920 / 700; min-height: 0; }
  .why-hero__text { padding-top: 4%; }
  .why-hero__text h1,
  .why-hero__text p { text-align: justify; }
}

.advantage {
  padding-block: 20px 50px;
  background: var(--grad-violet);
  color: #fff;
}
.advantage h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 4vw, 35px);
  font-weight: 700;
  text-align: center;
}
.advantage__grid { display: grid; gap: 20px 10px; }
.advantage__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}
.advantage__item .fruit-badge img { max-height: 200px; }
.advantage__item .fruit-badge__label {
  --cy: 66%;
  font-size: 14px;
  color: var(--icon-yellow);
}
.advantage__item p {
  max-width: 170px;
  font-size: 13px;
  line-height: 1.25;
  color: #fff;
}
/* zig-zag on phones */
@media (max-width: 767.98px) {
  .advantage__item .fruit-badge img { max-height: 170px; }
}
.advantage__item:nth-child(even) .fruit-badge { order: 2; }
.advantage__item:nth-child(even) p { justify-self: end; }
@media (min-width: 768px) {
  .advantage__grid { grid-template-columns: repeat(2, 1fr); }
  .advantage__item:nth-child(even) .fruit-badge { order: 0; }
  .advantage__item:nth-child(even) p { justify-self: start; }
  .advantage__item .fruit-badge img { max-height: 200px; }
}
@media (min-width: 992px) {
  .advantage__grid { grid-template-columns: repeat(3, 1fr); }
}

.partner { padding-block: 50px 40px; }
.partner .section-title { margin-bottom: 30px; }
.partner__cols { display: grid; gap: 10px 30px; }
.partner h3 {
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-soft);
}
.partner p {
  padding-block: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
}
@media (min-width: 992px) {
  .partner__cols { grid-template-columns: repeat(3, 1fr); }
}

/* 10. Who ------------------------------------------------------------------ */
.founders { display: grid; gap: 30px; padding-top: 20px; }
.founder {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 40px 24px;
  color: #fff;
}
.founder__photo img { width: 300px; margin-inline: auto; }
.founder h2 { font-size: clamp(20px, 2.6vw, 25px); font-weight: 700; text-transform: uppercase; }
.founder__role { font-size: clamp(16px, 2vw, 20px); font-weight: 500; }
.founder__bio { padding-block: 20px; font-size: 16px; font-weight: 500; }
.founder__email { font-size: clamp(16px, 2.6vw, 25px); font-weight: 700; overflow-wrap: anywhere; }
.founder__email a { color: #fff; }
.founder__email a:hover { color: #eee; text-decoration: underline; }
@media (min-width: 992px) {
  .founder { grid-template-columns: 4fr 6fr; gap: 30px; padding: 60px 60px 60px 30px; }
}

.board, .team { margin-top: 60px; }
.board__title, .team__title {
  font-family: var(--font-alt);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
}
.board__intro { padding-block: 10px 30px; font-size: 16px; font-weight: 500; color: var(--grey); }
.board__grid { display: grid; gap: 40px 40px; }
.member img { width: 120px; margin-bottom: 14px; }
.member h3,
.team h3 {
  font-family: var(--font-alt);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  text-transform: uppercase;
}
.member p { padding-top: 10px; font-size: 15px; font-weight: 500; color: var(--grey); }
@media (min-width: 768px) {
  .board__grid { grid-template-columns: repeat(2, 1fr); }
}

.team { padding-top: 40px; border-top: 1px solid rgba(0, 0, 0, .1); }
.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
  margin-top: 30px;
}
.team__member { flex: 0 1 280px; text-align: center; }
.team__member img { width: 50px; margin: 0 auto 10px; }
.team__member p { padding-top: 6px; font-size: 15px; font-weight: 500; color: var(--grey); }

.contact-cta {
  margin-block: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, .1);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.contact-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  color: var(--ink);
}
.contact-cta a:hover { color: var(--orange); }
.contact-cta svg { width: 18px; height: 18px; fill: currentColor; }

/* 11. Farm & gallery ------------------------------------------------------- */
.farm-intro { padding-top: 30px; }
.farm-intro .section-title { margin-bottom: 24px; }
.farm-intro__cols { display: grid; gap: 10px 30px; }
.farm-intro h2 {
  font-family: var(--font);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-soft);
}
.farm-intro p {
  padding-block: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
}
@media (min-width: 768px) {
  .farm-intro__cols { grid-template-columns: repeat(2, 1fr); }
}

.farm-section { margin-block: 60px; }
.farm-section .section-title { margin-bottom: 20px; }
.farm-section > .wrap > p {
  max-width: 760px;
  padding-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-soft);
}

/* Scroll-snap carousel */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 768px) {
  .carousel__track { grid-auto-columns: calc(50% - 8px); }
}
.carousel__btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, background-color .2s ease;
}
.carousel__btn:hover { background: rgba(0, 0, 0, .75); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }

.photo-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #6c6c6c;
  color: #fff;
  font-family: var(--font-alt);
}
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card h3 { padding: 12px 15px 4px; font-family: var(--font-alt); font-size: 16px; font-weight: 700; }
.photo-card h3 span { font-weight: 400; }
.photo-card p { padding: 0 15px 16px; font-size: 15px; font-weight: 500; line-height: 1.3; }

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.cert-list li {
  padding: 8px 16px;
  border: 1px solid rgba(201, 23, 30, .35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #eee;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-grid--wide img { aspect-ratio: 3 / 2; }
.photo-grid a:hover img { transform: scale(1.06); }

.lightbox {
  max-width: min(1200px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 100%; max-height: 88vh; margin: auto; border-radius: 12px; }
.lightbox__close {
  position: absolute;
  top: -14px; right: -14px;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gallery-page { padding-block: 30px 70px; }
.gallery-page h1 { margin-bottom: 8px; color: #000; text-align: center; }
.gallery-page h2 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-soft);
  text-align: center;
}

.not-found { padding-block: 80px 100px; text-align: center; }
.not-found p { margin-block: 16px 30px; font-size: 18px; color: var(--text); }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--grad-green);
  color: #fff;
  font-weight: 700;
}
.btn:hover { color: #fff; opacity: .9; }

/* 12. Motion ---------------------------------------------------------------
   Everything here is decorative and switched off for visitors who ask their
   device for reduced motion (see the end of this section).
   - .load-in        plays once when the page loads (CSS only)
   - .reveal         fades in when scrolled into view (site.js adds .is-visible
                     and a --delay so items that appear together cascade)
     data-reveal="zoom" | "left" | "right" picks the direction
   ------------------------------------------------------------------------- */
:root {
  --ease: cubic-bezier(.16, 1, .3, 1);        /* soft "ease-out-expo" */
  --ease-back: cubic-bezier(.34, 1.56, .64, 1); /* tiny overshoot */
}

@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-down {
  from { opacity: 0; transform: translate3d(0, -14px, 0); }
  to   { opacity: 1; transform: none; }
}
.load-in { animation: fade-up 1s var(--ease) both; animation-delay: var(--d, 0s); }

/* Scroll reveals */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal[data-reveal="zoom"] { transform: scale(.96) translate3d(0, 16px, 0); }
.js .reveal[data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js .reveal[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Fruit icons pop in just after their block appears */
.js .reveal .fruit-badge img,
.js .reveal.team__member img {
  opacity: 0;
  scale: .8;
  transition: scale .9s var(--ease-back), opacity .6s ease, rotate .4s var(--ease);
  transition-delay: calc(var(--delay, 0ms) + 150ms);
}
.js .reveal.is-visible .fruit-badge img,
.js .reveal.is-visible.team__member img { opacity: 1; scale: 1; }
.js .reveal .fruit-badge__label {
  opacity: 0;
  transition: opacity .6s ease calc(var(--delay, 0ms) + 400ms);
}
.js .reveal.is-visible .fruit-badge__label { opacity: 1; }

/* How page: the supply-chain line draws itself, then each stop appears */
.js .reveal .chain-diagram::before {
  transform: scale(1, 0);
  transform-origin: top;
  transition: transform 1.6s var(--ease) .2s;
}
.js .reveal .chain li::after { scale: 0; transition: scale .5s var(--ease-back); }
.js .reveal .chain li::before { opacity: 0; transition: opacity .4s ease; }
.js .reveal .chain li span {
  opacity: 0;
  translate: 0 8px;
  transition: opacity .6s ease, translate .6s var(--ease);
}
.js .reveal .chain li::after,
.js .reveal .chain li::before,
.js .reveal .chain li span { transition-delay: calc(.45s + var(--n, 0) * .14s); }
.chain li:nth-child(2) { --n: 1; }
.chain li:nth-child(3) { --n: 2; }
.chain li:nth-child(4) { --n: 3; }
.chain li:nth-child(5) { --n: 4; }
.chain li:nth-child(6) { --n: 5; }
.chain li:nth-child(7) { --n: 6; }
.js .reveal.is-visible .chain-diagram::before { transform: none; }
.js .reveal.is-visible .chain li::after { scale: 1; }
.js .reveal.is-visible .chain li::before,
.js .reveal.is-visible .chain li span { opacity: 1; translate: 0 0; }
@media (min-width: 992px) {
  .js .reveal .chain-diagram::before { transform: scale(0, 1); transform-origin: left; }
}

/* Home hero: artwork drifts into place, then floats gently.
   Load motion uses `transform`, mouse/scroll parallax uses `translate`
   (set by site.js), and the idle float runs on the inner <img>. */
.js .hero__layer {
  opacity: 0;
  transform: translate3d(var(--fx, 0), var(--fy, 24px), 0) scale(var(--fs, .96)) rotate(var(--fr, 0deg));
  transition:
    opacity 1s ease,
    transform 1.6s var(--ease),
    translate .6s var(--ease);
  transition-delay: var(--ld, 0s), var(--ld, 0s), 0s;
}
.js .hero.is-ready .hero__layer { opacity: 1; transform: none; }
.hero__layer--logo { --fy: -14px; --fs: 1; --ld: .1s; }
.hero__layer--berries { --fy: 34px; --fs: .9; --ld: .2s; }
.hero__layer--berry-left { --fx: -60px; --fy: 20px; --ld: .4s; }
.hero__layer--berry-right { --fx: 60px; --fy: 20px; --ld: .45s; }
.hero__layer--leaf { --fx: -20px; --fy: -30px; --fr: -20deg; --ld: .55s; }
.hero__layer--leaf-big { --fx: 30px; --fy: -30px; --fr: 15deg; --ld: .5s; }
.hero__layer--leaf-small { --fy: -24px; --fr: 25deg; --ld: .65s; }
.hero__layer--berry-small { --fy: -20px; --ld: .6s; }

@keyframes float {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(0, -5%, 0) rotate(var(--rot, 2deg)); }
}
.hero__layer img { animation: float var(--dur, 7s) ease-in-out var(--fd, 0s) infinite alternate; }
.hero__layer--logo img { animation: none; }
.hero__layer--berries img { --dur: 6s; --rot: -1deg; }
.hero__layer--berry-left img { --dur: 8s; --fd: -2s; --rot: 4deg; }
.hero__layer--berry-right img { --dur: 7.5s; --fd: -4s; --rot: -4deg; }
.hero__layer--leaf img { --dur: 5.5s; --fd: -1s; --rot: 8deg; }
.hero__layer--leaf-big img { --dur: 6.5s; --fd: -3s; --rot: -6deg; }
.hero__layer--leaf-small img { --dur: 5s; --fd: -2.5s; --rot: 10deg; }
.hero__layer--berry-small img { --dur: 6s; --fd: -1.5s; }

/* Why page banner: slow settle-in zoom; parallax is added by site.js */
.why-hero > img { scale: 1.04; transition: scale 2.6s var(--ease); }
.js .why-hero:not(.is-ready) > img { scale: 1.14; }

/* Header: slides in on the first page of a visit; mobile menu items cascade */
.first-visit .site-nav { animation: fade-down .8s var(--ease) both; }
@media (min-width: 768px) {
  .first-visit .site-nav__links li,
  .first-visit .social li { animation: fade-down .7s var(--ease) both; }
  .first-visit .site-nav__links li:nth-child(1) { animation-delay: .15s; }
  .first-visit .site-nav__links li:nth-child(2) { animation-delay: .21s; }
  .first-visit .site-nav__links li:nth-child(3) { animation-delay: .27s; }
  .first-visit .site-nav__links li:nth-child(4) { animation-delay: .33s; }
  .first-visit .social li { animation-delay: .4s; }
}
@media (max-width: 767.98px) {
  .site-nav__menu.is-open li { animation: fade-down .4s var(--ease) both; }
  .site-nav__menu.is-open .site-nav__links li:nth-child(2) { animation-delay: .04s; }
  .site-nav__menu.is-open .site-nav__links li:nth-child(3) { animation-delay: .08s; }
  .site-nav__menu.is-open .site-nav__links li:nth-child(4) { animation-delay: .12s; }
  .site-nav__menu.is-open .social li { animation-delay: .16s; }
}

/* Lazy images fade in once loaded instead of popping */
img[loading="lazy"] { transition: opacity .6s ease; }
.js img[loading="lazy"]:not(.is-loaded) { opacity: 0; }

/* Reading progress line (browsers with scroll-driven animations only) */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  height: 3px;
  background: linear-gradient(90deg, #44b656, #91c83d 55%, #f05d2a);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Hover details */
@media (hover: hover) {
  .site-nav__links a { position: relative; }
  .site-nav__links a::after {
    content: "";
    position: absolute;
    left: 8px; right: 8px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .35s var(--ease);
  }
  .site-nav__links a:not([aria-current]):hover::after { transform: scaleX(1); }

  .social a { transition: color .2s ease, border-color .2s ease, transform .3s var(--ease); }
  .social a:hover { transform: translateY(-2px); }

  .fruit-badge:hover img,
  .team__member:hover img { rotate: -6deg; }

  .photo-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
  .photo-card img { transition: transform .8s var(--ease); }
  .photo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
  .photo-card:hover img { transform: scale(1.04); }

  .founder__photo img { transition: transform .8s var(--ease); }
  .founder:hover .founder__photo img { transform: scale(1.03); }

  .btn { transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .2s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(68, 182, 86, .8); }

  .carousel__btn:hover { scale: 1.08; }
  .carousel__btn { transition: opacity .2s ease, background-color .2s ease, scale .3s var(--ease); }
}

/* Smooth crossfade between pages (Chrome, Edge, Safari) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .35s; }
.site-nav { view-transition-name: site-nav; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .hero__layer { opacity: 1; transform: none; }
  .hero__layer img { animation: none; }
  .scroll-progress { display: none; }
  .tagline { white-space: normal; text-align: center; }
  .tagline__track { padding-left: 0; animation: none; }
}
