/* ------------------------------------------------------------------
   Little Healthy Plates — pages
------------------------------------------------------------------ */

/* ============ HOME ============ */
function HomePage({ navigate, addToCart }) {
  const featured = EBOOKS.slice(0, 2);

  return (
    <div className="page-enter" data-screen-label="01 Home">
      {/* HERO */}
      <section style={{ padding: "60px 0 40px" }}>
        <div className="container layout-hero">
          <div>
            <div style={{ display: "flex", alignItems: "center", gap: 12, marginBottom: 20 }}>
              <div className="wavy" style={{ width: 40 }} />
              <span style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.18em", textTransform: "uppercase", color: "var(--ink-mute)" }}>
                est. in a small kitchen
              </span>
            </div>

            <h1 style={{ fontSize: "clamp(54px, 7vw, 96px)", lineHeight: 0.95 }}>
              <span style={{ fontStyle: "italic" }}>real food</span>,
              <br />
              for the way<br />
              <span style={{ position: "relative", display: "inline-block" }}>
                families
                <svg style={{ position: "absolute", left: 0, right: 0, bottom: -8, width: "100%" }} height="14" viewBox="0 0 200 14" preserveAspectRatio="none">
                  <path d="M2 8 Q 50 2 100 8 T 198 8" stroke="var(--terracotta)" strokeWidth="2.5" fill="none" strokeLinecap="round" />
                </svg>
              </span>{" "}
              actually eat.
            </h1>

            <p style={{ marginTop: 28, fontSize: 19, color: "var(--ink-soft)", maxWidth: 480, lineHeight: 1.55 }}>
              Welcome! I'm a mom of three who's passionate about cooking from scratch
              with real, whole ingredients. Here you'll find delicious recipes and
              science-backed guidance to help your family — especially picky eaters —
              eat healthier and feel better.
            </p>

            <div style={{ marginTop: 36, display: "flex", gap: 14, alignItems: "center", flexWrap: "wrap" }}>
              <button className="btn terracotta" onClick={() => navigate("shop")}>
                Shop the ebooks →
              </button>
              <button className="btn ghost" onClick={() => navigate("about")}>
                Meet the kitchen
              </button>
            </div>

            <div className="stats-row" style={{ marginTop: 50 }}>
              <Stat number="2" label="ebooks" />
              <div style={{ width: 1, alignSelf: "stretch", background: "rgba(42,29,18,0.15)" }} />
              <Stat number="59" label="recipes" />
              <div style={{ width: 1, alignSelf: "stretch", background: "rgba(42,29,18,0.15)" }} />
              <Stat number="3" label="little ones" />
            </div>
          </div>

          {/* hero collage */}
          <div className="hero-collage">
            <div className="hero-collage-desktop" aria-hidden="true">
              <div style={{ position: "absolute", top: 20, left: 30, transform: "rotate(-4deg)" }}>
                <PolaroidPlaceholder w={250} h={310} img="assets/cookies.jpg" caption="fresh from the oven" />
              </div>
              <div style={{ position: "absolute", top: 140, right: 0, transform: "rotate(3deg)", zIndex: 2 }}>
                <EbookCover ebook={EBOOKS[0]} size="md" />
              </div>
              <div style={{ position: "absolute", bottom: 30, left: 80, transform: "rotate(-2deg)" }}>
                <PolaroidPlaceholder w={210} h={240} img="assets/orzo.jpg" caption="tuesday's orzo" />
              </div>
              <div style={{ position: "absolute", bottom: 80, right: 40, transform: "rotate(6deg)", zIndex: 1 }}>
                <EbookCover ebook={EBOOKS[1]} size="sm" />
              </div>
            </div>
            <div className="hero-collage-mobile">
              <EbookCover ebook={EBOOKS[0]} size="md" />
              <EbookCover ebook={EBOOKS[1]} size="sm" />
            </div>
          </div>
        </div>
      </section>

      {/* FEATURED */}
      <section style={{ padding: "80px 0" }}>
        <div className="container">
          <SectionHeader kicker="the ebooks" title="Two little books" subtitle="made for busy parents" />

          <div className="layout-2-equal" style={{ marginTop: 50 }}>
            {featured.map((eb, i) => (
              <FeaturedEbookCard key={eb.id} ebook={eb} rotate={i === 0 ? -1 : 1.2} onView={() => navigate("ebook", eb.id)} onAdd={() => addToCart(eb)} />
            ))}
          </div>

          <div style={{ textAlign: "center", marginTop: 50 }}>
            <button className="btn ghost" onClick={() => navigate("shop")}>See all ebooks →</button>
          </div>
        </div>
      </section>

      {/* PULL QUOTE */}
      <section style={{ padding: "80px 0", background: "var(--paper-2)", borderTop: "1px solid rgba(42,29,18,0.08)", borderBottom: "1px solid rgba(42,29,18,0.08)" }}>
        <div className="container-narrow" style={{ textAlign: "center" }}>
          <div style={{ fontSize: 60, lineHeight: 0, color: "var(--terracotta)", fontFamily: "var(--f-display)" }}>“</div>
          <blockquote style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: "clamp(28px, 3.5vw, 42px)", lineHeight: 1.2, margin: "20px 0", textWrap: "balance" }}>
            My six-year-old asked for the broccoli pasta a second night
            in a row. I almost cried. Buy this book.
          </blockquote>
          <div className="hand" style={{ fontSize: 28, color: "var(--terracotta-deep)" }}>— a reader (example)</div>
        </div>
      </section>

      {/* HOW IT WORKS */}
      <section style={{ padding: "100px 0" }}>
        <div className="container">
          <SectionHeader kicker="how it works" title="Pick a book, get cooking" />
          <div className="layout-3" style={{ marginTop: 60 }}>
            <Step n="01" title="Pick your ebook" body="Browse the shop and peek at what's inside each book." />
            <Step n="02" title="Leave your interest" body="Checkout isn't live yet — tell Nozima you're interested and she'll follow up." />
            <Step n="03" title="Get the PDF later" body="When payments are set up, books will arrive as PDFs. Until then, hang out on Instagram." />
          </div>
        </div>
      </section>

      {/* NEWSLETTER STRIP */}
      <NewsletterStrip />
    </div>
  );
}

function Stat({ number, label }) {
  return (
    <div>
      <div style={{ fontFamily: "var(--f-display)", fontSize: 42, lineHeight: 1, fontStyle: "italic" }}>{number}</div>
      <div style={{ fontFamily: "var(--f-mono)", fontSize: 11, letterSpacing: "0.16em", textTransform: "uppercase", color: "var(--ink-mute)", marginTop: 6 }}>{label}</div>
    </div>
  );
}

function SectionHeader({ kicker, title, subtitle }) {
  return (
    <div style={{ textAlign: "center" }}>
      <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 14 }}>
        — {kicker} —
      </div>
      <h2 style={{ fontSize: "clamp(38px, 5vw, 60px)", fontStyle: "italic" }}>{title}</h2>
      {subtitle && <p className="hand" style={{ fontSize: 30, color: "var(--terracotta-deep)", marginTop: 8 }}>{subtitle}</p>}
    </div>
  );
}

function PolaroidPlaceholder({ w, h, label, caption, motif, img }) {
  return (
    <div className="polaroid" style={{ background: "var(--paper)", padding: 14, paddingBottom: 50, boxShadow: "0 18px 40px -18px rgba(42,29,18,0.4), 0 2px 0 rgba(42,29,18,0.04)", position: "relative", maxWidth: "100%" }}>
      <div className="tape" style={{ top: -10, left: "50%", transform: "translateX(-50%) rotate(-3deg)" }} />
      {img ? (
        <img src={img} alt={caption || ""} style={{ width: w, maxWidth: "100%", height: "auto", aspectRatio: `${w} / ${h}`, objectFit: "cover", display: "block" }} />
      ) : motif ? (
        <SceneArt motif={motif} style={{ width: w, maxWidth: "100%", height: "auto", aspectRatio: `${w} / ${h}` }} />
      ) : (
        <div className="placeholder" style={{ width: w, maxWidth: "100%", aspectRatio: `${w} / ${h}` }}>
          <span className="label">{label}</span>
        </div>
      )}
      <div className="hand" style={{ position: "absolute", bottom: 14, left: 0, right: 0, textAlign: "center", fontSize: 22, color: "var(--ink-soft)" }}>{caption}</div>
    </div>
  );
}

function FeaturedEbookCard({ ebook, rotate = 0, onView, onAdd }) {
  return (
    <article
      onClick={onView}
      className="card-paper"
      style={{ padding: 30, position: "relative", cursor: "pointer", transition: "transform 0.2s ease", transform: `rotate(${rotate}deg)` }}
      onMouseEnter={e => e.currentTarget.style.transform = "rotate(0deg) translateY(-3px)"}
      onMouseLeave={e => e.currentTarget.style.transform = `rotate(${rotate}deg)`}
    >
      <div className="tape" style={{ top: -10, left: 30, transform: "rotate(-4deg)" }} />

      <div className="featured-ebook-inner">
        <EbookCover ebook={ebook} size="md" />
        <div>
          <div style={{ display: "flex", gap: 8, marginBottom: 16 }}>
            <span className="tag" style={{ color: ebook.accent === "sage" ? "var(--sage-deep)" : "var(--terracotta-deep)" }}>{ebook.badge}</span>
            <span className="tag" style={{ color: "var(--ink-mute)" }}>{ebook.pages}p</span>
          </div>
          <h3 style={{ fontStyle: "italic", fontSize: 34, lineHeight: 1, marginBottom: 8 }}>{ebook.title}</h3>
          <p className="hand" style={{ fontSize: 22, color: "var(--ink-soft)", marginBottom: 16 }}>{ebook.subtitle}</p>
          <p style={{ fontSize: 14, color: "var(--ink-soft)", marginBottom: 24, lineHeight: 1.55 }}>{ebook.blurb}</p>

          <div className="price-row" style={{ display: "flex", justifyContent: "space-between", alignItems: "center", flexWrap: "wrap", gap: 12 }}>
            <span style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 42 }}>${ebook.price}</span>
            <button className="btn small terracotta" onClick={(e) => { e.stopPropagation(); onAdd(); }}>Add to basket</button>
          </div>
        </div>
      </div>
    </article>
  );
}

function Step({ n, title, body }) {
  return (
    <div style={{ position: "relative", padding: 28, background: "var(--paper)", border: "1px solid rgba(42,29,18,0.1)" }}>
      <div className="hand" style={{ fontSize: 60, color: "var(--terracotta)", lineHeight: 0.8, marginBottom: 8 }}>{n}</div>
      <h3 style={{ fontStyle: "italic", fontSize: 28, marginBottom: 10 }}>{title}</h3>
      <p style={{ color: "var(--ink-soft)", fontSize: 15 }}>{body}</p>
    </div>
  );
}

function NewsletterStrip() {
  return (
    <section style={{ padding: "80px 0", background: "var(--sage)", color: "var(--paper)" }}>
      <div className="container-narrow" style={{ textAlign: "center" }}>
        <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", opacity: 0.7, marginBottom: 14 }}>— the kitchen letter —</div>
        <h2 style={{ fontStyle: "italic", fontSize: "clamp(36px, 5vw, 54px)", color: "var(--paper)" }}>
          One recipe in your inbox.<br />Every Sunday. That's it.
        </h2>
        <p style={{ marginTop: 16, opacity: 0.85, maxWidth: 480, margin: "16px auto 0" }}>
          Email signup isn't live on this site yet. For now, follow along on Instagram —
          that's where new recipes show up first.
        </p>
        <div style={{ marginTop: 28 }}>
          <a className="btn terracotta" href="https://www.instagram.com/littlehealthyplates/" target="_blank" rel="noopener noreferrer">Follow @littlehealthyplates →</a>
        </div>
      </div>
    </section>
  );
}

/* ============ SHOP ============ */
function ShopPage({ navigate, addToCart }) {
  return (
    <div className="page-enter" data-screen-label="02 Shop">
      <section style={{ padding: "60px 0 30px" }}>
        <div className="container-narrow" style={{ textAlign: "center" }}>
          <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 14 }}>— the shop —</div>
          <h1 style={{ fontSize: "clamp(56px, 7vw, 90px)" }}>
            <span style={{ fontStyle: "italic" }}>little</span> books, <br />big helpers
          </h1>
          <p className="hand" style={{ fontSize: 28, color: "var(--terracotta-deep)", marginTop: 12 }}>
            buy once, read forever — payments coming soon.
          </p>
        </div>
      </section>

      <section style={{ padding: "30px 0 60px" }}>
        <div className="container">
          <div className="layout-cards">
            {EBOOKS.map((eb, i) => (
              <ShopCard key={eb.id} ebook={eb} rotate={[-1, 1, -0.5][i] || 0} onView={() => navigate("ebook", eb.id)} onAdd={() => addToCart(eb)} />
            ))}
          </div>
        </div>
      </section>

      <section style={{ padding: "60px 0 80px", background: "var(--paper-2)", borderTop: "1px solid rgba(42,29,18,0.08)" }}>
        <div className="container">
          <SectionHeader kicker="every ebook includes" title="What you get" />
          <div className="layout-4" style={{ marginTop: 50 }}>
            <Feature icon="①" title="PDF" body="Read on any device. Print the pages you want." />
            <Feature icon="②" title="Lifetime access" body="Updates to the book are free, forever — once checkout is live." />
            <Feature icon="③" title="Practical tools" body="Mindset shifts, meal ideas, and clear next steps." />
            <Feature icon="④" title="For real families" body="Written from a kitchen with three kids — not a studio set." />
          </div>
        </div>
      </section>
    </div>
  );
}

function ShopCard({ ebook, rotate, onView, onAdd }) {
  return (
    <article
      className="card-paper"
      style={{ padding: 26, position: "relative", transform: `rotate(${rotate}deg)`, transition: "transform 0.2s ease", cursor: "pointer", display: "flex", flexDirection: "column" }}
      onMouseEnter={e => e.currentTarget.style.transform = "rotate(0deg) translateY(-4px)"}
      onMouseLeave={e => e.currentTarget.style.transform = `rotate(${rotate}deg)`}
      onClick={onView}
    >
      <div className="tape" style={{ top: -10, left: "50%", transform: "translateX(-50%) rotate(-3deg)", width: 70 }} />

      <div style={{ display: "flex", justifyContent: "center", padding: "20px 0 26px" }}>
        <EbookCover ebook={ebook} size="md" />
      </div>

      <div style={{ display: "flex", gap: 8, marginBottom: 10, justifyContent: "center" }}>
        <span className="tag" style={{ color: ebook.accent === "sage" ? "var(--sage-deep)" : "var(--terracotta-deep)" }}>{ebook.badge}</span>
      </div>
      <h3 style={{ fontStyle: "italic", fontSize: 28, lineHeight: 1.1, marginBottom: 6, textAlign: "center" }}>{ebook.title}</h3>
      <p className="hand" style={{ fontSize: 20, color: "var(--ink-soft)", marginBottom: 18, textAlign: "center" }}>{ebook.subtitle}</p>

      <div className="dotted" style={{ margin: "0 0 18px" }} />

      <div style={{ display: "flex", justifyContent: "space-between", alignItems: "center", marginTop: "auto" }}>
        <div>
          {ebook.originalPrice && <span style={{ textDecoration: "line-through", color: "var(--ink-mute)", marginRight: 8, fontSize: 18 }}>${ebook.originalPrice}</span>}
          <span style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 36 }}>${ebook.price}</span>
        </div>
        <button className="btn small terracotta shop-add" onClick={(e) => { e.stopPropagation(); onAdd(); }}>Add to basket</button>
      </div>
    </article>
  );
}

function Feature({ icon, title, body }) {
  return (
    <div>
      <div className="hand" style={{ fontSize: 36, color: "var(--terracotta)", marginBottom: 8 }}>{icon}</div>
      <h4 style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 22, marginBottom: 6 }}>{title}</h4>
      <p style={{ color: "var(--ink-soft)", fontSize: 14 }}>{body}</p>
    </div>
  );
}

/* ============ EBOOK DETAIL ============ */
function EbookPage({ ebookId, navigate, addToCart }) {
  const ebook = EBOOKS.find(e => e.id === ebookId) || EBOOKS[0];

  return (
    <div className="page-enter" data-screen-label={`03 Ebook — ${ebook.title}`}>
      <section style={{ padding: "40px 0 30px" }}>
        <div className="container">
          <button onClick={() => navigate("shop")} style={{ background: "none", border: "none", color: "var(--ink-mute)", cursor: "pointer", fontSize: 13, letterSpacing: "0.08em", textTransform: "uppercase", fontFamily: "inherit" }}>
            ← back to shop
          </button>
        </div>
      </section>

      <section style={{ padding: "20px 0 80px" }}>
        <div className="container layout-ebook">
          {/* Left — cover */}
          <div className="sticky-aside">
            <div style={{ display: "flex", justifyContent: "center", transform: "rotate(-2deg)" }}>
              <div style={{ position: "relative" }}>
                <div className="tape" style={{ top: -10, left: "50%", transform: "translateX(-50%) rotate(2deg)" }} />
                <EbookCover ebook={ebook} size="xl" />
              </div>
            </div>
            <div style={{ marginTop: 30, display: "flex", justifyContent: "center", gap: 14, flexWrap: "wrap" }}>
              <span className="tag" style={{ color: "var(--ink-mute)" }}>{ebook.pages} pages</span>
              <span className="tag" style={{ color: "var(--ink-mute)" }}>{ebook.format}</span>
              <span className="tag" style={{ color: "var(--terracotta-deep)" }}>{ebook.badge}</span>
            </div>
          </div>

          {/* Right — content */}
          <div>
            <div className="hand" style={{ fontSize: 28, color: "var(--terracotta-deep)" }}>{ebook.subtitle}</div>
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(48px, 6vw, 76px)", lineHeight: 1, marginTop: 6 }}>{ebook.title}</h1>
            {ebook.author && (
              <div style={{ marginTop: 14, fontFamily: "var(--f-mono)", fontSize: 13, letterSpacing: "0.14em", textTransform: "uppercase", color: "var(--ink-mute)" }}>
                by {ebook.author}{ebook.ages ? <span> · {ebook.ages}</span> : null}
              </div>
            )}

            <div className="price-row" style={{ marginTop: 28, display: "flex", alignItems: "center", gap: 20, flexWrap: "wrap" }}>
              <span style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 58 }}>${ebook.price}</span>
              {ebook.originalPrice && <span style={{ textDecoration: "line-through", color: "var(--ink-mute)", fontSize: 22 }}>${ebook.originalPrice}</span>}
              <span className="hand" style={{ fontSize: 22, color: "var(--sage-deep)" }}>instant download</span>
            </div>

            <p style={{ marginTop: 28, fontSize: 18, color: "var(--ink-soft)", lineHeight: 1.6 }}>
              {ebook.blurb}
            </p>

            <div style={{ marginTop: 32, display: "flex", gap: 14, flexWrap: "wrap" }}>
              <button className="btn terracotta" onClick={() => addToCart(ebook)}>Add to basket — ${ebook.price}</button>
              <button type="button" className="btn ghost" onClick={() => document.getElementById("ebook-chapters")?.scrollIntoView({ behavior: "smooth" })}>See chapters →</button>
            </div>

            {ebook.inside.length > 0 && (
              <div style={{ marginTop: 50 }}>
                <h3 style={{ fontStyle: "italic", fontSize: 32, marginBottom: 18 }}>What's inside</h3>
                <ul style={{ listStyle: "none", padding: 0, margin: 0, display: "flex", flexDirection: "column", gap: 12 }}>
                  {ebook.inside.map((item, i) => (
                    <li key={i} style={{ display: "flex", alignItems: "flex-start", gap: 14 }}>
                      <span className="hand" style={{ fontSize: 26, color: "var(--terracotta)", lineHeight: 1, marginTop: 2 }}>✓</span>
                      <span style={{ fontSize: 16, color: "var(--ink-soft)", lineHeight: 1.45 }}>{item}</span>
                    </li>
                  ))}
                </ul>
              </div>
            )}

            {ebook.chapters.length > 0 && (
              <div id="ebook-chapters" style={{ marginTop: 50 }}>
                <h3 style={{ fontStyle: "italic", fontSize: 32, marginBottom: 18 }}>Table of contents</h3>
                <div style={{ background: "var(--paper)", border: "1px solid rgba(42,29,18,0.1)", padding: "8px 0" }}>
                  {ebook.chapters.map((ch, i) => (
                    <div key={i} style={{ display: "flex", alignItems: "baseline", gap: 16, padding: "14px 22px", borderBottom: i < ebook.chapters.length - 1 ? "1px dashed rgba(42,29,18,0.12)" : "none" }}>
                      <span className="hand" style={{ fontSize: 24, color: "var(--terracotta)", minWidth: 28 }}>{String(i + 1).padStart(2, "0")}</span>
                      <span style={{ fontFamily: "var(--f-display)", fontSize: 22, fontStyle: "italic" }}>{ch}</span>
                    </div>
                  ))}
                </div>
              </div>
            )}

            <div className="wavy" style={{ margin: "60px 0 30px" }} />

            <div style={{ background: "var(--paper-2)", padding: 28, position: "relative" }}>
              <div className="hand" style={{ fontSize: 34, color: "var(--terracotta-deep)", marginBottom: 8 }}>a note from me —</div>
              <p style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 22, lineHeight: 1.45, color: "var(--ink-soft)" }}>
                I wrote this the way I'd write to a friend: short chapters, honest
                advice, no judgement. If something doesn't work for your family,
                email me — I read every one.
              </p>
            </div>
          </div>
        </div>
      </section>

      {/* CROSS-SELL */}
      <section style={{ padding: "60px 0", background: "var(--paper-2)", borderTop: "1px solid rgba(42,29,18,0.08)" }}>
        <div className="container">
          <SectionHeader kicker="you might also like" title="More from the kitchen" />
          <div className="layout-cards-sm" style={{ marginTop: 40 }}>
            {EBOOKS.filter(e => e.id !== ebook.id).map((eb, i) => (
              <ShopCard key={eb.id} ebook={eb} rotate={i === 0 ? -1 : 1} onView={() => navigate("ebook", eb.id)} onAdd={() => addToCart(eb)} />
            ))}
          </div>
        </div>
      </section>
    </div>
  );
}

/* ============ CHECKOUT ============ */
function CheckoutPage({ navigate, cart, clearCart }) {
  const subtotal = cart.reduce((s, i) => s + i.price * i.qty, 0);
  const mailBody = encodeURIComponent(
    `Hi Nozima,\n\nI'm interested in buying:\n` +
    cart.map(i => `- ${i.title} ($${i.price})`).join("\n") +
    `\n\nTotal interest: $${subtotal}\n\nThanks!`
  );
  const mailto = `mailto:kudrow.nozima@gmail.com?subject=${encodeURIComponent("Ebook interest — Little Healthy Plates")}&body=${mailBody}`;

  if (cart.length === 0) {
    return (
      <div className="page-enter" data-screen-label="04 Checkout — Empty">
        <section style={{ padding: "120px 0", textAlign: "center" }}>
          <div className="container-narrow">
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(36px, 10vw, 60px)" }}>Your basket is empty</h1>
            <p className="hand" style={{ fontSize: 28, color: "var(--ink-mute)", marginTop: 10 }}>let's fix that</p>
            <button className="btn terracotta" style={{ marginTop: 30 }} onClick={() => navigate("shop")}>Browse ebooks →</button>
          </div>
        </section>
      </div>
    );
  }

  return (
    <div className="page-enter" data-screen-label="04 Checkout">
      <section style={{ padding: "50px 0 80px" }}>
        <div className="container layout-checkout">
          <div>
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 10 }}>checkout</div>
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(36px, 10vw, 56px)", lineHeight: 1 }}>Almost there.</h1>
            <p className="hand" style={{ fontSize: 26, color: "var(--terracotta-deep)", marginTop: 8 }}>payments aren't live yet.</p>
            <p style={{ marginTop: 24, fontSize: 17, color: "var(--ink-soft)", lineHeight: 1.6, maxWidth: 480 }}>
              Card checkout and automatic PDF delivery aren't set up on this site yet.
              Leave your interest by email, or message Nozima on Instagram — she'll follow up when buying is ready.
              Nothing will be charged from this page.
            </p>
            <div style={{ marginTop: 28, display: "flex", flexWrap: "wrap", gap: 12 }}>
              <a className="btn terracotta" href={mailto}>Email my interest →</a>
              <a className="btn ghost" href="https://www.instagram.com/littlehealthyplates/" target="_blank" rel="noopener noreferrer">Instagram</a>
              <button type="button" className="btn ghost" onClick={() => navigate("shop")}>Back to shop</button>
            </div>
          </div>
          <aside>
            <div className="card-paper sticky-aside" style={{ padding: 28 }}>
              <h3 style={{ fontStyle: "italic", fontSize: 28, marginBottom: 6 }}>Your basket</h3>
              <div className="wavy" style={{ margin: "10px 0 20px" }} />
              <div style={{ display: "flex", flexDirection: "column", gap: 16, marginBottom: 20 }}>
                {cart.map(item => (
                  <div key={item.id} style={{ display: "flex", gap: 14, alignItems: "flex-start" }}>
                    <EbookCover ebook={item} size="sm" />
                    <div style={{ flex: 1 }}>
                      <div style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 20, lineHeight: 1.1 }}>{item.title}</div>
                      <div style={{ fontSize: 12, color: "var(--ink-mute)", marginTop: 4 }}>{item.format}</div>
                      <div style={{ marginTop: 6, fontFamily: "var(--f-hand)", fontSize: 22, color: "var(--terracotta-deep)" }}>${item.price}</div>
                    </div>
                  </div>
                ))}
              </div>
              <div className="dotted" />
              <div style={{ display: "flex", justifyContent: "space-between", marginTop: 18, paddingTop: 18, borderTop: "1px solid rgba(42,29,18,0.1)" }}>
                <span style={{ fontFamily: "var(--f-display)", fontSize: 24 }}>Total</span>
                <span style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 40 }}>${subtotal}</span>
              </div>
              <p style={{ marginTop: 14, fontSize: 12, color: "var(--ink-mute)" }}>Interest only — not a charge.</p>
            </div>
          </aside>
        </div>
      </section>
    </div>
  );
}

/* ============ ABOUT ============ */
function AboutPage({ navigate }) {
  return (
    <div className="page-enter" data-screen-label="05 About">
      <section style={{ padding: "60px 0" }}>
        <div className="container layout-about">
          <div className="sticky-aside about-photo">
            <div style={{ transform: "rotate(-3deg)" }}>
              <PolaroidPlaceholder w={380} h={460} img="assets/family.jpg" caption="Kudrows" />
            </div>
          </div>

          <div>
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 14 }}>
              — about —
            </div>
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(60px, 7vw, 92px)", lineHeight: 0.95 }}>
              Hi, I'm <span style={{ color: "var(--terracotta-deep)" }}>Nozima.</span>
              <br />Welcome to my kitchen.
            </h1>

            <div style={{ marginTop: 36, fontSize: 18, color: "var(--ink-soft)", lineHeight: 1.7, display: "flex", flexDirection: "column", gap: 18 }}>
              <p>
                I'm Nozima Kudrow — a mom of three energetic girls and a passionate
                advocate for real, nourishing food in our homes.
              </p>
              <p>
                After years of cooking every meal from scratch using only whole foods
                and simple, real ingredients, I've learned that healthy eating doesn't
                have to be complicated or expensive. We rarely eat out, and I've made
                it my mission to help other busy families do the same.
              </p>
              <p>
                I create simple, kid-approved recipes that even picky eaters will love,
                and I write practical ebooks filled with realistic strategies for
                families who want to shift toward better eating habits. Along the way,
                I dig into the science showing why children's health has been declining —
                and why the food choices we make today matter more than ever.
              </p>
              <p>
                My goal is simple: to make wholesome, from-scratch cooking approachable,
                delicious, and sustainable for real families like yours. Whether you're
                just starting out or looking for new ideas to win over picky little ones,
                I'm here to support you with recipes, research, and encouragement every
                step of the way.
              </p>
              <p className="hand" style={{ fontSize: 26, color: "var(--terracotta-deep)", lineHeight: 1.3 }}>
                Welcome to my kitchen — I'm so glad you're here.
              </p>
            </div>

            <div className="hand" style={{ marginTop: 30, fontSize: 36, color: "var(--terracotta-deep)" }}>
              — xo, Nozima
            </div>

            <div className="wavy" style={{ margin: "50px 0" }} />

            <h2 style={{ fontStyle: "italic", fontSize: 42, marginBottom: 24 }}>A few things I believe</h2>
            <ul style={{ listStyle: "none", padding: 0, margin: 0, display: "flex", flexDirection: "column", gap: 20 }}>
              {[
                ["Real food beats perfect food.", "A pot of bean soup on Tuesday matters more than a magazine spread."],
                ["Kids learn to eat by eating.", "Patience is the secret ingredient. So is patience. (And patience.)"],
                ["Less judgement, more dinner.", "Every family is different. The book gives you a starting point, not rules."],
              ].map(([h, b], i) => (
                <li key={i} style={{ display: "flex", gap: 20, alignItems: "flex-start" }}>
                  <div className="hand belief-num" style={{ fontSize: 44, color: "var(--terracotta)", lineHeight: 0.8, minWidth: 48 }}>{String(i + 1).padStart(2, "0")}</div>
                  <div>
                    <div style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 26, marginBottom: 4 }}>{h}</div>
                    <div style={{ color: "var(--ink-soft)" }}>{b}</div>
                  </div>
                </li>
              ))}
            </ul>

            <div style={{ marginTop: 50, display: "flex", gap: 14, flexWrap: "wrap" }}>
              <button className="btn terracotta" onClick={() => navigate("shop")}>See the ebooks →</button>
              <button className="btn ghost" onClick={() => navigate("newsletter")}>Get the Sunday letter</button>
            </div>
          </div>
        </div>
      </section>
    </div>
  );
}

const CATEGORY_ORDER = ["breakfast", "lunch", "dinner", "snacks", "sides", "desserts"];
function sortByCategory(list) {
  return [...list].sort((a, b) => {
    const ai = CATEGORY_ORDER.indexOf(a.category);
    const bi = CATEGORY_ORDER.indexOf(b.category);
    return (ai === -1 ? 999 : ai) - (bi === -1 ? 999 : bi);
  });
}

/* ============ RECIPES INDEX ============ */
function RecipesPage({ navigate }) {
  const [filter, setFilter] = useState("all");
  const presentCats = new Set(RECIPES.map(r => r.category));
  const categories = ["all", ...CATEGORY_ORDER.filter(c => presentCats.has(c))];
  const visible = filter === "all" ? sortByCategory(RECIPES) : RECIPES.filter(r => r.category === filter);

  return (
    <div className="page-enter" data-screen-label="06 Recipes">
      <section style={{ padding: "70px 0 30px" }}>
        <div className="container-narrow" style={{ textAlign: "center" }}>
          <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 14 }}>— the recipe shelf —</div>
          <h1 style={{ fontStyle: "italic", fontSize: "clamp(60px, 7vw, 96px)", lineHeight: 0.95 }}>
            Free recipes,<br />from my kitchen.
          </h1>
          <p className="hand" style={{ fontSize: 30, color: "var(--terracotta-deep)", marginTop: 14 }}>
            tested, written, and shared with love ✿
          </p>
        </div>
      </section>

      {/* Category filter */}
      <section style={{ padding: "20px 0 10px" }}>
        <div className="container" style={{ display: "flex", justifyContent: "center", gap: 10, flexWrap: "wrap" }}>
          {categories.map(c => (
            <button
              key={c}
              onClick={() => setFilter(c)}
              style={{
                background: filter === c ? "var(--ink)" : "transparent",
                color: filter === c ? "var(--paper)" : "var(--ink)",
                border: "1.5px solid var(--ink)",
                padding: "8px 16px",
                borderRadius: 999,
                fontFamily: "inherit",
                fontSize: 12,
                letterSpacing: "0.1em",
                textTransform: "uppercase",
                cursor: "pointer",
                fontWeight: 500,
              }}
            >
              {c}
            </button>
          ))}
        </div>
      </section>

      <section style={{ padding: "40px 0 80px" }}>
        <div className="container">
          <div className="layout-cards-sm">
            {visible.map((r, i) => (
              <RecipeCard key={r.id} recipe={r} rotate={[-1, 0.5, -0.5, 1][i % 4]} onOpen={() => navigate("recipe", r.id)} />
            ))}
          </div>

          {visible.length === 0 && (
            <div style={{ textAlign: "center", padding: "60px 0" }}>
              <p className="hand" style={{ fontSize: 32, color: "var(--ink-mute)" }}>nothing here yet — more coming soon ✿</p>
            </div>
          )}

          <div style={{ textAlign: "center", marginTop: 80, padding: "50px 30px", background: "var(--paper-2)", border: "1px solid rgba(42,29,18,0.1)" }}>
            <h2 style={{ fontStyle: "italic", fontSize: 38, marginBottom: 10 }}>Want more in your inbox?</h2>
            <p className="hand" style={{ fontSize: 26, color: "var(--terracotta-deep)", marginBottom: 22 }}>one recipe every sunday, free</p>
            <button className="btn terracotta" onClick={() => navigate("newsletter")}>
              Get the Sunday letter →
            </button>
          </div>
        </div>
      </section>
    </div>
  );
}

function RecipeCard({ recipe, rotate = 0, onOpen }) {
  return (
    <article
      className="card-paper"
      onClick={onOpen}
      style={{
        padding: 0,
        position: "relative",
        cursor: "pointer",
        transform: `rotate(${rotate}deg)`,
        transition: "transform 0.2s ease",
        overflow: "hidden",
        display: "flex",
        flexDirection: "column",
      }}
      onMouseEnter={e => e.currentTarget.style.transform = "rotate(0deg) translateY(-4px)"}
      onMouseLeave={e => e.currentTarget.style.transform = `rotate(${rotate}deg)`}
    >
      <div className="tape" style={{ top: -10, left: 28, transform: "rotate(-4deg)", width: 70, zIndex: 1 }} />
      <RecipeArt recipe={recipe} className="recipe-art" style={{ height: 200 }} />
      <div style={{ padding: 22, display: "flex", flexDirection: "column", flex: 1 }}>
        <div style={{ fontFamily: "var(--f-mono)", fontSize: 10, letterSpacing: "0.14em", textTransform: "uppercase", color: "var(--terracotta-deep)", marginBottom: 8 }}>
          {recipe.category} · {recipe.time.total}
        </div>
        <h3 style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 26, lineHeight: 1.1, marginBottom: 8 }}>
          {recipe.title}
        </h3>
        <p className="hand" style={{ fontSize: 20, color: "var(--ink-soft)", lineHeight: 1.2 }}>{recipe.tagline}</p>
        <div style={{ marginTop: "auto", paddingTop: 18, fontFamily: "var(--f-mono)", fontSize: 11, letterSpacing: "0.1em", textTransform: "uppercase", color: "var(--ink-mute)" }}>
          read recipe →
        </div>
      </div>
    </article>
  );
}

/* ============ RECIPE DETAIL ============ */
function RecipePage({ recipeId, navigate }) {
  const recipe = RECIPES.find(r => r.id === recipeId) || RECIPES[0];
  if (!recipe) {
    return (
      <div className="page-enter">
        <section style={{ padding: "120px 0", textAlign: "center" }}>
          <h1 style={{ fontStyle: "italic", fontSize: "clamp(36px, 10vw, 60px)" }}>Recipe not found</h1>
          <button className="btn terracotta" style={{ marginTop: 30 }} onClick={() => navigate("recipes")}>Back to recipes</button>
        </section>
      </div>
    );
  }

  const related = RECIPES.filter(r => r.id !== recipe.id).slice(0, 3);

  return (
    <div className="page-enter recipe-page" data-screen-label={`06 Recipe — ${recipe.title}`}>
      {/* print-only header */}
      <div className="print-only print-header">
        <div className="print-brand">
          <span className="print-mark">lhp</span>
          <span className="print-brand-name">little healthy plates</span>
        </div>
        <div className="print-url">littlehealthyplates-v2.vercel.app</div>
      </div>
      <section style={{ padding: "40px 0 20px" }}>
        <div className="container">
          <button onClick={() => navigate("recipes")} style={{ background: "none", border: "none", color: "var(--ink-mute)", cursor: "pointer", fontSize: 13, letterSpacing: "0.08em", textTransform: "uppercase", fontFamily: "inherit" }}>
            ← all recipes
          </button>
        </div>
      </section>

      {/* HERO */}
      <section style={{ padding: "20px 0 40px" }}>
        <div className="container layout-recipe-hero">
          <div>
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.18em", textTransform: "uppercase", color: "var(--terracotta-deep)", marginBottom: 16 }}>
              {recipe.category}
            </div>
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(44px, 5.5vw, 76px)", lineHeight: 1 }}>{recipe.title}</h1>
            <p className="hand" style={{ fontSize: 28, color: "var(--terracotta-deep)", marginTop: 12 }}>
              {recipe.tagline}
            </p>
            <p style={{ marginTop: 24, fontSize: 17, color: "var(--ink-soft)", lineHeight: 1.65, textWrap: "pretty" }}>{recipe.intro}</p>

            {/* meta */}
            <div style={{ marginTop: 32, display: "flex", gap: 24, flexWrap: "wrap", paddingTop: 24, borderTop: "1px solid rgba(42,29,18,0.1)" }}>
              {recipe.time.prep && <RecipeMeta label="prep" value={recipe.time.prep} />}
              {recipe.time.cook && <RecipeMeta label="cook" value={recipe.time.cook} />}
              {recipe.time.freeze && <RecipeMeta label="freeze" value={recipe.time.freeze} />}
              {recipe.time.total && <RecipeMeta label="total" value={recipe.time.total} />}
              {recipe.servings && <RecipeMeta label="makes" value={recipe.servings} />}
            </div>

            <div className="no-print" style={{ marginTop: 28, display: "flex", gap: 12, flexWrap: "wrap" }}>
              <button className="btn ghost small" onClick={() => window.print()}>
                <span style={{ fontSize: 16, lineHeight: 1 }}>⎙</span>
                Print recipe
              </button>
              <button className="btn ghost small" onClick={() => {
                if (navigator.share) {
                  navigator.share({ title: recipe.title, url: window.location.href }).catch(() => {});
                } else {
                  navigator.clipboard.writeText(window.location.href);
                }
              }}>
                Share link
              </button>
            </div>
          </div>

          {/* photo */}
          <div className="recipe-hero-art">
            <div className="recipe-hero-art-inner">
              <div className="tape" style={{ top: -10, left: "50%", transform: "translateX(-50%) rotate(-3deg)" }} />
              <RecipeArt recipe={recipe} className="recipe-art" style={{ aspectRatio: "4 / 5", width: "100%", maxWidth: "100%", boxShadow: "0 30px 60px -25px rgba(42,29,18,0.4)" }} />
            </div>
          </div>
        </div>
      </section>

      {/* INGREDIENTS + STEPS */}
      <section style={{ padding: "60px 0" }}>
        <div className="container layout-recipe-body">
          {/* Ingredients */}
          <div className="recipe-ingredients sticky-aside" style={{ background: "var(--paper)", padding: 30, border: "1px solid rgba(42,29,18,0.1)" }}>
            <div className="tape" style={{ top: -10, right: 20, transform: "rotate(4deg)" }} />
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 11, letterSpacing: "0.18em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 10 }}>shopping list</div>
            <h2 style={{ fontStyle: "italic", fontSize: 38, marginBottom: 18 }}>Ingredients</h2>
            <div className="wavy" style={{ marginBottom: 18 }} />
            <ul style={{ listStyle: "none", padding: 0, margin: 0, display: "flex", flexDirection: "column", gap: 12 }}>
              {recipe.ingredients.map((ing, i) => (
                <li key={i} style={{ display: "flex", gap: 12, alignItems: "flex-start", fontSize: 16, color: "var(--ink-soft)", lineHeight: 1.45 }}>
                  <span style={{ display: "inline-block", width: 12, height: 12, border: "1.5px solid var(--ink-mute)", borderRadius: 3, marginTop: 5, flexShrink: 0 }} />
                  <span>{ing}</span>
                </li>
              ))}
            </ul>
          </div>

          {/* Steps */}
          <div>
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 11, letterSpacing: "0.18em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 10 }}>method</div>
            <h2 style={{ fontStyle: "italic", fontSize: 44, marginBottom: 32 }}>How to make it</h2>
            <ol style={{ listStyle: "none", padding: 0, margin: 0, display: "flex", flexDirection: "column", gap: 28 }}>
              {recipe.steps.map((step, i) => (
                <li key={i} style={{ display: "flex", gap: 22 }}>
                  <div className="hand step-num" style={{ fontSize: 54, color: "var(--terracotta)", lineHeight: 0.8, minWidth: 56, flexShrink: 0 }}>
                    {String(i + 1).padStart(2, "0")}
                  </div>
                  <p style={{ fontSize: 17, color: "var(--ink-soft)", lineHeight: 1.6, paddingTop: 6, textWrap: "pretty" }}>{step}</p>
                </li>
              ))}
            </ol>

            {/* Variations */}
            {recipe.variations && recipe.variations.length > 0 && (
              <div style={{ marginTop: 60 }}>
                <div className="wavy" style={{ marginBottom: 30 }} />
                <h3 style={{ fontStyle: "italic", fontSize: 36, marginBottom: 24 }}>Try it different</h3>
                <div style={{ display: "flex", flexDirection: "column", gap: 18 }}>
                  {recipe.variations.map((v, i) => (
                    <div key={i} style={{ padding: 22, background: "var(--paper-2)", borderLeft: "3px solid var(--terracotta)" }}>
                      <div style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 24, marginBottom: 6 }}>{v.name}</div>
                      <p style={{ color: "var(--ink-soft)", fontSize: 15, lineHeight: 1.55 }}>{v.body}</p>
                    </div>
                  ))}
                </div>
              </div>
            )}

            {/* Notes */}
            {recipe.notes && recipe.notes.length > 0 && (
              <div style={{ marginTop: 60, padding: 26, background: "var(--paper)", border: "1px dashed rgba(42,29,18,0.2)", position: "relative" }}>
                <div className="hand" style={{ fontSize: 30, color: "var(--terracotta-deep)", marginBottom: 8 }}>kitchen notes —</div>
                <ul style={{ listStyle: "none", padding: 0, margin: 0, display: "flex", flexDirection: "column", gap: 8 }}>
                  {recipe.notes.map((n, i) => (
                    <li key={i} style={{ fontSize: 15, color: "var(--ink-soft)", display: "flex", gap: 10 }}>
                      <span style={{ color: "var(--terracotta)" }}>✿</span>
                      <span>{n}</span>
                    </li>
                  ))}
                </ul>
              </div>
            )}
          </div>
        </div>
      </section>

      {/* RELATED */}
      {related.length > 0 && (
        <section style={{ padding: "60px 0 80px", background: "var(--paper-2)", borderTop: "1px solid rgba(42,29,18,0.08)" }}>
          <div className="container">
            <SectionHeader kicker="more from the kitchen" title="You might also like" />
            <div className="layout-cards-sm" style={{ marginTop: 40 }}>
              {related.map((r, i) => (
                <RecipeCard key={r.id} recipe={r} rotate={[-1, 0.5, 1][i % 3]} onOpen={() => navigate("recipe", r.id)} />
              ))}
            </div>
          </div>
        </section>
      )}

      {/* print-only footer */}
      <div className="print-only print-footer">
        littlehealthyplates · littlehealthyplates-v2.vercel.app
      </div>
    </div>
  );
}

function RecipeMeta({ label, value }) {
  return (
    <div>
      <div style={{ fontFamily: "var(--f-mono)", fontSize: 10, letterSpacing: "0.16em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 4 }}>{label}</div>
      <div style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 22 }}>{value}</div>
    </div>
  );
}

/* ============ NEWSLETTER PAGE ============ */
function NewsletterPage() {
  return (
    <div className="page-enter" data-screen-label="07 Newsletter">
      <section style={{ padding: "80px 0" }}>
        <div className="container layout-newsletter">
          <div>
            <div style={{ fontFamily: "var(--f-mono)", fontSize: 12, letterSpacing: "0.2em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 14 }}>— sunday letter —</div>
            <h1 style={{ fontStyle: "italic", fontSize: "clamp(56px, 6.5vw, 88px)", lineHeight: 0.95 }}>
              one recipe.<br />every sunday.
            </h1>
            <p className="hand" style={{ fontSize: 30, color: "var(--terracotta-deep)", marginTop: 14 }}>
              that's the whole deal.
            </p>

            <p style={{ marginTop: 28, fontSize: 18, color: "var(--ink-soft)", maxWidth: 480, lineHeight: 1.6 }}>
              No funnels, no sales pitches, no AI-written fluff. Just a single
              recipe I'd serve my own family, plus a short note from the kitchen.
            </p>

            <p style={{ marginTop: 28, fontSize: 16, color: "var(--ink-soft)", maxWidth: 480 }}>
              We're not collecting emails on this site yet — no fake “you're subscribed” button.
              Follow on Instagram for recipes in the meantime.
            </p>
            <div style={{ marginTop: 28 }}>
              <a className="btn terracotta" href="https://www.instagram.com/littlehealthyplates/" target="_blank" rel="noopener noreferrer">Follow @littlehealthyplates →</a>
            </div>
            <div className="newsletter-trust" style={{ marginTop: 30, display: "flex", gap: 24, flexWrap: "wrap", color: "var(--ink-mute)", fontSize: 13, fontFamily: "var(--f-mono)", letterSpacing: "0.08em" }}>
              <div>NO SPAMMY EMAILS</div>
              <div>· COMING LATER ·</div>
            </div>
          </div>

          {/* preview */}
          <div style={{ position: "relative", padding: 30 }}>
            <div style={{ background: "var(--paper)", padding: 30, transform: "rotate(2deg)", boxShadow: "0 30px 60px -30px rgba(42,29,18,0.4)", position: "relative" }}>
              <div className="tape" style={{ top: -10, left: 30, transform: "rotate(-3deg)" }} />
              <div style={{ fontFamily: "var(--f-mono)", fontSize: 10, letterSpacing: "0.15em", textTransform: "uppercase", color: "var(--ink-mute)", marginBottom: 12 }}>
                LHP · Sunday letter · issue #84
              </div>
              <div style={{ fontFamily: "var(--f-display)", fontStyle: "italic", fontSize: 34, lineHeight: 1.05, marginBottom: 10 }}>
                The one-pot tomato rice my kids fight over.
              </div>
              <p className="hand" style={{ fontSize: 24, color: "var(--ink-soft)", marginBottom: 18 }}>
                hi friend,
              </p>
              <p style={{ fontSize: 14, color: "var(--ink-soft)", lineHeight: 1.55, marginBottom: 16 }}>
                We had this twice this week. Once on a Tuesday and once again on
                Wednesday because one of the girls asked very nicely. It's the kind
                of recipe I make when I'm tired and want everyone happy with
                minimum effort…
              </p>
              <SceneArt motif="pot" style={{ height: 160, marginBottom: 16 }} />
              <div style={{ fontFamily: "var(--f-mono)", fontSize: 11, color: "var(--ink-mute)" }}>
                — continued in your inbox —
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  );
}

Object.assign(window, { HomePage, ShopPage, EbookPage, CheckoutPage, AboutPage, RecipesPage, RecipePage, NewsletterPage, RecipeCard });
