.biochar-page { --ink: #241f21; }
.hero.biochar-hero { --hero-image: url('biochar-micrograph.webp?v=3bf2fa171b65db43'); --hero-image-rise: 0px; --hero-image-position: center 58%; --hero-shade: linear-gradient(90deg,#241f21e8 0%,#241f21b8 46%,#241f2120 100%); }
.biochar-hero h1 { max-width: 74rem; }
.biochar-hero .lede { max-width: 34rem; }
.biochar-hero .button { margin-top: 16px; }
.biochar-page main > .section { scroll-margin-top: 90px; }
.biochar-page .section h2 { max-width: 24ch; }
.bc-lead { max-width: 65ch; }
.bc-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.bc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bc-card { padding: 30px; background: var(--dot-grid); border-top: 4px solid var(--green); }
.bc-card p:last-child { margin-bottom: 0; }
.bc-number { font: 700 clamp(3rem,5vw,4.5rem)/1 'Barlow Condensed',sans-serif; }
.bc-small { font-size: .8125rem; line-height: 1.6; margin-top: 24px; }
.bc-notice { border-left: 4px solid var(--green); padding: 12px 20px; margin-block: 24px; font-size: .875rem; }
.bc-dark-section { background: var(--dark); color: var(--paper); }
.bc-dark-section .bc-card { background: #f0efed08; }
.bc-steps { counter-reset: stage; }
.bc-step { display: flex; gap: 24px; border-top: 1px solid #f0efed40; padding: 24px 0; }
.bc-step::before { counter-increment: stage; content: counter(stage,decimal-leading-zero); color: var(--green); font: 700 1rem 'Roboto Mono',monospace; }
.bc-step strong { display: block; margin-bottom: 8px; }
.bc-sim { background: var(--paper); color: var(--ink); padding: 32px; clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
.bc-sim input[type=range] { width: 100%; min-height: 44px; accent-color: #627723; }
.bc-bars { display: grid; gap: 20px; margin-block: 24px; }
.bc-bar-label { display: flex; justify-content: space-between; gap: 20px; font-size: .875rem; font-weight: 700; margin-bottom: 8px; }
.bc-track { height: 18px; background: #241f2118; }
.bc-fill { height: 100%; background: var(--green); transition: width .2s; }
.bc-fill.bc-oil { background: var(--amber,#fdb342); }
.bc-fill.bc-gas { background: var(--ink); }
.biochar-page table { width: 100%; border-collapse: collapse; margin-block: 30px; }
.biochar-page th,.biochar-page td { padding: 18px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.biochar-page th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.bc-quote { margin-top: 48px; max-width: 30ch; font: 600 clamp(2rem,3.5vw,3.5rem)/1.15 'Barlow Condensed',sans-serif; }
.bc-sources { padding-left: 20px; }
.bc-sources li { margin-block: 14px; }
.bc-sources a { overflow-wrap: anywhere; }
.biochar-page .section a { text-underline-offset: .22em; }
@media(max-width:800px) { .bc-split { grid-template-columns: 1fr; gap: 32px; } .bc-grid { grid-template-columns: 1fr; } .biochar-hero { --hero-image-position: 44% center; }  }
@media(max-width:480px) { .bc-card,.bc-sim { padding: 24px; } .biochar-page th,.biochar-page td { padding: 12px 6px; font-size: .8125rem; } .biochar-sections .wrap { gap: 14px 22px; } }
@media(prefers-reduced-motion:reduce) { .bc-fill { transition: none; } }

/* The fixed photograph stays behind the hero while opaque sections scroll over it. */
.biochar-page { isolation: isolate; }
.biochar-page::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg,#241f21df 0%,#241f2199 48%,#241f2120 100%),url('biochar-micrograph.webp?v=3bf2fa171b65db43') center 58% / cover no-repeat var(--dark); }
.biochar-page main,.biochar-page .foot { position: relative; z-index: 1; }
.biochar-page .hero.biochar-hero { background: transparent; }
.biochar-page .hero.biochar-hero::before { display: none; }
.biochar-page main > .section { background-color: var(--paper); }
.biochar-page main > .bc-dark-section { background-color: var(--dark); }
@media print { .biochar-page::before { display: none; } .biochar-page .hero.biochar-hero { background: var(--dark); } }

.biochar-page main > #process { background: linear-gradient(90deg,#241f21d9,#241f2180),url('biochar-hands-hero.webp?v=3a0a34c5a9074261') center / cover no-repeat var(--dark); }
.biochar-page main > #how-it-works { background: linear-gradient(90deg,#241f21d9,#241f2180),url('biochar-hands-hero.webp?v=3a0a34c5a9074261') center / cover no-repeat var(--dark); background-attachment: scroll, fixed; }
#how-it-works .bc-card {
  background: radial-gradient(#f0efed32 .8px, transparent 1px) 0 0 / 5px 5px;
  border-top: 0;
  clip-path: polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
}
#process .bc-sim { background: #241f213d; color: var(--paper); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
#process .bc-sim .eyebrow { color: var(--paper); }
#process .bc-track { background: #f0efed26; }
#process .bc-fill.bc-gas { background: var(--paper); }
#process .bc-sim input[type=range] { accent-color: var(--green); }
.chuckchar-sources { background: var(--paper); padding-block: 40px; }
.chuckchar-sources h2 { font: 700 1rem/1.4 Arial,sans-serif; letter-spacing: 0; margin-bottom: 12px; }
.chuckchar-sources .bc-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .8125rem; }
.chuckchar-sources .bc-sources li { margin: 0; }
.chuckchar-sources a { text-underline-offset: .25em; }
.biochar-page .chuckchar-close { position: relative; }
.chuckchar-close .eyebrow { font-family: "Faltige", Georgia, serif; font-weight: 400; letter-spacing: .03em; margin-bottom: .55rem; }

.chuckchar-trace { margin-top: 48px; max-width: 65ch; }
.chuckchar-trace .bc-quote { margin-top: 0; margin-bottom: 24px; }

.chuckchar-trace { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: none; }
.chuckchar-trace-image { height: auto; clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
.chuckchar-trace-copy { min-width: 0; }
#process #temp { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 62px; margin: 14px 0 0; background: transparent; cursor: grab; }
#process #temp:active { cursor: grabbing; }
#process #temp:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
#process #temp::-webkit-slider-runnable-track { height: 6px; background: radial-gradient(circle,var(--paper) 1.25px,transparent 1.6px) left center / 10px 6px repeat-x; border-radius: 0; }
#process #temp::-moz-range-track { height: 6px; background: radial-gradient(circle,var(--paper) 1.25px,transparent 1.6px) left center / 10px 6px repeat-x; border-radius: 0; }
#process #temp::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 46px; height: 46px; margin-top: -46px; background: var(--paper); border: 0; border-radius: 0; mask: url('chuck-mascot.webp?v=ed9887d551d8bddb') center / contain no-repeat; }
#process #temp::-moz-range-thumb { width: 46px; height: 46px; transform: translateY(-24px); background: var(--paper); border: 0; border-radius: 0; mask: url('chuck-mascot.webp?v=ed9887d551d8bddb') center / contain no-repeat; }
.chuckchar-slider-hint { font-size: .8125rem; margin: 0 0 18px; }
@media(max-width:800px) { .chuckchar-trace { grid-template-columns: 1fr; gap: 28px; } }

/* Partnership section for the local working copy. */
.besi-intro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.besi-eyebrow { font: 400 .875rem/1.3 "Faltige", Georgia, serif; letter-spacing: .03em; text-transform: uppercase; }
.besi-logo-panel { display: grid; place-items: center; min-height: 260px; padding: clamp(2rem, 5vw, 4rem); background: #fff; clip-path: polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
.besi-logo-panel img { display: block; width: min(100%, 260px); height: auto; }
.besi-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 6rem); }
.besi-benefits article { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.besi-benefits .eyebrow { font: 400 .875rem/1.3 "Faltige", Georgia, serif; letter-spacing: .03em; }
.besi-benefits h3 { font-size: clamp(1.8rem, 2.5vw, 2.5rem); }
.besi-quote { margin-top: clamp(3rem, 6vw, 6rem); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--dot-grid); border-left: .5rem solid #7d8e13; }
.besi-quote blockquote { max-width: 36ch; margin: 1rem 0; font: 600 clamp(2rem, 3.5vw, 3.5rem)/1.12 "Barlow Condensed", "Arial Narrow", sans-serif; }
.besi-quote p:last-child { margin-bottom: 0; font-size: .875rem; }
.besi-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 6vw, 6rem); }
.besi-range h3 { font-size: clamp(2.3rem, 4vw, 4rem); }
.besi-range ul { list-style: none; padding: 0; margin: 0; }
.besi-range li { display: grid; gap: .4rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.besi-range li strong { font-size: 1.1rem; }
.besi-range li span { max-width: 48ch; }
@media (max-width: 750px) { .besi-intro, .besi-benefits, .besi-range { grid-template-columns: 1fr; } .besi-logo-panel { min-height: 210px; } .besi-benefits { gap: 1.5rem; } }

/* Overlap adjacent paper-colored sections to prevent a hairline seam. */
.biochar-page .besi-partnership,
.biochar-page #traceability { margin-top: -1px; }

.besi-record-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 1.5rem; counter-reset: record-step; }
.besi-record-steps li { counter-increment: record-step; padding: 1.1rem; background: var(--dot-grid); font-weight: 700; }
.besi-record-steps li::before { content: counter(record-step, decimal-leading-zero); display: block; margin-bottom: .5rem; font: 400 .75rem/1.3 "Faltige", Georgia, serif; }
#traceability .editorial-note { max-width: 85ch; }
@media (max-width: 750px) { .besi-record-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#how-it-works .bc-card .eyebrow { color: var(--paper); font: 400 .875rem/1.3 "Faltige", Georgia, serif; letter-spacing: .03em; margin-bottom: 1rem; }
