{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"nordlys-fintech","type":"registry:block","title":"Nordlys Fintech","description":"A complete landing page for a Nordic fintech. Real aurora ripples over a frozen fjord above the fold; feature cards sit on solid graphite; numbers count up as they enter the viewport. Cool, calm and expensive-feeling.","categories":["landing"],"dependencies":["@fontsource-variable/bricolage-grotesque@^5.3.0","@fontsource-variable/schibsted-grotesk@^5.3.0","@fontsource-variable/spline-sans-mono@^5.3.0"],"files":[{"path":"components/nightmarquee/nordlys-fintech/lib/media-manifest.json","type":"registry:component","target":"components/nightmarquee/nordlys-fintech/lib/media-manifest.json","content":"{\n  \"base\": \"https://media.nightmarquee.com\",\n  \"files\": {\n    \"/drops/nordlys-fintech/ambient.mp4\": \"drops/nordlys-fintech/ambient.a34cf7d134.mp4\",\n    \"/drops/nordlys-fintech/hero.mp4\": \"drops/nordlys-fintech/hero.c00a00dfab.mp4\",\n    \"/drops/nordlys-fintech/preview.mp4\": \"drops/nordlys-fintech/preview.ee7058bc01.mp4\",\n    \"/drops/nordlys-fintech/site-hover.mp4\": \"drops/nordlys-fintech/site-hover.3400bff120.mp4\",\n    \"/drops/nordlys-fintech/site-preview.mp4\": \"drops/nordlys-fintech/site-preview.de231de374.mp4\"\n  }\n}\n"},{"path":"components/nightmarquee/nordlys-fintech/lib/media.ts","type":"registry:component","target":"components/nightmarquee/nordlys-fintech/lib/media.ts","content":"import manifest from \"./media-manifest.json\";\n/* NightMarquee design \"Nordlys Fintech\". Free for personal, portfolio, educational and non-commercial use; no republishing: nightmarquee.com/license */\n\nconst files: Record<string, string> = manifest.files;\nconst ORIGIN = \"https://media.nightmarquee.com\";\n\n/**\n * Where a drop's file is served from. Video plays from the content-hashed copy\n * named in the manifest, any other drop file from media.nightmarquee.com. Set\n * NEXT_PUBLIC_FOOTAGE_LOCAL=1 once the footage pack is in public/drops/<slug>/\n * and every path resolves to the local copy instead.\n */\nexport function mediaUrl(path: string): string {\n  // A design that builds paths from a folder constant hands over the origin's absolute address.\n  const drop = path.startsWith(`${ORIGIN}/drops/`) ? path.slice(ORIGIN.length) : path;\n  if (process.env.NEXT_PUBLIC_FOOTAGE_LOCAL) return drop;\n  const key = files[drop];\n  if (key) return `${manifest.base}/${key}`;\n  return drop.startsWith(\"/drops/\") ? `${ORIGIN}${drop}` : drop;\n}\n"},{"path":"components/nightmarquee/nordlys-fintech/nordlys-fintech/demo.tsx","type":"registry:component","target":"components/nightmarquee/nordlys-fintech/nordlys-fintech/demo.tsx","content":"\"use client\";\n/* NightMarquee design \"Nordlys Fintech\". Free for personal, portfolio, educational and non-commercial use; no republishing: nightmarquee.com/license */\n\n/* Nordlys, Nordic fintech landing. JS: scroll reveals + count-up stats. */\n\nimport { useEffect, useRef, useState, useSyncExternalStore } from \"react\";\nimport { mediaUrl } from \"../lib/media\";\n\nconst RM_QUERY = \"(prefers-reduced-motion: reduce)\";\nfunction subscribeReducedMotion(cb: () => void) {\n  const mq = window.matchMedia(RM_QUERY);\n  mq.addEventListener(\"change\", cb);\n  return () => mq.removeEventListener(\"change\", cb);\n}\n/** prefers-reduced-motion as render state (false on the server). */\nfunction useReducedMotion() {\n  return useSyncExternalStore(\n    subscribeReducedMotion,\n    () => window.matchMedia(RM_QUERY).matches,\n    () => false\n  );\n}\n\nfunction useReveal<T extends HTMLElement>() {\n  const ref = useRef<T>(null);\n  useEffect(() => {\n    const el = ref.current;\n    if (!el) return;\n    const targets = el.querySelectorAll<HTMLElement>(\"[data-nord-reveal]\");\n    const io = new IntersectionObserver(\n      (entries) =>\n        entries.forEach((e) => {\n          if (e.isIntersecting) {\n            (e.target as HTMLElement).classList.add(\"nord-in\");\n            io.unobserve(e.target);\n          }\n        }),\n      { threshold: 0.2 }\n    );\n    targets.forEach((t) => io.observe(t));\n    return () => io.disconnect();\n  }, []);\n  return ref;\n}\n\nfunction CountUp({ to, decimals = 0, suffix = \"\" }: { to: number; decimals?: number; suffix?: string }) {\n  const ref = useRef<HTMLSpanElement>(null);\n  const reduced = useReducedMotion();\n  const [counted, setVal] = useState(0);\n  const val = reduced ? to : counted;\n  useEffect(() => {\n    const el = ref.current;\n    if (!el || reduced) return;\n    let raf = 0;\n    const io = new IntersectionObserver(\n      ([e]) => {\n        if (!e.isIntersecting) return;\n        io.disconnect();\n        const start = performance.now();\n        const dur = 1600;\n        const tick = (now: number) => {\n          const p = Math.min(1, (now - start) / dur);\n          const eased = 1 - Math.pow(1 - p, 3);\n          setVal(to * eased);\n          if (p < 1) raf = requestAnimationFrame(tick);\n        };\n        raf = requestAnimationFrame(tick);\n      },\n      { threshold: 0.6 }\n    );\n    io.observe(el);\n    return () => {\n      io.disconnect();\n      cancelAnimationFrame(raf);\n    };\n  }, [to, reduced]);\n  return (\n    <span ref={ref}>\n      {val.toFixed(decimals)}\n      {suffix}\n    </span>\n  );\n}\n\nconst FEATURES = [\n  {\n    title: \"Accounts that hibernate well\",\n    body: \"Idle balances sweep into overnight yield automatically, your money rests, it never sleeps through opportunity.\",\n    icon: \"❄\",\n  },\n  {\n    title: \"Borderless by birthright\",\n    body: \"Hold, send and settle in 32 currencies with mid-market rates. The fjord doesn't care where the water came from.\",\n    icon: \"⛰\",\n  },\n  {\n    title: \"Calm, auditable security\",\n    body: \"Hardware-key first, biometrics second, panic never. Every action leaves a trail you can actually read.\",\n    icon: \"🛡\",\n  },\n];\n\nconst TIERS = [\n  { name: \"Fjord\", price: \"0\", note: \"Personal\", items: [\"1 account\", \"Standard transfers\", \"Aurora card (virtual)\"], hot: false },\n  { name: \"Aurora\", price: \"9\", note: \"Recommended\", items: [\"5 accounts\", \"Instant transfers\", \"Metal card + lounge\", \"Overnight yield sweep\"], hot: true },\n  { name: \"Polaris\", price: \"29\", note: \"Teams\", items: [\"Unlimited accounts\", \"Treasury API\", \"Dedicated northern desk\"], hot: false },\n];\n\nexport function Demo() {\n  const root = useReveal<HTMLDivElement>();\n  return (\n    <div className=\"nord-page\" ref={root}>\n      <style>{`\n        .nord-page{min-height:100vh;background:linear-gradient(180deg,#0b1014,#18232b 55%,#0b1014);color:#F4F1E8;font-family:var(--font-sans);overflow-x:hidden}\n        .nord-hero{position:relative;min-height:92vh;display:flex;flex-direction:column;overflow:hidden}\n        .nord-video{position:absolute;inset:0;pointer-events:none}\n        .nord-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}\n        .nord-video::after{content:\"\";position:absolute;inset:0;background:linear-gradient(rgba(11,16,20,.38), rgba(11,16,20,.7) 82%)}\n        @media (prefers-reduced-motion: reduce){.nord-video video{display:none}}\n                .nord-nav{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:26px clamp(20px,5vw,60px)}\n        .nord-wordmark{font-family:var(--font-display);letter-spacing:.22em;font-weight:700;font-size:15px}\n        .nord-nav a{color:rgba(244,241,232,.8);text-decoration:none;font-size:13.5px;margin-left:22px;border-radius:8px;padding:4px 6px}\n        .nord-nav a:hover,.nord-nav a:focus-visible{color:#fff}\n        .nord-hero-inner{position:relative;z-index:1;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px 20px 80px}\n        .nord-h1{font-family:var(--font-display);font-weight:700;font-size:clamp(38px,7vw,84px);line-height:1.06;max-width:14ch;margin:0}\n        .nord-h1 em{font-style:normal;color:#BDE8C6}\n        .nord-lede{margin:24px auto 0;max-width:52ch;font-size:clamp(15px,1.7vw,18px);line-height:1.65;color:rgba(244,241,232,.86)}\n        .nord-cta{display:inline-block;margin-top:34px;padding:15px 34px;border-radius:14px;font-weight:650;font-size:15.5px;color:#301402;text-decoration:none;background:linear-gradient(180deg,#FFD9A0,#F5A65B 65%,#E08B3A);box-shadow:0 12px 26px -10px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.55);transition:transform .3s,box-shadow .3s}\n        .nord-cta:hover,.nord-cta:focus-visible{transform:translateY(-2px);box-shadow:0 18px 32px -12px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.55)}\n        .nord-sec{padding:clamp(60px,9vw,110px) clamp(20px,5vw,60px);max-width:1160px;margin:0 auto}\n        .nord-h2{font-family:var(--font-display);font-size:clamp(26px,3.6vw,40px);font-weight:700;margin:0 0 40px}\n        .nord-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}\n        @media(max-width:820px){.nord-cards{grid-template-columns:1fr}}\n        .nord-card{padding:28px 26px;border-radius:18px;background:#131c22;border:1px solid rgba(244,241,232,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}\n        .nord-card .ic{font-size:22px;opacity:.9}\n        .nord-card h3{font-family:var(--font-display);font-size:18px;margin:14px 0 10px}\n        .nord-card p{margin:0;font-size:14.5px;line-height:1.65;color:rgba(244,241,232,.8)}\n        [data-nord-reveal]{transform:translateY(30px);transition:transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0ms)}\n        [data-nord-reveal].nord-in{opacity:1;transform:none}\n        .nord-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center;padding:44px 30px;border-radius:22px;background:#0e1519;border:1px solid rgba(189,232,198,.16)}\n        @media(max-width:680px){.nord-stats{grid-template-columns:1fr}}\n        .nord-stat b{display:block;font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:clamp(30px,4.5vw,48px);color:#BDE8C6}\n        .nord-stat>span{display:block;margin-top:6px;font-size:14px;color:rgba(244,241,232,.76)}\n        .nord-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}\n        @media(max-width:820px){.nord-tiers{grid-template-columns:1fr}}\n        .nord-tier{position:relative;padding:30px 26px;border-radius:18px;background:#131c22;border:1px solid rgba(244,241,232,.12);display:flex;flex-direction:column}\n        .nord-tier.hot{background:#18252b;border-color:rgba(189,232,198,.5);box-shadow:inset 0 2px 0 #BDE8C6}\n        .nord-tier h3{font-family:var(--font-display);margin:0;font-size:19px}\n        .nord-tier .price{font-family:var(--font-display);font-size:42px;margin:12px 0 2px}\n        .nord-tier .price small{font-size:14px;color:rgba(244,241,232,.72)}\n        .nord-tier .note{font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;color:#BDE8C6}\n        .nord-tier ul{margin:18px 0 26px;padding:0;list-style:none;font-size:14px;line-height:2;color:rgba(244,241,232,.84)}\n        .nord-tier ul li::before{content:\"- \";color:rgba(189,232,198,.75)}\n        .nord-tier a{margin-top:auto;text-align:center;padding:12px 0;border-radius:13px;text-decoration:none;font-weight:600;font-size:14px;color:#F4F1E8;border:1px solid rgba(244,241,232,.25)}\n        .nord-tier.hot a{background:linear-gradient(180deg,#FFD9A0,#F5A65B 65%,#E8963F);color:#301402;border:none;box-shadow:0 10px 22px -10px rgba(0,0,0,.6)}\n        .nord-foot{position:relative;text-align:center;padding:70px 20px 110px;color:rgba(244,241,232,.72);font-size:13px;border-top:1px solid rgba(244,241,232,.08)}\n                @media (prefers-reduced-motion: reduce){[data-nord-reveal]{opacity:1;transform:none;transition:none}}\n        .nord-page a:focus-visible{outline:2px solid #BDE8C6;outline-offset:3px}\n      `}</style>\n\n      <header className=\"nord-hero\">\n        <div className=\"nord-video\" aria-hidden=\"true\">\n          <video autoPlay muted loop playsInline poster=\"https://media.nightmarquee.com/drops/nordlys-fintech/poster.jpg\" preload=\"metadata\" src={mediaUrl(\"/drops/nordlys-fintech/ambient.mp4\")} />\n        </div>\n        <nav className=\"nord-nav\" aria-label=\"Primary\">\n          <span className=\"nord-wordmark\">NORDLYS</span>\n          <div>\n            <a href=\"#features\">Features</a>\n            <a href=\"#pricing\">Pricing</a>\n            <a href=\"#pricing\">Sign in</a>\n          </div>\n        </nav>\n        <div className=\"nord-hero-inner\">\n          <h1 className=\"nord-h1\">\n            Banking under a <em>calmer</em> sky\n          </h1>\n          <p className=\"nord-lede\">\n            Nordlys is the account that behaves like a Nordic winter, quiet,\n            precise, and lit by something beautiful. No fees hiding in the\n            dark. No noise. Just your money, kept properly.\n          </p>\n          <a className=\"nord-cta\" href=\"#pricing\">\n            Open an account\n          </a>\n        </div>\n      </header>\n\n      <section className=\"nord-sec\" id=\"features\" aria-label=\"Features\">\n        <h2 className=\"nord-h2\">Built for long nights and longer horizons</h2>\n        <div className=\"nord-cards\">\n          {FEATURES.map((f, i) => (\n            <article key={f.title} className=\"nord-card\" data-nord-reveal style={{ [\"--d\" as string]: `${i * 70}ms` }}>\n              <span className=\"ic\" aria-hidden=\"true\">{f.icon}</span>\n              <h3>{f.title}</h3>\n              <p>{f.body}</p>\n            </article>\n          ))}\n        </div>\n      </section>\n\n      <section className=\"nord-sec\" aria-label=\"Statistics\">\n        <div className=\"nord-stats\" data-nord-reveal>\n          <div className=\"nord-stat\">\n            <b><CountUp to={2.4} decimals={1} suffix=\"M\" /></b>\n            <span>people bank calmer</span>\n          </div>\n          <div className=\"nord-stat\">\n            <b><CountUp to={99.99} decimals={2} suffix=\"%\" /></b>\n            <span>uptime, five winters running</span>\n          </div>\n          <div className=\"nord-stat\">\n            <b><CountUp to={4.9} decimals={1} /></b>\n            <span>average store rating</span>\n          </div>\n        </div>\n      </section>\n\n      <section className=\"nord-sec\" id=\"pricing\" aria-label=\"Pricing\">\n        <h2 className=\"nord-h2\">One sky, three ways under it</h2>\n        <div className=\"nord-tiers\">\n          {TIERS.map((t, i) => (\n            <article key={t.name} className={`nord-tier${t.hot ? \" hot\" : \"\"}`} data-nord-reveal style={{ [\"--d\" as string]: `${i * 70}ms` }}>\n              <span className=\"note\">{t.note}</span>\n              <h3>{t.name}</h3>\n              <p className=\"price\">\n                €{t.price}\n                <small>/month</small>\n              </p>\n              <ul>\n                {t.items.map((it) => (\n                  <li key={it}>{it}</li>\n                ))}\n              </ul>\n              <a href=\"#pricing\">{t.hot ? \"Start with Aurora\" : `Choose ${t.name}`}</a>\n            </article>\n          ))}\n        </div>\n      </section>\n\n      <footer className=\"nord-foot\">\n        <p>Nordlys · Banking under a calmer sky · Oslo, Tromsø, wherever the lights reach</p>\n      </footer>\n    </div>\n  );\n}\n"},{"path":"app/nordlys-fintech/page.tsx","type":"registry:page","target":"app/nordlys-fintech/page.tsx","content":"import type { Metadata } from \"next\";\n/* NightMarquee design \"Nordlys Fintech\". Free for personal, portfolio, educational and non-commercial use; no republishing: nightmarquee.com/license */\nimport type { CSSProperties } from \"react\";\nimport \"@fontsource-variable/bricolage-grotesque\";\nimport \"@fontsource-variable/schibsted-grotesk\";\nimport \"@fontsource-variable/spline-sans-mono\";\nimport { Demo } from \"../../components/nightmarquee/nordlys-fintech/nordlys-fintech/demo\";\n\nexport const metadata: Metadata = {\n  title: \"Nordlys Fintech\",\n  description: \"A complete landing page for a Nordic fintech. Real aurora ripples over a frozen fjord above the fold; feature cards sit on solid graphite; numbers count up as they enter the viewport. Cool, calm and expensive-feeling.\",\n};\n\n/** The faces this design was drawn with, set on its own wrapper so the project's fonts stay as they are. */\nconst SITE_FONTS = {\n  display: \"contents\",\n  \"--font-display\": \"'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif\",\n  \"--font-sans\": \"'Schibsted Grotesk Variable', -apple-system, sans-serif\",\n  \"--font-mono\": \"'Spline Sans Mono Variable', ui-monospace, monospace\",\n} as CSSProperties;\n\nexport default function Page() {\n  return (\n    <div style={SITE_FONTS}>\n      <Demo />\n    </div>\n  );\n}\n"}],"docs":"The page is at app/nordlys-fintech/page.tsx.\nIts footage streams from media.nightmarquee.com.\nUse is covered by the NightMarquee licence: nightmarquee.com/license","meta":{"mappingVersion":3}}