{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"hero-agency","type":"registry:block","title":"Hero, agency","description":"Studio hero with oversized centered display type, one ultramarine CTA and a quiet client wordmark marquee.","dependencies":["lucide-react","motion"],"registryDependencies":["utils"],"files":[{"path":"registry/items/hero-agency/hero-agency.tsx","type":"registry:block","target":"components/facade/hero-agency.tsx","content":"\"use client\";\n\nimport * as React from \"react\";\nimport { motion, useReducedMotion } from \"motion/react\";\nimport { ArrowRight } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface HeroAgencyProps {\n  eyebrow?: string;\n  /** Headline lines. Wrap a word in *asterisks* to render it in the secondary color. */\n  headline?: string[];\n  description?: string;\n  primaryCta?: { label: string; href: string };\n  secondaryCta?: { label: string; href: string };\n  availability?: string;\n  clientsLabel?: string;\n  clients?: string[];\n  className?: string;\n}\n\nconst EASE = [0.16, 1, 0.3, 1] as const;\n\n/* Two quiet wordmark treatments so the row reads like real logos without any serif or mono fonts. */\nconst WORDMARK_STYLES = [\n  \"font-semibold tracking-[-0.02em]\",\n  \"text-[0.8em] font-medium uppercase tracking-[0.16em]\",\n  \"font-semibold tracking-[-0.04em] lowercase\",\n  \"text-[0.82em] font-semibold uppercase tracking-[0.06em]\",\n];\n\nfunction renderLine(line: string) {\n  const parts = line.split(/(\\*[^*]+\\*)/g).filter(Boolean);\n  return parts.map((p, i) =>\n    p.startsWith(\"*\") && p.endsWith(\"*\") ? (\n      <span key={i} className=\"text-muted-foreground\">\n        {p.slice(1, -1)}\n      </span>\n    ) : (\n      <React.Fragment key={i}>{p}</React.Fragment>\n    ),\n  );\n}\n\nexport function HeroAgency({\n  eyebrow = \"Northline Studio, Denver\",\n  headline = [\"We build brands\", \"people *remember*.\"],\n  description = \"Strategy, identity and conversion first websites for ambitious local businesses and real estate teams. Senior people only. Live in six weeks, not six months.\",\n  primaryCta = { label: \"Book a call\", href: \"#book\" },\n  secondaryCta = { label: \"See our work\", href: \"#work\" },\n  availability = \"Two project openings for Q1\",\n  clientsLabel = \"Trusted by\",\n  clients = [\n    \"Summit Roofing\",\n    \"Mile High Dental\",\n    \"Alder & Vine\",\n    \"Compass Ridge\",\n    \"Peak Realty\",\n    \"Ironwood\",\n    \"Redline Auto\",\n    \"Larimer Coffee\",\n  ],\n  className,\n}: HeroAgencyProps) {\n  const reduce = useReducedMotion();\n\n  return (\n    <section className={cn(\"relative isolate overflow-hidden bg-background text-foreground\", className)}>\n      <div className=\"mx-auto flex max-w-[1120px] flex-col items-center px-6 pb-16 pt-20 text-center sm:pb-20 sm:pt-28 lg:pt-32\">\n        <motion.p\n          initial={reduce ? false : { opacity: 0, y: 8 }}\n          animate={{ opacity: 1, y: 0 }}\n          transition={{ duration: 0.6, ease: EASE }}\n          className=\"text-[13px] font-medium uppercase tracking-[0.08em] text-muted-foreground\"\n        >\n          {eyebrow}\n        </motion.p>\n\n        <h1 className=\"mt-6 max-w-[14ch] text-balance text-[44px] font-semibold leading-[1] tracking-[-0.045em] sm:text-[72px] lg:text-[96px]\">\n          {headline.map((line, i) => (\n            <span key={i} className=\"block overflow-hidden pb-[0.08em]\">\n              <motion.span\n                className=\"block\"\n                initial={reduce ? { opacity: 0 } : { y: \"100%\" }}\n                animate={reduce ? { opacity: 1 } : { y: \"0%\" }}\n                transition={{ duration: 0.9, delay: 0.05 + i * 0.1, ease: EASE }}\n              >\n                {renderLine(line)}\n              </motion.span>\n            </span>\n          ))}\n        </h1>\n\n        <motion.p\n          initial={reduce ? false : { opacity: 0, y: 12 }}\n          animate={{ opacity: 1, y: 0 }}\n          transition={{ duration: 0.8, delay: 0.35, ease: EASE }}\n          className=\"mt-6 max-w-[640px] text-pretty text-[17px] leading-[1.5] text-muted-foreground sm:text-[21px] sm:leading-[1.4]\"\n        >\n          {description}\n        </motion.p>\n\n        <motion.div\n          initial={reduce ? false : { opacity: 0, y: 12 }}\n          animate={{ opacity: 1, y: 0 }}\n          transition={{ duration: 0.8, delay: 0.45, ease: EASE }}\n          className=\"mt-9 flex flex-col items-center gap-5\"\n        >\n          <div className=\"flex flex-wrap items-center justify-center gap-3\">\n            <a\n              href={primaryCta.href}\n              className=\"group inline-flex h-12 items-center gap-2 rounded-full bg-brand px-6 text-[15px] font-medium text-brand-foreground transition-colors hover:bg-brand/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background\"\n            >\n              {primaryCta.label}\n              <ArrowRight className=\"size-4 transition-transform duration-300 group-hover:translate-x-0.5\" aria-hidden />\n            </a>\n            <a\n              href={secondaryCta.href}\n              className=\"inline-flex h-12 items-center rounded-full bg-muted px-6 text-[15px] font-medium text-foreground transition-colors hover:bg-foreground/[0.08] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring dark:hover:bg-foreground/[0.12]\"\n            >\n              {secondaryCta.label}\n            </a>\n          </div>\n          {availability && (\n            <span className=\"flex items-center gap-2 text-sm text-muted-foreground\">\n              <span className=\"inline-flex size-1.5 rounded-full bg-success\" aria-hidden />\n              {availability}\n            </span>\n          )}\n        </motion.div>\n      </div>\n\n      {/* Client marquee */}\n      <motion.div\n        initial={reduce ? false : { opacity: 0 }}\n        animate={{ opacity: 1 }}\n        transition={{ duration: 1, delay: 0.7 }}\n        className=\"mx-auto flex max-w-[1120px] flex-col gap-4 px-6 pb-20 sm:pb-24 md:flex-row md:items-center md:gap-10\"\n      >\n        <p className=\"shrink-0 text-center text-[13px] font-medium text-muted-foreground md:text-left\">{clientsLabel}</p>\n        <div\n          className=\"group relative flex overflow-hidden [mask-image:linear-gradient(to_right,transparent,black_10%,black_90%,transparent)]\"\n          style={{ [\"--marquee-gap\" as string]: \"3.5rem\", [\"--marquee-duration\" as string]: \"44s\" }}\n        >\n          <ul className=\"flex w-max shrink-0 animate-marquee items-center gap-[var(--marquee-gap)] group-hover:[animation-play-state:paused]\">\n            {[...clients, ...clients].map((c, i) => (\n              <li\n                key={i}\n                aria-hidden={i >= clients.length}\n                className={cn(\n                  \"whitespace-nowrap text-xl text-foreground/40 transition-colors hover:text-foreground\",\n                  WORDMARK_STYLES[i % clients.length % WORDMARK_STYLES.length],\n                )}\n              >\n                {c}\n              </li>\n            ))}\n          </ul>\n        </div>\n      </motion.div>\n    </section>\n  );\n}\n\nexport default HeroAgency;\n"}],"categories":["hero"],"meta":{"tier":"free","demo":"import { HeroAgency } from \"./hero-agency\";\n\nexport default function Demo() {\n  return <HeroAgency />;\n}\n"}}