/* Avenir Next is the brand face; Nunito Sans stands in where it is not installed. */
@font-face {
  font-family: "Nunito Sans";
  src: url(/fonts/nunito-sans.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --green: #184A2E;
  --deep: #0F2E1C;
  --mid: #256B41;
  --gold: #F2B92F;
  --cream: #F8F3E3;
  --ink: #1D2B22;
  --rule: rgb(242 185 47 / .5);
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 "Avenir Next", "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; list-style: none; font-style: normal; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; top: -4rem; left: 1rem; z-index: 3; padding: .6rem 1rem; border-radius: .6rem; background: var(--gold); color: var(--deep); font-weight: 700; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - clamp(2rem, 8vw, 6rem), 72rem); margin-inline: auto; }

/* Logo lockup: mark + BAZANO / FARMING. Sized in em so the seal can reuse it. */
.brand { display: flex; align-items: center; gap: .7em; text-transform: uppercase; line-height: 1; }
.brand img { width: auto; height: 2.9em; }
.brand b, .brand i { display: block; }
.brand b { font-size: 1.375em; letter-spacing: .06em; }
.brand i { margin-top: .45em; font-style: normal; font-weight: 600; font-size: .6875em; letter-spacing: .44em; color: var(--gold); }

.top { position: absolute; inset: 0 0 auto; z-index: 2; padding-block: 1.25rem; color: var(--cream); }
.top .wrap, nav { display: flex; align-items: center; gap: 1.75rem; }
.top .brand { margin-right: auto; }
nav a, .lang { font-weight: 600; font-size: .9375rem; }
nav a:hover, .lang:hover { color: var(--gold); }
.lang { padding: .3rem .85rem; border: 1px solid rgb(248 243 227 / .45); border-radius: .6rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.lang:hover { border-color: var(--gold); }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(38rem, 100svh, 54rem);
  color: var(--cream);
  background: radial-gradient(120% 90% at 70% 25%, var(--mid), var(--deep) 80%);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Keeps the header and the text readable over the photo behind them. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(15 46 28 / .6), transparent 9rem),
    linear-gradient(90deg, rgb(15 46 28 / .9), rgb(15 46 28 / .45) 60%, rgb(15 46 28 / .15)),
    linear-gradient(0deg, rgb(15 46 28 / .92), transparent 50%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-body { padding-block: 8rem 3.5rem; }

h1 { margin-block: 1.75rem 1.5rem; font-weight: 900; font-size: clamp(2.25rem, 10vw, 7rem); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
h1 span { display: block; margin-bottom: .7em; font-weight: 500; font-size: max(.24em, .875rem); line-height: 1; letter-spacing: .32em; }
h2 { max-width: 20ch; margin-block: 1rem 1.5rem; font-size: clamp(1.875rem, 4.4vw, 3.125rem); line-height: 1.1; letter-spacing: -.015em; color: var(--green); }
h3 { font-size: 1.3125rem; line-height: 1.25; color: var(--green); }
.nb { white-space: nowrap; }
.lede { max-width: 36rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }

.eyebrow, .tag, .facts span, .mails span { font-weight: 600; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .9rem; font-size: .8125rem; letter-spacing: .28em; color: var(--mid); }
.eyebrow::before { content: ""; flex: none; width: 2.5rem; height: 2px; background: var(--gold); }

.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { padding: .85rem 1.5rem; border: 1px solid var(--gold); border-radius: .75rem; background: var(--gold); color: var(--deep); font-weight: 700; }
.btn:hover { background: #F7CB55; }
.btn-ghost { border-color: rgb(248 243 227 / .5); background: none; color: inherit; }
.btn-ghost:hover { background: rgb(248 243 227 / .1); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.5rem 2.25rem; border-top: 1px solid var(--rule); }
.facts li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.facts li:first-child { padding-left: 0; border: 0; }
.facts b { display: block; font-weight: 900; font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.15; color: var(--gold); }

.sec { padding-block: clamp(4.5rem, 10vw, 8rem); }
.sec p:not(.lede) { max-width: 38rem; }
.white { background: #fff; }
.dark { position: relative; overflow: hidden; color: var(--cream); background: radial-gradient(110% 130% at 85% 0, var(--mid), var(--green) 45%, var(--deep)); }
.dark::after { content: ""; position: absolute; right: -4rem; bottom: -5rem; width: 30rem; aspect-ratio: 512 / 542; background: url(/mark.svg) center / contain no-repeat; opacity: .07; }
.dark .wrap { position: relative; z-index: 1; }
.dark h2, .dark h3 { color: inherit; }
.hero .eyebrow, .dark .eyebrow, .mails span { color: var(--gold); }
.dark .lede, .steps p, .foot p { opacity: .85; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.split p + p { margin-top: 1rem; }
.split figure { position: relative; }

.shot { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.split .shot { aspect-ratio: 4 / 5; }
.sites .shot { aspect-ratio: 3 / 2; }
/* The asterisk on a picture that is not a photograph; it links to the note in the footer. */
.ai { position: relative; }
.ai a { position: absolute; right: .6rem; bottom: .6rem; width: 1.6rem; height: 1.6rem; padding-top: .28rem; border-radius: 50%; background: rgb(15 46 28 / .8); color: var(--cream); font-weight: 700; font-size: 1.25rem; line-height: 1; text-align: center; }
.seal {
  position: absolute;
  left: -2rem;
  bottom: -2rem;
  flex-direction: column;
  justify-content: center;
  gap: .6em;
  width: 9.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--mid), var(--deep));
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--gold);
  color: var(--cream);
  font-size: .7rem;
  text-align: center;
}
.seal img { height: 4.25rem; }
.seal i { padding-left: .44em; }

.cards, .steps, .points, .mails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; margin-top: 3rem; }
.sites .cards { grid-template-columns: 1fr 1fr; }
.cards h3 { margin-block: 1.25rem .4rem; }
.tag { margin-top: 1.25rem; color: var(--mid); }
.sites h3 { margin-top: .2rem; font-weight: 900; font-size: 1.75rem; text-transform: uppercase; }

.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { padding-top: 1.25rem; border-top: 1px solid var(--rule); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .6rem; font-weight: 900; font-size: 2.25rem; line-height: 1; color: var(--gold); }
.steps h3, .points h3 { margin-bottom: .4rem; }
.points li { padding-top: 1.1rem; border-top: 2px solid var(--gold); }

.mails { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.mails a { padding: 1.5rem 1.75rem; border: 1px solid var(--rule); border-radius: 1rem; background: rgb(15 46 28 / .35); }
.mails a:hover { border-color: var(--gold); background: rgb(15 46 28 / .6); }
.mails span { display: block; margin-bottom: .35rem; }
.mails b { font-size: clamp(1.0625rem, 4.6vw, 1.5rem); overflow-wrap: anywhere; }

.foot { padding-block: 2.5rem; background: var(--deep); color: var(--cream); font-size: .875rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ids, .note { flex-basis: 100%; font-size: .8125rem; }
.ids { padding-top: 1.25rem; border-top: 1px solid rgb(248 243 227 / .15); }
.note { margin-top: -1rem; }

/* Link tiles: products on the home page, related pages elsewhere. */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.tiles a { padding: 1.25rem; border: 1px solid rgb(24 74 46 / .18); border-radius: 1rem; background: var(--cream); }
.tiles a:hover { border-color: var(--gold); }
.tiles b { display: block; margin-bottom: .3rem; font-size: 1.125rem; line-height: 1.25; color: var(--green); }
.tiles span { font-size: .9375rem; }
.more { margin-top: 1.25rem; }
.more a, .cards h3 a, .landing dd a { font-weight: 600; color: var(--mid); text-decoration: underline; }
.cards h3 a { font-weight: inherit; color: inherit; }
.foot .pages { flex-basis: 100%; flex-wrap: wrap; gap: .4rem 1.5rem; }

/* Product and farm pages. */
.crumbs { font-size: .875rem; opacity: .85; }
.crumbs a { text-decoration: underline; }
.page-head .lede { margin-top: 1.25rem; opacity: .9; }
.landing { padding-block: clamp(3rem, 7vw, 5rem); }
.landing h2 { max-width: none; margin-block: 3rem 1rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: 0; }
.landing .split h2 { margin-top: 0; }
.landing .shot { aspect-ratio: 4 / 3; }
.landing .cards { margin-top: 0; }
.landing section p { max-width: 42rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.5rem; }
.kv dt { font-weight: 700; color: var(--green); }
.faq h3 { margin-block: 1.5rem .3rem; }

/* Legal notice and privacy pages. */
.page-head { padding-block: 9rem 3.5rem; }
.page-head h1 { margin-bottom: 0; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.05; }
.prose { max-width: 46rem; padding-block: clamp(3rem, 7vw, 5rem); }
.prose h2 { max-width: none; margin-block: 2.5rem .75rem; font-size: 1.375rem; letter-spacing: 0; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose address { margin-bottom: 1rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li + li { margin-top: .6rem; }
.prose a { color: var(--mid); text-decoration: underline; }

@media (max-width: 63.99rem) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 55.99rem) {
  .top nav { display: none; }
}
@media (max-width: 47.99rem) {
  /* On a phone the photo is a band across the top, fading into the green the text sits on. */
  .hero-media { height: 26rem; object-position: 75%; }
  .hero::after { background: linear-gradient(rgb(15 46 28 / .65), rgb(15 46 28 / .1) 8rem 13rem, var(--deep) 26rem); }
  .hero-body { padding-top: 18rem; }
  .dark::after { display: none; }
  .split, .cards, .sites .cards, .steps, .points { grid-template-columns: 1fr; }
  .seal { left: 1rem; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .facts li { padding-right: .5rem; }
  .facts li:nth-child(odd) { padding-left: 0; border: 0; }
  .facts span { letter-spacing: .12em; }
}
