
/* ---------------------------------------------------------------
   BonaPlanta – "Science behind our service"
   Everything is scoped under .bps so it can be pasted into a
   YOOtheme HTML element without touching the rest of the site.
   Brand colours: edit the tokens below.
---------------------------------------------------------------- */
.bps{
  --g900:#173326; --g700:#2b6343; --g500:#4c9a63; --g200:#cfe5d5; --g100:#eaf4ec;
  --amber:#d9922e; --amber100:#fbf0dd;
  --sand:#f6f4ee; --ink:#1b221e; --muted:#5b665f; --line:#e1e6e1; --white:#fff;
  --r:18px;
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink); background:var(--sand); line-height:1.55;
  display:flow-root; /* keeps the hero's top margin inside the sand background */
}
.bps *,.bps *::before,.bps *::after{box-sizing:border-box}
.bps .wrap{max-width:1160px;margin:0 auto;padding:0 16px}
.bps h2,.bps h3,.bps h4{margin:0}
.bps .serif{font-family:"Source Serif 4",Georgia,serif}
.bps .eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:600;color:var(--g700);margin:0 0 10px}

/* ---------- HERO ---------- */
.bps .hero{
  position:relative;max-width:1160px;margin:24px auto 0;border-radius:28px;overflow:hidden;
  min-height:460px;display:flex;align-items:flex-end;color:var(--white);
  /* original 1300 px photo from the media library (sharper than the 975 px cached copy) */
  background:#173326 url("vineyard.webp") center/cover no-repeat;
}
@media (max-width:1192px){ .bps .hero{margin:16px 16px 0} }
@media (max-width:680px){ .bps .hero{border-radius:20px;min-height:420px} }
.bps .hero::before{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(23,51,38,.15) 0%,rgba(23,51,38,.85) 75%)}
.bps .hero .wrap{position:relative;padding:120px 48px 52px;width:100%}
@media (max-width:680px){ .bps .hero .wrap{padding:100px 22px 32px} }
.bps .hero .eyebrow{color:#bfe0c8}
.bps .hero h2{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(34px,5vw,58px);line-height:1.08;max-width:760px}
.bps .hero p{max-width:620px;font-size:18px;color:#e4efe7;margin:16px 0 0}
.bps .hero-stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.bps .hero-stats div{background:rgba(255,255,255,.12);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);
  border-radius:12px;padding:10px 16px;font-size:14px}
.bps .hero-stats b{display:block;font-size:22px}

/* ---------- TEAM ---------- */
.bps .team{padding:40px 0 8px}
.bps .team-h{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(28px,3.5vw,38px);color:var(--g900);margin:0 0 22px}
.bps .team-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.bps .person{display:flex;gap:20px;align-items:center;background:var(--white);border:1px solid var(--line);
  border-radius:var(--r);padding:20px}
.bps .person img{width:112px;height:112px;border-radius:50%;object-fit:cover;flex:none;border:4px solid var(--g100)}
.bps .person h3{font-size:20px;color:var(--g900)}
.bps .person .role{font-size:13px;font-weight:600;color:var(--g700);margin:2px 0 8px}
.bps .person p{margin:0;font-size:14px;color:var(--muted)}
.bps .chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.bps .chip{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--g100);color:var(--g700)}
.bps .chip.amber{background:var(--amber100);color:#9a5f12}
.bps .scholar{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-size:13px;font-weight:600;
  color:var(--g700);text-decoration:none;border:1px solid var(--g200);border-radius:999px;padding:6px 12px;background:var(--g100)}
.bps .scholar:hover{background:var(--g200)}

/* ---------- FEATURED ---------- */
.bps .featured{padding:40px 0}
.bps .feat{display:grid;grid-template-columns:1.1fr 1fr;background:var(--g900);color:var(--white);
  border-radius:24px;overflow:hidden}
.bps .feat .viz{background:#fff;padding:28px;display:flex;flex-direction:column;justify-content:center}
.bps .feat .viz figcaption{font-size:12px;color:var(--muted);margin-top:10px}
.bps .feat .txt{padding:40px}
.bps .feat .eyebrow{color:#9fd2ae}
.bps .feat h3{font-family:"Source Serif 4",Georgia,serif;font-size:30px;line-height:1.2}
.bps .feat .ref{font-size:14px;color:#b9d3c1;margin:10px 0 18px}
.bps .feat .sum{font-size:16px;color:#e4efe7;margin:0 0 20px}
.bps .takeaways{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.bps .takeaways div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:14px;font-size:14px}
.bps .takeaways b{display:block;color:#ffd08a;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}

/* ---------- STORIES ---------- */
.bps .stories{padding:40px 0 24px}
.bps .stories-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}
.bps .stories-head h2{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(28px,3.5vw,38px);color:var(--g900)}
.bps .filters{display:flex;flex-wrap:wrap;gap:8px}
.bps .filters button{font:inherit;font-size:14px;font-weight:500;cursor:pointer;border:1px solid var(--line);
  background:var(--white);color:var(--ink);padding:8px 16px;border-radius:999px}
.bps .filters button[aria-pressed="true"]{background:var(--g700);border-color:var(--g700);color:#fff}
.bps .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bps .card{background:var(--white);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.bps .card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(23,51,38,.10)}
.bps .card[hidden]{display:none}
.bps .card .viz{background:var(--g100);aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;
  position:relative;border-bottom:1px solid var(--line)}
.bps .card .viz svg{width:100%;height:100%}
.bps .viz-label{position:absolute;top:10px;left:10px;font-size:11px;font-weight:600;background:rgba(255,255,255,.9);
  color:var(--g700);padding:3px 8px;border-radius:6px}
.bps .card .body{padding:20px 20px 18px;display:flex;flex-direction:column;flex:1}
.bps .card .tagrow{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.bps .card h4{font-size:17px;line-height:1.35;color:var(--g900);margin-bottom:10px}
.bps .card .sum{font-size:14px;color:var(--muted);margin:0 0 14px}
.bps .key{background:var(--amber100);border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:16px}
.bps .key b{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9a5f12;margin-bottom:2px}
.bps .foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:14px;border-top:1px solid var(--line)}
.bps .author{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.bps .author img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.bps .author small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.bps .read{font-size:14px;font-weight:600;color:var(--g700);text-decoration:none;white-space:nowrap}
.bps .read:hover{text-decoration:underline}
.bps .btn{display:inline-block;font-size:14px;font-weight:600;text-decoration:none;padding:11px 20px;border-radius:999px;
  background:#ffd08a;color:var(--g900)}
.bps .btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;margin-left:8px}

/* ---------- TIER BADGES ---------- */
.bps .tier{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;padding:5px 12px;border-radius:999px;background:var(--g900);color:#ffd08a;margin-bottom:12px}
.bps .tier.light{background:var(--g100);color:var(--g700)}
.bps .card .lead-badge{position:absolute;top:10px;right:10px;font-size:11px;font-weight:700;background:var(--g900);
  color:#ffd08a;padding:3px 8px;border-radius:6px}

/* ---------- TIMELINE (vertical, themed) ---------- */
.bps .journey{padding:56px 0 24px}
.bps .journey h2,.bps .partners h2{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(28px,3.5vw,38px);color:var(--g900)}
.bps .journey .intro,.bps .partners .intro{max-width:760px;color:var(--muted);margin:10px 0 18px}
.bps .legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--muted);margin-bottom:28px}
.bps .legend span{display:inline-flex;align-items:center;gap:6px}
.bps .legend i{width:12px;height:12px;border-radius:50%;display:inline-block}
.bps .th{display:inline-block;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;margin:0 4px 6px 0}
.bps .th.bio{background:#dcefe1;color:#1f5a36}
.bps .th.brd{background:#d9ece8;color:#1f4a3a}
.bps .th.soil{background:#f3e3c9;color:#6b4a1f}
.bps .snake{position:relative;padding:0 30px}
.bps .srow{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:34px}
.bps .srow:last-child{margin-bottom:0}
/* horizontal track through the dots */
.bps .srow::before{content:"";position:absolute;top:21px;left:0;right:0;height:3px;background:var(--g500)}
.bps .srow:first-child::before{left:27px}
.bps .srow:last-child::before{right:calc(33.333% - 42px)}
/* U-turns: right side after row 1, left side after row 2 */
.bps .srow.turn-r::after,.bps .srow.turn-l::after{content:"";position:absolute;top:21px;height:calc(100% + 34px);
  width:30px;border:3px solid var(--g500);pointer-events:none}
.bps .srow.turn-r::after{right:-30px;border-left:0;border-radius:0 26px 26px 0}
.bps .srow.turn-l::after{left:-30px;border-right:0;border-radius:26px 0 0 26px}
/* reversed row reads right-to-left */
.bps .srow.rev .vt-item:nth-child(1){grid-column:3;grid-row:1}
.bps .srow.rev .vt-item:nth-child(2){grid-column:2;grid-row:1}
.bps .srow.rev .vt-item:nth-child(3){grid-column:1;grid-row:1}
.bps .vt-item{position:relative;padding-top:46px;display:flex}
.bps .vt-item .dot{position:absolute;top:11px;left:16px;width:23px;height:23px;border-radius:50%;background:#fff;border:5px solid var(--g500);z-index:1}
.bps .vt-item.lead .dot{border-color:var(--amber)}
.bps .vt-card{flex:1;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:16px 18px;
  transition:box-shadow .2s,transform .2s}
.bps .vt-card:hover{box-shadow:0 12px 28px rgba(23,51,38,.09);transform:translateY(-3px)}
.bps .vt-yr{font-size:13px;font-weight:700;color:var(--g700);letter-spacing:.04em}
.bps .vt-card h4{font-size:16px;line-height:1.3;color:var(--g900);margin:2px 0 6px}
.bps .vt-card p{margin:0 0 8px;font-size:13.5px;color:var(--ink)}
.bps .vt-card .refs{font-size:12px;color:var(--muted);margin:0}
.bps .vt-card .refs b{color:#9a5f12}
.bps .vt-card .big{display:block;font-size:24px;font-weight:700;color:var(--amber);line-height:1.1;margin:2px 0 6px}
.bps .vt-item.end .vt-card{background:var(--g900);color:#e4efe7;border-color:var(--g900)}
.bps .vt-item.end .vt-card h4{color:#ffd08a}
.bps .vt-item.end .vt-card p{color:#e4efe7}
.bps .vt-item.end .vt-yr{color:#9fd2ae}
.bps .vt-item.end .dot{border-color:#ffd08a;background:var(--g900)}
.bps .svc-mini{display:grid;gap:6px;margin-top:8px}
.bps .svc-mini span{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:7px 10px;font-size:13px}
@media (max-width:760px){
  .bps .snake{padding:0}
  .bps .snake::before{content:"";position:absolute;left:10px;top:20px;bottom:40px;width:3px;background:var(--g500)}
  .bps .srow{display:block;margin:0}
  .bps .srow::before,.bps .srow::after{display:none}
  .bps .vt-item{padding:0 0 20px 38px}
  .bps .vt-item .dot{top:10px;left:0}
}

/* ---------- PARTNER STUDIES ---------- */
.bps .partners{padding:40px 0 24px}
.bps .mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.bps .mini{display:grid;grid-template-columns:56px 1fr;gap:14px;background:var(--white);border:1px solid var(--line);
  border-radius:16px;padding:18px;transition:box-shadow .2s}
.bps .mini:hover{box-shadow:0 10px 24px rgba(23,51,38,.08)}
.bps .mini[hidden]{display:none}
.bps .mini .ico{width:56px;height:56px;border-radius:16px;background:var(--g100);display:flex;align-items:center;justify-content:center}
.bps .mini .ico.soil{background:var(--amber100)}
.bps .mini .ico svg{width:40px;height:40px}
.bps .mini h4{font-size:15px;line-height:1.35;color:var(--g900);margin:4px 0 6px}
.bps .mini .ref{font-size:12.5px;color:var(--muted);margin:0 0 8px}
.bps .mini .ref i{color:var(--ink)}
.bps .mini .fact{font-size:13.5px;margin:0 0 10px}
.bps .mini .fact b{color:#9a5f12}
.bps .mini .row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
.bps .role-tag{font-size:11.5px;font-weight:600;color:var(--g700)}

@media (max-width:680px){ .bps .mini-grid{grid-template-columns:1fr} }

/* ---------- CTA ---------- */
.bps .cta{padding:40px 0 80px}
.bps .cta-box{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;background:var(--white);
  border:1px solid var(--line);border-radius:24px;padding:28px 32px}
.bps .avatars{display:flex}
.bps .avatars img{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.bps .avatars img+img{margin-left:-16px}
.bps .cta-box h3{font-family:"Source Serif 4",Georgia,serif;font-size:24px;color:var(--g900)}
.bps .cta-box p{margin:4px 0 0;color:var(--muted);font-size:15px}
.bps .cta-box .btn{background:var(--g700);color:#fff}

@media (max-width:980px){
  .bps .grid{grid-template-columns:1fr 1fr}
  .bps .feat{grid-template-columns:1fr}
}
@media (max-width:680px){
  .bps .grid,.bps .team-grid,.bps .takeaways{grid-template-columns:1fr}
  .bps .person{flex-direction:column;text-align:center}
  .bps .person .chips{justify-content:center}
  .bps .feat .txt{padding:28px 20px}
  .bps .cta-box{grid-template-columns:1fr;text-align:center}
  .bps .avatars{justify-content:center}
  .bps .btn.ghost{margin:8px 0 0}
}

/* Integration adjustments only; original graphic proportions and card styles retained. */
.bps .wrap{width:100%;max-width:1160px}.bps h1{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.025em;max-width:760px;margin:0}.bps h2{letter-spacing:-.02em}.bps h3,.bps h4{letter-spacing:0}.bps .card .viz{margin:0}.bps .viz-label{display:none}.bps .card .viz>img{width:100%;height:100%;object-fit:contain}.bps .feat .viz>img{width:100%;height:auto}.bps .feat .txt h2{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:30px;line-height:1.2;letter-spacing:-.015em}.bps .preview-role{font-size:11px;color:var(--g700);margin:6px 0 0}.bps .card details{border-top:1px solid var(--line);font-size:12px;margin:4px 0 15px;padding-top:10px}.bps .card summary{cursor:pointer;color:var(--g700);font-weight:500}.bps .card details p{margin:8px 0}.bps .foot a{color:var(--g700)}.bps .card .sum{min-height:86px}.bps .chip{letter-spacing:0}.bps .feat .viz{padding:22px}.bps .preview-filters{margin:8px 0 20px}.bps .tier{letter-spacing:.04em}.bps .preview-empty{display:none}.bps .preview-empty.show{display:block}.review-strip{font:12px/1.5 Inter,Arial,sans-serif;background:#fbf0dd;color:#6c522e;padding:9px 20px;text-align:center;border-bottom:1px solid #ecd8b5}.review-strip a{font-weight:600}@media(max-width:680px){.bps .card .sum{min-height:0}.bps .feat .txt h2{font-size:27px}}
