#065 style light mobile: high Scandinavian Tactile Luxury

Frama Apothecary & Furniture

Raw linen and espresso-umber Danish atelier blending sculptural furniture with botanical apothecary objects in a hushed catalog grid.

Inspired by Frama Copenhagen ↗

Download .html
Fullscreen ↗

WHY THIS AESTHETIC IS UNIQUE

Evokes the historic St. Pauls Apotek showroom in Copenhagen through warm unbleached linen surfaces, muted oxidized brass, and quiet serif-sans restraint.

BEST FOR

Sculptural furniture and object ateliersLuxury apothecary and fragrance housesInterior architecture showroomsBespoke material libraries

TAGS

COLOR PALETTE (CLICK TO COPY HEX)

TYPOGRAPHY

Display
Libre Baskerville
Body
DM Sans
Mono
IBM Plex Mono
Scale
Understated editorial scale—never loud—with italic serif accents, 13-14px body copy, and delicate 11px material dimension specs.

Google Fonts Stylesheet ↗

ARCHITECTURE & MOBILE NOTES

LAYOUT

Balanced 2- and 3-column showroom grid with tall portrait object frames, quiet material specification drawers, and an apothecary scent-note matrix.

INTERACTION

Interactive collection switcher (Permanent Collection, Apothecary, Kitchen), material finish selector (Oiled Oak, Brushed Steel, Smoked Pine), and slide-over bag.

MOBILE

Serene single-column object cards at 390px with large >=44px finish swatches and a clean bottom-aligned collection filter bar.

AI AGENT GUARDRAILS

DO

  • Use warm raw-linen and limed-oak surfaces rather than clinical white
  • Highlight tactile materials (wood, steel, glass, stone) with calm micro-typography
  • Keep animations slow, weighted, and deliberate (350-500ms ease)

DON'T

  • Do not use bright e-commerce sale tags, star ratings, or urgency banners
  • Do not introduce cool blue-greys that clash with the warm umber palette
STANDALONE SOURCE · demos/frama-copenhagen-atelier.html (24.3 KB)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>FRAMA Copenhagen — Permanent Collection &amp; St. Pauls Apotek</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=DM+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@400&family=Libre+Baskerville:ital,wght@0,400;1,400&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #F3EFE6;
      --surface: #EAE3D5;
      --ink: #2A211B;
      --accent: #8C6A43;
      --muted: #7A7065;
      --rule: #D8CFC0;
      --font-display: 'Libre Baskerville', Georgia, serif;
      --font-body: 'DM Sans', -apple-system, sans-serif;
      --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    }

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

    html, body {
      margin: 0;
      padding: 0;
      background: var(--canvas);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

    /* Hushed Showroom Header */
    .atelier-bar {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(243, 239, 230, 0.94);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--rule);
    }

    .atelier-inner {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 44px);
      height: 64px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 12px;
    }

    .left-nav {
      display: none;
      gap: 24px;
      font-size: 13px;
      color: var(--muted);
    }

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

    @media (min-width: 820px) {
      .left-nav { display: flex; }
    }

    .mobile-trigger {
      justify-self: start;
      min-width: 44px;
      min-height: 44px;
      display: flex;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    @media (min-width: 820px) {
      .mobile-trigger { display: none; }
    }

    .wordmark {
      font-family: var(--font-body);
      font-size: 16px;
      letter-spacing: 0.34em;
      text-transform: uppercase;
      font-weight: 500;
      text-align: center;
    }

    .right-actions {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .bag-btn {
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid var(--rule);
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      transition: border-color 0.25s;
    }

    .bag-btn:hover { border-color: var(--ink); }

    .mobile-panel {
      display: none;
      background: var(--surface);
      border-bottom: 1px solid var(--rule);
      padding: 12px clamp(16px, 4vw, 44px) 20px;
    }

    .mobile-panel.open { display: block; }

    .mobile-panel a {
      display: flex;
      align-items: center;
      min-height: 46px;
      border-bottom: 1px solid var(--rule);
      font-size: 14px;
    }

    /* Main Wrap */
    .wrap {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 clamp(16px, 4vw, 44px);
    }

    /* Editorial Intro + Material Study */
    .atelier-hero {
      padding: clamp(36px, 6vw, 76px) 0 clamp(36px, 5vw, 64px);
      border-bottom: 1px solid var(--rule);
      display: grid;
      grid-template-columns: 1fr;
      gap: 32px;
      align-items: center;
    }

    @media (min-width: 900px) {
      .atelier-hero {
        grid-template-columns: 1fr 1.05fr;
        gap: 56px;
      }
    }

    .eyebrow {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 14px;
    }

    h1 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.24;
      margin: 0 0 18px;
    }

    h1 em {
      font-style: italic;
      color: var(--accent);
    }

    .intro-copy {
      color: var(--muted);
      max-width: 48ch;
      margin: 0 0 28px;
      font-size: 15px;
    }

    /* Material Swatch Selector */
    .swatch-label {
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      margin-bottom: 10px;
    }

    .swatch-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }

    .swatch-btn {
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid var(--rule);
      background: var(--canvas);
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: 13px;
      transition: all 0.25s ease;
    }

    .swatch-btn.active {
      border-color: var(--ink);
      background: var(--surface);
    }

    .swatch-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 1px solid rgba(42, 33, 27, 0.25);
      display: inline-block;
    }

    .material-note {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
      border-top: 1px solid var(--rule);
      padding-top: 12px;
    }

    .object-study {
      background: var(--surface);
      border: 1px solid var(--rule);
      padding: clamp(18px, 3vw, 32px);
    }

    .study-frame {
      background: var(--canvas);
      border: 1px solid var(--rule);
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .study-frame svg { width: 100%; height: 100%; display: block; }

    .study-foot {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 14px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }

    /* Showroom Catalog */
    .catalog {
      padding: clamp(40px, 6vw, 72px) 0;
      border-bottom: 1px solid var(--rule);
    }

    .catalog-head {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 32px;
    }

    h2 {
      font-family: var(--font-display);
      font-weight: 400;
      font-size: clamp(24px, 3vw, 34px);
      margin: 0;
    }

    .col-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .col-tab {
      min-height: 44px;
      padding: 0 16px;
      border: 1px solid var(--rule);
      font-size: 13px;
      color: var(--muted);
      transition: all 0.25s;
    }

    .col-tab.active {
      background: var(--ink);
      color: var(--canvas);
      border-color: var(--ink);
    }

    .object-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }

    @media (min-width: 640px) {
      .object-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 1000px) {
      .object-grid { grid-template-columns: repeat(3, 1fr); }
    }

    .obj-card {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--rule);
      background: var(--canvas);
      transition: border-color 0.3s ease;
    }

    .obj-card:hover { border-color: var(--accent); }

    .obj-plate {
      background: var(--surface);
      aspect-ratio: 4 / 4.2;
      border-bottom: 1px solid var(--rule);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .obj-plate svg { width: 100%; height: 100%; display: block; }

    .obj-info {
      padding: 18px 20px 20px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex: 1;
    }

    .obj-cat {
      font-family: var(--font-mono);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--accent);
    }

    .obj-title {
      font-family: var(--font-display);
      font-size: 18px;
      margin: 0;
    }

    .obj-spec {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }

    .obj-foot {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--rule);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .obj-price {
      font-family: var(--font-mono);
      font-size: 12px;
    }

    .add-btn {
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid var(--ink);
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      transition: background 0.25s, color 0.25s;
    }

    .add-btn:hover {
      background: var(--ink);
      color: var(--canvas);
    }

    /* Slide-Over Studio Bag */
    .bag-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 70;
      background: rgba(42, 33, 27, 0.42);
    }

    .bag-backdrop.open { display: block; }

    .bag-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(390px, 100vw);
      background: var(--canvas);
      border-left: 1px solid var(--rule);
      z-index: 80;
      padding: 24px;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.35s ease;
    }

    .bag-drawer.open { transform: translateX(0); }

    .bag-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--rule);
    }

    .bag-items {
      flex: 1;
      overflow-y: auto;
      padding: 16px 0;
    }

    .bag-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid var(--rule);
    }

    .bag-rm {
      min-width: 44px;
      min-height: 44px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }

    .bag-total {
      border-top: 1px solid var(--ink);
      padding-top: 16px;
      display: flex;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-size: 13px;
    }

    /* Showroom Footer */
    .showroom-foot {
      padding: 40px 0 56px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 24px;
      font-size: 13px;
      color: var(--muted);
    }

    .showroom-foot strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 6px;
      font-size: 15px;
    }
  </style>
</head>
<body>
  <header class="atelier-bar">
    <div class="atelier-inner">
      <nav class="left-nav" aria-label="Primary">
        <a href="#study">Materials</a>
        <a href="#catalog">Objects</a>
        <a href="#apotek">St. Pauls Apotek</a>
      </nav>
      <button class="mobile-trigger" id="mobBtn" aria-expanded="false">Menu</button>
      <a href="#" class="wordmark">FRAMA</a>
      <div class="right-actions">
        <button class="bag-btn" id="openBag">Bag (<span id="bagCount">0</span>)</button>
      </div>
    </div>
    <div class="mobile-panel" id="mobPanel">
      <a href="#study">Material Patina Study</a>
      <a href="#catalog">Permanent Collection</a>
      <a href="#apotek">St. Pauls Apotek · Copenhagen</a>
    </div>
  </header>

  <main class="wrap">
    <section class="atelier-hero" id="study">
      <div>
        <div class="eyebrow">St. Pauls Apotek · Fredericiagade 57</div>
        <h1>Honest materials shaped for <em>quiet permanence</em>.</h1>
        <p class="intro-copy">
          Rooted in an 1878 Copenhagen apothecary, FRAMA crafts modular furniture, botanical skincare, and architectural objects designed to gather patina across decades of daily ritual.
        </p>

        <div class="swatch-label">Inspect Surface Patina — 01 Stool</div>
        <div class="swatch-row" role="group" aria-label="Material finish">
          <button class="swatch-btn active" data-mat="oak"><span class="swatch-dot" style="background:#C9B190"></span>Oiled Oak</button>
          <button class="swatch-btn" data-mat="steel"><span class="swatch-dot" style="background:#B4B7B8"></span>Brushed Steel</button>
          <button class="swatch-btn" data-mat="smoked"><span class="swatch-dot" style="background:#5A4435"></span>Smoked Pine</button>
        </div>
        <div class="material-note" id="matNote">
          Solid European oak treated with natural linseed oil · H 450 × W 360 × D 280 mm
        </div>
      </div>

      <div class="object-study">
        <div class="study-frame">
          <svg viewBox="0 0 480 360" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Frama 01 Stool architectural elevation">
            <!-- Subtle Background Architectural Arch (St. Pauls Apotek) -->
            <path d="M120 310 L120 120 A120 120 0 0 1 360 120 L360 310" stroke="#D8CFC0" stroke-width="1"/>
            <!-- 01 Stool Silhouette -->
            <g id="stoolBody">
              <rect id="stoolSeat" x="145" y="128" width="190" height="24" fill="#C9B190" stroke="#2A211B" stroke-width="1.3"/>
              <rect id="stoolLegL" x="164" y="152" width="22" height="148" fill="#C9B190" stroke="#2A211B" stroke-width="1.3"/>
              <rect id="stoolLegR" x="294" y="152" width="22" height="148" fill="#C9B190" stroke="#2A211B" stroke-width="1.3"/>
              <rect id="stoolBar" x="186" y="218" width="108" height="14" fill="#B59B78" stroke="#2A211B" stroke-width="1.2"/>
            </g>
            <line x1="80" y1="300" x2="400" y2="300" stroke="#2A211B" stroke-width="1"/>
            <text x="152" y="330" fill="#7A7065" font-family="IBM Plex Mono, monospace" font-size="11">ELEVATION 1:10 · NORDIC TIMBER JOINERY</text>
          </svg>
        </div>
        <div class="study-foot">
          <span id="studyTitle">01 Stool — Oiled Oak</span>
          <span>Designed in Copenhagen</span>
        </div>
      </div>
    </section>

    <section class="catalog" id="catalog">
      <div class="catalog-head">
        <div>
          <div class="eyebrow">Atelier Editions</div>
          <h2>Objects &amp; Apothecary</h2>
        </div>
        <div class="col-tabs" role="tablist" aria-label="Collection filter">
          <button class="col-tab active" data-col="all" role="tab" aria-selected="true">All Editions</button>
          <button class="col-tab" data-col="furniture" role="tab" aria-selected="false">Furniture</button>
          <button class="col-tab" data-col="apothecary" role="tab" aria-selected="false">Apothecary</button>
          <button class="col-tab" data-col="kitchen" role="tab" aria-selected="false">Kitchen</button>
        </div>
      </div>
      <div class="object-grid" id="objectGrid"></div>
    </section>

    <footer class="showroom-foot" id="apotek">
      <div>
        <strong>St. Pauls Apotek Studio Store</strong>
        Fredericiagade 57, 1310 København K<br>Mon–Fri 11:00–17:30 · Sat 11:00–16:00
      </div>
      <div>
        <strong>Botanical Formulations</strong>
        Small-batch essential oils distilled in Italy &amp; Denmark, bottled in violet UV glass.
      </div>
      <div>
        <strong>Bespoke Architecture</strong>
        Kitchen systems, shelving, and stone fixtures fabricated to order with European craft workshops.
      </div>
    </footer>
  </main>

  <div class="bag-backdrop" id="bagBackdrop"></div>
  <aside class="bag-drawer" id="bagDrawer" aria-label="Studio Bag">
    <div class="bag-head">
      <strong style="font-family:var(--font-display); font-weight:400; font-size:18px;">Studio Selection</strong>
      <button class="bag-btn" id="closeBag">Close</button>
    </div>
    <div class="bag-items" id="bagItems">
      <p style="color:var(--muted); font-size:13px;">Your selection is currently empty.</p>
    </div>
    <div class="bag-total">
      <span>ESTIMATED TOTAL</span>
      <span id="bagTotal">€0</span>
    </div>
  </aside>

  <script>
    const editions = [
      {
        id: "rivet-box",
        col: "furniture",
        title: "Rivet Side Table",
        spec: "Raw Aluminium · 380 × 380 × 450 mm",
        price: 540,
        svg: `<svg viewBox="0 0 240 250" fill="none"><rect x="46" y="42" width="148" height="166" fill="#D5D7D6" stroke="#2A211B" stroke-width="1.2"/><line x1="46" y1="125" x2="194" y2="125" stroke="#2A211B" stroke-width="1"/><circle cx="58" cy="54" r="2.2" fill="#2A211B"/><circle cx="182" cy="54" r="2.2" fill="#2A211B"/><circle cx="58" cy="196" r="2.2" fill="#2A211B"/><circle cx="182" cy="196" r="2.2" fill="#2A211B"/></svg>`
      },
      {
        id: "st-pauls-wash",
        col: "apothecary",
        title: "St. Pauls Hand Wash",
        spec: "Lemongrass, Cedarwood, Sandalwood · 375 ml",
        price: 48,
        svg: `<svg viewBox="0 0 240 250" fill="none"><rect x="86" y="76" width="68" height="134" rx="4" fill="#3B2B22" stroke="#2A211B" stroke-width="1.2"/><rect x="108" y="54" width="24" height="22" fill="#2A211B"/><path d="M120 54 L120 38 L142 38" stroke="#2A211B" stroke-width="3"/><rect x="94" y="106" width="52" height="72" fill="#F3EFE6"/><line x1="102" y1="126" x2="138" y2="126" stroke="#8C6A43"/><line x1="102" y1="142" x2="132" y2="142" stroke="#2A211B"/></svg>`
      },
      {
        id: "shelf-library",
        col: "furniture",
        title: "Shelf Library Section",
        spec: "Natural Oak & Brass Brackets · W 800 mm",
        price: 680,
        svg: `<svg viewBox="0 0 240 250" fill="none"><line x1="66" y1="36" x2="66" y2="214" stroke="#8C6A43" stroke-width="2"/><line x1="174" y1="36" x2="174" y2="214" stroke="#8C6A43" stroke-width="2"/><rect x="44" y="64" width="152" height="10" fill="#C9B190" stroke="#2A211B"/><rect x="44" y="122" width="152" height="10" fill="#C9B190" stroke="#2A211B"/><rect x="44" y="180" width="152" height="10" fill="#C9B190" stroke="#2A211B"/></svg>`
      },
      {
        id: "beratan-oil",
        col: "apothecary",
        title: "Beratan Botanical Oil",
        spec: "Bergamot, Ylang-Ylang, Cinnamon · 100 ml",
        price: 92,
        svg: `<svg viewBox="0 0 240 250" fill="none"><rect x="82" y="92" width="76" height="118" fill="#6F4C2F" stroke="#2A211B" stroke-width="1.2"/><rect x="105" y="66" width="30" height="26" fill="#2A211B"/><rect x="92" y="118" width="56" height="62" fill="#F3EFE6"/><circle cx="120" cy="149" r="14" stroke="#8C6A43" stroke-width="1"/></svg>`
      },
      {
        id: "module-kitchen",
        col: "kitchen",
        title: "Freestanding Brass Tap",
        spec: "Unlacquered Solid Brass · H 310 mm",
        price: 890,
        svg: `<svg viewBox="0 0 240 250" fill="none"><rect x="60" y="198" width="120" height="14" fill="#D8CFC0" stroke="#2A211B"/><path d="M100 198 L100 84 A28 28 0 0 1 156 84 L156 116" stroke="#8C6A43" stroke-width="8" stroke-linecap="round"/><line x1="86" y1="158" x2="114" y2="158" stroke="#2A211B" stroke-width="4"/></svg>`
      },
      {
        id: "travertine-bowl",
        col: "kitchen",
        title: "Honed Travertine Vessel",
        spec: "Italian Limestone · Ø 240 × H 95 mm",
        price: 210,
        svg: `<svg viewBox="0 0 240 250" fill="none"><path d="M48 128 C48 186 192 186 192 128 Z" fill="#DFD5C3" stroke="#2A211B" stroke-width="1.2"/><ellipse cx="120" cy="128" rx="72" ry="16" fill="#EAE3D5" stroke="#2A211B" stroke-width="1.2"/><rect x="96" y="172" width="48" height="14" fill="#CFC4B0" stroke="#2A211B"/></svg>`
      }
    ];

    const bag = [];

    function renderGrid(col) {
      const items = col === "all" ? editions : editions.filter(e => e.col === col);
      document.getElementById("objectGrid").innerHTML = items.map(item => `
        <article class="obj-card">
          <div class="obj-plate">${item.svg}</div>
          <div class="obj-info">
            <div class="obj-cat">${item.col}</div>
            <h3 class="obj-title">${item.title}</h3>
            <div class="obj-spec">${item.spec}</div>
            <div class="obj-foot">
              <span class="obj-price">€${item.price}</span>
              <button class="add-btn" data-add="${item.id}">Add</button>
            </div>
          </div>
        </article>
      `).join("");

      document.querySelectorAll("[data-add]").forEach(btn => {
        btn.addEventListener("click", () => {
          const found = editions.find(e => e.id === btn.dataset.add);
          if (found) {
            bag.push(found);
            renderBag();
            openBagDrawer();
          }
        });
      });
    }

    function renderBag() {
      document.getElementById("bagCount").textContent = bag.length;
      const itemsEl = document.getElementById("bagItems");
      if (!bag.length) {
        itemsEl.innerHTML = `<p style="color:var(--muted); font-size:13px;">Your selection is currently empty.</p>`;
      } else {
        itemsEl.innerHTML = bag.map((item, idx) => `
          <div class="bag-row">
            <div>
              <div style="font-family:var(--font-display); font-size:15px;">${item.title}</div>
              <div style="font-family:var(--font-mono); font-size:11px; color:var(--muted);">€${item.price}</div>
            </div>
            <button class="bag-rm" data-rm="${idx}">Remove</button>
          </div>
        `).join("");
        itemsEl.querySelectorAll("[data-rm]").forEach(btn => {
          btn.addEventListener("click", () => {
            bag.splice(Number(btn.dataset.rm), 1);
            renderBag();
          });
        });
      }
      const total = bag.reduce((s, i) => s + i.price, 0);
      document.getElementById("bagTotal").textContent = `€${total}`;
    }

    // Material Swatch Interactive Study
    const materials = {
      oak: {
        fill: "#C9B190",
        bar: "#B59B78",
        title: "01 Stool — Oiled Oak",
        note: "Solid European oak treated with natural linseed oil · H 450 × W 360 × D 280 mm"
      },
      steel: {
        fill: "#C2C5C6",
        bar: "#A5A8AA",
        title: "01 Stool — Brushed Stainless Steel",
        note: "Hand-brushed 304 architectural steel developing a soft satin patina · 6.4 kg"
      },
      smoked: {
        fill: "#5E483A",
        bar: "#49372C",
        title: "01 Stool — Smoked Nordic Pine",
        note: "Kiln-darkened Nordic pine finished in natural beeswax · H 450 × W 360 × D 280 mm"
      }
    };

    document.querySelectorAll(".swatch-btn").forEach(btn => {
      btn.addEventListener("click", () => {
        document.querySelectorAll(".swatch-btn").forEach(b => b.classList.remove("active"));
        btn.classList.add("active");
        const m = materials[btn.dataset.mat];
        ["stoolSeat", "stoolLegL", "stoolLegR"].forEach(id => document.getElementById(id).setAttribute("fill", m.fill));
        document.getElementById("stoolBar").setAttribute("fill", m.bar);
        document.getElementById("studyTitle").textContent = m.title;
        document.getElementById("matNote").textContent = m.note;
      });
    });

    // Collection Tabs
    document.querySelectorAll(".col-tab").forEach(tab => {
      tab.addEventListener("click", () => {
        document.querySelectorAll(".col-tab").forEach(t => {
          t.classList.toggle("active", t === tab);
          t.setAttribute("aria-selected", t === tab ? "true" : "false");
        });
        renderGrid(tab.dataset.col);
      });
    });

    // Bag Drawer
    const bagDrawer = document.getElementById("bagDrawer");
    const bagBackdrop = document.getElementById("bagBackdrop");
    function openBagDrawer() {
      bagDrawer.classList.add("open");
      bagBackdrop.classList.add("open");
    }
    function closeBagDrawer() {
      bagDrawer.classList.remove("open");
      bagBackdrop.classList.remove("open");
    }
    document.getElementById("openBag").addEventListener("click", openBagDrawer);
    document.getElementById("closeBag").addEventListener("click", closeBagDrawer);
    bagBackdrop.addEventListener("click", closeBagDrawer);

    // Mobile Nav
    const mobBtn = document.getElementById("mobBtn");
    const mobPanel = document.getElementById("mobPanel");
    mobBtn.addEventListener("click", () => {
      const open = mobPanel.classList.toggle("open");
      mobBtn.setAttribute("aria-expanded", open ? "true" : "false");
      mobBtn.textContent = open ? "Close" : "Menu";
    });

    renderGrid("all");
  </script>
</body>
</html>