/* global React */ /* ========================================================= BSpoke — Shared page-shell pieces. On the single-page layout, each major section uses as its opening header. The
it renders carries the anchor id and a `.sp-section` class so sticky-nav offsets behave correctly. stays for sub-section dividers inside a single page section. ========================================================= */ function SinglePageIntro({ id, eyebrow, title, deck, bg = "paper", align = "left" }) { const isCream = bg === "cream"; const isNavy = bg === "navy"; const titleColor = isNavy ? "var(--inverse)" : "var(--navy)"; const deckColor = isNavy ? "rgba(245,240,235,0.78)" : "var(--ink-2)"; const eyebrowColor = isNavy ? "var(--gold-light)" : "var(--ink-2)"; const ruleBg = isNavy ? "var(--gold-light)" : "var(--gold)"; return (
{eyebrow}

{title}

{deck && (

{deck}

)}
); } function SectionHead({ eyebrow, title, deck, align = "left" }) { return (
{eyebrow && (
{eyebrow}
)}

{title}

{deck &&

{deck}

}
); } window.SinglePageIntro = SinglePageIntro; window.SectionHead = SectionHead;