{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-42",
  "dependencies": [
    "@hugeicons/react",
    "framer-motion",
    "hugeicons-react",
    "lucide-react",
    "motion",
    "react-icons"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-42.tsx",
      "content": "import { motion, type Variants } from \"framer-motion\";\nimport { ArrowUpRight, ChevronDown, Globe } from 'lucide-react';\nimport LogoIcon from \"@/assets/logo-icon\";\nimport { FaGoogle } from \"react-icons/fa6\";\nimport { AdobeXdIcon, MicrosoftIcon, StripeIcon } from \"hugeicons-react\";\n\n// ─── Playfair Display for the italic serif headline line ───────────────────\nconst fontStyle = `@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,700;1,800&display=swap');`;\n\n// ─── Design token — warm near-black matching the reference ─────────────────\nconst BG = \"#180e08\";\n\n// ─── Framer-Motion Variants ────────────────────────────────────────────────\n\n/** Nav: slides down from top + blur-clear */\nconst navVariants: Variants = {\n  hidden: { opacity: 0, y: -22, filter: \"blur(8px)\" },\n  show: {\n    opacity: 1,\n    y: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", damping: 22, stiffness: 180, delay: 0.05 },\n  },\n};\n\n/** Background image: slow scale-down + fade */\nconst bgVariants: Variants = {\n  hidden: { opacity: 0, scale: 1.06 },\n  show: {\n    opacity: 1,\n    scale: 1,\n    transition: { duration: 2.0, ease: [0.22, 1, 0.36, 1], delay: 0 },\n  },\n};\n\n/** Stagger wrapper for headline lines */\nconst headlineContainerVariants: Variants = {\n  hidden: { opacity: 0 },\n  show: {\n    opacity: 1,\n    transition: { staggerChildren: 0.18, delayChildren: 0.32 },\n  },\n};\n\n/** Each headline line: dramatic rise + blur clear */\nconst headlineLineVariants: Variants = {\n  hidden: { opacity: 0, y: 56, filter: \"blur(20px)\" },\n  show: {\n    opacity: 1,\n    y: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", damping: 30, stiffness: 72, mass: 1.4 },\n  },\n};\n\n/** Subtitle: softer rise, fires after headline settles */\nconst subtitleVariants: Variants = {\n  hidden: { opacity: 0, y: 20, filter: \"blur(8px)\" },\n  show: {\n    opacity: 1,\n    y: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", damping: 26, stiffness: 92, delay: 0.94 },\n  },\n};\n\n/** CTA row: scale + fade after subtitle */\nconst ctaVariants: Variants = {\n  hidden: { opacity: 0, y: 16, scale: 0.94 },\n  show: {\n    opacity: 1,\n    y: 0,\n    scale: 1,\n    transition: { type: \"spring\", damping: 24, stiffness: 110, delay: 1.14 },\n  },\n};\n\n/** Brand-label line: gentle fade */\nconst brandLabelVariants: Variants = {\n  hidden: { opacity: 0 },\n  show: {\n    opacity: 1,\n    transition: { duration: 0.7, ease: \"easeOut\", delay: 1.3 },\n  },\n};\n\n/** Brand cards container: staggers each card from left */\nconst brandsContainerVariants: Variants = {\n  hidden: { opacity: 0 },\n  show: {\n    opacity: 1,\n    transition: { staggerChildren: 0.08, delayChildren: 1.45 },\n  },\n};\n\n/** Each brand card: slides in from left + blur */\nconst brandCardVariants: Variants = {\n  hidden: { opacity: 0, x: -18, filter: \"blur(4px)\" },\n  show: {\n    opacity: 1,\n    x: 0,\n    filter: \"blur(0px)\",\n    transition: { type: \"spring\", damping: 22, stiffness: 110 },\n  },\n};\n\n\n// ─── Component ─────────────────────────────────────────────────────────────\n\nexport default function Hero42() {\n  const navLinks = [\"Journey\", \"Our Story\", \"What We Offer\"];\n\n  return (\n    <>\n      {/* Self-contained font import */}\n      <style>{fontStyle}</style>\n\n      <div\n        className=\"relative min-h-screen w-full overflow-hidden antialiased selection:bg-orange-500/30 selection:text-white\"\n        style={{ backgroundColor: BG }}\n      >\n        {/* ── Background image + gradient overlays ─────────────────────── */}\n        <motion.div\n          variants={bgVariants}\n          initial=\"hidden\"\n          animate=\"show\"\n          className=\"pointer-events-none absolute inset-0 z-0 will-change-transform select-none\"\n        >\n          <img\n            src=\"https://assets.watermelon.sh/bg-hero-42.avif\"\n            alt=\"Person gazing up at a dramatic orange glowing orb\"\n            className=\"h-full w-full object-cover object-right\"\n          />\n\n          {/* Left-to-right gradient: keeps left side dark for legible text */}\n          <div\n            className=\"absolute inset-0\"\n            style={{\n              background:\n                \"linear-gradient(to right, rgba(24,14,8,0.96) 0%, rgba(24,14,8,0.78) 38%, rgba(24,14,8,0.22) 68%, transparent 100%)\",\n            }}\n          />\n\n          {/* Bottom vignette: makes brand strip legible */}\n          <div\n            className=\"absolute inset-0\"\n            style={{\n              background:\n                \"linear-gradient(to top, rgba(24,14,8,0.92) 0%, rgba(24,14,8,0.40) 30%, transparent 55%)\",\n            }}\n          />\n        </motion.div>\n\n        {/* ── z-10 layout ──────────────────────────────────────────────── */}\n        <div className=\"relative z-10 flex min-h-screen flex-col\">\n\n          {/* ── Navigation ─────────────────────────────────────────────── */}\n          <motion.nav\n            variants={navVariants}\n            initial=\"hidden\"\n            animate=\"show\"\n            className=\"flex w-full items-center justify-between px-6 py-5 sm:px-8 md:px-12 lg:px-14\"\n            aria-label=\"Primary navigation\"\n          >\n            {/* Logo — Sun icon + \"Serein\" wordmark */}\n            <div className=\"flex items-center gap-2.5\">\n              <LogoIcon className=\"h-6 w-6 shrink-0 text-white\" />\n              <span className=\"text-lg font-semibold tracking-[-0.01em] text-white\">\n                Watermelon\n              </span>\n            </div>\n\n            {/* Centre nav links — hidden below md */}\n            <nav\n              className=\"hidden items-center gap-9 md:flex\"\n              aria-label=\"Site links\"\n            >\n              {navLinks.map((link) => (\n                <a\n                  key={link}\n                  href={`#${link.toLowerCase().replace(/\\s+/g, \"-\")}`}\n                  className=\"flex min-h-[40px] items-center text-sm font-normal text-white/75 transition-colors duration-200 hover:text-white\"\n                >\n                  {link}\n                </a>\n              ))}\n            </nav>\n\n            {/* Right: language selector + Explore more button */}\n            <div className=\"flex items-center gap-3\">\n              {/* Language selector — hidden on mobile */}\n              <button className=\"group hidden min-h-[40px] items-center gap-1.5 text-sm font-normal text-white/70 transition-colors duration-200 hover:text-white md:flex active:scale-[0.96]\">\n                <Globe className=\"h-4 w-4 shrink-0\" aria-hidden=\"true\" />\n                EN\n                <ChevronDown\n                  className=\"h-3.5 w-3.5 opacity-70 transition-transform duration-200 group-hover:rotate-180\"\n                  aria-hidden=\"true\"\n                />\n              </button>\n\n              {/* Explore more — outlined rounded button */}\n              <button className=\"flex min-h-[40px] items-center rounded-lg border border-white/25 bg-white/[0.06] px-4 py-2 text-sm font-normal text-white/85 backdrop-blur-sm transition-[transform,background-color,border-color] duration-150 ease-out hover:border-white/40 hover:bg-white/[0.10] hover:text-white active:scale-[0.96]\">\n                Explore more\n              </button>\n            </div>\n          </motion.nav>\n\n          {/* ── Main hero content — left-aligned ───────────────────────── */}\n          <main className=\"flex flex-1 flex-col justify-between px-6 pt-14 pb-10 sm:px-8 sm:pt-16 md:px-12 lg:px-14 lg:pt-20\">\n\n            {/* Upper block: headline + subtitle + CTA */}\n            <div className=\"flex max-w-4xl flex-col items-start\">\n\n              {/* Headline — each line animates independently */}\n              <motion.h1\n                variants={headlineContainerVariants}\n                initial=\"hidden\"\n                animate=\"show\"\n                className=\"text-4xl leading-[1.06] tracking-[-0.02em] text-balance sm:text-5xl md:text-6xl lg:text-7xl 2xl:text-8xl\"\n              >\n                {/* Line 1: heavy bold sans-serif — pure white */}\n                <motion.span\n                  variants={headlineLineVariants}\n                  className=\"block font-medium text-white will-change-transform\"\n                >\n                  The Quiet Is Where\n                </motion.span>\n\n                {/* Line 2: italic serif — same colour, distinct texture */}\n                <motion.span\n                  variants={headlineLineVariants}\n                  className=\"block  text-white will-change-transform\"\n                  style={{\n                    fontFamily: \"'Playfair Display', Georgia, serif\",\n                    fontStyle: \"italic\",\n                    fontWeight: 300,\n                  }}\n                >\n                  Direction Begins.\n                </motion.span>\n              </motion.h1>\n\n              {/* Subtitle */}\n              <motion.p\n                variants={subtitleVariants}\n                initial=\"hidden\"\n                animate=\"show\"\n                className=\"mt-5 max-w-[360px] text-sm leading-[1.65] font-normal text-pretty text-white/70 will-change-transform sm:text-base\"\n              >\n                Step away from the noise and into clarity. In stillness,\n                direction reveals itself.\n              </motion.p>\n\n              {/* CTA buttons */}\n              <motion.div\n                variants={ctaVariants}\n                initial=\"hidden\"\n                animate=\"show\"\n                className=\"mt-8 flex flex-wrap items-center gap-3 will-change-transform\"\n              >\n                {/* Primary: orange filled with arrow — optical padding */}\n                <button className=\"group flex min-h-[44px] items-center gap-2 rounded-lg bg-orange-600 pl-5 pr-4 py-2.5 text-base font-semibold text-white shadow-[inset_0_1px_0_rgba(255,255,255,0.20),inset_0_-1px_0_rgba(0,0,0,0.25),0_2px_8px_rgba(234,88,12,0.35),0_8px_24px_rgba(234,88,12,0.20)] transition-[transform,background-color,box-shadow] duration-150 ease-out hover:bg-orange-500 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.22),0_4px_14px_rgba(234,88,12,0.50),0_12px_32px_rgba(234,88,12,0.28)] active:scale-[0.96]\">\n                  Get Demo\n                  <ArrowUpRight\n                    className=\"h-4 w-4 shrink-0 transition-transform duration-150 ease-out group-hover:-translate-y-0.5 group-hover:translate-x-0.5\"\n                    aria-hidden=\"true\"\n                  />\n                </button>\n\n                {/* Secondary: dark glass outlined */}\n                <button className=\"flex min-h-[44px] items-center rounded-lg border border-white/20 bg-white/[0.07] px-5 py-2.5 text-base font-normal text-white/80 backdrop-blur-sm transition-[transform,background-color,border-color] duration-150 ease-out hover:border-white/35 hover:bg-white/[0.11] hover:text-white active:scale-[0.96]\">\n                  Explore more\n                </button>\n              </motion.div>\n            </div>\n\n            {/* ── Bottom brand strip ──────────────────────────────────────── */}\n            <div className=\"mt-14 flex flex-col\">\n\n              {/* \"Trusted By Leading Brands\" label */}\n              <motion.p\n                variants={brandLabelVariants}\n                initial=\"hidden\"\n                animate=\"show\"\n                className=\"mb-4 text-xs font-normal tracking-wide text-white/40\"\n              >\n                Trusted By Leading Brands\n              </motion.p>\n\n              {/* Brand pill cards — horizontal scroll on small screens */}\n              <motion.div\n                variants={brandsContainerVariants}\n                initial=\"hidden\"\n                animate=\"show\"\n                className=\"flex gap-2.5 overflow-x-auto pb-1 sm:flex-wrap sm:overflow-x-visible sm:pb-0\"\n                style={{ scrollbarWidth: \"none\" }}\n              >\n                <motion.div\n                  variants={brandCardVariants}\n                  className=\"will-change-transform flex h-[46px] shrink-0 items-center gap-2.5 rounded-lg border border-white/[0.12] bg-white/[0.07] px-5 backdrop-blur-sm transition-[background-color,border-color] duration-200 hover:border-white/[0.22] hover:bg-white/[0.11]\"\n                >\n                  <FaGoogle className=\"h-[15px] w-[15px] shrink-0 text-white/70\" />\n                  <span className=\"whitespace-nowrap text-sm font-semibold text-white/85\">Google</span>\n                </motion.div>\n                \n                <motion.div\n                  variants={brandCardVariants}\n                  className=\"will-change-transform flex h-[46px] shrink-0 items-center gap-2.5 rounded-lg border border-white/[0.12] bg-white/[0.07] px-5 backdrop-blur-sm transition-[background-color,border-color] duration-200 hover:border-white/[0.22] hover:bg-white/[0.11]\"\n                >\n                  <AdobeXdIcon className=\"h-[15px] w-[15px] shrink-0 text-white/70\" />\n                  <span className=\"whitespace-nowrap text-sm font-semibold text-white/85\">Adobe</span>\n                </motion.div>\n                \n                <motion.div\n                  variants={brandCardVariants}\n                  className=\"will-change-transform flex h-[46px] shrink-0 items-center gap-2.5 rounded-lg border border-white/[0.12] bg-white/[0.07] px-5 backdrop-blur-sm transition-[background-color,border-color] duration-200 hover:border-white/[0.22] hover:bg-white/[0.11]\"\n                >\n                  <MicrosoftIcon className=\"h-[15px] w-[15px] shrink-0 text-white/70\" />\n                  <span className=\"whitespace-nowrap text-sm font-semibold text-white/85\">Microsoft</span>\n                </motion.div>\n                \n                <motion.div\n                  variants={brandCardVariants}\n                  className=\"will-change-transform flex h-[46px] shrink-0 items-center gap-2.5 rounded-lg border border-white/[0.12] bg-white/[0.07] px-5 backdrop-blur-sm transition-[background-color,border-color] duration-200 hover:border-white/[0.22] hover:bg-white/[0.11]\"\n                >\n                  <StripeIcon className=\"h-[15px] w-[15px] shrink-0 text-white/70\" />\n                  <span className=\"whitespace-nowrap text-sm font-semibold text-white/85\">Stripe</span>\n                </motion.div>\n              </motion.div>\n            </div>\n\n          </main>\n        </div>\n      </div>\n    </>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-42.tsx"
    },
    {
      "path": "src/assets/logo-icon.tsx",
      "content": "export default function LogoIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      className={className}\n      width=\"785\"\n      height=\"506\"\n      viewBox=\"0 0 785 506\"\n      fill=\"currentColor\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M392.688 104.141C299.504 104.141 291.288 234.316 261.147 234.316C231.007 234.316 230.996 0 121.38 0C-30.726 0 -49.9098 505.63 121.38 505.63C196.742 505.63 218.672 442.598 252.926 442.598C287.179 442.598 322.801 505.63 392.688 505.63C462.575 505.63 496.832 442.598 531.085 442.598C565.339 442.598 587.269 505.63 662.631 505.63C833.921 505.63 814.737 0 662.631 0C553.015 0 553.004 234.316 522.864 234.316C492.723 234.316 485.872 104.141 392.688 104.141Z\"\n        fill=\"currentColor\"\n      />\n      <circle cx=\"515.226\" cy=\"332.977\" r=\"46.5892\" fill=\"black\" />\n      <circle cx=\"268.575\" cy=\"332.976\" r=\"46.5892\" fill=\"black\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "assets/logo-icon.tsx"
    }
  ],
  "type": "registry:ui"
}
