/* ===== About page: the modern look. Colours and fonts live here. ===== */
:root {
  --green: #2f6b45;
  --green-dark: #17382a;
  --green-soft: #edf4ee;
  --sand: #f8f4e9;
  --orange: #ee7b30;
  --orange-dark: #d9651a;
  --ink: #1d2a22;
  --muted: #5f6d64;
  --line: #e4ebe5;
  --display: "Bricolage Grotesque", Georgia, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V28C200 0 400 56 720 30S1180 4 1440 30V60Z'/%3E%3C/svg%3E");
  --dip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440C1200 28 960 30 720 30S240 28 0 0Z'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: #fff; line-height: 1.7; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 1.5rem; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
/* Every section uses the same top and bottom space, so the gaps between sections are always equal. */
:root { --section-pad: 3rem; }
.wrap { padding: var(--section-pad) 5vw; max-width: 1240px; margin: 0 auto; }

/* ----- Top bar with a curved bottom edge ----- */
.top { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 5vw; background: var(--green-dark); color: #fff; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -29px; height: 30px; background: var(--green-dark);
  -webkit-mask: var(--dip) center/100% 100% no-repeat; mask: var(--dip) center/100% 100% no-repeat; }
.logo { display: flex; align-items: center; gap: .6rem; font: 800 1.3rem var(--display); }
.logo-mark img { width: 1.6rem; height: 1.6rem; display: block; }
.logo-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.12); }
.top nav { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; }
.top nav a:hover, .top nav a.on { color: #ffb877; }
.pill { border: 2px solid var(--orange); color: #ffb877; border-radius: 999px; padding: .45rem 1.2rem; font-weight: 700; }
.top nav a.pill:hover { background: var(--orange); color: #fff; }

/* ----- Intro ----- */
.intro { text-align: center; padding-top: 4.5rem; }
.intro h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 800; }
.intro h1 span { color: var(--orange); }
.intro p { max-width: 58ch; margin: 1.2rem auto 0; color: var(--muted); font-size: 1.15rem; }

/* ----- Story + team ----- */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.story p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1rem; }
.team { width: 100%; max-width: 440px; justify-self: end; }
.person .avatar { display: grid; place-items: center; height: 300px; border-radius: 32px; background: #e9f1ec; }
.person .avatar img { width: 190px; height: 190px; display: block; }
.person .meta { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem .4rem 0; flex-direction: column; align-items:end; padding-right:2rem;}
.person h3 { font-size: 1.5rem; }
.person span { color: var(--muted); }

/* ----- What we offer (sand band with wavy top) ----- */
.band { position: relative; background: var(--sand); }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--sand);
  -webkit-mask: var(--wave) center/100% 100% no-repeat; mask: var(--wave) center/100% 100% no-repeat; }
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.offer article { background: #fff; border-radius: 32px; padding: 2rem; }
.offer .ic { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--green-soft); font-size: 1.6rem; margin-bottom: 1rem; }
.offer h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.offer p { color: var(--muted); }

/* ----- Forms (pill fields) ----- */
.field { width: 100%; font: 400 1.05rem var(--body); padding: 1rem 1.5rem; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
textarea.field { border-radius: 32px; resize: vertical; min-height: 140px; }
.field:focus { border-color: var(--green); outline: none; }
.go { width: 100%; border: 0; border-radius: 999px; padding: 1.05rem; font: 700 1.1rem var(--body); background: var(--orange); color: #fff; cursor: pointer; transition: background .15s; }
.go:hover { background: var(--orange-dark); }
form.stack { display: grid; gap: 1rem; }
.hint { color: var(--muted); font-size: .9rem; }

/* ----- Farm to gate steps + FAQ ----- */
.flow { list-style: none; padding: 0; counter-reset: f; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; }
.flow li { counter-increment: f; position: relative; padding-top: 4.2rem; }
.flow li::before { content: counter(f); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 3.2rem; height: 3.2rem;
  border-radius: 50%; background: var(--orange); color: #fff; font: 800 1.3rem var(--display); }
.flow li::after { content: ""; position: absolute; top: 1.6rem; left: 4rem; right: -1rem; border-top: 2px dashed #cfdcd2; }
.flow li:last-child::after { display: none; }
.flow b { display: block; font: 700 1.25rem var(--display); margin-bottom: .3rem; }
.flow span { color: var(--muted); }
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { border: 2px solid var(--line); border-radius: 28px; padding: 1rem 1.6rem; }
.faq details[open] { border-color: var(--green); background: var(--green-soft); }
.faq summary { cursor: pointer; font: 700 1.1rem var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange-dark); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: .6rem; }

/* ----- Contact + map ----- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.map { position: relative; min-height: 420px; border-radius: 40px; overflow: hidden; background: var(--green-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); width: min(300px, 86%); border-radius: 26px; overflow: hidden;
  background: var(--green-dark); color: #fff; text-align: center; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.loc div { padding: 1.2rem 1rem; }
.loc strong { display: block; font: 700 1.2rem var(--display); }
.loc a.dir { display: block; background: var(--orange); padding: .7rem; font-weight: 700; }
.loc a.dir:hover { background: var(--orange-dark); }

/* Phones: a straight top bar with just the logo and the Order button */
@media (max-width: 760px) {
  .top { padding: .85rem 5vw; padding-top: calc(.85rem + env(safe-area-inset-top)); }
  .top::after { display: none; }
  .logo { font-size: 1.1rem; gap: .5rem; }
  .logo-mark { width: 2.6rem; height: 2.6rem; }
  .pill { padding: .4rem 1.1rem; }
  .intro { padding-top: 2.2rem; }
  .intro h1 { font-size: 2.3rem; }
  .intro p { font-size: 1.05rem; }
  h2 { font-size: 1.75rem; }
  .person .avatar { height: 240px; }
  .person .avatar img { width: 150px; height: 150px; }
  .map { min-height: 300px; border-radius: 28px; }
  .go { min-height: 3rem; }
  .wrap { padding: 2.25rem 5vw; }
}
@media (max-width: 860px) {
  .story, .contact { grid-template-columns: 1fr; }
  .team { justify-self: start; }
  .flow li::after { display: none; }
  .top nav a:not(.pill) { display: none; }
  .wrap { padding: 2.5rem 5vw; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ----- Round Back button (phones only): replaces the Order pill, same look as the round buttons in the home page "More" menu ----- */
.top nav a.back-btn { display: none; }
@media (max-width: 760px) {
  .top nav a.pill { display: none; }
  .top nav a.back-btn { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.14); color: #fff; }
  .top nav a.back-btn:active { background: rgba(255,255,255,.3); }
  .top nav a.back-btn svg { width: 1.35rem; height: 1.35rem; display: block; }
}
