# #078 — Hasami Amakusa Porcelain

> 400-year Nagasaki stoneware aesthetic in unglazed sand and sumi ink, featuring an interactive modular stackable diameter system.

## Metadata

- **Index**: #078
- **Slug**: `hasami-amakusa-porcelain`
- **Kind**: `style`
- **Family**: Japanese Ceramic Minimalism
- **Theme**: `light`
- **Mobile Strength**: `high`
- **Tags**: `japanese-ceramics`, `porcelain`, `minimalist`, `modular`, `warm-sand`, `craft`
- **Best For**: Japanese tableware and craft studios, Modular industrial object systems, Minimalist architectural housewares, Tea ceremony and culinary vessels
- **Real-World Inspiration**: [Hasami Porcelain](https://hasami-porcelain.com)
- **Detail Page**: https://templates.michaelpitts.net/t/hasami-amakusa-porcelain
- **Live Demo**: https://templates.michaelpitts.net/demos/hasami-amakusa-porcelain.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/hasami-amakusa-porcelain

## Why This Aesthetic Is Unique

Mirrors the physical modularity of Hasami Porcelain's shared-diameter vessels directly in the UI—clean orthographic vessel stacks on raw Amakusa-sand surfaces.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Amakusa Sand | `#EFEAE1` |
| `surface` | Unglazed Clay | `#E4DDD1` |
| `ink` | Sumi Glaze | `#1D1C1A` |
| `accent` | Iron Oxide | `#6E4F3A` |
| `muted` | Kiln Ash | `#7D766D` |

## Typography

- **Display**: `Shippori Mincho`
- **Body**: `Inter`
- **Mono**: `IBM Plex Mono`
- **Scale Notes**: Refined Japanese Mincho serif headings paired with precise millimeter diameter labels (85mm, 145mm, 185mm, 220mm, 255mm) in crisp monospace.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@300;400;500&family=Shippori+Mincho:wght@400;500;600&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@300;400;500&family=Shippori+Mincho:wght@400;500;600&display=swap">
  ```

## Layout Architecture

Architectural vessel-system grid centered around an interactive Modular Stack Diagram, glaze finish comparisons (Natural, Gloss Gray, Black), and Nagasaki kiln provenance.

## Interaction & Micro-Motion Rules

Interactive Diameter Selector (85mm to 255mm) + Glaze Finish switcher dynamically stacking and recoloring orthographic SVG porcelain vessels.

## Mobile & Responsive Rules

Balanced sand-toned stack at 390px with >=44px millimeter selector buttons and clean orthographic vessel preview.

## Agent Guardrails

### DO
- Emphasize modular geometry and shared millimeter diameters visually
- Use raw unglazed sand, sumi-black, and iron-oxide tones with quiet hairline rules
- Pair Japanese Mincho serif delicacy with crisp metric typography

### DON'T
- Do not add decorative shadows, glossy bevels, or bright saturated accents
- Do not break the disciplined orthogonal grid alignment

## Complete Standalone Starter Code

File: `demos/hasami-amakusa-porcelain.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Hasami Porcelain — Modular Amakusa Stoneware System</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@300;400;500&family=Shippori+Mincho:wght@400;500;600&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #EFEAE1;
      --surface: #E4DDD1;
      --ink: #1D1C1A;
      --accent: #6E4F3A;
      --muted: #7D766D;
      --line: rgba(29, 28, 26, 0.14);
      --line-strong: rgba(29, 28, 26, 0.28);
      --font-display: 'Shippori Mincho', Georgia, 'Times New Roman', serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      background: var(--canvas);
      color: var(--ink);
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 0.875rem;
      line-height: 1.75;
      background: var(--canvas);
      color: var(--ink);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font: inherit;
      color: inherit;
      background: none;
      border: none;
      cursor: pointer;
    }

    /* Orthogonal Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: var(--canvas);
      border-bottom: 1px solid var(--line-strong);
    }

    .header-grid {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 clamp(18px, 4vw, 48px);
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .wordmark-wrap {
      display: flex;
      align-items: baseline;
      gap: 14px;
    }

    .wordmark {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .wordmark-jp {
      font-family: var(--font-display);
      font-size: 0.8125rem;
      color: var(--muted);
      letter-spacing: 0.12em;
    }

    .nav-desktop {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .nav-desktop a {
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 8px 0;
      transition: color 0.25s ease;
    }

    .nav-desktop a:hover {
      color: var(--ink);
    }

    .nav-toggle {
      display: none;
      min-width: 44px;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line-strong);
      padding: 0 12px;
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .mobile-menu {
      display: none;
      border-top: 1px solid var(--line);
      background: var(--surface);
      padding: 12px clamp(18px, 4vw, 48px) 20px;
    }

    .mobile-menu.is-open {
      display: block;
    }

    .mobile-menu a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      min-height: 48px;
      border-bottom: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    /* Container */
    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 clamp(18px, 4vw, 48px);
    }

    /* Opening Grid */
    .opening {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid var(--line-strong);
    }

    .opening-left {
      padding: clamp(40px, 6vw, 84px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 84px) 0;
      border-right: 1px solid var(--line);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 28px;
    }

    .kicker {
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
    }

    .opening h1 {
      font-family: var(--font-display);
      font-size: clamp(2.125rem, 4.4vw, 3.375rem);
      font-weight: 400;
      line-height: 1.22;
      letter-spacing: 0.01em;
    }

    .opening-lead {
      color: var(--muted);
      max-width: 44ch;
      font-size: 0.875rem;
      line-height: 1.85;
    }

    .opening-right {
      padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .origin-metrics {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      border-top: 1px solid var(--line);
    }

    .origin-cell {
      padding: 18px 16px 18px 0;
      border-bottom: 1px solid var(--line);
    }

    .origin-cell:nth-child(even) {
      padding-left: 18px;
      border-left: 1px solid var(--line);
    }

    .origin-label {
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 4px;
    }

    .origin-value {
      font-family: var(--font-display);
      font-size: 1.125rem;
      font-weight: 400;
    }

    /* Modular Stacker Interactive Section */
    .modular-section {
      padding: clamp(48px, 6vw, 88px) 0;
      border-bottom: 1px solid var(--line-strong);
    }

    .section-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 36px;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      font-weight: 400;
      line-height: 1.2;
    }

    .stacker-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      border: 1px solid var(--line-strong);
      background: var(--surface);
    }

    .svg-stage {
      padding: clamp(20px, 3.5vw, 40px);
      border-right: 1px solid var(--line-strong);
      background: var(--canvas);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 18px;
    }

    .stage-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }

    .svg-stage svg {
      display: block;
      width: 100%;
      height: auto;
    }

    .stage-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 0.75rem;
    }

    .controls-pane {
      padding: clamp(22px, 3.5vw, 36px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 26px;
    }

    .control-group-label {
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 12px;
    }

    .diameter-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      border-top: 1px solid var(--line-strong);
      border-left: 1px solid var(--line-strong);
    }

    .dia-btn {
      min-height: 48px;
      border-right: 1px solid var(--line-strong);
      border-bottom: 1px solid var(--line-strong);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: var(--ink);
      background: var(--canvas);
      transition: background 0.2s ease, color 0.2s ease;
    }

    .dia-btn:hover {
      background: var(--surface);
    }

    .dia-btn.is-active {
      background: var(--ink);
      color: var(--canvas);
    }

    .glaze-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .glaze-btn {
      min-height: 56px;
      padding: 10px;
      border: 1px solid var(--line-strong);
      background: var(--canvas);
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      text-align: left;
      transition: border-color 0.2s ease;
    }

    .glaze-btn.is-active {
      border-color: var(--ink);
      outline: 1px solid var(--ink);
    }

    .glaze-swatch {
      width: 24px;
      height: 10px;
      border: 1px solid rgba(29, 28, 26, 0.25);
    }

    .glaze-name {
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .stack-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .action-btn {
      min-height: 44px;
      border: 1px solid var(--line-strong);
      background: var(--canvas);
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0 12px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .action-btn--primary {
      background: var(--ink);
      color: var(--canvas);
      border-color: var(--ink);
    }

    .action-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--canvas);
    }

    .spec-table {
      border-top: 1px solid var(--line-strong);
    }

    .spec-row {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: 0.75rem;
    }

    .spec-row span:first-child {
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* Glaze & Provenance Section */
    .glaze-section {
      padding: clamp(48px, 6vw, 88px) 0;
      border-bottom: 1px solid var(--line-strong);
    }

    .glaze-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      border-top: 1px solid var(--line-strong);
      border-left: 1px solid var(--line-strong);
    }

    .glaze-card {
      padding: 28px 24px;
      border-right: 1px solid var(--line-strong);
      border-bottom: 1px solid var(--line-strong);
      background: var(--canvas);
    }

    .glaze-bar {
      height: 42px;
      margin-bottom: 18px;
      border: 1px solid var(--line);
    }

    .glaze-card h3 {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .glaze-card p {
      color: var(--muted);
      font-size: 0.84375rem;
      line-height: 1.7;
    }

    .provenance {
      padding: clamp(48px, 6vw, 80px) 0;
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: clamp(24px, 5vw, 64px);
    }

    .provenance h2 {
      font-family: var(--font-display);
      font-size: clamp(1.625rem, 3vw, 2.25rem);
      font-weight: 400;
      line-height: 1.3;
    }

    .provenance p {
      color: var(--muted);
      max-width: 56ch;
      margin-bottom: 14px;
      line-height: 1.85;
    }

    .footer {
      border-top: 1px solid var(--line-strong);
      padding: 32px 0 48px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      font-family: var(--font-mono);
      font-size: 0.6875rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    @media (max-width: 920px) {
      .opening,
      .stacker-grid,
      .glaze-cards,
      .provenance {
        grid-template-columns: 1fr;
      }
      .opening-left {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-right: 0;
      }
      .opening-right {
        padding-left: 0;
      }
      .svg-stage {
        border-right: none;
        border-bottom: 1px solid var(--line-strong);
      }
    }

    @media (max-width: 640px) {
      .nav-desktop,
      .wordmark-jp {
        display: none;
      }
      .nav-toggle {
        display: inline-flex;
      }
      .diameter-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .glaze-list {
        grid-template-columns: 1fr;
      }
    }
  </style>
</head>
<body>
  <header class="site-header">
    <div class="header-grid">
      <a href="#top" class="wordmark-wrap">
        <span class="wordmark">Hasami Porcelain</span>
        <span class="wordmark-jp">波佐見焼</span>
      </a>
      <nav class="nav-desktop" aria-label="Primary">
        <a href="#system">Modular System</a>
        <a href="#glazes">Glaze Finishes</a>
        <a href="#kiln">Nagasaki Kiln</a>
      </nav>
      <button class="nav-toggle" id="navToggle" aria-expanded="false" aria-controls="mobileMenu">Menu</button>
    </div>
    <nav class="mobile-menu" id="mobileMenu" aria-label="Mobile Navigation">
      <a href="#system" class="m-nav-link"><span>01 / Modular Stacker</span><span>&rarr;</span></a>
      <a href="#glazes" class="m-nav-link"><span>02 / Glaze Finishes</span><span>&rarr;</span></a>
      <a href="#kiln" class="m-nav-link"><span>03 / Nagasaki Provenance</span><span>&rarr;</span></a>
    </nav>
  </header>

  <main id="top" class="container">
    <section class="opening" aria-labelledby="hero-title">
      <div class="opening-left">
        <div>
          <div class="kicker">Hasami, Nagasaki &mdash; 400 Years of Stoneware</div>
          <h1 id="hero-title">Shared-Diameter Vessels Fired from Amakusa Clay</h1>
        </div>
        <p class="opening-lead">
          Conceived by Takuhiro Shinomoto and thrown in Hasami village, every bowl, plate, mug, and tray shares one of five strict millimeter diameters—allowing vessels to nest, cover, and stack like traditional Japanese lacquerware.
        </p>
      </div>
      <div class="opening-right">
        <div class="kicker">Material Architecture</div>
        <div class="origin-metrics">
          <div class="origin-cell">
            <div class="origin-label">Clay Body</div>
            <div class="origin-value">Amakusa Stone &amp; Clay</div>
          </div>
          <div class="origin-cell">
            <div class="origin-label">Modular Diameters</div>
            <div class="origin-value">85 &ndash; 255 mm</div>
          </div>
          <div class="origin-cell">
            <div class="origin-label">Kiln Temperature</div>
            <div class="origin-value">1,250 &deg;C Reduction</div>
          </div>
          <div class="origin-cell">
            <div class="origin-label">Kiln Region</div>
            <div class="origin-value">33.1332&deg; N, 129.8935&deg; E</div>
          </div>
        </div>
      </div>
    </section>

    <section class="modular-section" id="system" aria-labelledby="system-heading">
      <div class="section-top">
        <div>
          <div class="kicker">Orthographic Vessel System</div>
          <h2 class="section-title" id="system-heading">Interactive Diameter &amp; Glaze Stacker</h2>
        </div>
        <div style="font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted);">
          SELECT DIAMETER (MM) &amp; GLAZE TO INSPECT MODULAR NESTING
        </div>
      </div>

      <div class="stacker-grid">
        <div class="svg-stage">
          <div class="stage-header">
            <span id="stageTitle">ORTHOGRAPHIC ELEVATION &mdash; Ø 185 MM</span>
            <span id="stageGlazeLabel" style="color: var(--accent);">NATURAL UNGLAZED</span>
          </div>
          <svg id="vesselSvg" viewBox="0 0 520 340" role="img" aria-label="Orthographic elevation of stacked Hasami Porcelain modular vessels"></svg>
          <div class="stage-footer">
            <span id="vesselUse">Recommended Use: Main Bowl, Deep Plate &amp; Serving Lid</span>
            <span id="stackHeightReadout" style="color: var(--accent);">STACK H: 138 MM</span>
          </div>
        </div>

        <div class="controls-pane">
          <div>
            <div class="control-group-label">1. Shared Diameter (mm)</div>
            <div class="diameter-grid" role="group" aria-label="Select shared vessel diameter">
              <button class="dia-btn" data-dia="85">85</button>
              <button class="dia-btn" data-dia="145">145</button>
              <button class="dia-btn is-active" data-dia="185">185</button>
              <button class="dia-btn" data-dia="220">220</button>
              <button class="dia-btn" data-dia="255">255</button>
            </div>
          </div>

          <div>
            <div class="control-group-label">2. Surface Glaze</div>
            <div class="glaze-list" role="group" aria-label="Select porcelain glaze">
              <button class="glaze-btn is-active" data-glaze="natural">
                <span class="glaze-swatch" style="background: #D7CEBF;"></span>
                <span class="glaze-name">Natural</span>
              </button>
              <button class="glaze-btn" data-glaze="gloss-gray">
                <span class="glaze-swatch" style="background: #9FA09B;"></span>
                <span class="glaze-name">Gloss Gray</span>
              </button>
              <button class="glaze-btn" data-glaze="black">
                <span class="glaze-swatch" style="background: #272624;"></span>
                <span class="glaze-name">Sumi Black</span>
              </button>
            </div>
          </div>

          <div>
            <div class="control-group-label">3. Modular Stack Layers (<span id="layerCountLabel">3</span> / 5)</div>
            <div class="stack-actions">
              <button class="action-btn action-btn--primary" id="addLayerBtn">+ Stack Vessel</button>
              <button class="action-btn" id="resetStackBtn">Reset Stack</button>
            </div>
          </div>

          <div class="spec-table">
            <div class="spec-row">
              <span>Diameter</span>
              <span id="specDia">185 mm</span>
            </div>
            <div class="spec-row">
              <span>Wall Thickness</span>
              <span>4.5 mm</span>
            </div>
            <div class="spec-row">
              <span>Total Stack Height</span>
              <span id="specHeight">138 mm</span>
            </div>
            <div class="spec-row">
              <span>Lid Compatibility</span>
              <span id="specLid">Ash Wood Tray Ø 185 mm</span>
            </div>
          </div>
        </div>
      </div>
    </section>

    <section class="glaze-section" id="glazes" aria-labelledby="glazes-heading">
      <div class="kicker">Mineral Surface Study</div>
      <h2 class="section-title" id="glazes-heading" style="margin-bottom: 28px;">Three Tactile Kiln Finishes</h2>
      <div class="glaze-cards">
        <article class="glaze-card">
          <div class="glaze-bar" style="background: #D7CEBF;"></div>
          <h3>Natural (Unglazed Exterior)</h3>
          <p>Raw Amakusa stone and clay left unglazed on the exterior so the hand feels fine mineral grain, paired with a clear food-safe glaze inside.</p>
        </article>
        <article class="glaze-card">
          <div class="glaze-bar" style="background: #9FA09B;"></div>
          <h3>Gloss Gray</h3>
          <p>Cool kiln-ash feldspar glaze with subtle pooling along the orthogonal foot ring, reflecting ambient daylight without harsh sheen.</p>
        </article>
        <article class="glaze-card">
          <div class="glaze-bar" style="background: #272624;"></div>
          <h3>Sumi Black</h3>
          <p>Matte iron-oxide slip inspired by Japanese inkstone. Softens with use as natural culinary oils deepen its satin character.</p>
        </article>
      </div>
    </section>

    <section class="provenance" id="kiln" aria-labelledby="kiln-heading">
      <div>
        <div class="kicker">Hasami Town, Nagasaki</div>
        <h2 id="kiln-heading">Four Centuries of Shared Division of Craft</h2>
      </div>
      <div>
        <p>
          Unlike solitary studio pottery, Hasami stoneware is produced through a centuries-old cooperative network of specialized workshops: clay millers crushing Amakusa porcelain stone, mold makers, throwers, glazers, and kiln masters.
        </p>
        <p>
          By stripping away ornament in favor of crisp straight walls and uniform diameters, every vessel becomes an architectural building block for daily tea, broth, and shared meals.
        </p>
      </div>
    </section>
  </main>

  <footer class="container">
    <div class="footer">
      <span>Hasami Porcelain &middot; Nagasaki, Japan</span>
      <span>Ø 85 / 145 / 185 / 220 / 255 MM System</span>
      <span>Amakusa Clay &amp; Natural Stone</span>
    </div>
  </footer>

  <script>
    const DIAMETERS = {
      85: {
        widthPx: 144,
        use: 'Recommended Use: Espresso Cup, Tea Tumbler & Condiment Dish',
        layers: [
          { label: 'Mug 85×89', hMm: 89, hPx: 76 },
          { label: 'Bowl 85×38', hMm: 38, hPx: 36 },
          { label: 'Lid Plate 85×21', hMm: 21, hPx: 22 },
          { label: 'Bowl 85×38', hMm: 38, hPx: 36 },
          { label: 'Ash Lid 85×14', hMm: 14, hPx: 16, wood: true }
        ]
      },
      145: {
        widthPx: 210,
        use: 'Recommended Use: Rice Bowl, Side Plate & Dessert Vessel',
        layers: [
          { label: 'Deep Bowl 145×55', hMm: 55, hPx: 50 },
          { label: 'Bowl 145×38', hMm: 38, hPx: 36 },
          { label: 'Plate 145×21', hMm: 21, hPx: 22 },
          { label: 'Bowl 145×38', hMm: 38, hPx: 36 },
          { label: 'Ash Tray 145×18', hMm: 18, hPx: 18, wood: true }
        ]
      },
      185: {
        widthPx: 266,
        use: 'Recommended Use: Main Bowl, Deep Plate & Serving Lid',
        layers: [
          { label: 'Deep Bowl 185×72', hMm: 72, hPx: 62 },
          { label: 'Bowl 185×45', hMm: 45, hPx: 42 },
          { label: 'Plate 185×21', hMm: 21, hPx: 22 },
          { label: 'Bowl 185×45', hMm: 45, hPx: 42 },
          { label: 'Ash Tray 185×21', hMm: 21, hPx: 20, wood: true }
        ]
      },
      220: {
        widthPx: 316,
        use: 'Recommended Use: Ramen Bowl, Dinner Plate & Table Platter',
        layers: [
          { label: 'Large Bowl 220×72', hMm: 72, hPx: 62 },
          { label: 'Shallow Bowl 220×45', hMm: 45, hPx: 40 },
          { label: 'Dinner Plate 220×21', hMm: 21, hPx: 22 },
          { label: 'Dinner Plate 220×21', hMm: 21, hPx: 22 },
          { label: 'Ash Tray 220×21', hMm: 21, hPx: 20, wood: true }
        ]
      },
      255: {
        widthPx: 364,
        use: 'Recommended Use: Sharing Platter, Charger & Centerpiece Tray',
        layers: [
          { label: 'Wide Bowl 255×55', hMm: 55, hPx: 50 },
          { label: 'Charger Plate 255×21', hMm: 21, hPx: 24 },
          { label: 'Charger Plate 255×21', hMm: 21, hPx: 24 },
          { label: 'Wide Bowl 255×55', hMm: 55, hPx: 50 },
          { label: 'Ash Tray 255×21', hMm: 21, hPx: 20, wood: true }
        ]
      }
    };

    const GLAZES = {
      natural: { name: 'NATURAL UNGLAZED', fill: '#D7CEBF', rim: '#C5BAA7', stroke: '#6E4F3A', text: '#1D1C1A' },
      'gloss-gray': { name: 'GLOSS GRAY', fill: '#A8AAA5', rim: '#8C8F8A', stroke: '#1D1C1A', text: '#1D1C1A' },
      black: { name: 'SUMI BLACK', fill: '#2B2A28', rim: '#1D1C1A', stroke: '#1D1C1A', text: '#EFEAE1' }
    };

    let currentDia = 185;
    let currentGlaze = 'natural';
    let stackCount = 3;

    const svgEl = document.getElementById('vesselSvg');
    const stageTitle = document.getElementById('stageTitle');
    const stageGlazeLabel = document.getElementById('stageGlazeLabel');
    const vesselUse = document.getElementById('vesselUse');
    const stackHeightReadout = document.getElementById('stackHeightReadout');
    const layerCountLabel = document.getElementById('layerCountLabel');
    const specDia = document.getElementById('specDia');
    const specHeight = document.getElementById('specHeight');
    const specLid = document.getElementById('specLid');

    function renderStack() {
      const cfg = DIAMETERS[currentDia];
      const glaze = GLAZES[currentGlaze];
      const activeLayers = cfg.layers.slice(0, stackCount);
      const totalMm = activeLayers.reduce((sum, l) => sum + l.hMm, 0);

      const baseY = 290;
      const cx = 260;
      const w = cfg.widthPx;
      const x = cx - w / 2;

      let yCursor = baseY;
      let shapes = `
        <rect width="520" height="340" fill="#EFEAE1"/>
        <line x1="36" y1="${baseY}" x2="484" y2="${baseY}" stroke="#1D1C1A" stroke-opacity="0.32" stroke-width="1"/>
        <line x1="${cx}" y1="24" x2="${cx}" y2="314" stroke="#6E4F3A" stroke-opacity="0.22" stroke-dasharray="3 4"/>
      `;

      activeLayers.forEach((layer, i) => {
        const yTop = yCursor - layer.hPx;
        const fill = layer.wood ? '#B99872' : glaze.fill;
        const rim = layer.wood ? '#9E7D58' : glaze.rim;
        const txtColor = layer.wood ? '#1D1C1A' : glaze.text;
        const footInset = layer.wood ? 0 : 12;

        // Vessel orthogonal body
        shapes += `
          <rect x="${x}" y="${yTop}" width="${w}" height="${layer.hPx - 4}" fill="${fill}" stroke="${glaze.stroke}" stroke-width="1.1"/>
          <rect x="${x}" y="${yTop}" width="${w}" height="4" fill="${rim}" opacity="0.65"/>
          <rect x="${x + footInset}" y="${yCursor - 4}" width="${w - footInset * 2}" height="4" fill="${rim}" stroke="${glaze.stroke}" stroke-width="0.9"/>
          <text x="${cx}" y="${yTop + layer.hPx / 2 + 3}" fill="${txtColor}" font-family="IBM Plex Mono, monospace" font-size="10" text-anchor="middle" opacity="0.86">${layer.label}</text>
        `;
        yCursor = yTop;
      });

      const topY = yCursor;
      // Width Dimension Callout
      shapes += `
        <line x1="${x}" y1="${baseY + 22}" x2="${x + w}" y2="${baseY + 22}" stroke="#6E4F3A" stroke-width="1"/>
        <line x1="${x}" y1="${baseY + 16}" x2="${x}" y2="${baseY + 28}" stroke="#6E4F3A" stroke-width="1"/>
        <line x1="${x + w}" y1="${baseY + 16}" x2="${x + w}" y2="${baseY + 28}" stroke="#6E4F3A" stroke-width="1"/>
        <text x="${cx}" y="${baseY + 36}" fill="#6E4F3A" font-family="IBM Plex Mono, monospace" font-size="11" text-anchor="middle">Ø ${currentDia} MM SHARED MODULAR DIAMETER</text>
      `;

      // Height Dimension Callout
      const dimX = x + w + 24;
      shapes += `
        <line x1="${dimX}" y1="${topY}" x2="${dimX}" y2="${baseY}" stroke="#7D766D" stroke-width="1"/>
        <line x1="${dimX - 5}" y1="${topY}" x2="${dimX + 5}" y2="${topY}" stroke="#7D766D" stroke-width="1"/>
        <line x1="${dimX - 5}" y1="${baseY}" x2="${dimX + 5}" y2="${baseY}" stroke="#7D766D" stroke-width="1"/>
        <text x="${dimX + 10}" y="${(topY + baseY) / 2 + 4}" fill="#7D766D" font-family="IBM Plex Mono, monospace" font-size="10">${totalMm}mm</text>
      `;

      svgEl.innerHTML = shapes;
      stageTitle.textContent = `ORTHOGRAPHIC ELEVATION — Ø ${currentDia} MM`;
      stageGlazeLabel.textContent = glaze.name;
      vesselUse.textContent = cfg.use;
      stackHeightReadout.textContent = `STACK H: ${totalMm} MM`;
      layerCountLabel.textContent = String(stackCount);
      specDia.textContent = `${currentDia} mm`;
      specHeight.textContent = `${totalMm} mm`;
      specLid.textContent = `Ash Wood Tray Ø ${currentDia} mm`;
    }

    document.querySelectorAll('.dia-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        document.querySelectorAll('.dia-btn').forEach(b => b.classList.remove('is-active'));
        btn.classList.add('is-active');
        currentDia = Number(btn.dataset.dia);
        renderStack();
      });
    });

    document.querySelectorAll('.glaze-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        document.querySelectorAll('.glaze-btn').forEach(b => b.classList.remove('is-active'));
        btn.classList.add('is-active');
        currentGlaze = btn.dataset.glaze;
        renderStack();
      });
    });

    document.getElementById('addLayerBtn').addEventListener('click', () => {
      stackCount = stackCount < 5 ? stackCount + 1 : 1;
      renderStack();
    });

    document.getElementById('resetStackBtn').addEventListener('click', () => {
      stackCount = 3;
      renderStack();
    });

    // Mobile nav
    const navToggle = document.getElementById('navToggle');
    const mobileMenu = document.getElementById('mobileMenu');
    navToggle.addEventListener('click', () => {
      const open = mobileMenu.classList.toggle('is-open');
      navToggle.setAttribute('aria-expanded', String(open));
      navToggle.textContent = open ? 'Close' : 'Menu';
    });
    document.querySelectorAll('.m-nav-link').forEach(a => {
      a.addEventListener('click', () => {
        mobileMenu.classList.remove('is-open');
        navToggle.setAttribute('aria-expanded', 'false');
        navToggle.textContent = 'Menu';
      });
    });

    renderStack();
  </script>
</body>
</html>
```
