# Verdant Lab Editorial

Calm, scientific wellness aesthetic: deep forest green ink on warm snow-white and foam surfaces, with pill-shaped buttons, generous radii and frosted-glass overlays over lush macro photography. Light-weight geometric sans typography reads editorial and trustworthy, with a lime highlight for offers.

Tags: light, wellness, botanical, editorial, glassmorphism, ecommerce, scientific, rounded
Inspired by: https://seed.com/

## How to use (for coding agents)

Use `tailwind.config.js` (theme.extend) and `tokens.css` from this folder. Build UI with the
token classes below rather than default Tailwind colors. Components in `components/` are
self-contained React + Tailwind files and can be copied in as-is.

## Colors
| Token | Value | Role |
| --- | --- | --- |
| `canvas` | #fcfcf7 | Primary page background (snow white) and inverse text on green |
| `surface` | #f6f7ef | Product cards, benefit tiles, secondary sections |
| `surface-foam` | #eff1e4 | Tertiary sections, whole-body product band, inputs |
| `ink` | #1c3a13 | Primary text, primary buttons, borders (seed green) |
| `forest-soft` | #3d5b34 | Feature product panel background, subtle brand fill |
| `lime-highlight` | #d3fa99 | Discount badges, eyebrow pills, promo accent |
| `lemongrass` | #e9f0ca | Secondary guidance tint, diagram fills |
| `faded-green` | #a4b0a1 | Muted diagram and illustration tones |
| `hairline` | #d2d8d0 | Dividers and neutral outlines |
| `ink-50` | rgba(28,58,19,0.5) | Secondary text, strikethrough prices, dashed rules |
| `frost-glass` | rgba(87,94,85,0.35) | Frosted panels over photography and header |
| `scrim` | rgba(0,0,0,0.4) | Image overlay and popup backdrop |
| `pure-white` | #ffffff | Long-form content sections (approach, labs) and light buttons |
| `error` | #eb5757 | Error state |

## Typography
| Token | Stack | Usage |
| --- | --- | --- |
| `font-sans` | Seed Sans, system-ui, Helvetica Neue, Helvetica, Arial, sans-serif | All headings, body, buttons; light 300–350 weights for display, 500 for labels |
| `font-mono` | Seed Sans Mono, ui-monospace, monospace | Breadcrumb labels, small uppercase captions, vertical location tags |

| Class | Size | Line height | Weight | Tracking |
| --- | --- | --- | --- | --- |
| `text-display` | 64px | 1.05 | 300 | -0.02em |
| `text-h1` | 48px | 1.1 | 350 | -0.015em |
| `text-h2` | 32px | 1.2 | 350 | -0.01em |
| `text-lead` | 24px | 1.6 | 350 | 0 |
| `text-h3` | 20px | 1.3 | 400 | 0 |
| `text-body` | 16px | 1.5 | 400 | 0 |
| `text-label` | 14px | 1.4 | 500 | 0 |
| `text-caption` | 12px | 1.4 | 500 | 0.04em |

## Shape & depth
| Class | Value |
| --- | --- |
| `rounded-pill` | 1000px |
| `rounded-card` | 20px |
| `rounded-tile` | 16px |
| `rounded-panel` | 32px |
| `rounded-input` | 8px |
| `shadow-popup` | 0 24px 64px rgba(0,0,0,0.25) |
| `shadow-capsule-drop` | 6px 10px 18px rgba(0,0,0,0.3) |
| `bg-top-scrim` | linear-gradient(rgba(0,0,0,0.2) 7.6%, rgba(0,0,0,0) 21.5%) |
| `bg-hero-side-scrim` | linear-gradient(114deg, rgba(0,0,0,0.2) 34.3%, rgba(0,0,0,0) 49.1%) |
| `bg-edge-fade-mask` | linear-gradient(to right, #000 18.5%, rgba(0,0,0,0) 49.2%) |

## Motion
| Token | Kind | Duration | Easing | Notes |
| --- | --- | --- | --- | --- |
| `ui-hover` | transition | 250ms | ease | Universal 'all' transition on buttons, links and cards for hover and press states. |
| `nav-glass` | transition | 300ms | ease-in-out | Header backdrop-filter blur(19px) toggles on and off with scroll position along with colour changes. |
| `slide-panel` | transition | 600ms | cubic-bezier(0.75, 0, 0.25, 1) | Width and transform transitions for drawers, carousels and expanding panels. |
| `slide-up` | animation | 250ms | linear | Entrance for cards and popup menu items: rises 20px while fading in. |
| `parallax-callout` | transition | 620ms | ease-out | Capsule annotation labels drift ±20px vertically in opposite directions while scrolling, with small arrows fading out. |
| `carousel-focus` | transition | 300ms | ease-in-out | Video slides scale to 0.95 and shift 40px when inactive, then fade in over about 1.2s on load. |

## Components
- **Center-Focus Video Story Carousel** (`components/video-testimonial-carousel.tsx`, carousel) — Centered headline and subhead above a Swiper carousel of large rounded video cards; the active card is full-scale while neighbours peek in smaller at the edges. A small floating pill control bar below includes a mute button, play + name label and a circular avatar. Fullscreen icon sits in the top right of the card. Props: heading, subheading, and stories (array of {name, caption, image}). Drag/swipe or click a neighbouring card to change the active slide; the pill bar toggles mute and play state.
- **Hairline Plus Accordion** (`components/plus-accordion-list.tsx`, accordion) — 'Our Products' title above stacked rows separated by thin green hairlines; each row is a medium-weight label with a thin plus icon on the right. Below sit circled-arrow shop links in small bold type, beside a soft-shadow capsule image. Props: number, heading, listTitle, items ({title, body}[]) and links ({label, href}[]). Click a row to expand it; the plus turns into a minus and the arrow circles fill on hover.
- **Frosted Glass Photo Hero** (`components/glass-promo-hero.tsx`, hero) — Full-bleed lifestyle photo with a left-hand blurred (37px) frosted edge-fade mask and a top dark scrim. Light display headline sits on the left with a lime pill eyebrow, a subhead and a translucent pill CTA. Transparent header floats on top. Props: eyebrow, headline, subhead, ctaLabel, imageSrc, brand, navItems, signIn. The header gains a 19px backdrop blur after scrolling; the left edge of the photo is frosted via a masked 37px blur layer.
- **Offer Popup Dialog** (`components/newsletter-offer-modal.tsx`, dialog) — Cream rounded (32px) modal split in two: a deep green image tile with huge lime '30% OFF' lettering and a product jar, and a right column with title, subtitle, filled email input, dark pill submit and tiny legal footnotes. Dimmed scrim behind and a close X at top right. Props: title, subtitle, badge (e.g. "25% OFF"), badgeSub, cta, backgroundSrc, legal1, legal2. The X or submitting closes the dialog; all props are optional.
- **Timeline Benefit Tiles** (`components/benefit-timeline-tiles.tsx`, features) — Heading on the left and a row of four soft rounded (20px) light tiles on a foam-coloured band. Each tile has a thin line icon, a small time label (7 Days, 2 Weeks, 4 Weeks, 3 Months) and a medium-weight benefit statement with dagger footnote marks. Pass `heading` and a `tiles` array of {time, text, mark, icon} (icon: gut | clock | leaf | ring). Renders standalone with defaults; tiles stagger in on scroll and lift on hover.
- **Glass Panel Annotated Capsule** (`components/glass-capsule-explainer.tsx`, features) — Huge rounded (32px) frosted green glass panel over a macro bacteria photograph and looping capsule video. Left: dot marker, light headline, white pill CTA and an outlined stat card with a small pill tag and '17x'. Right: uppercase callouts with dashed leader lines pointing to the capsule layers. A circular pause control sits bottom right. Props set headline, CTA, tag, stat and the two callout titles/bodies; imageSrc swaps the backdrop photo. Callouts drift in opposite directions on scroll, and the round button toggles the pause state of the animated capsule.
- **Centered Product Quartet** (`components/product-quartet-row.tsx`, features) — Centered light heading with an underlined 'Shop All' link, then four columns on foam background. Each has a jar render, an outlined mono product-code pill, a light product name, a bold benefit line and a dark pill 'Shop Now' button. Props: heading, subheading, shopAllLabel, shopAllHref, ctaLabel and products (array of {code, name, benefit, href, tone: dark|olive|frost|mist, label}). Renders standalone with defaults; jars are drawn in CSS and scale on hover, buttons invert on hover.
- **Product Listing Card** (`components/product-split-card.tsx`, card) — Soft off-white (20px) card with a jar image on the left and a text column on the right: outlined code pill, name, short description, lime '30% Off' badge, bold price with muted strikethrough original, a dark pill 'Learn More' and an underlined 'Add To Cart' text link. Displayed in a 2-column grid; featured variant uses forest-green fill with light text and a cream button. Pass a `products` array (code, name, description, price, original, image, optional waitlist/featured). Featured uses the green fill with a light button; waitlist swaps the Add To Cart link for a single pill button.
- **Featured Product Banner with Quiz Glass Chip** (`components/feature-product-banner.tsx`, card) — Wide forest-green (#3d5b34) rounded panel with the jar on the left and offer details on the right, alongside a tall photo tile (32px radius) with a frosted glass chip at its bottom asking 'Is DS-01 the right probiotic for you? Take the Quiz'. All text, prices and the photo are props with defaults (tag, title, description, badge, price, oldPrice, imageSrc, chipText, chipLink). Renders standalone; the jar is an inline SVG and the glass chip sits over the photo tile.
- **Bundle Gallery with Eyebrow** (`components/routine-bundle-showcase.tsx`, features) — Left: a large product render on a foam rounded card with dotted callout labels, plus three equal square lifestyle thumbnails below. Right: a lime pill eyebrow, light 40px headline, body copy and a dark pill CTA. Props: eyebrow, heading, body, ctaLabel, ctaHref, thumbs (array of {src, alt}), and optional mainImage (if omitted, a coded jar illustration with callouts is shown). Renders standalone with no props.
- **Mosaic Story and Press Wall** (`components/press-quote-mosaic.tsx`, testimonial) — Horizontal mosaic of mixed tiles: portrait video cards, a blob/arch-masked photo, off-white quote tiles with serif press-publication wordmarks, and a dark green quote tile. Tiles have 16–20px radii with semi-transparent play and external-link chips. Pass image URLs (portraitA/B/C, shelfPhoto, microPhoto) and quote/source text as props; all have defaults. The row auto-scrolls as a marquee and pauses on hover; quote tiles are links and play chips are buttons you can wire to video.
- **Dual Overlay Photo CTA Cards** (`components/split-cta-photo-cards.tsx`, cta) — Two square rounded (16px) photo cards side by side. Left is a documentary image with a vertical mono location tag and a 'Labs' bracket logotype; right is a blurred green macro with floating capsules. Each carries centered light text and a white pill button. Pass leftImage/rightImage, titles, texts, CTA labels and hrefs as props; all have defaults. Buttons invert to green on hover and photos slowly zoom.
- **Transparent Blur Header** (`components/lifted-nav-bar.tsx`, header) — Slim header with a wordmark-and-dot logo on the left, light text links (Shop, Science, Learn) and right-aligned Sign in plus a snow-white pill Cart button. Sits transparent over photography and becomes frosted with 19px backdrop blur. Props: brand, links, imageSrc, headline, cartLabel. The header becomes frosted with a 19px backdrop blur over 300ms once the page scrolls; it renders standalone with defaults.
- **Numbered Rule Section Header** (`components/numbered-section-header.tsx`, other) — Editorial section opener used on approach and labs pages: a thin 1px forest-green rule across the top, a light large numeral (01–05) at the left and a centered 48px section title on white. All text is exposed as props (numeral, title, caption, leftHeading, leftBody, rightHeading, rightBody, linkLabel) with defaults, so it renders with no props. The heat-map figure is drawn in inline SVG; replace it with your own chart or image if needed.
- **Editorial Two-Column Copy Block** (`components/science-two-column-copy.tsx`, features) — Content block with an indented grid: a 24px light lead paragraph at the top, then a bold lead-in and 16px body copy columns with 'Probiotic Strain Validation'-style subheads. Ends with a circled plus 'View Taxonomy' outline link. Props: index, heading, caption, and columns (array of {title, body, cta?, href?}); a column with cta shows the circled-plus outline link that fills on hover. The density figure is drawn in inline SVG, so it renders with no props.
- **Circular Diagram Method Rows** (`components/circle-masked-method-rows.tsx`, list) — Alternating rows with a circular-masked scientific graphic (contour plot, genome ring, face collage) on the left and subhead plus paragraph on the right, divided by dotted hairlines. Pass `number`, `heading` and a `rows` array of {title, body, kind} where kind is "contour", "ring" or "photos". Each circular graphic is drawn in code and fades up on scroll.
- **Line-Art Process Diagram** (`components/line-diagram-process.tsx`, animated-graphic) — Monochrome green line illustration of a digestion simulator: a capsule followed by six glass beakers in progressively darker green fill, joined by dotted arrow paths with 'Acid' and 'Pancreatic Juice' labels, and an italic figure caption. Props: caption, capsuleLabel, stages (x, fill, label lines), outputLabel, topLabelA, topLabelB. The dotted connectors and vessels draw in on scroll via DrawSvg; renders standalone with defaults.
- **Full-Bleed Video Statement Hero** (`components/full-bleed-statement-hero.tsx`, hero) — Full-viewport nature video/photo (bees in a green meadow) with a light 48px headline and small body copy anchored left, a light 5px frosted blur layer and a darkened scrim for legibility. Props: headline (array of lines), body, imageSrc (defaults to a stock leaf photo), filters (sub-nav labels). Renders standalone with no props; the photo slowly zooms behind a 5px frosted layer and side scrim.
- **Circular Topic Thumbnail Strip** (`components/topic-circle-strip.tsx`, list) — Row of seven touching 175px circular photos (community science, CO2, methane, coral, soil, honey bees, plastics) each with an underlined 14px label beneath, below a large lead paragraph. Props: title, lead (paragraph text), and topics (array of {label, href, src, alt}). Each circle links to its href anchor and zooms slightly on hover; renders standalone with defaults.
- **Photo Banner with Collaborator Sidebar** (`components/research-feature-panel.tsx`, blog) — Article layout: a wide 1340×738 photo banner with a light 32px overlay statement in the right half, then a two-column body with a left 'Research Collaborators' rail of circular avatars/logos and names, and a narrow right column of bold question lead-ins, body paragraphs, and sub/superscript footnotes. Props: index, title, imageSrc, statement, railLabel, collaborators (name + mark shape), lead and paragraphs. Renders standalone with defaults; footnote numbers link to #ref-N anchors.
