{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-cta-sitemap",
  "type": "registry:component",
  "title": "Footer CTA Sitemap",
  "description": "A light paper footer that opens with a deep green call to action card, with serif headline and orbiting rating seal, overlapping into a sitemap with serif column titles, an address block and a legal row.",
  "author": "Hyperblur <hello@hyperblur.dev>",
  "dependencies": [],
  "registryDependencies": [],
  "categories": [
    "footer",
    "footer",
    "call to action",
    "sitemap",
    "light",
    "serif",
    "paper"
  ],
  "docs": "https://hyperblur.dev/effects/footer-cta-sitemap",
  "files": [
    {
      "path": "registry/hyperblur/footer-cta-sitemap.tsx",
      "type": "registry:component",
      "target": "components/hyperblur/footer-cta-sitemap.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nexport interface FooterCtaSitemapLink {\n  label: string;\n  href: string;\n}\n\nexport interface FooterCtaSitemapColumn {\n  title: string;\n  links: FooterCtaSitemapLink[];\n}\n\nexport interface FooterCtaSitemapProps extends Omit<React.HTMLAttributes<HTMLElement>, \"title\" | \"children\"> {\n  eyebrow?: string;\n  title?: string;\n  highlight?: string;\n  subtitle?: string;\n  primary?: FooterCtaSitemapLink | null;\n  secondary?: FooterCtaSitemapLink | null;\n  rating?: { score: string; label: string } | null;\n  brand?: string;\n  address?: string[];\n  columns?: FooterCtaSitemapColumn[];\n  legal?: FooterCtaSitemapLink[];\n  copyright?: string;\n  accent?: string;\n}\n\nconst css = `\n.hb-ke7 {\n  --hb-ke7-accent: #2f6b4f;\n  --hb-ke7-serif: var(--font-sans, ui-sans-serif, system-ui, sans-serif);\n  position: relative;\n  box-sizing: border-box;\n  width: 100%;\n  container-type: inline-size;\n  background: #f7f5ef;\n  color: #1d1c19;\n  font-family: inherit;\n  -webkit-font-smoothing: antialiased;\n}\n.hb-ke7 *, .hb-ke7 *::before, .hb-ke7 *::after { box-sizing: border-box; }\n.hb-ke7-top { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 72px 24px 0; }\n.hb-ke7-card {\n  position: relative;\n  display: grid;\n  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);\n  align-items: center;\n  gap: 32px;\n  margin-bottom: -112px;\n  padding: 52px 52px;\n  overflow: hidden;\n  isolation: isolate;\n  border-radius: 28px;\n  background:\n    radial-gradient(70% 90% at 100% 50%, color-mix(in srgb, var(--hb-ke7-accent) 70%, transparent), transparent 70%),\n    linear-gradient(135deg, color-mix(in srgb, var(--hb-ke7-accent) 60%, #0b1712), color-mix(in srgb, var(--hb-ke7-accent) 35%, #08100c));\n  color: #f4f1e8;\n  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 40px 80px -40px rgba(20,40,30,.55), 0 0 0 1px rgba(0,0,0,.06);\n}\n.hb-ke7-card::before {\n  content: \"\";\n  position: absolute;\n  z-index: -1;\n  inset: 0;\n  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);\n  background-size: 18px 18px;\n  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);\n  mask-image: linear-gradient(90deg, transparent, #000 70%);\n}\n.hb-ke7-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: rgba(244,241,232,.75); font-size: 13px; font-weight: 500; letter-spacing: .02em; }\n.hb-ke7-eyebrow i { width: 18px; height: 1px; background: rgba(244,241,232,.5); }\n.hb-ke7-h { margin: 16px 0 14px; font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: clamp(34px, 5cqi, 54px); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; }\n.hb-ke7-h em { font-style: normal; color: #e9dcb5; }\n.hb-ke7-sub { margin: 0; max-width: 440px; color: rgba(244,241,232,.72); font-size: 15.5px; line-height: 1.6; }\n.hb-ke7-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }\n.hb-ke7-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  height: 46px;\n  padding: 0 20px;\n  border-radius: 999px;\n  font-size: 15px;\n  font-weight: 550;\n  text-decoration: none;\n  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;\n}\n.hb-ke7-btn:active { transform: scale(.97); }\n.hb-ke7-p { background: #f4f1e8; color: #13261d; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }\n.hb-ke7-p:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); }\n.hb-ke7-p svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s cubic-bezier(.2,.8,.2,1); }\n.hb-ke7-p:hover svg { transform: translateX(3px); }\n.hb-ke7-s { border: 1px solid rgba(244,241,232,.28); color: #f4f1e8; }\n.hb-ke7-s:hover { border-color: rgba(244,241,232,.6); background: rgba(244,241,232,.06); }\n.hb-ke7-orbit { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 1; }\n.hb-ke7-ring { position: absolute; inset: 0; border: 1px solid rgba(244,241,232,.16); border-radius: 50%; animation: hb-ke7-spin 26s linear infinite; }\n.hb-ke7-ring:nth-child(2) { inset: 16%; border-style: dashed; border-color: rgba(244,241,232,.2); animation-duration: 18s; animation-direction: reverse; }\n.hb-ke7-ring:nth-child(3) { inset: 32%; animation-duration: 12s; }\n.hb-ke7-ring b { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #e9dcb5; box-shadow: 0 0 0 5px rgba(233,220,181,.15); }\n.hb-ke7-ring:nth-child(2) b { top: auto; bottom: -4px; width: 8px; height: 8px; background: #f4f1e8; }\n.hb-ke7-ring:nth-child(3) b { top: calc(50% - 3px); left: -3px; width: 6px; height: 6px; background: #b6d8c4; }\n.hb-ke7-seal {\n  position: absolute;\n  inset: 38%;\n  display: grid;\n  place-content: center;\n  border-radius: 50%;\n  background: #f4f1e8;\n  color: #13261d;\n  text-align: center;\n  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);\n}\n.hb-ke7-score { font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: clamp(20px, 3cqi, 30px); line-height: 1; }\n.hb-ke7-stars { display: flex; justify-content: center; gap: 1px; margin-top: 4px; }\n.hb-ke7-stars svg { width: 9px; height: 9px; fill: var(--hb-ke7-accent); }\n.hb-ke7-tip {\n  position: absolute;\n  right: -2%;\n  bottom: 12%;\n  padding: 8px 12px;\n  border-radius: 12px;\n  background: rgba(244,241,232,.12);\n  border: 1px solid rgba(244,241,232,.2);\n  color: #f4f1e8;\n  font-size: 12px;\n  line-height: 1.3;\n  backdrop-filter: blur(6px);\n  white-space: nowrap;\n}\n.hb-ke7-map { position: relative; background: #ede9dd; border-top: 1px solid rgba(29,28,25,.06); }\n.hb-ke7-mapin { max-width: 1120px; margin: 0 auto; padding: 164px 24px 28px; }\n.hb-ke7-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }\n.hb-ke7-brand { display: inline-block; color: #1d1c19; font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: 34px; letter-spacing: -.02em; line-height: 1; text-decoration: none; }\n.hb-ke7-brand span { color: var(--hb-ke7-accent); }\n.hb-ke7-addr { margin: 16px 0 0; color: #6c685e; font-size: 13.5px; font-style: normal; line-height: 1.7; }\n.hb-ke7-ct { margin: 4px 0 14px; font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif); font-size: 19px; color: #1d1c19; }\n.hb-ke7-ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }\n.hb-ke7-a {\n  color: #57534a;\n  font-size: 14px;\n  text-decoration: none;\n  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;\n  transition: color .2s ease, background-size .3s cubic-bezier(.2,.8,.2,1);\n}\n.hb-ke7-a:hover { color: var(--hb-ke7-accent); background-size: 100% 1px; }\n.hb-ke7-bottom {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px 24px;\n  margin-top: 52px;\n  padding-top: 20px;\n  border-top: 1px solid rgba(29,28,25,.12);\n  color: #7a766b;\n  font-size: 13px;\n}\n.hb-ke7-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }\n.hb-ke7-bottom a { color: #57534a; text-decoration: none; }\n.hb-ke7-bottom a:hover { color: #1d1c19; }\n.hb-ke7 a:focus-visible { outline: 2px solid var(--hb-ke7-accent); outline-offset: 3px; border-radius: 4px; }\n.hb-ke7-card a:focus-visible { outline-color: #e9dcb5; }\n@keyframes hb-ke7-spin { to { transform: rotate(1turn); } }\n@container (max-width: 900px) {\n  .hb-ke7-card { grid-template-columns: minmax(0, 1fr); padding: 40px 32px; }\n  .hb-ke7-orbit { display: none; }\n  .hb-ke7-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n  .hb-ke7-about { grid-column: 1 / -1; }\n}\n@container (max-width: 520px) {\n  .hb-ke7-top { padding: 48px 16px 0; }\n  .hb-ke7-card { padding: 32px 22px; border-radius: 22px; }\n  .hb-ke7-mapin { padding: 148px 16px 24px; }\n  .hb-ke7-btn { flex: 1 1 auto; justify-content: center; }\n}\n@media (prefers-reduced-motion: reduce) {\n  .hb-ke7 *, .hb-ke7 *::before, .hb-ke7 *::after { animation: none !important; transition: none !important; }\n}\n`;\n\nconst defaultColumns: FooterCtaSitemapColumn[] = [\n  {\n    title: \"Product\",\n    links: [\n      { label: \"Season planner\", href: \"#\" },\n      { label: \"Crop calendar\", href: \"#\" },\n      { label: \"Yield reports\", href: \"#\" },\n      { label: \"Mobile app\", href: \"#\" },\n      { label: \"Integrations\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Growers\",\n    links: [\n      { label: \"Market gardens\", href: \"#\" },\n      { label: \"Orchards\", href: \"#\" },\n      { label: \"Vineyards\", href: \"#\" },\n      { label: \"Co-ops\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Learn\",\n    links: [\n      { label: \"Field guides\", href: \"#\" },\n      { label: \"Seed library\", href: \"#\" },\n      { label: \"Webinars\", href: \"#\" },\n      { label: \"Community\", href: \"#\" },\n    ],\n  },\n  {\n    title: \"Company\",\n    links: [\n      { label: \"About\", href: \"#\" },\n      { label: \"Careers\", href: \"#\" },\n      { label: \"Press\", href: \"#\" },\n      { label: \"Contact\", href: \"#\" },\n    ],\n  },\n];\n\nconst defaultLegal: FooterCtaSitemapLink[] = [\n  { label: \"Privacy\", href: \"#\" },\n  { label: \"Terms\", href: \"#\" },\n  { label: \"Accessibility\", href: \"#\" },\n];\n\nexport function FooterCtaSitemap({\n  eyebrow = \"Free for your first 30 days\",\n  title = \"Plan your next season\",\n  highlight = \"in an afternoon.\",\n  subtitle = \"Map every bed, schedule every sowing and see your harvest forecast before the first frost. Loved by 2,300 farms across 14 countries.\",\n  primary = { label: \"Start planning\", href: \"#\" },\n  secondary = { label: \"Talk to a grower\", href: \"#\" },\n  rating = { score: \"4.9\", label: \"from 2,300 farms\" },\n  brand = \"Fieldnote\",\n  address = [\"41 Mercer Lane\", \"Portland, Oregon 97214\", \"hello@fieldnote.farm\"],\n  columns = defaultColumns,\n  legal = defaultLegal,\n  copyright = \"© 2026 Fieldnote Cooperative\",\n  accent = \"#2f6b4f\",\n  className = \"\",\n  style,\n  ...rest\n}: FooterCtaSitemapProps) {\n  return (\n    <footer className={`hb-ke7 ${className}`} style={{ \"--hb-ke7-accent\": accent, ...style } as React.CSSProperties} {...rest}>\n      <style href=\"hb-footer-cta-sitemap\" precedence=\"default\">\n        {css}\n      </style>\n      <div className=\"hb-ke7-top\">\n        <section className=\"hb-ke7-card\" aria-label={title}>\n          <div>\n            {eyebrow && (\n              <p className=\"hb-ke7-eyebrow\">\n                <i aria-hidden=\"true\" />\n                {eyebrow}\n              </p>\n            )}\n            <h2 className=\"hb-ke7-h\">\n              {title} {highlight && <em>{highlight}</em>}\n            </h2>\n            {subtitle && <p className=\"hb-ke7-sub\">{subtitle}</p>}\n            {(primary || secondary) && (\n              <div className=\"hb-ke7-actions\">\n                {primary && (\n                  <a href={primary.href} className=\"hb-ke7-btn hb-ke7-p\">\n                    {primary.label}\n                    <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\">\n                      <path d=\"M3 8h10M9 4l4 4-4 4\" />\n                    </svg>\n                  </a>\n                )}\n                {secondary && (\n                  <a href={secondary.href} className=\"hb-ke7-btn hb-ke7-s\">\n                    {secondary.label}\n                  </a>\n                )}\n              </div>\n            )}\n          </div>\n          <div className=\"hb-ke7-orbit\" aria-hidden=\"true\">\n            <span className=\"hb-ke7-ring\">\n              <b />\n            </span>\n            <span className=\"hb-ke7-ring\">\n              <b />\n            </span>\n            <span className=\"hb-ke7-ring\">\n              <b />\n            </span>\n            {rating && (\n              <span className=\"hb-ke7-seal\">\n                <span className=\"hb-ke7-score\">{rating.score}</span>\n                <span className=\"hb-ke7-stars\">\n                  {[0, 1, 2, 3, 4].map((i) => (\n                    <svg key={i} viewBox=\"0 0 24 24\">\n                      <path d=\"m12 2.5 2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6-4.9-4.6 6.6-.8L12 2.5z\" />\n                    </svg>\n                  ))}\n                </span>\n              </span>\n            )}\n            {rating && <span className=\"hb-ke7-tip\">{rating.label}</span>}\n          </div>\n        </section>\n      </div>\n      <div className=\"hb-ke7-map\">\n        <div className=\"hb-ke7-mapin\">\n          <div className=\"hb-ke7-grid\">\n            <div className=\"hb-ke7-about\">\n              <a href=\"#\" className=\"hb-ke7-brand\" aria-label={`${brand} home`}>\n                {brand}\n                <span>.</span>\n              </a>\n              <address className=\"hb-ke7-addr\">\n                {address.map((line) => (\n                  <React.Fragment key={line}>\n                    {line}\n                    <br />\n                  </React.Fragment>\n                ))}\n              </address>\n            </div>\n            {columns.map((col) => (\n              <nav key={col.title} aria-label={col.title}>\n                <p className=\"hb-ke7-ct\">{col.title}</p>\n                <ul className=\"hb-ke7-ul\">\n                  {col.links.map((link) => (\n                    <li key={link.label}>\n                      <a href={link.href} className=\"hb-ke7-a\">\n                        {link.label}\n                      </a>\n                    </li>\n                  ))}\n                </ul>\n              </nav>\n            ))}\n          </div>\n          <div className=\"hb-ke7-bottom\">\n            <span>{copyright}</span>\n            <ul aria-label=\"Legal\">\n              {legal.map((link) => (\n                <li key={link.label}>\n                  <a href={link.href}>{link.label}</a>\n                </li>\n              ))}\n            </ul>\n          </div>\n        </div>\n      </div>\n    </footer>\n  );\n}\n"
    }
  ]
}