Most online record stores treat vinyl like spare hardware parts: white grid, SKU table, add-to-cart button. Kissa (喫茶) started from the opposite premise—translating the unhurried ritual of a Tokyo jazz kissa listening bar into a social vinyl storefront where listeners can browse pressings, drop into a shared turntable queue, and feel subtle physical feedback as they flip sleeves and adjust playback.

The engineering constraint was non-negotiable: atmosphere cannot cost frame budget or Lighthouse score. Every tactile detail—audio micro-feedback, editorial sleeve layouts, and interactive architecture documentation—had to stay lean enough to run smoothly on mid-range mobile devices.

1. Keeping a Media-Heavy Vinyl Catalog Fast

Vinyl storefronts live or die by cover photography. Shipping 36 high-resolution square sleeves above and below the fold will destroy LCP and memory ceilings unless image geometry and decoding are strictly disciplined:

  • Locked `1 / 1` sleeve frames from SSR: Every record card reserves explicit width, height, and aspect-ratio: 1 / 1 inside the initial HTML so crate-digging grids never jump while thumbnails decode.
  • Single LCP hero sleeve with `fetchpriority="high"`: The featured pressing in the listening room booth uses decoding="sync" and preloaded responsive srcset widths (360w, 640w, 960w), while below-the-fold crates strictly stay loading="lazy" decoding="async".
  • Zero hover hitbox shift (`dx: 0, dy: 0`): Hovering a record sleeve reveals pressing metadata and an inner sleeve edge peek *inside* an overflow: hidden frame rather than translating the card upward. Moving the outer hitbox triggers edge oscillation; keeping the frame stationary feels grounded like pulling a record from a heavy wooden bin.

2. Procedural Web Audio Micro-Feedback with Zero Audio Files (Tono)

Early prototypes loaded tiny .mp3 and .wav files for toggle clicks, needle-drop transitions, and crate filter ticks. Even at 6 KB each, sample files caused three real annoyances: network waterfalls before the first interaction, decoding jitter on Safari, and flat repetition when users scrubbed quickly across controls.

That led directly to roier/tono (audition all presets in Roier Lab → Tono). Instead of shipping binary audio assets, Tono synthesizes micro-feedback on demand using the native Web Audio API in under 2 KB gzipped—zero files fetched, zero decode stalls, and subtle pitch jitter so rapid clicks feel mechanical rather than robotic.

src/synth/tactileTick.tsts
export function playVinylDetent(ctx: AudioContext, intensity = 0.22) {
  const now = ctx.currentTime;
  const osc = ctx.createOscillator();
  const filter = ctx.createBiquadFilter();
  const gain = ctx.createGain();

  // Warm woody transient with 2% organic pitch variance
  const jitter = 1 + (Math.random() - 0.5) * 0.04;
  osc.type = "triangle";
  osc.frequency.setValueAtTime(520 * jitter, now);
  osc.frequency.exponentialRampToValueAtTime(140, now + 0.028);

  filter.type = "bandpass";
  filter.frequency.setValueAtTime(1100, now);
  filter.Q.setValueAtTime(1.8, now);

  gain.gain.setValueAtTime(0.0001, now);
  gain.gain.linearRampToValueAtTime(intensity, now + 0.003);
  gain.gain.exponentialRampToValueAtTime(0.0001, now + 0.032);

  osc.connect(filter).connect(gain).connect(ctx.destination);
  osc.start(now);
  osc.stop(now + 0.036);
}
36-millisecond synthesized mechanical detent. Lazy-initializes a single shared AudioContext on the first user gesture and auto-mutes under prefers-reduced-motion or explicit user toggle.

3. Mapping Listening-Room State with Axon

A social listening room coordinates more moving pieces than a typical catalog page: presence sockets, turntable playback clock sync, Shopify Storefront inventory queries, and audio preview streaming. Static PNG diagrams go stale the week after launch.

To keep architecture diagrams version-controlled alongside code—and interactive enough to inspect node telemetry—I extracted roier/axon (try the live YAML editor in Roier Lab → Axon). Axon turns a concise YAML manifest into a crisp 2:1 isometric SVG with Painter's algorithm depth sorting, Risograph paper/ink tokens, and optional Tono audio hooks when clicking nodes.

kissa-room.axon.yamlyaml
stage:
  title: Kissa Listening Room Topology
  palette: risograph
nodes:
  - id: turntable
    label: Listening Room UI
    x: 0
    y: 0
    tone: vermilion
    meta: "Tono Web Audio · Optimistic Queue"
  - id: sync
    label: Presence & Clock Edge
    x: 2
    y: 0
    tone: cobalt
    meta: "WebSocket Fanout · Drift < 40ms"
  - id: catalog
    label: Vinyl Catalog SSR
    x: 2
    y: 2
    tone: emerald
    meta: "Storefront GraphQL · Stale-While-Revalidate"
edges:
  - from: turntable
    to: sync
    label: "playhead ticks"
  - from: turntable
    to: catalog
    label: "pressing lookup"
Declarative YAML spec compiled to pure inline SVG with zero canvas runtime and full keyboard focusability on every node.

Because Axon renders semantic SVG rather than a heavy WebGL scene graph, the diagram itself weighs a few kilobytes, prints crisply at any DPR, and participates in normal document accessibility. That same engine now powers both Kissa's technical documentation and the interactive 6-stage architecture walkthrough on this site.