/* Sustainabar: colours and type from the 2026 pitch deck (beige ground, forest-green type, sage band). */
:root {
  --bg: #dcdacd;
  --ink: #2e4a3b;
  --ink-soft: #3f5a4b;
  --sage: #a5b38f;
  --green: #1e754c;
  --green-mid: #00bf63;
  --green-light: #7ed957;
  --card: #e6e4d9;
  --gutter: clamp(16px, 5vw, 72px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Inter, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 3px; border-radius: 4px; }

h1, h2 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0 0 0.5em;
}
h1 b, h2 b { font-weight: 700; }
h1 { font-size: clamp(2.8rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 0.4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 34ch; color: var(--ink-soft); }

section { padding: clamp(56px, 9vw, 120px) var(--gutter); position: relative; }

.pill {
  display: inline-block;
  padding: 0.55em 1.2em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.pill.solid { background: var(--ink); color: var(--bg); }
.pill:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px var(--gutter);
  background: rgb(220 218 205 / 0.92);
  backdrop-filter: blur(8px);
}
.brand img { width: 150px; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 0.95rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:not(.pill):hover { color: var(--green); }
@media (max-width: 760px) {
  .top nav a:not(.pill) { display: none; }
}

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px;
  padding-top: clamp(32px, 6vw, 80px); overflow: hidden;
}
.hero-text { position: relative; z-index: 2; }
.hero-art { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero-bar { width: min(420px, 100%); position: relative; z-index: 1; }
.hero-branch { position: absolute; left: -30%; bottom: -6%; width: 70%; z-index: 2; pointer-events: none; }
.band { position: absolute; left: 30%; right: 0; bottom: 14%; height: 26%; background: var(--sage); z-index: 0; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-branch { left: -12%; width: 55%; }
  .band { left: 0; bottom: 8%; height: 22%; }
}

/* Problem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.photos { display: grid; grid-template-columns: 2fr 1fr; gap: 0; border-right: 22px solid var(--sage); }
.photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.cards { display: grid; gap: 28px; }
.cards article { border-top: 2px solid var(--ink); padding-top: 14px; }
.problem h2 { max-width: 14ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Solution */
.solution { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); background: var(--card); }
.solution-art img { width: 100%; height: 100%; object-fit: cover; border-left: 22px solid var(--sage); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.features svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.features p { margin: 0; color: var(--ink-soft); }
@media (max-width: 980px) { .solution { grid-template-columns: 1fr; } .solution-art img { max-height: 380px; } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Impact */
.impact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.bars dl { margin: 0; display: grid; gap: 22px; }
.bars dl > div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
.bars dt { font-weight: 700; font-size: 1.25rem; }
.bars dd { margin: 0; font-weight: 700; font-size: 1.25rem; }
.bars dl > div::after {
  content: ""; grid-column: 1 / -1; grid-row: 2; height: 12px; border-radius: 6px; margin: 6px 0;
  background: linear-gradient(90deg, #627349 var(--v), #fff var(--v));
}
.bars dl > div p { grid-column: 1 / -1; grid-row: 3; margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.v100 { --v: 100%; } .v90 { --v: 90%; } .v60 { --v: 60%; } .v50 { --v: 50%; } .v30 { --v: 30%; }
.impact-art { position: relative; }
.impact-art::before { content: ""; position: absolute; left: -10%; right: -40%; bottom: 8%; height: 40%; background: var(--sage); z-index: 0; }
.impact-art img { position: relative; z-index: 1; width: min(520px, 100%); margin: auto; }
@media (max-width: 860px) { .impact { grid-template-columns: 1fr; } .impact-art::before { right: -8%; } }

/* Why us */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: end; background: var(--card); }
.why-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-text p { font-weight: 600; font-size: 1.15rem; max-width: 40ch; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.people img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.people h3 { color: var(--green); margin-bottom: 0; }
.role { font-size: 1.15rem; margin-bottom: 0.6em; }
.people p:not(.role) { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; overflow: hidden; }
.contact img { width: 100%; }
.where { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 28px 0 0; }
.where dt { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.where dd { margin: 0; font-weight: 600; }
.contact .pill { overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

footer {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  padding: 28px var(--gutter); background: var(--ink); color: var(--bg); font-size: 0.95rem;
}
footer a { color: var(--bg); }

/* Grid items may shrink below their content; decorations that bleed past the edge never widen the page. */
section > *, .split > *, .features li > div { min-width: 0; }
section { overflow-x: clip; }
