{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"fieldnote","type":"registry:block","title":"Fieldnote","description":"A diagram notebook landing on cream paper: scroll scrubs a fountain pen finishing its ink line while a corner sketch draws itself in step with the film. Below it every illustration inks itself in as it enters view, margin notes ring a real product screen, and Nib, a small ink mascot, walks a drawn path that links each section down to a per-editor price you set yourself.","categories":["landing"],"dependencies":["@fontsource-variable/literata@^5.3.0","@fontsource/figtree@^5.3.0","@fontsource/young-serif@^5.3.0"],"files":[{"path":"components/nightmarquee/fieldnote/fieldnote/demo.tsx","type":"registry:component","target":"components/nightmarquee/fieldnote/fieldnote/demo.tsx","content":"\"use client\";\n/* NightMarquee design \"Fieldnote\". Free for personal, portfolio, educational and non-commercial use; no republishing: nightmarquee.com/license */\n\n/* Self-hosted through @fontsource: no request to Google at build or run time. */\nimport \"@fontsource/young-serif/400.css\";\nimport \"@fontsource/figtree/400.css\";\nimport \"@fontsource/figtree/500.css\";\nimport \"@fontsource/figtree/600.css\";\nimport \"@fontsource-variable/literata/opsz-italic.css\";\n\n/* Fieldnote, a diagram notebook landing. One rAF loop: the hero film of a pen\n   finishing its line is scrubbed against chapter anchors, a corner sketch draws\n   itself in step with the film, illustrations ink themselves in as they enter\n   view, and Nib, the mascot, walks a drawn path that links the sections. */\n\nimport { useEffect, useRef, useState } from \"react\";\nimport { mediaUrl } from \"../lib/media\";\n\nconst DUR = 10;\nconst RATE = { month: 9, year: 7.5 };\n\nconst clamp01 = (v: number) => Math.min(1, Math.max(0, v));\nconst money = (n: number) =>\n  n.toLocaleString(\"en-GB\", { minimumFractionDigits: n % 1 ? 2 : 0, maximumFractionDigits: 2 });\n\nexport function Demo() {\n  const rootRef = useRef<HTMLDivElement>(null);\n  const [notes, setNotes] = useState(true);\n  const [editors, setEditors] = useState(6);\n  const [yearly, setYearly] = useState(true);\n\n  const per = yearly ? RATE.year : RATE.month;\n  const total = per * editors * (yearly ? 12 : 1);\n\n  useEffect(() => {\n    const root = rootRef.current;\n    if (!root) return;\n    const reduce = window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n    root.classList.add(\"js\");\n\n    /* reveals and self-drawing groups: armed by the js class, swept from the loop */\n    let pending = Array.from(root.querySelectorAll<HTMLElement>(\"[data-reveal],[data-draw],.fn-hl\"));\n    root.querySelectorAll<HTMLElement>(\"[data-draw]\").forEach((g) => {\n      g.querySelectorAll<SVGElement>(\".d\").forEach((p, i) => p.style.setProperty(\"--d\", `${i * 160}ms`));\n    });\n    pending.forEach((el) => {\n      const g = el.closest(\"[data-stagger]\");\n      if (g && el.hasAttribute(\"data-reveal\")) {\n        const s = Array.from(g.querySelectorAll(\"[data-reveal]\"));\n        el.style.setProperty(\"--d\", `${s.indexOf(el) * 70}ms`);\n      }\n    });\n    const sweep = () => {\n      const vh = window.innerHeight;\n      for (let i = pending.length - 1; i >= 0; i--) {\n        const r = pending[i].getBoundingClientRect();\n        if (r.top < vh * 0.88 && r.bottom > 0) {\n          pending[i].classList.add(\"in\");\n          pending.splice(i, 1);\n        }\n      }\n    };\n\n    /* film */\n    const film = root.querySelector<HTMLElement>(\"[data-film]\")!;\n    const wrap = root.querySelector<HTMLElement>(\"[data-chapters]\")!;\n    const video = root.querySelector<HTMLVideoElement>(\"[data-scrub-video]\")!;\n    const nav = root.querySelector<HTMLElement>(\"[data-nav]\")!;\n    const pct = root.querySelector<HTMLElement>(\"[data-pct]\")!;\n    const strokes = Array.from(root.querySelectorAll<SVGPathElement>(\"[data-sketch] path\"));\n    const chapters = Array.from(root.querySelectorAll<HTMLElement>(\"[data-t]\"));\n    const cards = Array.from(root.querySelectorAll<HTMLElement>(\"[data-card]\"));\n\n    let ax: number[] = [0];\n    let at: number[] = [0];\n    let span = 1;\n    const measure = () => {\n      const vh = window.innerHeight;\n      span = Math.max(1, film.offsetHeight - vh);\n      const pts = chapters\n        .map((ch) => ({ y: ch.offsetTop + ch.offsetHeight / 2 - vh / 2, t: parseFloat(ch.dataset.t || \"0\") }))\n        .map((p) => ({ y: Math.min(span, Math.max(0, p.y)), t: p.t }));\n      pts.push({ y: 0, t: 0 }, { y: span, t: DUR });\n      pts.sort((a, b) => a.y - b.y || a.t - b.t);\n      ax = pts.map((p) => p.y);\n      at = pts.map((p) => p.t);\n    };\n    const lookup = (y: number) => {\n      if (y <= ax[0]) return at[0];\n      for (let i = 1; i < ax.length; i++) {\n        if (y <= ax[i]) return at[i - 1] + (at[i] - at[i - 1]) * ((y - ax[i - 1]) / (ax[i] - ax[i - 1] || 1));\n      }\n      return at[at.length - 1];\n    };\n\n    const mark = () => video.classList.add(\"ready\");\n    if (video.readyState >= 3) mark();\n    else {\n      video.addEventListener(\"canplay\", mark, { once: true });\n      video.addEventListener(\"loadeddata\", mark, { once: true });\n    }\n    const kick = () => {\n      video.preload = \"auto\";\n      video.load();\n    };\n    if (!reduce) {\n      if (document.readyState === \"complete\") kick();\n      else window.addEventListener(\"load\", kick, { once: true });\n    }\n\n    const drawSketch = (t: number) => {\n      const k = clamp01(t / DUR) * strokes.length;\n      strokes.forEach((p, i) => (p.style.strokeDashoffset = `${(1 - clamp01(k - i)).toFixed(3)}`));\n      pct.textContent = String(Math.round(clamp01(t / DUR) * 100));\n    };\n\n    /* Nib's trail: a path through the section stops, rebuilt on resize */\n    const trailWrap = root.querySelector<HTMLElement>(\"[data-trail-wrap]\")!;\n    const trailSvg = root.querySelector<SVGSVGElement>(\"[data-trail-svg]\")!;\n    const trailBase = root.querySelector<SVGPathElement>(\"[data-trail-base]\")!;\n    const trailInk = root.querySelector<SVGPathElement>(\"[data-trail-ink]\")!;\n    const nib = root.querySelector<HTMLElement>(\"[data-nib]\")!;\n    const stops = Array.from(root.querySelectorAll<HTMLElement>(\"[data-stop]\"));\n    let tL = 0;\n    let sl: number[] = [];\n    let sy: number[] = [];\n    let stopL: number[] = [];\n    const lengthAtY = (y: number) => {\n      if (!sy.length || y <= sy[0]) return 0;\n      if (y >= sy[sy.length - 1]) return tL;\n      let lo = 0, hi = sy.length - 1;\n      while (hi - lo > 1) {\n        const mid = (lo + hi) >> 1;\n        if (sy[mid] < y) lo = mid;\n        else hi = mid;\n      }\n      return sl[lo] + (sl[hi] - sl[lo]) * ((y - sy[lo]) / (sy[hi] - sy[lo] || 1));\n    };\n    const buildTrail = () => {\n      const w = trailWrap.offsetWidth, h = trailWrap.offsetHeight;\n      trailSvg.setAttribute(\"viewBox\", `0 0 ${w} ${h}`);\n      const wr = trailWrap.getBoundingClientRect();\n      const pts = stops.map((s) => {\n        const r = s.getBoundingClientRect();\n        return { x: r.left + r.width / 2 - wr.left, y: r.top + r.height / 2 - wr.top };\n      });\n      if (pts.length < 2) return;\n      const wob = Math.min(12, pts[0].x * 0.3);\n      let d = `M${pts[0].x.toFixed(1)} ${pts[0].y.toFixed(1)}`;\n      for (let i = 1; i < pts.length; i++) {\n        const a = pts[i - 1], b = pts[i];\n        const dy = b.y - a.y;\n        if (Math.abs(b.x - a.x) < 4) {\n          const n = Math.max(1, Math.round(dy / 220));\n          let px = a.x, py = a.y;\n          for (let k = 1; k <= n; k++) {\n            const y = a.y + (dy * k) / n;\n            const x = k === n ? b.x : a.x + (k % 2 ? wob : -wob);\n            const seg = (y - py) / 2;\n            d += ` C${px.toFixed(1)} ${(py + seg).toFixed(1)} ${x.toFixed(1)} ${(y - seg).toFixed(1)} ${x.toFixed(1)} ${y.toFixed(1)}`;\n            px = x;\n            py = y;\n          }\n        } else {\n          d += ` C${a.x.toFixed(1)} ${(a.y + dy * 0.6).toFixed(1)} ${b.x.toFixed(1)} ${(b.y - dy * 0.6).toFixed(1)} ${b.x.toFixed(1)} ${b.y.toFixed(1)}`;\n        }\n      }\n      trailBase.setAttribute(\"d\", d);\n      trailInk.setAttribute(\"d\", d);\n      tL = trailInk.getTotalLength();\n      trailInk.style.strokeDasharray = `${tL} ${tL}`;\n      const n = Math.max(2, Math.ceil(tL / 12));\n      sl = [];\n      sy = [];\n      for (let i = 0; i <= n; i++) {\n        const l = (tL * i) / n;\n        sl.push(l);\n        sy.push(trailInk.getPointAtLength(l).y);\n      }\n      stopL = pts.map((p) => lengthAtY(p.y));\n    };\n\n    let ml = 0, lastMl = -1, lastX = 0, face = 1, lastStep = -1;\n    const placeNib = (l: number) => {\n      const p = trailInk.getPointAtLength(l);\n      if (Math.abs(p.x - lastX) > 0.4) face = p.x < lastX ? -1 : 1;\n      lastX = p.x;\n      const step = Math.floor(l / 16) % 2;\n      const bob = step ? -2 : 0;\n      nib.style.transform = `translate3d(${(p.x - 18).toFixed(1)}px,${(p.y - 38 + bob).toFixed(1)}px,0)`;\n      nib.style.setProperty(\"--face\", `${face}`);\n      if (step !== lastStep) {\n        lastStep = step;\n        nib.dataset.step = String(step);\n      }\n      trailInk.style.strokeDashoffset = `${(tL - l).toFixed(1)}`;\n      stops.forEach((s, i) => s.classList.toggle(\"lit\", l >= stopL[i] - 2));\n    };\n\n    const rebuild = () => {\n      measure();\n      buildTrail();\n      lastMl = -1;\n      if (reduce) placeNib(tL);\n    };\n    rebuild();\n    const ro = new ResizeObserver(rebuild);\n    ro.observe(wrap);\n    ro.observe(trailWrap);\n    window.addEventListener(\"resize\", rebuild);\n\n    /* ambient loop plays only while on screen */\n    const amb = root.querySelector<HTMLVideoElement>(\"[data-ambient]\");\n    let io: IntersectionObserver | null = null;\n    if (amb && !reduce) {\n      io = new IntersectionObserver(([e]) => {\n        if (e.isIntersecting) amb.play().catch(() => {});\n        else amb.pause();\n      });\n      io.observe(amb);\n    }\n\n    let st = 0, raf = 0, lastPct = -1;\n    const tick = () => {\n      if (pending.length) sweep();\n      const vh = window.innerHeight;\n      const fr = film.getBoundingClientRect();\n      const s = -fr.top;\n\n      if (fr.bottom > 0) {\n        const target = lookup(Math.min(span, Math.max(0, s)));\n        st += (target - st) * 0.1;\n        if (Math.abs(target - st) < 0.0005) st = target;\n        if (video.duration && video.classList.contains(\"ready\") && !video.seeking) {\n          const vt = Math.min(video.duration - 0.04, st);\n          if (Math.abs(video.currentTime - vt) > 0.01) video.currentTime = vt;\n        }\n        const q = Math.round(st * 100);\n        if (q !== lastPct) {\n          lastPct = q;\n          drawSketch(st);\n        }\n        cards.forEach((c) => {\n          const r = c.parentElement!.getBoundingClientRect();\n          const rel = Math.max(-1.2, Math.min(1.2, (r.top + r.height / 2 - vh / 2) / vh));\n          c.style.transform = `translate3d(0,${(rel * 26).toFixed(1)}px,0) rotate(${(Number(c.dataset.card) + rel * 3).toFixed(2)}deg)`;\n        });\n      }\n\n      const wr = trailWrap.getBoundingClientRect();\n      if (wr.top < vh && wr.bottom > 0) {\n        const tgt = lengthAtY(vh * 0.62 - wr.top);\n        ml += (tgt - ml) * 0.14;\n        if (Math.abs(tgt - ml) < 0.2) ml = tgt;\n        if (Math.abs(ml - lastMl) > 0.3) {\n          lastMl = ml;\n          placeNib(ml);\n        }\n      }\n\n      nav.classList.toggle(\"solid\", s > vh * 0.6);\n      raf = requestAnimationFrame(tick);\n    };\n\n    if (reduce) {\n      const still = () => {\n        video.currentTime = 5;\n      };\n      if (video.readyState >= 1) still();\n      video.addEventListener(\"loadedmetadata\", still);\n      pending.forEach((el) => el.classList.add(\"in\"));\n      pending = [];\n      drawSketch(DUR);\n      const onScroll = () => nav.classList.toggle(\"solid\", window.scrollY > window.innerHeight * 0.6);\n      window.addEventListener(\"scroll\", onScroll, { passive: true });\n      return () => {\n        window.removeEventListener(\"scroll\", onScroll);\n        video.removeEventListener(\"loadedmetadata\", still);\n        window.removeEventListener(\"resize\", rebuild);\n        ro.disconnect();\n      };\n    }\n    raf = requestAnimationFrame(tick);\n    return () => {\n      cancelAnimationFrame(raf);\n      ro.disconnect();\n      io?.disconnect();\n      window.removeEventListener(\"resize\", rebuild);\n    };\n  }, []);\n\n  return (\n    <div className=\"fn-page\" ref={rootRef}>\n      <link rel=\"preload\" as=\"image\" href=\"https://media.nightmarquee.com/drops/fieldnote/still-1.jpg\" />\n      <style>{css}</style>\n\n      <nav className=\"fn-nav\" data-nav aria-label=\"Fieldnote\">\n        <a className=\"fn-mark\" href=\"#top\">\n          <svg viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n            <path d=\"M12 2 C 16 7 18 11 18 14 L 12 22 L 6 14 C 6 11 8 7 12 2 Z\" fill=\"#2639a0\" />\n            <path d=\"M12 9 L 12 17\" stroke=\"#f4efe3\" strokeWidth=\"1.4\" strokeLinecap=\"round\" />\n            <circle cx=\"12\" cy=\"9\" r=\"1.6\" fill=\"#f4efe3\" />\n          </svg>\n          Fieldnote\n        </a>\n        <ul className=\"fn-links\">\n          <li><a href=\"#how\">How it works</a></li>\n          <li><a href=\"#notes\">Mark-up</a></li>\n          <li><a href=\"#scan\">Photo import</a></li>\n          <li><a href=\"#pricing\">Pricing</a></li>\n        </ul>\n        <a className=\"fn-btn\" href=\"#pricing\">Start a notebook</a>\n      </nav>\n\n      <section className=\"fn-film\" data-film aria-label=\"A pen finishing its line\">\n        <div className=\"fn-stage\">\n          <div className=\"fn-cam\" aria-hidden=\"true\">\n            <video\n              data-scrub-video\n              muted\n              playsInline\n              preload=\"metadata\"\n              src={mediaUrl(\"/drops/fieldnote/hero.mp4\")}\n              poster=\"https://media.nightmarquee.com/drops/fieldnote/still-1.jpg\"\n            />\n          </div>\n          <div className=\"fn-scrim\" aria-hidden=\"true\" />\n          <div className=\"fn-sketch\" aria-hidden=\"true\">\n            <svg viewBox=\"0 0 200 120\" data-sketch>\n              <path pathLength={1} d=\"M40 22 C 22 23 18 50 34 58 C 52 66 68 52 64 36 C 61 24 50 19 40 22\" />\n              <path pathLength={1} d=\"M66 40 C 84 37 98 38 116 40 M108 33 L 117 40 L 107 46\" />\n              <path pathLength={1} d=\"M120 22 L 176 20 L 178 58 L 122 60 Z\" />\n              <path pathLength={1} className=\"dot\" d=\"M40 62 C 44 92 92 104 128 92 C 152 84 160 72 150 62\" />\n              <path pathLength={1} className=\"hi\" d=\"M24 42 C 38 39 52 39 66 37\" />\n              <path pathLength={1} d=\"M150 62 C 156 76 170 92 192 98\" />\n            </svg>\n            <p><span>Page 14</span><span><b data-pct>0</b>% drawn</span></p>\n          </div>\n        </div>\n\n        <div className=\"fn-chapters\" data-chapters>\n          <div className=\"fn-ch fn-hero\" id=\"top\" data-t=\"0\">\n            <div className=\"fn-herocopy\" data-stagger>\n              <h1 className=\"fn-h1\" data-reveal>\n                Sketch the plan. <span className=\"fn-hl\">Fieldnote draws the rest.</span>\n              </h1>\n              <p className=\"fn-lede\" data-reveal>\n                A diagram notebook for product teams. Draw a rough line between two boxes and it becomes a real\n                connection: it follows when you move things, carries a note and still reads in six months.\n              </p>\n              <div className=\"fn-cta-row\" data-reveal>\n                <a className=\"fn-btn fn-btn-lg\" href=\"#pricing\">Start a notebook</a>\n                <a className=\"fn-link\" href=\"#how\">\n                  See a page grow\n                  <svg viewBox=\"0 0 40 14\" aria-hidden=\"true\"><path d=\"M2 8 C 12 5 24 10 36 6 M30 2 L 37 6 L 31 11\" /></svg>\n                </a>\n              </div>\n              <p className=\"fn-meta\" data-reveal>Free for 3 editors. Readers are always free.</p>\n            </div>\n          </div>\n\n          <div className=\"fn-ch\" data-t=\"3.2\">\n            <article className=\"fn-card\" data-card=\"-1.2\" data-stagger>\n              <h2 className=\"fn-h2\" data-reveal><i>1.</i> Rough is the input</h2>\n              <p className=\"fn-p\" data-reveal>\n                Draw with a mouse, a pen or a finger. Wobbly boxes stay wobbly. Fieldnote only straightens a line when\n                you ask it to.\n              </p>\n              <p className=\"fn-fact\" data-reveal>Pen, mouse or touch, with pressure kept on iPad</p>\n            </article>\n          </div>\n\n          <div className=\"fn-ch right\" data-t=\"6.4\">\n            <article className=\"fn-card\" data-card=\"1\" data-stagger>\n              <h2 className=\"fn-h2\" data-reveal><i>2.</i> Every arrow knows both ends</h2>\n              <p className=\"fn-p\" data-reveal>\n                Arrows attach where you let go. Move a box and its arrows follow, redrawn in your own stroke, never\n                snapped to a grid.\n              </p>\n              <p className=\"fn-fact\" data-reveal>Up to 400 boxes on one page</p>\n            </article>\n          </div>\n\n          <div className=\"fn-ch\" data-t=\"9.3\">\n            <article className=\"fn-card\" data-card=\"-0.8\" data-stagger>\n              <div\n                className=\"fn-thumb\"\n                role=\"img\"\n                aria-label=\"A notebook page where one ink circle is filled with highlighter yellow beside a fountain pen\"\n                data-reveal\n              />\n              <h2 className=\"fn-h2\" data-reveal><i>3.</i> One highlighter per page</h2>\n              <p className=\"fn-p\" data-reveal>\n                Mark the decision that matters. Each page gets a single yellow pen, so the important thing is never one\n                of twelve.\n              </p>\n            </article>\n          </div>\n\n          <div className=\"fn-ch fn-end\" data-t={DUR} aria-hidden=\"true\" />\n        </div>\n      </section>\n\n      <div className=\"fn-trail\" data-trail-wrap>\n        <svg className=\"fn-trail-svg\" data-trail-svg aria-hidden=\"true\" preserveAspectRatio=\"none\">\n          <path className=\"fn-trail-base\" data-trail-base d=\"M0 0\" />\n          <path className=\"fn-trail-ink\" data-trail-ink d=\"M0 0\" />\n        </svg>\n        <div className=\"fn-nib\" data-nib aria-hidden=\"true\">\n          <svg viewBox=\"0 0 40 46\">\n            <g className=\"fn-nib-body\">\n              <path className=\"la\" d=\"M15 34 L 13 43\" />\n              <path className=\"lb\" d=\"M25 34 L 27 43\" />\n              <path d=\"M20 4 C 31 4 36 13 35 22 C 34 31 28 36 20 36 C 11 36 5 30 5 21 C 5 12 10 4 20 4 Z\" fill=\"#2639a0\" />\n              <path d=\"M8 27 C 15 31 26 31 33 26\" stroke=\"#f3e04e\" strokeWidth=\"4\" fill=\"none\" strokeLinecap=\"round\" />\n              <circle cx=\"16\" cy=\"17\" r=\"3.2\" fill=\"#f4efe3\" />\n              <circle cx=\"26\" cy=\"17\" r=\"3.2\" fill=\"#f4efe3\" />\n              <circle cx=\"17.2\" cy=\"17.4\" r=\"1.5\" fill=\"#1d2547\" />\n              <circle cx=\"27.2\" cy=\"17.4\" r=\"1.5\" fill=\"#1d2547\" />\n            </g>\n          </svg>\n        </div>\n\n        <section className=\"fn-sec\" id=\"how\" aria-labelledby=\"fn-how-h\">\n          <span className=\"fn-stop\" data-stop />\n          <p className=\"fn-hello\" aria-hidden=\"true\">this is Nib. follow the ink</p>\n          <div className=\"fn-sec-head\" data-stagger>\n            <h2 className=\"fn-h2 fn-big\" id=\"fn-how-h\" data-reveal>How a page grows</h2>\n            <p className=\"fn-p\" data-reveal>\n              Three moves, in the order people make them on paper. Every drawing on this page inks itself in the way it\n              does in the app.\n            </p>\n          </div>\n\n          <div className=\"fn-row\">\n            <svg className=\"fn-ill\" viewBox=\"0 0 320 200\" data-draw aria-hidden=\"true\">\n              <path className=\"d hi\" pathLength={1} d=\"M44 104 C 72 98 100 98 128 94\" />\n              <path className=\"d\" pathLength={1} d=\"M78 60 C 44 62 40 116 72 128 C 106 140 136 116 130 88 C 125 62 100 54 76 62\" />\n              <path className=\"d\" pathLength={1} d=\"M134 96 C 152 90 168 92 186 94 M176 86 L 187 94 L 175 102\" />\n              <path className=\"d\" pathLength={1} d=\"M192 62 C 222 59 250 60 280 58 L 283 126 C 252 128 222 127 195 130 L 192 62\" />\n              <path className=\"d thin\" pathLength={1} d=\"M204 150 c 6 -6 10 6 16 0 s 10 6 16 0 s 10 6 16 0 s 10 6 16 0\" />\n            </svg>\n            <div className=\"fn-row-copy\" data-stagger>\n              <h3 className=\"fn-h3\" data-reveal>Start with a circle</h3>\n              <p className=\"fn-p\" data-reveal>\n                Open a page and draw. No template picker, no shape library to search. A circle is a circle, a box is a\n                box, and both are already things you can connect.\n              </p>\n            </div>\n          </div>\n\n          <div className=\"fn-row flip\">\n            <svg className=\"fn-ill\" viewBox=\"0 0 320 200\" data-draw aria-hidden=\"true\">\n              <defs>\n                <mask id=\"fn-dot-mask\">\n                  <path className=\"d m\" pathLength={1} d=\"M60 60 C 120 18 200 28 250 70 C 300 112 230 190 160 170 C 92 152 22 112 60 60\" />\n                </mask>\n              </defs>\n              <path className=\"dotted\" mask=\"url(#fn-dot-mask)\" d=\"M60 60 C 120 18 200 28 250 70 C 300 112 230 190 160 170 C 92 152 22 112 60 60\" />\n              <path className=\"d\" pathLength={1} d=\"M60 46 C 70 46 74 54 72 62 C 70 72 56 74 50 66 C 45 58 50 47 60 46\" />\n              <path className=\"d\" pathLength={1} d=\"M236 56 L 264 55 L 265 84 L 237 85 Z\" />\n              <path className=\"d\" pathLength={1} d=\"M160 156 C 172 156 176 166 174 172 C 171 182 152 184 147 174 C 143 165 150 156 160 156\" />\n              <path className=\"d hi\" pathLength={1} d=\"M140 172 C 154 168 168 168 182 166\" />\n            </svg>\n            <div className=\"fn-row-copy\" data-stagger>\n              <h3 className=\"fn-h3\" data-reveal>Join them with a dotted path</h3>\n              <p className=\"fn-p\" data-reveal>\n                Dotted means maybe. Drag a dotted line for the routes nobody has decided, then ink it solid when the team\n                agrees. The history keeps both.\n              </p>\n            </div>\n          </div>\n\n          <div className=\"fn-row\">\n            <svg className=\"fn-ill\" viewBox=\"0 0 320 200\" data-draw aria-hidden=\"true\">\n              <path className=\"d\" pathLength={1} d=\"M150 50 L 290 48 L 292 150 L 152 152 Z\" />\n              <path className=\"d thin\" pathLength={1} d=\"M170 76 L 262 75 M170 96 L 270 95 M170 116 L 238 115\" />\n              <path className=\"d thin\" pathLength={1} d=\"M24 64 c 5 -5 8 5 13 0 s 8 5 13 0 s 8 5 13 0 s 8 5 13 0 M24 84 c 5 -5 8 5 13 0 s 8 5 13 0 s 8 5 13 0\" />\n              <path className=\"d\" pathLength={1} d=\"M58 102 C 62 130 92 140 134 118 M124 110 L 136 117 L 126 128\" />\n              <path className=\"d\" pathLength={1} d=\"M164 108 C 196 100 232 104 252 110 C 266 116 246 128 214 128 C 182 128 156 122 164 108\" />\n            </svg>\n            <div className=\"fn-row-copy\" data-stagger>\n              <h3 className=\"fn-h3\" data-reveal>Write in the margin</h3>\n              <p className=\"fn-p\" data-reveal>\n                Notes live beside the drawing, never on top of it. Point at anything with a hand-drawn arrow and the\n                note stays pinned when the diagram moves.\n              </p>\n            </div>\n          </div>\n          <span className=\"fn-stop end\" data-stop />\n        </section>\n\n        <section className=\"fn-sec alt\" id=\"notes\" aria-labelledby=\"fn-notes-h\">\n          <span className=\"fn-stop\" data-stop />\n          <div className=\"fn-sec-head fn-split\" data-stagger>\n            <div>\n              <h2 className=\"fn-h2 fn-big\" id=\"fn-notes-h\" data-reveal>Scribble on the real thing</h2>\n              <p className=\"fn-p\" data-reveal>\n                Drop a screenshot onto a page and mark it up like a printout. Rings, arrows and margin notes stay\n                attached to the part of the screen they point at.\n              </p>\n            </div>\n            <button type=\"button\" className=\"fn-toggle\" aria-pressed={notes} onClick={() => setNotes((v) => !v)} data-reveal>\n              {notes ? \"Hide the notes\" : \"Show the notes\"}\n            </button>\n          </div>\n\n          <div className=\"fn-app\" data-draw data-notes={notes ? \"on\" : \"off\"}>\n            <div className=\"fn-app-bar\">\n              <b>Onboarding flow, v3</b>\n              <span>Edited 4 min ago by Mara</span>\n              <span className=\"fn-app-share\">Share</span>\n            </div>\n            <ol className=\"fn-flow\">\n              <li><div className=\"fn-node\">Sign up</div></li>\n              <li>\n                <div className=\"fn-node\">\n                  <span className=\"fn-node-t\">Invite team</span>\n                  <svg className=\"fn-ring\" viewBox=\"0 0 100 50\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n                    <path className=\"d\" pathLength={1} vectorEffect=\"non-scaling-stroke\" d=\"M52 3 C 82 2 99 14 97 27 C 95 42 70 48 46 47 C 20 46 2 38 3 24 C 4 10 24 2 58 5\" />\n                  </svg>\n                </div>\n                <span className=\"fn-note below\">\n                  <svg viewBox=\"0 0 30 30\" aria-hidden=\"true\"><path className=\"d\" pathLength={1} d=\"M20 28 C 10 22 8 14 12 4 M6 9 L 12 3 L 17 9\" /></svg>\n                  38% stop here. Move it later?\n                </span>\n              </li>\n              <li>\n                <div className=\"fn-node\">\n                  <svg className=\"fn-swipe\" viewBox=\"0 0 100 20\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n                    <path className=\"d\" pathLength={1} d=\"M4 12 C 30 9 66 10 96 8\" />\n                  </svg>\n                  <span className=\"fn-node-t\">First page</span>\n                </div>\n                <span className=\"fn-note above\">\n                  the moment it clicks\n                  <svg viewBox=\"0 0 30 30\" aria-hidden=\"true\"><path className=\"d\" pathLength={1} d=\"M8 2 C 18 8 20 16 16 26 M10 21 L 16 27 L 22 21\" /></svg>\n                </span>\n              </li>\n              <li><div className=\"fn-node\">Share link</div></li>\n            </ol>\n            <p className=\"fn-app-comment\"><b>Mara Quist</b> Invites after the first page, then. Trying it on Monday.</p>\n          </div>\n          <span className=\"fn-stop end\" data-stop />\n        </section>\n\n        <section className=\"fn-sec\" id=\"scan\" aria-labelledby=\"fn-scan-h\">\n          <span className=\"fn-stop\" data-stop />\n          <div className=\"fn-sec-head\" data-stagger>\n            <h2 className=\"fn-h2 fn-big\" id=\"fn-scan-h\" data-reveal>Photograph the notebook</h2>\n            <p className=\"fn-p\" data-reveal>\n              Point your phone at a page you drew on the train. Fieldnote finds the boxes, circles and arrows and hands\n              you an editable page in about 4 seconds.\n            </p>\n          </div>\n          <div className=\"fn-scan\">\n            <figure className=\"fn-photo\" data-reveal>\n              <div\n                className=\"fn-photo-img\"\n                role=\"img\"\n                aria-label=\"A cream notebook page with ink boxes and circles joined by a dotted path, one circle swiped in yellow, a fountain pen at the end of the line\"\n              />\n              <figcaption>The paper, photographed at 07:40</figcaption>\n            </figure>\n            <svg className=\"fn-scan-arrow\" viewBox=\"0 0 80 40\" aria-hidden=\"true\" data-draw>\n              <path className=\"d\" pathLength={1} d=\"M4 24 C 24 12 48 30 72 16 M62 10 L 73 16 L 64 25\" />\n            </svg>\n            <figure className=\"fn-traced\">\n              <svg viewBox=\"0 0 400 260\" data-draw aria-hidden=\"true\">\n                <path className=\"d hi\" pathLength={1} d=\"M46 98 C 66 92 90 90 116 88\" />\n                <path className=\"d\" pathLength={1} d=\"M80 62 C 56 62 44 84 50 104 C 58 126 96 132 110 110 C 122 90 110 60 80 62\" />\n                <path className=\"d\" pathLength={1} d=\"M185 72 C 166 72 154 88 158 104 C 163 124 196 132 210 114 C 222 96 210 72 185 72\" />\n                <path className=\"d\" pathLength={1} d=\"M246 70 L 334 68 L 336 108 L 248 110 Z\" />\n                <path className=\"d\" pathLength={1} d=\"M272 126 L 350 124 L 351 154 L 273 156 Z\" />\n                <path className=\"d\" pathLength={1} d=\"M116 136 L 170 135 L 171 160 L 117 161 Z\" />\n                <path className=\"d\" pathLength={1} d=\"M40 176 L 94 175 L 95 210 L 41 211 Z\" />\n                <path className=\"d\" pathLength={1} d=\"M192 166 L 264 165 L 265 186 L 193 187 Z\" />\n                <path className=\"d thin\" pathLength={1} d=\"M112 100 L 154 98 M210 92 L 244 88 M80 130 L 110 140\" />\n                <path className=\"d dash\" pathLength={1} d=\"M66 192 C 110 200 150 176 192 176 M264 176 C 290 172 300 162 312 156\" />\n                <path className=\"d\" pathLength={1} d=\"M336 150 C 354 130 370 150 350 166 C 336 176 364 192 396 206\" />\n              </svg>\n              <figcaption>The page, ready to edit</figcaption>\n            </figure>\n          </div>\n          <ul className=\"fn-scan-facts\" data-stagger>\n            <li data-reveal>Reads ink, pencil and whiteboard marker</li>\n            <li data-reveal>Keeps your handwriting as its own layer</li>\n            <li data-reveal>Nothing leaves your phone until you save</li>\n          </ul>\n          <span className=\"fn-stop end\" data-stop />\n        </section>\n\n        <section className=\"fn-sec alt\" id=\"pricing\" aria-labelledby=\"fn-price-h\">\n          <span className=\"fn-stop\" data-stop />\n          <div className=\"fn-price\">\n            <div className=\"fn-price-copy\" data-stagger>\n              <h2 className=\"fn-h2 fn-big\" id=\"fn-price-h\" data-reveal>One plan, priced per editor</h2>\n              <p className=\"fn-p\" data-reveal>\n                Readers and commenters are free, always. You pay only for the people holding a pen, and the first 3 of\n                those are free too.\n              </p>\n              <ul className=\"fn-incl\" data-draw>\n                {[\n                  \"Unlimited pages and notebooks\",\n                  \"Photo import from any phone\",\n                  \"Version history for 2 years\",\n                  \"Export to SVG, PDF and PNG\",\n                ].map((t) => (\n                  <li key={t}>\n                    <svg viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path className=\"d\" pathLength={1} d=\"M3 11 C 5 12 7 14 8 16 C 10 10 13 6 18 3\" /></svg>\n                    {t}\n                  </li>\n                ))}\n              </ul>\n            </div>\n\n            <div className=\"fn-plan\">\n              <h3 className=\"fn-h3\" id=\"fn-plan-h\">Fieldnote Studio</h3>\n              <div className=\"fn-bill\" role=\"group\" aria-label=\"Billing\">\n                <button type=\"button\" aria-pressed={!yearly} onClick={() => setYearly(false)}>Monthly</button>\n                <button type=\"button\" aria-pressed={yearly} onClick={() => setYearly(true)}>Yearly, 2 months off</button>\n              </div>\n              <p className=\"fn-rate\">\n                <span className=\"fn-rate-v\">£{money(per)}</span>\n                <span>per editor a month</span>\n              </p>\n              <svg className=\"fn-under\" viewBox=\"0 0 200 14\" preserveAspectRatio=\"none\" data-draw aria-hidden=\"true\">\n                <path className=\"d\" pathLength={1} d=\"M3 9 C 50 4 120 12 197 5\" />\n              </svg>\n              <div className=\"fn-seats\">\n                <span id=\"fn-seats-l\">Editors</span>\n                <div className=\"fn-step\">\n                  <button type=\"button\" aria-label=\"One editor fewer\" disabled={editors <= 1} onClick={() => setEditors((n) => Math.max(1, n - 1))}>−</button>\n                  <output aria-labelledby=\"fn-seats-l\" aria-live=\"polite\">{editors}</output>\n                  <button type=\"button\" aria-label=\"One editor more\" disabled={editors >= 60} onClick={() => setEditors((n) => Math.min(60, n + 1))}>+</button>\n                </div>\n              </div>\n              <p className=\"fn-total\" aria-live=\"polite\">\n                <b>£{money(total)}</b> {yearly ? \"a year\" : \"a month\"} for {editors} {editors === 1 ? \"editor\" : \"editors\"}\n              </p>\n              <a className=\"fn-btn fn-btn-lg fn-btn-full\" href=\"#top\">Start a notebook</a>\n              <p className=\"fn-fine\">No card needed for up to 3 editors.</p>\n            </div>\n          </div>\n          <span className=\"fn-stop end\" data-stop />\n        </section>\n      </div>\n\n      <section className=\"fn-close\" aria-labelledby=\"fn-close-h\">\n        <figure className=\"fn-loop\">\n          <video\n            data-ambient\n            muted\n            loop\n            playsInline\n            preload=\"metadata\"\n            poster=\"https://media.nightmarquee.com/drops/fieldnote/poster.jpg\"\n            src={mediaUrl(\"/drops/fieldnote/ambient.mp4\")}\n            aria-hidden=\"true\"\n          />\n        </figure>\n        <div className=\"fn-close-copy\" data-stagger>\n          <h2 className=\"fn-h2 fn-big\" id=\"fn-close-h\" data-reveal>Leave the page half finished.</h2>\n          <p className=\"fn-p\" data-reveal>\n            Someone else will pick up the pen. Fieldnote keeps every line, every maybe and the one yellow mark, so the\n            next person starts exactly where you stopped.\n          </p>\n          <a className=\"fn-btn fn-btn-lg\" href=\"#pricing\" data-reveal>Start a notebook</a>\n        </div>\n      </section>\n\n      <footer className=\"fn-foot\">\n        <p className=\"fn-foot-mark\" aria-hidden=\"true\">Fieldnote</p>\n        <div className=\"fn-foot-row\">\n          <span>Drawn on paper first, in Leeds</span>\n          <a href=\"#how\">How it works</a>\n          <a href=\"#pricing\">Pricing</a>\n          <span>Page 14 of a long notebook</span>\n        </div>\n      </footer>\n    </div>\n  );\n}\n\nconst css = `\n.fn-page{\n  --paper:#f4efe3;--paper-2:#ece5d4;--paper-3:#e3dac4;--ink:#1d2547;--ink-2:#454e6e;--blue:#2639a0;\n  --hi:#f3e04e;--line:rgba(29,37,71,.16);--ease:cubic-bezier(.16,1,.3,1);\n  background:var(--paper);color:var(--ink);font-family:'Figtree',system-ui,sans-serif;font-size:16px;\n  overflow-x:clip;-webkit-font-smoothing:antialiased;position:relative\n}\n.fn-page ::selection{background:var(--hi);color:var(--ink)}\n.fn-page :focus-visible{outline:2px solid var(--blue);outline-offset:3px}\n.fn-page a{color:inherit}\n\n.js [data-reveal]{transform:translateY(20px);transition:transform .9s var(--ease) var(--d,0ms)}\n.js [data-reveal].in{transform:none}\n.js [data-draw] .d{stroke-dasharray:1 1;stroke-dashoffset:1;transition:stroke-dashoffset 1.1s var(--ease) var(--d,0ms)}\n.js [data-draw].in .d{stroke-dashoffset:0}\n\n.fn-hl{background:linear-gradient(var(--hi),var(--hi)) 0 90%/100% .52em no-repeat;-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .08em}\n.js .fn-hl{background-size:0% .52em;transition:background-size 1.1s var(--ease) .45s}\n.js .fn-hl.in{background-size:100% .52em}\n\n.fn-nav{position:fixed;inset:0 0 auto 0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1.1rem,3.5vw,3rem);background:linear-gradient(rgba(244,239,227,.9),rgba(244,239,227,0));border-bottom:1px solid transparent;transition:background .5s,border-color .5s}\n.fn-nav.solid{background:rgba(244,239,227,.97);border-color:var(--line)}\n.fn-mark{display:flex;align-items:center;gap:.5rem;font-family:'Young Serif',Georgia,serif;font-size:1.4rem;text-decoration:none;color:var(--ink)}\n.fn-mark svg{width:22px;height:22px}\n.fn-links{display:flex;gap:1.9rem;list-style:none;margin:0;padding:0}\n.fn-links a{position:relative;text-decoration:none;font-size:.95rem;font-weight:500;color:var(--ink);padding:.3rem 0}\n.fn-links a::after{content:\"\";position:absolute;left:0;right:0;bottom:-.05rem;height:.42em;background:var(--hi);z-index:-1;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}\n.fn-links a:hover::after,.fn-links a:focus-visible::after{transform:scaleX(1);transform-origin:left}\n.fn-links li{position:relative;isolation:isolate}\n.fn-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--ink);color:var(--paper)!important;text-decoration:none;font-weight:600;font-size:.95rem;padding:.7rem 1.15rem;border-radius:.6rem .9rem .7rem .8rem;box-shadow:3px 3px 0 var(--blue);transition:transform .35s var(--ease),box-shadow .35s var(--ease)}\n.fn-btn:hover,.fn-btn:focus-visible{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--blue)}\n.fn-btn-lg{font-size:1.02rem;padding:.95rem 1.5rem}\n@media(max-width:860px){.fn-links{display:none}}\n\n.fn-film{position:relative;background:var(--paper-2)}\n.fn-stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;z-index:0;background:var(--paper-2)}\n.fn-cam{position:absolute;inset:0;background:url(https://media.nightmarquee.com/drops/fieldnote/still-1.jpg) center/cover no-repeat}\n.fn-cam video{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block;opacity:0;transition:opacity .8s ease}\n.fn-cam video.ready{opacity:1}\n@media(max-aspect-ratio:1/1){.fn-cam{background-position:70% 50%}.fn-cam video{object-position:70% 50%}}\n.fn-scrim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(244,239,227,.55),rgba(244,239,227,.12) 46%,transparent 64%)}\n.fn-sketch{position:absolute;right:clamp(1.1rem,3.5vw,3rem);bottom:clamp(1.2rem,4vh,2.4rem);width:230px;padding:.9rem 1rem .8rem;background:var(--paper);border:1px solid var(--line);border-radius:.5rem .8rem .6rem .9rem;box-shadow:0 18px 40px -24px rgba(0,0,0,.2);transform:rotate(1.4deg)}\n.fn-sketch svg{width:100%;height:auto;display:block;overflow:visible}\n.fn-sketch path{fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1}\n.fn-sketch path.hi{stroke:var(--hi);stroke-width:9;opacity:.85}\n.fn-sketch path.dot{stroke-width:2.2}\n.fn-sketch p{display:flex;justify-content:space-between;margin:.6rem 0 0;font-size:.8rem;color:var(--ink-2);font-variant-numeric:tabular-nums}\n.fn-sketch b{font-weight:600;color:var(--ink)}\n@media(max-width:760px){.fn-sketch{display:none}}\n\n.fn-chapters{position:relative;z-index:2;margin-top:-100vh;margin-top:-100svh}\n.fn-ch{position:relative;min-height:115vh;display:flex;align-items:center;padding:0 clamp(1.1rem,5vw,4.5rem)}\n.fn-ch.right{justify-content:flex-end}\n.fn-hero{min-height:100vh;min-height:100svh;align-items:center;padding-top:5rem;padding-bottom:3rem}\n.fn-end{min-height:60vh}\n.fn-herocopy{max-width:640px;padding:clamp(1.4rem,3vw,2.4rem);background:rgba(246,242,233,.94);border:1px solid var(--line);border-radius:.6rem 1rem .8rem 1.1rem;box-shadow:0 30px 60px -36px rgba(0,0,0,.22)}\n.fn-h1{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:clamp(2.4rem,5.4vw,4.8rem);line-height:1.04;letter-spacing:-.02em;margin:0 0 1.2rem}\n.fn-lede{margin:0;max-width:46ch;font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.65;color:var(--ink-2)}\n.fn-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;margin-top:1.8rem}\n.fn-link{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;text-decoration:none;color:var(--blue)!important}\n.fn-link svg{width:36px;height:14px;fill:none;stroke:var(--blue);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .4s var(--ease)}\n.fn-link:hover svg,.fn-link:focus-visible svg{transform:translateX(4px)}\n.fn-meta{margin:1.3rem 0 0;font-size:.88rem;color:var(--ink-2)}\n\n.fn-card{width:min(430px,100%);padding:clamp(1.3rem,2.4vw,2rem);background:#f7f3ea;border:1px solid var(--line);border-radius:.5rem .9rem .6rem 1rem;box-shadow:0 34px 60px -34px rgba(0,0,0,.24);will-change:transform}\n.fn-h2{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:clamp(1.7rem,2.6vw,2.25rem);line-height:1.1;letter-spacing:-.01em;margin:0 0 .9rem}\n.fn-h2 i{font-family:'Literata Variable',Georgia,serif;font-style:italic;color:var(--blue)}\n.fn-big{font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.04}\n.fn-h3{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:clamp(1.45rem,2.2vw,1.9rem);line-height:1.15;margin:0 0 .8rem}\n.fn-p{margin:0;color:var(--ink-2);line-height:1.68;font-size:1rem;max-width:56ch}\n.fn-fact{margin:1.2rem 0 0;padding-top:1rem;border-top:1px dashed rgba(29,37,71,.28);font-family:'Literata Variable',Georgia,serif;font-style:italic;font-size:1rem;color:var(--blue)}\n.fn-thumb{aspect-ratio:16/8;margin:0 0 1.2rem;border-radius:.3rem;background:url(https://media.nightmarquee.com/drops/fieldnote/still-4.jpg) 36% 62%/240% no-repeat;border:1px solid var(--line)}\n\n.fn-trail{--gut:clamp(3.4rem,8vw,7rem);position:relative;z-index:1}\n.fn-trail-svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible}\n.fn-trail-base{fill:none;stroke:rgba(38,57,160,.35);stroke-width:2;stroke-dasharray:2 8;stroke-linecap:round}\n.fn-trail-ink{fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round}\n.fn-nib{position:absolute;left:0;top:0;width:36px;height:42px;z-index:3;pointer-events:none;will-change:transform}\n.fn-nib svg{width:100%;height:100%;overflow:visible;transform:scaleX(var(--face,1));transition:transform .3s var(--ease)}\n.fn-nib .la,.fn-nib .lb{stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;transform-box:fill-box;transform-origin:50% 0;transition:transform .14s ease-out}\n.fn-nib[data-step=\"1\"] .la{transform:rotate(22deg)}\n.fn-nib[data-step=\"1\"] .lb{transform:rotate(-22deg)}\n.fn-stop{position:absolute;top:2.6rem;left:calc(var(--gut) / 2);width:16px;height:16px;margin-left:-8px;border:2px solid var(--blue);border-radius:50% 46% 52% 48%;background:var(--paper);z-index:1;transition:background .4s var(--ease)}\n.fn-stop.end{top:auto;bottom:2.6rem}\n.fn-stop.lit{background:var(--hi)}\n.alt>.fn-stop{left:auto;right:calc(var(--gut) / 2);margin-left:0;margin-right:-8px}\n.fn-hello{position:absolute;top:.4rem;left:calc(var(--gut) / 2 + 1.4rem);margin:0;font-family:'Literata Variable',Georgia,serif;font-style:italic;font-size:1rem;color:var(--blue)}\n\n.fn-sec{position:relative;z-index:1;padding:clamp(6rem,14vh,9rem) var(--gut)}\n.fn-sec-head{max-width:720px;margin:0 0 clamp(3rem,7vh,5rem)}\n.fn-sec-head .fn-h2{margin-bottom:1.1rem}\n.fn-split{max-width:none;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1.6rem 3rem}\n.fn-split>div{max-width:640px}\n\n.fn-row{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center;max-width:1080px;margin:0 auto clamp(4rem,9vh,6rem)}\n.fn-row:last-of-type{margin-bottom:0}\n.fn-row.flip .fn-ill{order:2}\n.fn-ill{width:100%;height:auto;display:block;background:var(--paper-2);border:1px solid var(--line);border-radius:.5rem .9rem .6rem 1rem;padding:1rem;box-sizing:border-box;overflow:visible}\n.fn-ill path,.fn-traced path,.fn-app svg path,.fn-scan-arrow path,.fn-incl svg path,.fn-under path{fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}\n.fn-page path.thin{stroke-width:1.6;stroke:var(--ink-2)}\n.fn-page path.hi{stroke:var(--hi);stroke-width:16;opacity:.85}\n.fn-page path.dash{stroke-width:2}\n.fn-ill path.m{stroke:#fff;stroke-width:12}\n.fn-ill .dotted{fill:none;stroke:var(--blue);stroke-width:2.4;stroke-dasharray:2 7;stroke-linecap:round}\n\n.fn-app{position:relative;max-width:1080px;margin:0 auto;background:#fbf8f1;border:1px solid var(--line);border-radius:.7rem;box-shadow:0 40px 80px -50px rgba(0,0,0,.24)}\n.fn-app-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1.2rem;padding:.85rem 1.2rem;border-bottom:1px solid var(--line);font-size:.9rem}\n.fn-app-bar b{font-weight:600}\n.fn-app-bar span{color:var(--ink-2)}\n.fn-app-share{margin-left:auto;padding:.35rem .8rem;border:1px solid var(--line);border-radius:.4rem;color:var(--ink)!important;font-weight:500}\n.fn-flow{list-style:none;margin:0;padding:6.5rem clamp(1.2rem,4vw,3rem) 7rem;display:flex;justify-content:space-between;gap:3rem;background:url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22'><rect x='10' y='10' width='2' height='2' fill='%23cfc8b6'/></svg>\")}\n.fn-flow>li{position:relative;flex:1;min-width:0}\n.fn-node{position:relative;isolation:isolate;text-align:center;padding:1.1rem .8rem;background:#fbf8f1;border:1.6px solid var(--ink);border-radius:.5rem;font-weight:600;font-size:.98rem}\n.fn-flow>li+li::before{content:\"\";position:absolute;top:50%;right:calc(100% + .5rem);width:2rem;height:2px;background:var(--ink)}\n.fn-flow>li+li::after{content:\"\";position:absolute;top:calc(50% - 5px);right:calc(100% + .45rem);width:8px;height:11px;background:var(--ink);clip-path:polygon(0 0,100% 50%,0 100%)}\n.fn-node-t{position:relative;z-index:1}\n.fn-ring{position:absolute;inset:-16px -18px;width:calc(100% + 36px);height:calc(100% + 32px);overflow:visible}\n.fn-swipe{position:absolute;left:12%;right:12%;top:44%;width:76%;height:46%;z-index:0;overflow:visible}\n.fn-swipe path{stroke:var(--hi)!important;stroke-width:18!important;opacity:.9}\n.fn-note{position:absolute;left:50%;width:max-content;max-width:210px;transform:translateX(-50%);font-family:'Literata Variable',Georgia,serif;font-style:italic;font-weight:500;font-size:1rem;line-height:1.35;color:var(--blue);transition:opacity .4s var(--ease)}\n.fn-note svg{display:block;width:28px;height:28px;margin:0 auto}\n.fn-note.below{top:calc(100% + 1rem)}\n.fn-note.above{bottom:calc(100% + 1rem)}\n.fn-app[data-notes=\"off\"] .d{stroke-dashoffset:1!important;transition-duration:.35s;transition-delay:0ms}\n.fn-app[data-notes=\"off\"] .fn-note{opacity:0}\n.fn-app-comment{margin:0;padding:1rem 1.2rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--ink-2)}\n.fn-app-comment b{color:var(--ink);font-weight:600;margin-right:.5rem}\n.fn-toggle{font:600 .95rem 'Figtree',sans-serif;color:var(--ink);background:transparent;border:1.6px solid var(--ink);border-radius:.5rem .8rem .6rem .7rem;padding:.7rem 1.1rem;cursor:pointer;transition:background .3s}\n.fn-toggle:hover,.fn-toggle:focus-visible{background:var(--hi)}\n\n.fn-scan{display:grid;grid-template-columns:1fr 80px 1fr;gap:1.4rem;align-items:center;max-width:1180px;margin:0 auto}\n.fn-photo,.fn-traced{margin:0}\n.fn-photo-img{aspect-ratio:16/10;border-radius:.4rem;background:url(https://media.nightmarquee.com/drops/fieldnote/still-3.jpg) 50% 60%/cover no-repeat;border:1px solid var(--line)}\n.fn-traced svg{width:100%;height:auto;aspect-ratio:16/10;display:block;background:#fbf8f1;border:1px solid var(--line);border-radius:.4rem;padding:.6rem;box-sizing:border-box}\n.fn-photo figcaption,.fn-traced figcaption{margin-top:.7rem;font-family:'Literata Variable',Georgia,serif;font-style:italic;color:var(--ink-2);font-size:.95rem}\n.fn-scan-arrow{width:80px;height:40px;overflow:visible}\n.fn-scan-facts{list-style:none;margin:clamp(2.5rem,6vh,4rem) auto 0;padding:0;max-width:1180px;display:flex;flex-wrap:wrap;gap:.8rem 2.6rem}\n.fn-scan-facts li{font-size:.98rem;color:var(--ink-2);padding-left:1.3rem;position:relative}\n.fn-scan-facts li::before{content:\"\";position:absolute;left:0;top:.5em;width:.6rem;height:.6rem;border:1.6px solid var(--blue);border-radius:50%}\n\n.fn-price{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,6vw,6rem);align-items:start;max-width:1080px;margin:0 auto}\n.fn-price-copy .fn-h2{margin-bottom:1.1rem}\n.fn-incl{list-style:none;margin:2rem 0 0;padding:0;display:grid;gap:.85rem}\n.fn-incl li{display:flex;align-items:center;gap:.7rem;font-size:1rem}\n.fn-incl svg{width:20px;height:20px;flex:none}\n.fn-plan{background:#fbf8f1;border:1.6px solid var(--ink);border-radius:.6rem 1rem .7rem .9rem;padding:clamp(1.4rem,3vw,2.2rem);box-shadow:6px 6px 0 var(--hi)}\n.fn-bill{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:.5rem;padding:.25rem;margin:.4rem 0 1.4rem}\n.fn-bill button{font:500 .9rem 'Figtree',sans-serif;color:var(--ink-2);background:transparent;border:0;border-radius:.35rem;padding:.6rem .5rem;cursor:pointer;transition:background .3s,color .3s}\n.fn-bill button[aria-pressed=\"true\"]{background:var(--ink);color:var(--paper)}\n.fn-rate{display:flex;align-items:baseline;gap:.7rem;margin:0;color:var(--ink-2);font-size:.95rem}\n.fn-rate-v{font-family:'Young Serif',Georgia,serif;font-size:clamp(3rem,5vw,4rem);line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}\n.fn-under{display:block;width:180px;height:14px;margin:.2rem 0 1.4rem;overflow:visible}\n.fn-under path{stroke:var(--hi)!important;stroke-width:6!important}\n.fn-seats{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-top:1px dashed rgba(29,37,71,.28);border-bottom:1px dashed rgba(29,37,71,.28)}\n.fn-seats>span{font-weight:500}\n.fn-step{display:flex;align-items:center;gap:.6rem}\n.fn-step button{width:2.3rem;height:2.3rem;border:1.6px solid var(--ink);border-radius:50% 46% 52% 48%;background:transparent;color:var(--ink);font:500 1.1rem/1 'Figtree',sans-serif;cursor:pointer;transition:background .3s}\n.fn-step button:hover:not(:disabled),.fn-step button:focus-visible{background:var(--hi)}\n.fn-step button:disabled{opacity:.35;cursor:default}\n.fn-step output{min-width:2.2ch;text-align:center;font-family:'Young Serif',Georgia,serif;font-size:1.6rem;font-variant-numeric:tabular-nums}\n.fn-total{margin:1.2rem 0 1.4rem;color:var(--ink-2);font-size:1rem}\n.fn-total b{font-family:'Young Serif',Georgia,serif;font-weight:400;font-size:1.6rem;color:var(--ink);font-variant-numeric:tabular-nums}\n.fn-btn-full{width:100%;box-sizing:border-box}\n.fn-fine{margin:.9rem 0 0;font-size:.88rem;color:var(--ink-2);text-align:center}\n\n.fn-close{position:relative;z-index:2;display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:center;padding:clamp(5rem,12vh,8rem) clamp(1.1rem,5vw,4.5rem);background:var(--paper-2);border-top:1px solid var(--line)}\n.fn-loop{margin:0;aspect-ratio:16/9;border-radius:.6rem 1rem .7rem .9rem;overflow:hidden;background:url(https://media.nightmarquee.com/drops/fieldnote/poster.jpg) center/cover no-repeat;border:1px solid var(--line);box-shadow:0 40px 70px -46px rgba(0,0,0,.26)}\n.fn-loop video{width:100%;height:100%;object-fit:cover;display:block}\n.fn-close-copy .fn-h2{margin-bottom:1.1rem}\n.fn-close-copy .fn-btn{margin-top:1.8rem}\n\n.fn-foot{background:var(--ink);color:var(--paper);padding:clamp(3rem,8vh,5rem) clamp(1.1rem,5vw,4.5rem) clamp(5rem,10vh,7rem)}\n.fn-foot-mark{margin:0;font-family:'Young Serif',Georgia,serif;font-size:clamp(4rem,17vw,15rem);line-height:.9;letter-spacing:-.03em}\n.fn-foot-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem 2rem;margin-top:2rem;font-size:.92rem;color:rgba(244,239,227,.78)}\n.fn-foot-row a{color:var(--paper);text-decoration:none;border-bottom:2px solid var(--hi);padding-bottom:1px}\n\n@media(max-width:860px){\n  .fn-row,.fn-price,.fn-close{grid-template-columns:1fr}\n  .fn-row.flip .fn-ill{order:0}\n  .fn-scan{grid-template-columns:1fr}\n  .fn-scan-arrow{transform:rotate(90deg);margin:0 auto}\n}\n@media(max-width:760px){\n  .fn-trail{--gut:2.9rem}\n  .fn-sec{padding-left:var(--gut);padding-right:1.1rem}\n  .alt>.fn-stop{right:auto;left:calc(var(--gut) / 2);margin-left:-8px;margin-right:0}\n  .fn-hello{left:calc(var(--gut) / 2 + 1.2rem)}\n  .fn-ch,.fn-ch.right{justify-content:center;min-height:120vh}\n  .fn-hero{align-items:flex-end;min-height:100svh;padding-bottom:2rem}\n  .fn-herocopy{padding:1.3rem}\n  .fn-scrim{background:linear-gradient(rgba(244,239,227,.4),transparent 30%)}\n  .fn-flow{flex-direction:column;align-items:stretch;gap:2.6rem;padding:2.4rem 1.6rem}\n  .fn-flow>li+li::before{top:auto;right:auto;bottom:calc(100% + .45rem);left:50%;width:2px;height:1.7rem}\n  .fn-flow>li+li::after{top:auto;right:auto;bottom:calc(100% + .4rem);left:calc(50% - 4.5px);width:11px;height:8px;clip-path:polygon(0 0,100% 0,50% 100%)}\n  .fn-note{position:static;transform:none;display:block;width:auto;max-width:none;margin-top:1.1rem;text-align:center}\n  .fn-note svg{display:none}\n}\n@media(prefers-reduced-motion:reduce){\n  .fn-page *{transition:none!important;animation:none!important}\n  .js [data-reveal]{transform:none!important}\n  .js [data-draw] .d{stroke-dashoffset:0}\n  .js .fn-hl{background-size:100% .52em}\n  .fn-nib svg{transform:none}\n}\n`;\n"},{"path":"components/nightmarquee/fieldnote/lib/media-manifest.json","type":"registry:component","target":"components/nightmarquee/fieldnote/lib/media-manifest.json","content":"{\n  \"base\": \"https://media.nightmarquee.com\",\n  \"files\": {\n    \"/drops/fieldnote/ambient.mp4\": \"drops/fieldnote/ambient.131f13e7c9.mp4\",\n    \"/drops/fieldnote/hero.mp4\": \"drops/fieldnote/hero.74944576f7.mp4\",\n    \"/drops/fieldnote/preview.mp4\": \"drops/fieldnote/preview.cb44d0e62f.mp4\",\n    \"/drops/fieldnote/site-hover.mp4\": \"drops/fieldnote/site-hover.2054733b35.mp4\",\n    \"/drops/fieldnote/site-preview.mp4\": \"drops/fieldnote/site-preview.aa3972961f.mp4\"\n  }\n}\n"},{"path":"components/nightmarquee/fieldnote/lib/media.ts","type":"registry:component","target":"components/nightmarquee/fieldnote/lib/media.ts","content":"import manifest from \"./media-manifest.json\";\n/* NightMarquee design \"Fieldnote\". 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":"app/fieldnote/page.tsx","type":"registry:page","target":"app/fieldnote/page.tsx","content":"import type { Metadata } from \"next\";\n/* NightMarquee design \"Fieldnote\". Free for personal, portfolio, educational and non-commercial use; no republishing: nightmarquee.com/license */\nimport { Demo } from \"../../components/nightmarquee/fieldnote/fieldnote/demo\";\n\nexport const metadata: Metadata = {\n  title: \"Fieldnote\",\n  description: \"A diagram notebook landing on cream paper: scroll scrubs a fountain pen finishing its ink line while a corner sketch draws itself in step with the film. Below it every illustration inks itself in as it enters view, margin notes ring a real product screen, and Nib, a small ink mascot, walks a drawn path that links each section down to a per-editor price you set yourself.\",\n};\n\nexport default function Page() {\n  return <Demo />;\n}\n"}],"docs":"The page is at app/fieldnote/page.tsx.\nIts footage streams from media.nightmarquee.com.\nUse is covered by the NightMarquee licence: nightmarquee.com/license","meta":{"mappingVersion":3}}