/* learnbotanicals.com — look after alethia.earth: forest #0f1f10, paper #f4f3f0, lime #c8f09c chips, indigo band, Geist + Geist Mono */
:root {
  --forest: #0f1f10; --forest2: #18301a; --paper: #f4f3f0; --white: #fff; --ink: #0f1f10; --mute: #4b5a4c;
  --lime: #c8f09c; --lime2: #b4e480; --indigo: #200f80; --black: #050605;
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --gut: 20px; --max: 1360px; --r: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); position: relative; z-index: 1; }
.narrow { max-width: 860px; }
.center { text-align: center; }
h1, h2, h3 { font-family: var(--sans); margin: 0; font-weight: 500; }
h1 { font-size: clamp(40px, 7.4vw, 76px); line-height: .96; letter-spacing: -0.05em; }
h2 { font-size: clamp(32px, 5.4vw, 60px); line-height: 1; letter-spacing: -0.045em; margin-bottom: 28px; }
h2.xl { font-size: clamp(36px, 6.4vw, 72px); }
h2.md, p.md { font-size: clamp(24px, 3vw, 34px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 38em; }
.center .lead { margin-left: auto; margin-right: auto; }

/* chips + mono buttons */
.chip { display: inline-block; margin: 0 0 18px; padding: 3px 8px; background: var(--lime); color: var(--forest); font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .02em; border-radius: 3px; }
.mbtn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 10px 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; color: #fff; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; transition: background .2s, border-color .2s; }
.mbtn i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 4px; background: var(--lime); color: var(--forest); }
.mbtn i svg { width: 14px; height: 14px; }
.mbtn:hover { border-color: var(--lime); }
.mbtn.lime { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.mbtn.lime i { background: var(--forest); color: var(--lime); }
.mbtn.lime:hover { background: var(--lime2); }
.mbtn.ghost { color: inherit; }
.band.light .mbtn.ghost, .band.paper .mbtn.ghost { border-color: rgba(15,31,16,.25); }
.mbtn.sm { min-height: 40px; padding-left: 14px; gap: 10px; }

/* header */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 18px var(--gut); max-width: var(--max); margin: 0 auto; color: #fff; }
.logo { text-decoration: none; display: flex; }
.logo-in { display: inline-flex; align-items: center; gap: 8px; }
.lf { width: 26px; height: 26px; color: var(--lime); }
.wm { font: 500 21px/1 var(--sans); letter-spacing: -0.04em; } .wm b { font-weight: 600; }
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; opacity: .86; }
.nav a:hover, .nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--lime); }
.hdr-cta { display: none; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; background: var(--lime); color: var(--forest); border-radius: 6px; font: 600 13px/1 var(--mono); text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu-in { position: absolute; right: 0; top: 48px; width: 240px; background: var(--forest); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px; display: grid; }
.menu-in a { padding: 12px 10px; color: #fff; text-decoration: none; font: 500 14px/1 var(--mono); text-transform: uppercase; border-radius: 6px; }
.menu-in a:hover { background: rgba(255,255,255,.06); }

/* hero */
.hero { position: relative; min-height: 100svh; background: var(--forest); color: #f5f4f2; overflow: hidden; display: flex; }
.hero-img, .hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,31,16,.55) 0%, rgba(15,31,16,0) 34%, rgba(15,31,16,0) 62%, rgba(15,31,16,.85) 100%); }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; padding-top: 120px; padding-bottom: 34px; width: 100%; }
.hero h1 { max-width: 11em; margin-bottom: 26px; }
.hero-sub { margin: auto 0 0; padding-top: 40vh; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.35; letter-spacing: -0.01em; max-width: 34em; }
.scroll { display: none; }

/* bands */
.band { position: relative; padding: 76px 0 84px; overflow: hidden; }
.band.light { background: var(--white); }
.band.paper { background: var(--paper); }
.band.black { background: var(--black); color: #fff; }
.band.indigo { background: var(--indigo); color: #fff; }
.band.black .lead, .band.indigo p { color: rgba(255,255,255,.86); }
.scibg, .ctabg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.band.black .wrap { padding-top: 20px; padding-bottom: 20px; }
.band.black .mbtn { margin-top: 18px; }

/* plant cards */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--forest2); color: #fff; text-decoration: none; }
.pcard .pimg, .pcard .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(5,12,6,.82) 100%); }
.pcard:hover .pimg { transform: scale(1.04); }
.pk { position: absolute; z-index: 2; top: 16px; left: 16px; right: 60px; font: 400 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.pgo { position: absolute; z-index: 2; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; }
.pgo svg { width: 16px; height: 16px; }
.pt { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 6px; }
.pt b { font: 500 clamp(24px, 2.6vw, 32px)/1.02 var(--sans); letter-spacing: -0.035em; }
.pt span { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.84); }
.ph { background: radial-gradient(120% 80% at 30% 20%, #2d4a2e 0%, #142716 60%, #0b170c 100%); }

/* indigo two-step */
.two-step { display: grid; gap: 64px; padding-top: 24px; padding-bottom: 24px; }
.two-step h2.md { margin-bottom: 24px; max-width: 18em; }
.two-step p.md { margin: 0 0 24px; max-width: 18em; color: #fff; }

/* standards pills */
.pills { list-style: none; margin: 40px auto 0; padding: 0; display: grid; gap: 10px; max-width: 980px; text-align: left; }
.pills li { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 14px 18px; font-size: 16px; line-height: 1.35; }
.pills .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font: 500 14px/1 var(--mono); }

/* guide cards */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.see { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); text-transform: uppercase; text-decoration: none; margin-bottom: 34px; white-space: nowrap; }
.see svg { width: 14px; height: 14px; background: var(--lime); border-radius: 3px; padding: 2px; }
.gcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gcard { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--r); padding: 12px 12px 20px; text-decoration: none; gap: 10px; transition: box-shadow .2s; }
.gcard:hover { box-shadow: 0 0 0 1px var(--forest); }
.gcard .gimg, .gcard .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.gcard .gm { font: 400 12px/1 var(--mono); text-transform: uppercase; color: var(--mute); margin: 8px 8px 0; }
.gcard b { font: 500 24px/1.08 var(--sans); letter-spacing: -0.03em; margin: 0 8px; }
.gcard .gd { font-size: 15px; line-height: 1.45; color: var(--mute); margin: 0 8px; }
.gcard .more { margin: auto 8px 0; padding-top: 10px; font: 500 12px/1 var(--mono); text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.gcard .more svg { width: 12px; height: 12px; }
.gcard.gloss { background: var(--forest); color: #fff; padding: 24px; justify-content: flex-start; }
.gcard.gloss .gm, .gcard.gloss .gd { color: rgba(255,255,255,.75); margin-left: 0; margin-right: 0; }
.gcard.gloss b { margin: 0; font-size: 34px; } .gcard.gloss .more { margin-left: 0; color: var(--lime); }

/* CTA band */
.band.cta { background: var(--forest); color: #fff; padding: 110px 0 120px; }
.band.cta .ctabg { opacity: .5; }
.band.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(15,31,16,.35), rgba(15,31,16,.85)); z-index: 0; }
.band.cta h2 { color: var(--lime); max-width: 14em; margin: 0 auto 18px; font-size: clamp(34px, 5.6vw, 62px); }
.band.cta .lead { margin-bottom: 30px; color: rgba(255,255,255,.88); }

/* page hero */
.phero { position: relative; background: var(--forest); color: #fff; padding: 130px 0 56px; overflow: hidden; min-height: 62vh; display: flex; align-items: flex-end; }
.phero .wrap { width: 100%; }
.phero-img, .phero .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,31,16,.7) 0%, rgba(15,31,16,.15) 40%, rgba(10,22,11,.9) 100%); }
.phero h1 { font-size: clamp(42px, 8vw, 88px); margin-bottom: 14px; }
.phero .lead { color: rgba(255,255,255,.9); margin: 0 0 10px; }
.phero .meta { font: 400 13px/1.4 var(--mono); text-transform: uppercase; color: rgba(255,255,255,.7); margin: 10px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 400 12px/1.4 var(--mono); text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: #fff; }

/* article */
.article { padding-top: 56px; }
.a-grid { display: grid; gap: 40px; }
.a-grid > * { min-width: 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 44px 0 12px; scroll-margin-top: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; letter-spacing: -0.02em; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; } .prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-decoration-color: var(--lime2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.updated { margin-top: 36px !important; padding-top: 16px; border-top: 1px solid #e6e5e1; font: 400 13px/1.5 var(--mono) !important; color: var(--mute); text-transform: uppercase; }
.side { display: grid; gap: 14px; align-content: start; }
.ft-h { font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--mute); margin: 0 0 12px; }
.facts { background: var(--paper); border-radius: var(--r); padding: 20px; }
.facts dl { margin: 0; }
.facts dl > div { padding: 10px 0; border-top: 1px solid #e2e1dc; }
.facts dt { font: 500 12px/1.3 var(--mono); text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.buy { background: var(--forest); color: #fff; border-radius: var(--r); padding: 20px; }
.buy .ft-h { color: var(--lime); } .buy p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; color: rgba(255,255,255,.88); }
.toc { border: 1px solid #e2e1dc; border-radius: var(--r); padding: 18px 20px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 15px; }
.toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; text-decoration-color: var(--lime2); }

/* faq */
.qa { display: grid; gap: 8px; text-align: left; }
details { background: var(--paper); border-radius: 12px; }
.band.paper details { background: #fff; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: 0 0 14px; height: 14px; margin-top: 5px; }
summary i::before, summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; }
summary i::after { transform: rotate(90deg); transition: transform .2s; }
details[open] summary i::after { transform: rotate(0); }
details p { margin: 0; padding: 0 18px 18px; font-size: 16.5px; color: #2f3d30; }

/* glossary */
.gloss-list { margin: 0; }
.gloss-list > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid #e6e5e1; }
.gloss-list dt { font-weight: 600; font-size: 19px; letter-spacing: -0.015em; }
.gloss-list dd { margin: 0; color: #2f3d30; }

/* footer */
.foot { background: var(--forest); color: #dfe5dc; padding: 72px 0 26px; overflow: hidden; }
.ft-cols { display: grid; gap: 34px; }
.ft-big { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.025em; color: #fff; margin: 0 0 10px; max-width: 16em; }
.ft-about p:last-child { margin: 0; color: rgba(223,229,220,.7); font-size: 15px; }
.foot .ft-h { color: rgba(223,229,220,.55); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot nav a { display: inline-block; padding: 5px 0; font: 400 13px/1.3 var(--mono); text-transform: uppercase; text-decoration: none; color: #fff; }
.foot nav a:hover { color: var(--lime); }
.ft-word { margin: 56px 0 30px; font: 500 clamp(52px, 13.6vw, 230px)/.8 var(--sans); letter-spacing: -0.065em; color: var(--lime); white-space: nowrap; }
.ft-bar { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; line-height: 1.5; color: rgba(223,229,220,.65); }
.ft-bar span:nth-child(2) { max-width: 60em; }
.ft-bar a { text-decoration: none; color: #fff; white-space: nowrap; }

/* responsive */
@media (min-width: 680px) {
  :root { --gut: 32px; }
  .pcards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gcards { grid-template-columns: repeat(2, 1fr); }
  .pills { grid-template-columns: repeat(2, 1fr); }
  .ft-cols { grid-template-columns: repeat(3, 1fr); }
  .ft-about { grid-column: 1 / -1; }
  .two-step { grid-template-columns: 1fr 1fr; }
  .two-step .step2 { margin-top: 260px; }
}
@media (min-width: 1000px) {
  :root { --gut: 40px; }
  .nav, .hdr-cta { display: flex; }
  .menu { display: none; }
  .nav { margin-left: auto; }
  .band { padding: 110px 0 120px; }
  .hero-in { padding-top: 150px; padding-bottom: 40px; }
  .hero-sub { padding-top: 0; }
  .scroll { display: block; position: absolute; right: var(--gut); bottom: 42px; margin: 0; font: 400 13px/1 var(--mono); text-transform: uppercase; }
  .pcards { grid-template-columns: repeat(3, 1fr); }
  .pcards .pcard { aspect-ratio: 4 / 4.4; }
  .gcards { grid-template-columns: repeat(3, 1fr); }
  .two-step .step2 { margin-top: 340px; }
  .a-grid { grid-template-columns: minmax(0, 720px) 340px; justify-content: space-between; gap: 64px; }
  .side { position: sticky; top: 24px; }
  .ft-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .ft-about { grid-column: auto; }
}
@media (min-width: 1000px) and (max-height: 760px) { .hero-sub { padding-top: 0; } }
@media (prefers-reduced-motion: reduce) { .pcard .pimg { transition: none; } .hero-vid { display: none; } }
.menu summary { min-height: 44px; display: flex; align-items: center; }
@media (min-width: 1200px) { .pcards { grid-template-columns: repeat(4, 1fr); } .pcards.three { grid-template-columns: repeat(3, 1fr); } .pcards .pcard { aspect-ratio: 3 / 4; } }

/* home library: horizontal stack (Dennis 11/24) — cards scroll sideways, next card peeks, arrow buttons */
#library .wrap:first-child .head-row { align-items: flex-end; }
.arrows { display: flex; gap: 8px; margin-bottom: 34px; }
.arr { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); display: grid; place-items: center; cursor: pointer; padding: 0; }
.arr svg { width: 18px; height: 18px; }
.arr:hover:not(:disabled) { background: var(--forest); color: var(--lime); }
.arr:disabled { opacity: .3; cursor: default; }
.hs-wrap { max-width: var(--max); margin: 0 auto; }
.pcards.hs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); padding: 0 var(--gut) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.pcards.hs::-webkit-scrollbar { display: none; }
.pcards.hs > li { flex: 0 0 78%; scroll-snap-align: start; }
.pcards.hs .pcard { aspect-ratio: 3 / 4; }
#library .see { margin: 26px 0 0; }
@media (min-width: 680px) { .pcards.hs > li { flex-basis: 44%; } }
@media (min-width: 1000px) { .pcards.hs > li { flex-basis: calc((100% - 2 * var(--gut) - 3 * 14px) / 3.4); } }
@media (max-width: 679px) { .arrows { display: none; } }
/* hero art sits right of the headline on wide screens; left edge fades into the forest ground */
@media (min-width: 1000px) {
  .hero { background: #0d1a0e; }
  .hero-img, .hero-vid { left: 26%; width: 80%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
}
@media (max-width: 999px) { .hero-img, .hero-vid { object-position: 50% 62%; opacity: .75; } }
/* parallax layers */
.hero-img, .hero-vid, .phero-img { will-change: transform; transform: scale(1.04); transform-origin: 50% 40%; }
.hero .wrap, .phero .wrap { will-change: transform, opacity; }
.hero, .phero { isolation: isolate; }
.hero::after, .phero::after { z-index: 0; }

/* indigo band fix (11/24): chips keep dark text; empty quadrants hold photo cards */
.band .chip, .band.indigo p.chip, .band.black p.chip { color: var(--forest); }
.ts-pic { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #160a5c; }
.ts-pic img, .ts-pic .ph { width: 100%; height: 100%; object-fit: cover; }
.ts-pic figcaption { position: absolute; left: 14px; bottom: 12px; font: 400 12px/1.3 var(--mono); text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.two-step { align-items: start; }
@media (min-width: 680px) {
  .two-step { grid-template-columns: 1fr 1fr; grid-template-areas: "a pa" "pb b"; gap: 56px 64px; }
  .two-step > div:first-child { grid-area: a; align-self: center; }
  .ts-a { grid-area: pa; }
  .ts-b { grid-area: pb; }
  .two-step .step2 { grid-area: b; margin-top: 0; align-self: center; }
}
@media (max-width: 679px) { .ts-pic { aspect-ratio: 16 / 10; } }

/* 11/24 round: moss band replaces indigo; glossary strip; frosted ghost buttons */
.band.moss { background: #1a2f1c; color: #fff; }
.band.moss p { color: rgba(255,255,255,.88); }
.band.moss p.chip { color: var(--forest); }
.band.moss .ts-pic { background: #13241a; }
.gcards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; }
.gstrip { display: grid; gap: 6px 28px; margin-top: 14px; background: var(--forest); color: #fff; border-radius: var(--r); padding: 24px 26px; text-decoration: none; align-items: center; transition: background .2s; }
.gstrip:hover { background: #17301a; }
.gstrip .gm { font: 400 12px/1 var(--mono); text-transform: uppercase; color: rgba(255,255,255,.65); }
.gstrip b { font: 500 34px/1 var(--sans); letter-spacing: -0.04em; }
.gstrip .gd { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.45; }
.gstrip .more { font: 500 12px/1 var(--mono); text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.gstrip .more svg { width: 12px; height: 12px; }
@media (min-width: 900px) {
  .gstrip { grid-template-columns: auto auto 1fr auto; grid-template-rows: auto; }
  .gstrip .gm { grid-column: 1; } .gstrip b { grid-column: 2; } .gstrip .gd { grid-column: 3; max-width: 36em; } .gstrip .more { grid-column: 4; }
}
.mbtn:not(.lime) { background: rgba(10, 22, 11, .32); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.band.light .mbtn.ghost, .band.paper .mbtn.ghost { background: rgba(255,255,255,.55); }
.band.moss .mbtn.ghost { background: rgba(255,255,255,.06); }
/* plant cards: stronger black gradient under the text (Dennis 11/24) */
.pcard::after { background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 34%, rgba(3,8,4,.55) 52%, rgba(3,8,4,.86) 72%, rgba(3,8,4,.94) 100%); }
.pt span { color: rgba(255,255,255,.9); }

/* moss stage (11/24 v2, after alethia's tech band): one full-bleed atmospheric image, text staggered over it, no photo cards */
.band.stage { padding: 0; min-height: 120vh; display: flex; }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; filter: saturate(.8) contrast(1.05); }
.stage-shade { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 55% at 50% 50%, rgba(26,47,28,0) 0%, rgba(26,47,28,.55) 70%, rgba(26,47,28,.92) 100%),
  linear-gradient(180deg, rgba(26,47,28,.85) 0%, rgba(26,47,28,0) 22%, rgba(26,47,28,0) 78%, rgba(26,47,28,.9) 100%); }
.stage-in { display: grid; grid-template-rows: auto 1fr auto; width: 100%; padding-top: 110px; padding-bottom: 110px; gap: 44vh; }
.st { max-width: 520px; }
.st h2.md, .st p.md { margin: 0 0 24px; color: #fff; }
.st-b { justify-self: end; }
@media (max-width: 679px) { .band.stage { min-height: 0; } .stage-in { gap: 260px; padding-top: 80px; padding-bottom: 80px; } .stage-bg { opacity: .5; } }
/* stage: normal band height (Dennis: too tall) */
.band.stage { min-height: 0; }
.stage-in { gap: 120px; padding-top: 96px; padding-bottom: 96px; grid-template-rows: auto auto; }
.stage-bg { opacity: .42; }
@media (max-width: 679px) { .stage-in { gap: 90px; padding-top: 72px; padding-bottom: 72px; } }
/* blur fix: wrapper only transforms (no opacity / will-change opacity), so .mbtn backdrop-filter sees the hero art */
.hero .wrap, .phero .wrap { will-change: transform; }
.mbtn:not(.lime) { background: rgba(12, 24, 13, .28); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }

/* ---------- spacing pass (11/24): one scale. section 80/88 phone, 112/120 desktop; head->content 24/32; card gap 14 */
:root { --sec-t: 80px; --sec-b: 88px; --head: 24px; }
@media (min-width: 1000px) { :root { --sec-t: 112px; --sec-b: 120px; --head: 32px; } }
.band { padding: var(--sec-t) 0 var(--sec-b); }
.band.black .wrap { padding-top: 0; padding-bottom: 0; }
.band.cta { padding: calc(var(--sec-t) + 16px) 0 calc(var(--sec-b) + 16px); }
.band.stage { padding: 0; }
.stage-in { padding-top: var(--sec-t); padding-bottom: var(--sec-b); }
.article { padding-top: calc(var(--sec-t) * .75); }
.article + .faq { padding-top: 0; }
.article + .faq .wrap { border-top: 1px solid #e6e5e1; padding-top: calc(var(--sec-t) * .75); }
h2, .faq h2 { margin-bottom: var(--head); }
.head-row h2 { margin-bottom: var(--head); }
.see { margin-bottom: var(--head); }
.arrows { margin-bottom: var(--head); }
.pills { margin-top: 0; }
.two-step h2.md, .st h2.md, .st p.md { margin-bottom: var(--head); }
.chip { margin-bottom: 16px; }
.band.cta h2 { margin-bottom: 16px; } .band.cta .lead { margin-bottom: 28px; }
.band.black .lead { margin-bottom: 0; } .band.black .mbtn { margin-top: 28px; }
#library .see { margin: 28px 0 0; }
.gstrip { margin-top: 14px; }
.side { gap: 14px; }
.prose > :last-child { margin-bottom: 0; }
.updated { margin-top: 40px !important; }
.foot { padding: 72px 0 28px; }
.ft-word { margin: 56px 0 24px; }
.phero { padding-bottom: 48px; }
@media (min-width: 1000px) { .phero { padding-bottom: 64px; } }
/* same-colour neighbours: collapse the double gap (Dennis 11/24) */
.band.paper + .band.paper, .band.light + .band.light:not(.faq) { padding-top: calc(var(--sec-t) * .3); }
.band.paper:has(+ .band.paper), .band.light:has(+ .band.light) { padding-bottom: calc(var(--sec-b) * .6); }

/* ---------- 11/24 round: sticky sidebar, article figures, short answer, sources, glossary + about redesign */
.side { align-self: start; }
.prose .quick { background: var(--paper); border-left: 3px solid var(--lime2); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 36px; font-size: 18px; line-height: 1.6; }
.prose .quick b { display: block; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.afig { margin: 40px 0 8px; }
.afig img, .afig .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.afig figcaption { margin-top: 10px; font: 400 12.5px/1.5 var(--mono); text-transform: uppercase; color: var(--mute); letter-spacing: .01em; }
.sources { margin-top: 44px; padding: 20px 22px; border: 1px solid #e6e5e1; border-radius: var(--r); }
.sources ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sources li { font-size: 16px !important; line-height: 1.4 !important; margin: 0 !important; }
.sources a::after { content: " ↗"; color: var(--mute); text-decoration: none; display: inline-block; }
.g-jump { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0; margin-bottom: 18px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #ecebe6; }
.g-jump a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--paper); font: 500 14px/1 var(--mono); text-decoration: none; }
.g-jump a:hover { background: var(--lime); }
.g-letter { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid #ecebe6; scroll-margin-top: 80px; }
.g-letter:first-of-type { border-top: 0; }
.g-big { margin: 0; font: 500 64px/.9 var(--sans); letter-spacing: -0.05em; color: var(--forest); }
.g-cards { margin: 0; display: grid; gap: 12px; }
.g-cards > div { background: var(--paper); border-radius: 14px; padding: 18px 20px; scroll-margin-top: 90px; }
.g-cards dt { font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--forest); margin-bottom: 8px; }
.g-cards dd { margin: 0; font-size: 16.5px; line-height: 1.5; color: #2f3d30; }
.g-cards > div:target { box-shadow: 0 0 0 2px var(--lime2); }
.ab-intro { display: grid; gap: 40px; }
.ab-lead { margin: 0; font: 500 clamp(26px, 3.6vw, 44px)/1.12 var(--sans); letter-spacing: -0.035em; max-width: 22em; }
.ab-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ab-stats > div { border-top: 1px solid var(--forest); padding-top: 14px; }
.ab-stats dt { font: 500 clamp(40px, 6vw, 72px)/1 var(--sans); letter-spacing: -0.05em; }
.ab-stats dd { margin: 6px 0 0; font: 400 12.5px/1.3 var(--mono); text-transform: uppercase; color: var(--mute); }
.ab-std { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ab-std li { background: #fff; border-radius: var(--r); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.ab-std .n { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font: 500 14px/1 var(--mono); margin-bottom: 8px; }
.ab-std b { font: 500 22px/1.15 var(--sans); letter-spacing: -0.025em; }
.ab-std p { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.5; }
.ab-two { display: grid; gap: 14px; }
.ab-card { background: var(--paper); border-radius: var(--r); padding: 30px 28px; }
.ab-card h3 { font: 500 clamp(24px, 2.8vw, 32px)/1.1 var(--sans); letter-spacing: -0.03em; margin: 0 0 12px; }
.ab-card p { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: #2f3d30; }
.ab-card.dark { background: var(--forest); color: #fff; } .ab-card.dark p { color: rgba(255,255,255,.85); }
@media (min-width: 680px) { .g-cards { grid-template-columns: repeat(2, 1fr); } .ab-std { grid-template-columns: repeat(2, 1fr); } .ab-two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .g-letter { grid-template-columns: 120px 1fr; align-items: start; }
  .g-big { position: sticky; top: 90px; }
  .ab-intro { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 64px; }
  .ab-std { grid-template-columns: repeat(4, 1fr); }
}
.hs-see { margin: 28px 0 0 !important; }
.ab-card.dark p.chip, .band .ab-card p.chip { color: var(--forest); }
/* sticky fix: overflow:hidden on .band kills position:sticky inside it */
.band.article, .gloss-band { overflow: visible; }
@media (min-width: 1000px) { .side { position: sticky; top: 28px; align-self: start; } }
/* sidebar: facts scroll away, TOC + buy card stay pinned */
.side-stick { display: grid; gap: 14px; }
@media (min-width: 1000px) {
  .side { position: static; align-self: stretch; align-content: start; }
  .side-stick { position: sticky; top: 28px; }
}
@media (min-width: 1000px) { .hero-img, .hero-vid { top: 9vh; } }

/* ---------- hero art placed by geometry (Dennis 11/24: keep clear of nav and headline at every size) */
.hero-art { position: absolute; z-index: 0; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; transform: scale(1); will-change: transform; }
/* phone/tablet: art sits low and centred, behind nothing important */
.hero-art { left: 50%; translate: -50% 0; bottom: 150px; height: 46vh; aspect-ratio: 1180 / 1440; max-width: 92vw; opacity: .95; }
@media (min-width: 1000px) {
  /* right column: top clears the nav by 4vh, bottom clears the sub line; width capped so the left edge stays right of the headline */
  .hero-art { left: auto; translate: none; right: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut)));
    top: calc(76px + 4vh); bottom: auto; height: min(calc(100svh - 76px - 4vh - 170px), 44vw * 1440 / 1180); width: auto; max-width: 44vw; }
  .hero h1 { font-size: clamp(44px, 5.1vw, 76px); max-width: 9.6em; }
  .hero-sub { max-width: 30em; }
}
@media (min-width: 1000px) and (max-width: 1279px) { .hero-art { max-width: 40vw; height: min(calc(100svh - 76px - 4vh - 190px), 40vw * 1440 / 1180); } }
.hero::after { background: linear-gradient(180deg, rgba(15,31,16,0) 0%, rgba(15,31,16,0) 70%, rgba(15,31,16,.75) 100%); }
.hero-img { display: none; }

/* sticky header: transparent over the hero, frosted forest once you scroll */
.hdr { position: fixed; top: 0; left: 0; right: 0; max-width: none; margin: 0; z-index: 50;
  padding: 16px max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); transition: background .25s, padding .25s, border-color .25s; border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(13, 26, 14, .78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom-color: rgba(255,255,255,.07); padding-top: 10px; padding-bottom: 10px; }
.g-jump { top: 64px; }
.prose h2, .g-letter, .g-cards > div { scroll-margin-top: 90px; }
@media (min-width: 1000px) { .side-stick { top: 88px; } }

/* footer wordmark: sized to the container so it always fits the wrap (Dennis: it overflowed) */
.foot .wrap { container-type: inline-size; }
.ft-word { font-size: 15.6cqi; white-space: nowrap; overflow: visible; margin-left: -0.04em; }

/* film grain on depth images (hero, page heads, stage, dark bands, CTA): subtle, animated */
.hero, .phero, .stage, .band.black, .band.cta { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero > .grain, .phero > .grain, .stage > .grain, .band.black > .grain, .band.cta > .grain { position: absolute; inset: -60px; z-index: 0; pointer-events: none; background-image: var(--grain); background-size: 220px 220px; opacity: .13; mix-blend-mode: overlay; animation: grain .9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 17% { transform: translate(-22px,14px) } 33% { transform: translate(18px,-26px) } 50% { transform: translate(-30px,-8px) } 67% { transform: translate(12px,24px) } 83% { transform: translate(28px,-14px) } 100% { transform: translate(0,0) } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none !important; } }
@media (min-width: 1600px) { .hero-art { max-width: 560px; height: min(calc(100svh - 76px - 4vh - 170px), 560px * 1440 / 1180); } }
.hero h1 { text-wrap: balance; }
.hero-sub { text-wrap: pretty; }
@media (min-width: 1000px) { .hero-sub { max-width: 38em; } }
h1, h2, .pt b, .gcard b, .ab-lead { text-wrap: balance; }
.prose p, .lead, .gd { text-wrap: pretty; }

/* 760-999 (small laptops / tablets landscape): same left text / right art layout as desktop */
@media (min-width: 760px) and (max-width: 999px) {
  .hero h1 { font-size: clamp(40px, 5.6vw, 60px); max-width: 9.2em; }
  .hero-art { left: auto; translate: none; right: var(--gut); bottom: auto; top: calc(76px + 4vh);
    height: min(calc(100svh - 76px - 4vh - 190px), 42vw * 1440 / 1180); width: auto; max-width: 42vw; }
  .hero-sub { max-width: 34em; padding-top: 0; }
  .hero-in { padding-top: 150px; }
}
@media (min-width: 760px) and (max-width: 999px) { .hero-art { max-width: 38vw; height: min(calc(100svh - 76px - 4vh - 190px), 38vw * 1440 / 1180); } }
/* hero video lives in the same placed box as the still; edges melt into the ground */
.hero-art video { width: 100%; height: 100%; object-fit: contain; display: block; will-change: transform;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 62%, transparent 100%); }
