// jasmine-hero.jsx — Two hero treatments inside the "Tech Meets Fashion Editorial"
// concept, dialed warm. Both lead with the same voice line; A leads with type,
// B leads with the Houston Creator's Lab photograph.

// ─────────────────────────────────────────────────────────────
// JasmineHeroA — Type-led. Pearl ground. Display drives the section.
// Voice line carried inside the hero as supporting attribution.
// ─────────────────────────────────────────────────────────────
const JasmineHeroA = () => (
  <section data-screen-label="A · 02 Hero · Type-Led" style={{
    background: 'var(--ld-pearl-50)',
    padding: '36px 24px 56px',
    position: 'relative',
  }}>
    {/* Editorial dateline — centered name + role/location */}
    <div style={{
      display: 'flex', flexDirection: 'column', alignItems: 'center', gap: 6,
      textAlign: 'center', marginBottom: 4,
    }}>
      <div style={{
        fontFamily: 'var(--font-display)', fontWeight: 400,
        fontSize: 22, lineHeight: 1, color: 'var(--ld-navy)',
        letterSpacing: '-0.01em',
      }}>Jasmine</div>
      <div style={{
        display: 'flex', alignItems: 'center', gap: 10,
        fontFamily: 'var(--font-body)', fontWeight: 600,
        fontSize: 10, letterSpacing: '0.24em', textTransform: 'uppercase',
        color: 'var(--ld-aqua-700)',
      }}>
        <span style={{ width: 14, height: 1, background: 'var(--ld-gold)' }} />
        <span>The Builder · Houston, TX</span>
        <span style={{ width: 14, height: 1, background: 'var(--ld-gold)' }} />
      </div>
    </div>

    {/* Display headline — three-beat with aqua punctuation */}
    <h1 style={{
      fontFamily: 'var(--font-display)', fontWeight: 300,
      fontSize: 64, lineHeight: 1.02, letterSpacing: '-0.015em',
      color: 'var(--ld-navy)', margin: '28px 0 0',
    }}>
      Build<span style={{ color: 'var(--ld-aqua-700)' }}> · </span>the<br />
      machine<span style={{ color: 'var(--ld-aqua-700)' }}>.</span>
    </h1>

    {/* Voice line as supporting attribution */}
    <div style={{ marginTop: 28, display: 'flex', gap: 12 }}>
      <span style={{
        flex: '0 0 auto', width: 2, background: 'var(--ld-aqua)',
        alignSelf: 'stretch',
      }} />
      <p style={{
        fontFamily: 'var(--font-display)', fontStyle: 'italic',
        fontWeight: 400, fontSize: 20, lineHeight: 1.35,
        color: 'var(--ld-ink-2)', margin: 0,
      }}>
        Your vision isn't the problem.<br />
        Your <em style={{ color: 'var(--ld-navy)', fontWeight: 500, fontStyle: 'italic' }}>systems</em> are.
      </p>
    </div>

    {/* Body */}
    <p style={{
      fontFamily: 'var(--font-body)', fontSize: 15, lineHeight: 1.65,
      color: 'var(--ld-ink-2)', marginTop: 28, marginBottom: 0,
    }}>
      Living Digitally™ builds professional digital systems for people building
      real businesses. Not tip sheets. Not motivation. The actual machine — your
      prompts, your planner, your tracker, your workflow — tuned to the operation
      you're already running.
    </p>

    {/* CTAs */}
    <div style={{ marginTop: 32, display: 'flex', flexDirection: 'column', gap: 14, alignItems: 'flex-start' }}>
      <a href="#enroll" style={{
        fontFamily: 'var(--font-body)', fontWeight: 600,
        fontSize: 12, letterSpacing: '0.18em', textTransform: 'uppercase',
        background: 'var(--ld-aqua)', color: 'var(--ld-navy)',
        padding: '15px 26px', borderRadius: 2, borderBottom: 'none',
      }}>Become a Resident →</a>
      <a href="#lab" style={{
        fontFamily: 'var(--font-body)', fontWeight: 500,
        fontSize: 13, color: 'var(--ld-navy)',
        borderBottom: '1px solid var(--ld-gold)', paddingBottom: 3,
      }}>Tour the Builder's Lab</a>
    </div>

    {/* Editorial portrait sliver — small, framed in hairline */}
    <div style={{
      marginTop: 48,
      display: 'grid', gridTemplateColumns: '88px 1fr', gap: 16, alignItems: 'center',
    }}>
      <div style={{
        aspectRatio: '4 / 5',
        backgroundImage: 'url(assets/space-jasmine-creators-lab.png)',
        backgroundSize: 'cover', backgroundPosition: '36% 30%',
        border: '1px solid var(--ld-line)', borderRadius: 2,
      }} />
      <div style={{ display: 'flex', flexDirection: 'column', gap: 4 }}>
        <div style={{
          fontFamily: 'var(--font-body)', fontWeight: 600,
          fontSize: 10, letterSpacing: '0.22em', textTransform: 'uppercase',
          color: 'var(--ld-aqua-700)',
        }}>On the cover</div>
        <div style={{
          fontFamily: 'var(--font-display)', fontWeight: 400,
          fontSize: 18, lineHeight: 1.2, color: 'var(--ld-navy)',
        }}>Jasmine · The Builder</div>
        <div style={{
          fontFamily: 'var(--font-body)', fontSize: 12, lineHeight: 1.4,
          color: 'var(--ld-ink-3)',
        }}>Houston, TX · Candle business + customer service ops</div>
      </div>
    </div>
  </section>
);

// ─────────────────────────────────────────────────────────────
// JasmineHeroB — Editorial cover treatment.
// The page reads as Living Digitally™'s own magazine cover with Jasmine as the
// cover subject. The Tech Meets Fashion Editorial concept rules: cream ground,
// editorial framing on all four corners, masthead-style title, a portrait slot
// (image-slot lets Lacey drop in the rendered editorial portrait), and the
// voice line set as Cormorant display copy beneath the photograph. The CTA is
// editorial small caps — no pillow button, no salesy chrome. Mobile-first.
//
// Photograph: the image-slot below carries a placeholder until Lacey drops in
// the rendered editorial portrait. The Midjourney prompt for that photograph
// is in notes.html. The Creator's Lab is deliberately NOT in this hero.
// ─────────────────────────────────────────────────────────────
const JasmineHeroB = () => (
  <section data-screen-label="B · 02 Hero · Editorial Cover" style={{
    background: 'var(--ld-pearl-50)',
    color: 'var(--ld-navy)',
    padding: '18px 22px 28px',
    position: 'relative',
  }}>
    {/* ── Editorial framing · TOP ROW ───────────────────────────── */}
    {/* Dateline + issue identifier removed. The cover-as-magazine conceit
        is now carried entirely by the masthead + photograph beneath. A
        single aqua glyph holds the top of the page — quiet, centered. */}
    <div style={{
      display: 'flex', alignItems: 'center', justifyContent: 'center',
      paddingBottom: 12,
    }}>
      <div style={{
        width: 18, height: 18,
        display: 'flex', alignItems: 'center', justifyContent: 'center',
        color: 'var(--ld-aqua)',
        textShadow: '0 0 12px rgba(95,224,230,0.55)',
        fontSize: 16, lineHeight: 1,
      }}>✦</div>
    </div>

    {/* ── Cover masthead ───────────────────────────────────────── */}
    {/* "Living Digitally™" wordmark removed in favor of a Builder-specific
        slogan that doubles as the masthead. Stacked: a small editorial
        "FOR" kicker, then the audience name set in display italic. This
        reads as a magazine cover dedicated to one woman: the Builder who
        is already building. */}
    <div style={{ textAlign: 'center', padding: '4px 0 14px' }}>
      <div style={{
        fontFamily: 'var(--font-body)', fontWeight: 600,
        fontSize: 10, letterSpacing: '0.34em', textTransform: 'uppercase',
        color: 'var(--ld-ink-3)', marginBottom: 4,
      }}>For</div>
      <h1 style={{
        fontFamily: 'var(--font-display)', fontStyle: 'italic',
        fontWeight: 400,
        fontSize: 44, lineHeight: 0.98, letterSpacing: '-0.018em',
        color: 'var(--ld-navy)', margin: 0,
      }}>
        The Builder
      </h1>
      <div style={{
        marginTop: 6,
        fontFamily: 'var(--font-body)', fontWeight: 600,
        fontSize: 9.5, letterSpacing: '0.28em', textTransform: 'uppercase',
        color: 'var(--ld-aqua-700)',
      }}>Who's already building.</div>
    </div>

    {/* ── The cover photograph ─────────────────────────────────── */}
    {/* The rendered editorial portrait — Jasmine at her laptop, downtown
        skyline through the window, the TAOLD Alchemy Cards bundle on the
        desk. Aspect 3:4 portrait per fashion-editorial convention. */}
    <div style={{ position: 'relative', marginTop: 2 }}>
      <img
        src="assets/jasmine-cover-portrait.png"
        alt="Jasmine — Houston Creator's Lab cover portrait. The Builder at her laptop with skyline beyond, Living Digitally Alchemy Cards on the desk."
        style={{
          display: 'block', width: '100%',
          aspectRatio: '3 / 4', objectFit: 'cover', objectPosition: '50% 30%',
          background: 'var(--ld-pearl-100)',
          border: '1px solid var(--ld-line)',
          borderRadius: 2,
        }}
      />
      {/* Soft scrim only at the bottom so the cover line stays legible
          without flattening the photograph above it. */}
      <div style={{
        position: 'absolute', left: 0, right: 0, bottom: 0, height: '38%',
        background: 'linear-gradient(180deg, rgba(13,27,61,0) 0%, rgba(13,27,61,0.55) 100%)',
        pointerEvents: 'none',
        borderBottomLeftRadius: 2, borderBottomRightRadius: 2,
      }} />
      {/* Cover line overlay — the single coverline that anchors the photo.
          "Cover ·" kicker removed; the portrait reads as the cover by virtue
          of its placement and crop, no label required. */}
      <div style={{
        position: 'absolute', left: 18, right: 18, bottom: 18,
        pointerEvents: 'none',
      }}>
        <div style={{
          fontFamily: 'var(--font-display)', fontWeight: 400, fontStyle: 'italic',
          fontSize: 30, lineHeight: 1.05, letterSpacing: '-0.005em',
          color: 'var(--ld-pearl-100)',
          textShadow: '0 1px 14px rgba(13,27,61,0.75)',
        }}>Jasmine.</div>
      </div>
    </div>

    {/* ── Hairline rule under the cover photograph ─────────────── */}
    <hr style={{
      border: 'none', borderTop: '1px solid var(--ld-line)',
      margin: '24px 0 0',
    }} />

    {/* ── Typographic statement ───────────────────────────────── */}
    {/* Rewritten to lead with painpoints, not internal monologue. The
        Builder isn't whispering to herself about vision; she's drowning in
        tools, contradictory advice, and infrastructure she was never
        taught. Headline names the gap. Inventory names the pain. Bridge
        paragraph names what Living Digitally™ actually does about it. */}
    <div style={{ padding: '28px 0 0' }}>
      <h2 style={{
        fontFamily: 'var(--font-display)', fontWeight: 300,
        fontSize: 38, lineHeight: 1.04, letterSpacing: '-0.015em',
        color: 'var(--ld-navy)', margin: 0,
      }}>
        You have the vision.<br />
        You have the skill.<br />
        You have the tools.
      </h2>
      <h2 style={{
        fontFamily: 'var(--font-display)', fontStyle: 'italic',
        fontWeight: 400, fontSize: 38, lineHeight: 1.04, letterSpacing: '-0.015em',
        color: 'var(--ld-aqua-700)', margin: '10px 0 0',
      }}>
        No one taught you<br />
        the <em style={{ fontStyle: 'italic' }}>system</em>.
      </h2>

      {/* Painpoint inventory removed per direction. The headline above and
          the bridge paragraph below now carry the message on their own —
          named symptoms have been pulled, leaving the editorial voice. */}

      {/* Bridge — what Living Digitally™ actually does about it. Italic
          display pull line + a single body paragraph. No platform-speak. */}
      <p style={{
        fontFamily: 'var(--font-display)', fontStyle: 'italic',
        fontWeight: 400, fontSize: 22, lineHeight: 1.3,
        color: 'var(--ld-navy)', margin: '28px 0 0',
      }}>
        You don't need more advice.<br />
        You need a <em style={{ fontStyle: 'italic', color: 'var(--ld-aqua-700)' }}>system</em> you can repeat.
      </p>
      <p style={{
        fontFamily: 'var(--font-body)', fontSize: 14, lineHeight: 1.65,
        color: 'var(--ld-ink-2)', margin: '18px 0 0', maxWidth: 380,
      }}>
        Living Digitally™ is the guidance that connects what you already
        know into one operation that actually launches — and re-launches,
        and scales. Domain, hosting, funnel, workflow, AI woven in. Taught
        in the language of the business you're actually building, by a
        Founder who built one first.
      </p>
    </div>

    {/* ── CTA · Editorial small caps · No pillow ───────────────── */}
    {/* Primary CTA names the transformation, not the product SKU. The
        eyebrow above keys the move from "side hustle baddie" to operator.
        Tertiary CTA still routes to the Houston Creator's Lab tour. */}
    <div style={{ marginTop: 36, display: 'flex', flexDirection: 'column', gap: 20, alignItems: 'flex-start' }}>
      <div style={{
        display: 'flex', flexDirection: 'column', gap: 8, alignItems: 'flex-start',
      }}>
        <div style={{
          fontFamily: 'var(--font-body)', fontWeight: 600,
          fontSize: 9.5, letterSpacing: '0.28em', textTransform: 'uppercase',
          color: 'var(--ld-aqua-700)',
        }}>From side hustle baddie</div>
        <a href="/signature-program" style={{
          display: 'inline-flex', alignItems: 'center', gap: 10,
          fontFamily: 'var(--font-body)', fontWeight: 700,
          fontSize: 12, letterSpacing: '0.24em', textTransform: 'uppercase',
          color: 'var(--ld-navy)',
          borderBottom: '1px solid var(--ld-aqua)',
          paddingBottom: 6, paddingRight: 4,
        }}>
          <span>To Queen of Systems</span>
          <span style={{ color: 'var(--ld-aqua-700)' }}>→</span>
        </a>
        <div style={{
          fontFamily: 'var(--font-body)', fontSize: 12, lineHeight: 1.5,
          color: 'var(--ld-ink-3)', marginTop: 2, maxWidth: 320,
        }}>
          Learn to turn the skills, the tools, and the knowledge you already
          have into a scalable system that runs effortlessly.
        </div>
      </div>
      {/* Tertiary CTA — Houston Creator's Lab exploration */}
      <a href="#lab" style={{
        fontFamily: 'var(--font-display)', fontStyle: 'italic',
        fontSize: 14, lineHeight: 1.2,
        color: 'var(--ld-ink-2)', borderBottom: '1px solid var(--ld-line)',
        paddingBottom: 2,
      }}>Explore the Builder's Lab</a>
    </div>

    {/* Hero ends here — the "The Tech Lifestyle · Taught / Living Digitally™"
        bottom-row was removed per direction. The next section opens directly
        underneath. */}
  </section>
);

// ─────────────────────────────────────────────────────────────
// VoiceLineBreak — between Hero and Product Showcase. Editorial pull
// quote, italic Cormorant, generous whitespace. The voice line as anchor.
// ─────────────────────────────────────────────────────────────
const VoiceLineBreak = ({ variant }) => (
  <section data-screen-label={`${variant} · 03 Voice Line`} style={{
    background: 'var(--ld-pearl-100)',
    padding: '64px 24px',
    borderTop: '1px solid var(--ld-line)',
    borderBottom: '1px solid var(--ld-line)',
    position: 'relative',
  }}>
    <div style={{
      fontFamily: 'var(--font-body)', fontWeight: 600,
      fontSize: 10, letterSpacing: '0.24em', textTransform: 'uppercase',
      color: 'var(--ld-aqua-700)', marginBottom: 18,
    }}>From Living Digitally™ to the Builder</div>

    <p className="pullquote" style={{
      fontFamily: 'var(--font-display)', fontStyle: 'italic',
      fontWeight: 400, fontSize: 30, lineHeight: 1.25, letterSpacing: '-0.005em',
      color: 'var(--ld-navy)', margin: 0,
    }}>
      Your vision isn't the problem.<br />
      Your systems are.<br />
      <span style={{ color: 'var(--ld-aqua-700)' }}>Let's build the machine.</span>
    </p>

    <div style={{
      marginTop: 28, display: 'flex', alignItems: 'center', gap: 12,
    }}>
      <span style={{ width: 28, height: 1, background: 'var(--ld-gold)' }} />
      <img src="assets/monogram-ld-navy.png" alt="" style={{ height: 22, opacity: 0.85 }} />
    </div>
  </section>
);

Object.assign(window, { JasmineHeroA, JasmineHeroB, VoiceLineBreak });
