# #072 — Blue Bottle Craft Coffee

> Oat-paper Japanese-Californian craft coffee aesthetic with espresso ink, signature cerulean accents, tasting notes, and a pour-over timer.

## Metadata

- **Index**: #072
- **Slug**: `blue-bottle-coffee-bar`
- **Kind**: `style`
- **Family**: Craft Coffee & Culinary Minimalism
- **Theme**: `light`
- **Mobile Strength**: `native-first`
- **Tags**: `craft-coffee`, `culinary`, `minimalist`, `tasting-notes`, `warm-paper`, `interactive`
- **Best For**: Specialty coffee roasters and cafes, Artisanal tea and cacao studios, Culinary brew guides and subscriptions, Modern hospitality menus
- **Real-World Inspiration**: [Blue Bottle Coffee](https://bluebottlecoffee.com)
- **Detail Page**: https://templates.michaelpitts.net/t/blue-bottle-coffee-bar
- **Live Demo**: https://templates.michaelpitts.net/demos/blue-bottle-coffee-bar.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/blue-bottle-coffee-bar

## Why This Aesthetic Is Unique

Marries Japanese kissaten stillness with California craft-roaster clarity—calm oat-paper warmth punctuated by a single unmistakable cerulean mark.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Oat Filter Paper | `#FAF8F4` |
| `surface` | Steamed Cream | `#F0ECE3` |
| `ink` | Espresso Roast | `#231F1D` |
| `accent` | Cerulean Bottle | `#0099CC` |
| `muted` | Dripper Clay | `#76706A` |

## Typography

- **Display**: `Newsreader`
- **Body**: `DM Sans`
- **Mono**: `IBM Plex Mono`
- **Scale Notes**: Calm editorial serif for origin stories paired with clean geometric sans for roast profiles and monospace gram/water brew ratios.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap">
  ```

## Layout Architecture

Airy roastery storefront combining single-origin tasting cards, flavor-profile intensity bars, and a dedicated interactive Pour-Over Brew Guide module.

## Interaction & Micro-Motion Rules

Interactive Roast/Origin filter (Single Origin, Blends, Espresso), tasting-note selector, and working Pour-Over Bloom/Pour timer with gram-to-water calculator.

## Mobile & Responsive Rules

Barista-ready mobile layout at 390px with large >=44px timer start/reset controls and clean origin cards.

## Agent Guardrails

### DO
- Keep the canvas warm filter-paper off-white with crisp espresso ink
- Use Cerulean sparingly as a signature craft mark and active indicator
- Present tasting notes, elevation, and process methods cleanly

### DON'T
- Do not use dark grunge coffee-stain clichés or cluttered chalkboards
- Do not overwhelm tasting cards with more than 3 flavor notes

## Complete Standalone Starter Code

File: `demos/blue-bottle-coffee-bar.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Blue Bottle — Craft Coffee Roastery &amp; Brew Guide</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@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #FAF8F4;
      --surface: #F0ECE3;
      --ink: #231F1D;
      --cerulean: #0099CC;
      --cerulean-dark: #007AA3;
      --muted: #76706A;
      --line: rgba(35, 31, 29, 0.12);
      --serif: "Newsreader", Georgia, serif;
      --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
      --mono: "IBM Plex Mono", ui-monospace, monospace;
    }

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

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

    body {
      margin: 0;
      font-family: var(--sans);
      font-size: 15px;
      line-height: 1.6;
      background: var(--canvas);
      overflow-x: hidden;
    }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 30;
      background: rgba(250, 248, 244, 0.94);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--ink);
    }

    .brand-wordmark {
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

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

    .nav-links a {
      text-decoration: none;
      color: var(--muted);
      font-size: 14px;
      font-weight: 500;
      transition: color 0.2s;
    }

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

    .roast-badge {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--cerulean-dark);
      background: rgba(0, 153, 204, 0.08);
      padding: 6px 10px;
      border-radius: 2px;
    }

    .nav-toggle {
      display: none;
      min-width: 44px;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: 1px solid var(--line);
      color: var(--ink);
      cursor: pointer;
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background: var(--canvas);
      border-bottom: 1px solid var(--line);
      padding: 8px 24px 16px;
    }

    .mobile-menu.open { display: flex; }

    .mobile-menu a {
      min-height: 44px;
      display: flex;
      align-items: center;
      text-decoration: none;
      color: var(--ink);
      font-weight: 500;
      border-bottom: 1px solid var(--line);
    }

    .mobile-menu a:last-child { border-bottom: none; }

    /* Hero */
    .hero {
      padding: 64px 0 56px;
      border-bottom: 1px solid var(--line);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 48px;
      align-items: center;
    }

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

    .hero h1 {
      font-family: var(--serif);
      font-size: clamp(38px, 5vw, 56px);
      font-weight: 400;
      line-height: 1.08;
      letter-spacing: -0.01em;
      margin: 0 0 18px;
    }

    .hero h1 em { font-style: italic; }

    .hero p {
      font-size: 16px;
      color: var(--muted);
      max-width: 48ch;
      margin: 0 0 28px;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 10px 24px;
      background: var(--ink);
      color: var(--canvas);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      border: 1px solid var(--ink);
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-primary:hover { background: #3A3431; }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 10px 22px;
      background: transparent;
      color: var(--ink);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      border: 1px solid var(--line);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-secondary:hover {
      border-color: var(--ink);
      background: var(--surface);
    }

    .hero-vessel {
      background: var(--surface);
      padding: 32px 24px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .vessel-caption {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
    }

    /* Sections */
    section.band {
      padding: 60px 0;
      border-bottom: 1px solid var(--line);
    }

    .band-header {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      gap: 16px;
      margin-bottom: 28px;
    }

    .band-header h2 {
      font-family: var(--serif);
      font-size: clamp(28px, 3.6vw, 38px);
      font-weight: 400;
      margin: 4px 0 0;
      line-height: 1.15;
    }

    /* Origin & Tasting Filters */
    .filter-controls {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 28px;
    }

    .filter-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }

    .filter-label {
      font-family: var(--mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin-right: 6px;
    }

    .pill-btn {
      min-height: 44px;
      padding: 8px 16px;
      background: transparent;
      border: 1px solid var(--line);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

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

    .pill-btn[aria-pressed="true"] {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--canvas);
    }

    .note-btn[aria-pressed="true"] {
      background: var(--cerulean);
      border-color: var(--cerulean);
      color: #FFFFFF;
    }

    /* Coffee Cards */
    .origin-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .coffee-card {
      background: #FFFFFF;
      border: 1px solid var(--line);
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .coffee-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
    }

    .origin-tag { color: var(--cerulean-dark); }

    .coffee-card h3 {
      font-family: var(--serif);
      font-size: 24px;
      font-weight: 400;
      margin: 0;
      line-height: 1.2;
    }

    .tasting-notes {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tasting-notes span {
      font-size: 12px;
      background: var(--surface);
      padding: 4px 10px;
      color: var(--ink);
    }

    .specs-line {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      padding-top: 8px;
      border-top: 1px solid var(--line);
    }

    .profile-bars {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 2px;
    }

    .bar-row {
      display: grid;
      grid-template-columns: 68px 1fr;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .bar-track {
      height: 4px;
      background: var(--surface);
      position: relative;
    }

    .bar-fill {
      height: 100%;
      background: var(--ink);
    }

    .card-bottom {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--mono);
      font-size: 13px;
    }

    /* Interactive Pour-Over Timer & Ratio Calculator */
    .brew-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      align-items: stretch;
    }

    .brew-panel {
      background: var(--surface);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .control-group label {
      display: flex;
      justify-content: space-between;
      font-family: var(--mono);
      font-size: 12px;
      margin-bottom: 8px;
    }

    .range-input {
      width: 100%;
      height: 44px;
      accent-color: var(--cerulean);
      cursor: pointer;
    }

    .ratio-pills {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .ratio-btn {
      min-height: 44px;
      background: var(--canvas);
      border: 1px solid var(--line);
      font-family: var(--mono);
      font-size: 13px;
      color: var(--ink);
      cursor: pointer;
    }

    .ratio-btn[aria-pressed="true"] {
      background: var(--cerulean);
      border-color: var(--cerulean);
      color: #FFFFFF;
    }

    .recipe-readout {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      padding-top: 14px;
      border-top: 1px solid var(--line);
    }

    .metric-box {
      background: var(--canvas);
      padding: 12px;
      border: 1px solid var(--line);
    }

    .metric-box span {
      display: block;
      font-family: var(--mono);
      font-size: 10px;
      text-transform: uppercase;
      color: var(--muted);
    }

    .metric-box strong {
      font-family: var(--mono);
      font-size: 18px;
      font-weight: 500;
      color: var(--ink);
    }

    .timer-stage {
      background: #FFFFFF;
      border: 1px solid var(--line);
      padding: 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      text-align: center;
      gap: 16px;
    }

    .phase-pill {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--cerulean-dark);
      background: rgba(0, 153, 204, 0.09);
      padding: 6px 14px;
    }

    .timer-clock {
      font-family: var(--mono);
      font-size: clamp(44px, 7vw, 64px);
      font-weight: 400;
      letter-spacing: 0.04em;
      line-height: 1;
      color: var(--ink);
    }

    .phase-instruction {
      font-family: var(--serif);
      font-size: 18px;
      color: var(--muted);
      margin: 0;
      min-height: 28px;
    }

    .pour-steps {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
    }

    .step-cell {
      padding: 8px 4px;
      border-top: 2px solid var(--line);
      font-family: var(--mono);
      font-size: 10px;
      color: var(--muted);
    }

    .step-cell.active {
      border-top-color: var(--cerulean);
      color: var(--ink);
      font-weight: 500;
    }

    .timer-actions {
      display: flex;
      gap: 12px;
      width: 100%;
    }

    .timer-actions button {
      flex: 1;
      min-height: 48px;
    }

    footer {
      padding: 36px 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 16px;
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
    }

    @media (max-width: 900px) {
      .hero-grid, .brew-grid { grid-template-columns: 1fr; }
      .origin-grid { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 640px) {
      .container { padding: 0 16px; }
      .nav-links, .roast-badge { display: none; }
      .nav-toggle { display: inline-flex; }
      .origin-grid { grid-template-columns: 1fr; }
      .recipe-readout { grid-template-columns: 1fr; }
      .pour-steps { grid-template-columns: 1fr 1fr; }
      .hero { padding: 36px 0; }
      section.band { padding: 40px 0; }
    }
  </style>
</head>
<body>
  <header>
    <div class="container header-inner">
      <a class="brand" href="#top">
        <svg width="20" height="34" viewBox="0 0 20 34" aria-hidden="true">
          <path d="M7 2 H13 V8 L16 13 V30 C16 31.2 15 32 13.8 32 H6.2 C5 32 4 31.2 4 30 V13 L7 8 Z" fill="#0099CC"/>
        </svg>
        <span class="brand-wordmark">Blue Bottle</span>
      </a>
      <nav class="nav-links" aria-label="Primary">
        <a href="#origins">Current Offerings</a>
        <a href="#brew-guide">Pour-Over Timer</a>
      </nav>
      <span class="roast-badge">Roasted Daily · Oakland &amp; Kiyosumi</span>
      <button class="nav-toggle" id="navToggle" aria-expanded="false" aria-controls="mobileMenu" aria-label="Toggle navigation">
        <svg width="20" height="20" viewBox="0 0 20 20" stroke="currentColor" stroke-width="1.6" fill="none">
          <line x1="2" y1="5" x2="18" y2="5"/><line x1="2" y1="10" x2="18" y2="10"/><line x1="2" y1="15" x2="18" y2="15"/>
        </svg>
      </button>
    </div>
    <nav class="mobile-menu" id="mobileMenu" aria-label="Mobile Navigation">
      <a href="#origins">Current Offerings</a>
      <a href="#brew-guide">Pour-Over Timer</a>
    </nav>
  </header>

  <main id="top">
    <section class="hero">
      <div class="container hero-grid">
        <div>
          <div class="kicker">Kissaten Stillness · California Roastery</div>
          <h1>Deliciousness is an <em>act of attention</em>.</h1>
          <p>
            Every lot is roasted to order in small batches and rested 48 hours for peak aromatic clarity. Explore this week's single origins or dial in a hand-poured cup with our dripper timer.
          </p>
          <div class="hero-cta-row">
            <a href="#origins" class="btn-primary">Explore Coffees</a>
            <a href="#brew-guide" class="btn-secondary">Launch Pour-Over Timer</a>
          </div>
        </div>

        <div class="hero-vessel">
          <svg viewBox="0 0 280 230" width="100%" height="215" role="img" aria-label="Minimalist line illustration of a ceramic pour-over dripper and glass carafe">
            <g fill="none" stroke="#231F1D" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round">
              <!-- Steam lines -->
              <path d="M126 30 C122 22, 130 16, 126 10" stroke="#0099CC" stroke-opacity="0.7"/>
              <path d="M142 26 C138 18, 146 12, 142 6" stroke="#0099CC" stroke-opacity="0.7"/>
              <!-- Ceramic Dripper -->
              <path d="M92 46 H188 L166 108 H114 Z" fill="#FAF8F4"/>
              <line x1="106" y1="46" x2="122" y2="108" stroke-opacity="0.25"/>
              <line x1="140" y1="46" x2="140" y2="108" stroke-opacity="0.25"/>
              <line x1="174" y1="46" x2="158" y2="108" stroke-opacity="0.25"/>
              <!-- Dripper flange -->
              <line x1="88" y1="108" x2="192" y2="108" stroke-width="2"/>
              <!-- Falling drop -->
              <path d="M140 118 C137 124, 137 129, 140 129 C143 129, 143 124, 140 118 Z" fill="#0099CC" stroke="#0099CC"/>
              <!-- Glass Carafe -->
              <path d="M108 110 H172 L188 194 C190 202, 184 208, 176 208 H104 C96 208, 90 202, 92 194 Z" fill="rgba(255,255,255,0.45)"/>
              <!-- Brewed Coffee Level -->
              <path d="M98 164 H182 L187 194 C188 201, 183 206, 176 206 H104 C97 206, 92 201, 93 194 Z" fill="#231F1D" fill-opacity="0.88" stroke="none"/>
              <!-- Carafe Handle -->
              <path d="M174 126 C198 126, 204 166, 184 174"/>
              <!-- Measurement ticks -->
              <line x1="112" y1="142" x2="120" y2="142" stroke-opacity="0.45"/>
              <line x1="110" y1="158" x2="118" y2="158" stroke-opacity="0.45"/>
              <line x1="108" y1="174" x2="116" y2="174" stroke="#FAF8F4" stroke-opacity="0.6"/>
            </g>
          </svg>
          <div class="vessel-caption">
            <span>BLUE BOTTLE DRIPPER · 90° RIBS</span>
            <span>200°F / 93°C</span>
          </div>
        </div>
      </div>
    </section>

    <!-- Current Offerings -->
    <section class="band" id="origins">
      <div class="container">
        <div class="band-header">
          <div>
            <div class="kicker">Freshly Roasted Lots</div>
            <h2>Single Origins &amp; Roastery Blends</h2>
          </div>
          <span style="font-family:var(--mono); font-size:12px; color:var(--muted);" id="lotCount">6 offerings shown</span>
        </div>

        <div class="filter-controls">
          <div class="filter-row" role="group" aria-label="Filter by category">
            <span class="filter-label">Category</span>
            <button class="pill-btn cat-btn" data-cat="all" aria-pressed="true">All</button>
            <button class="pill-btn cat-btn" data-cat="single-origin" aria-pressed="false">Single Origin</button>
            <button class="pill-btn cat-btn" data-cat="blends" aria-pressed="false">Blends</button>
            <button class="pill-btn cat-btn" data-cat="espresso" aria-pressed="false">Espresso</button>
          </div>
          <div class="filter-row" role="group" aria-label="Filter by tasting note">
            <span class="filter-label">Tasting Note</span>
            <button class="pill-btn note-btn" data-note="all" aria-pressed="true">Any Note</button>
            <button class="pill-btn note-btn" data-note="floral" aria-pressed="false">Floral</button>
            <button class="pill-btn note-btn" data-note="citrus" aria-pressed="false">Citrus</button>
            <button class="pill-btn note-btn" data-note="chocolate" aria-pressed="false">Chocolate</button>
            <button class="pill-btn note-btn" data-note="stone-fruit" aria-pressed="false">Stone Fruit</button>
          </div>
        </div>

        <div class="origin-grid" id="originGrid">
          <article class="coffee-card" data-cat="single-origin" data-notes="floral citrus">
            <div class="coffee-top"><span class="origin-tag">Single Origin</span><span>Washed · 2,100m</span></div>
            <h3>Ethiopia Yirgacheffe Worka</h3>
            <div class="tasting-notes">
              <span>Jasmine</span><span>Bergamot</span><span>White Peach</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:86%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:45%"></div></div></div>
            </div>
            <div class="specs-line">Heirloom · Gedeb District · Light Roast</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$22</strong></div>
          </article>

          <article class="coffee-card" data-cat="single-origin" data-notes="stone-fruit citrus">
            <div class="coffee-top"><span class="origin-tag">Single Origin</span><span>Washed · 1,850m</span></div>
            <h3>Kenya Kirinyaga Peaberry</h3>
            <div class="tasting-notes">
              <span>Blood Orange</span><span>Nectarine</span><span>Black Tea</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:90%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:62%"></div></div></div>
            </div>
            <div class="specs-line">SL28 &amp; SL34 · Mount Kenya · Light-Medium</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$24</strong></div>
          </article>

          <article class="coffee-card" data-cat="blends" data-notes="chocolate stone-fruit">
            <div class="coffee-top"><span class="origin-tag">Blend</span><span>Washed &amp; Natural</span></div>
            <h3>Bella Donovan</h3>
            <div class="tasting-notes">
              <span>Raspberry</span><span>Chocolate</span><span>Molasses</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:52%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:84%"></div></div></div>
            </div>
            <div class="specs-line">Ethiopia &amp; Peru · Comforting Medium Roast</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$19</strong></div>
          </article>

          <article class="coffee-card" data-cat="blends" data-notes="citrus chocolate">
            <div class="coffee-top"><span class="origin-tag">Blend</span><span>Washed · Seasonal</span></div>
            <h3>Three Africas</h3>
            <div class="tasting-notes">
              <span>Golden Raisin</span><span>Lemon Zest</span><span>Cacao Nib</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:74%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:68%"></div></div></div>
            </div>
            <div class="specs-line">Ethiopia &amp; Uganda · Radiant Medium</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$20</strong></div>
          </article>

          <article class="coffee-card" data-cat="espresso" data-notes="chocolate">
            <div class="coffee-top"><span class="origin-tag">Espresso</span><span>Washed &amp; Pulped</span></div>
            <h3>Hayes Valley Espresso</h3>
            <div class="tasting-notes">
              <span>Baking Chocolate</span><span>Orange Zest</span><span>Brown Sugar</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:38%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:94%"></div></div></div>
            </div>
            <div class="specs-line">Brazil &amp; Colombia · Syrupy Dark Roast</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$19</strong></div>
          </article>

          <article class="coffee-card" data-cat="single-origin" data-notes="floral stone-fruit">
            <div class="coffee-top"><span class="origin-tag">Single Origin</span><span>Honey · 1,750m</span></div>
            <h3>Guatemala Huehuetenango</h3>
            <div class="tasting-notes">
              <span>Honeysuckle</span><span>Apricot</span><span>Almond</span>
            </div>
            <div class="profile-bars">
              <div class="bar-row"><span>Acidity</span><div class="bar-track"><div class="bar-fill" style="width:68%"></div></div></div>
              <div class="bar-row"><span>Body</span><div class="bar-track"><div class="bar-fill" style="width:70%"></div></div></div>
            </div>
            <div class="specs-line">Bourbon &amp; Caturra · Medium-Light</div>
            <div class="card-bottom"><span>340g Whole Bean</span><strong>$21</strong></div>
          </article>
        </div>
      </div>
    </section>

    <!-- Pour-Over Brew Guide & Live Timer -->
    <section class="band" id="brew-guide" style="border-bottom:none;">
      <div class="container">
        <div class="band-header">
          <div>
            <div class="kicker">Barista Calibration</div>
            <h2>Pour-Over Ratio &amp; Bloom Timer</h2>
          </div>
          <span style="font-family:var(--mono); font-size:12px; color:var(--muted);">Target Brew Time · 3:00</span>
        </div>

        <div class="brew-grid">
          <div class="brew-panel">
            <div class="control-group">
              <label for="doseRange">
                <span>COFFEE DOSE</span>
                <strong id="doseLabel">22 g</strong>
              </label>
              <input class="range-input" id="doseRange" type="range" min="15" max="40" step="1" value="22">
            </div>

            <div class="control-group">
              <label><span>BREW RATIO (COFFEE : WATER)</span></label>
              <div class="ratio-pills" role="group" aria-label="Brew ratio">
                <button class="ratio-btn" data-ratio="15" aria-pressed="false">1 : 15</button>
                <button class="ratio-btn" data-ratio="16" aria-pressed="true">1 : 16</button>
                <button class="ratio-btn" data-ratio="17" aria-pressed="false">1 : 17</button>
              </div>
            </div>

            <div class="recipe-readout">
              <div class="metric-box">
                <span>Bloom Water</span>
                <strong id="bloomGrams">44 g</strong>
              </div>
              <div class="metric-box">
                <span>Total Water</span>
                <strong id="totalWater">352 g</strong>
              </div>
              <div class="metric-box">
                <span>Grind Setting</span>
                <strong>Medium-Fine</strong>
              </div>
            </div>

            <p style="margin:0; font-size:13.5px; color:var(--muted);">
              Rinse the paper filter with hot water first to remove paper notes and pre-warm your carafe. Pour in slow concentric circles from center outward.
            </p>
          </div>

          <div class="timer-stage">
            <div class="phase-pill" id="phasePill">READY TO BREW</div>
            <div class="timer-clock" id="timerClock">0:00</div>
            <p class="phase-instruction" id="phaseInstruction">Tare scale with 22g ground coffee, then press Start.</p>

            <div class="pour-steps" id="pourSteps">
              <div class="step-cell" data-step="0">0:00 Bloom<br><span id="step0Target">44g</span></div>
              <div class="step-cell" data-step="1">0:45 Pour 1<br><span id="step1Target">198g</span></div>
              <div class="step-cell" data-step="2">1:30 Pour 2<br><span id="step2Target">352g</span></div>
              <div class="step-cell" data-step="3">2:15 Drawdown<br>3:00 Finish</div>
            </div>

            <div class="timer-actions">
              <button class="btn-primary" id="startPauseBtn">Start Brew</button>
              <button class="btn-secondary" id="resetBtn">Reset</button>
            </div>
          </div>
        </div>
      </div>
    </section>
  </main>

  <footer class="container">
    <span>BLUE BOTTLE COFFEE · OAKLAND, CA</span>
    <span>KIYOSUMI · SAN FRANCISCO · LOS ANGELES · SEOUL</span>
  </footer>

  <script>
    // Mobile nav
    const navToggle = document.getElementById('navToggle');
    const mobileMenu = document.getElementById('mobileMenu');
    navToggle.addEventListener('click', () => {
      const open = mobileMenu.classList.toggle('open');
      navToggle.setAttribute('aria-expanded', String(open));
    });
    mobileMenu.querySelectorAll('a').forEach(a => a.addEventListener('click', () => {
      mobileMenu.classList.remove('open');
      navToggle.setAttribute('aria-expanded', 'false');
    }));

    // Origin & Tasting Note Filters
    let activeCat = 'all';
    let activeNote = 'all';
    const coffeeCards = document.querySelectorAll('.coffee-card');
    const lotCount = document.getElementById('lotCount');

    function applyFilters() {
      let visible = 0;
      coffeeCards.forEach(card => {
        const matchCat = activeCat === 'all' || card.dataset.cat === activeCat;
        const matchNote = activeNote === 'all' || card.dataset.notes.split(' ').includes(activeNote);
        const show = matchCat && matchNote;
        card.style.display = show ? '' : 'none';
        if (show) visible++;
      });
      lotCount.textContent = `${visible} offering${visible === 1 ? '' : 's'} shown`;
    }

    document.querySelectorAll('.cat-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        activeCat = btn.dataset.cat;
        document.querySelectorAll('.cat-btn').forEach(b => b.setAttribute('aria-pressed', String(b === btn)));
        applyFilters();
      });
    });

    document.querySelectorAll('.note-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        activeNote = btn.dataset.note;
        document.querySelectorAll('.note-btn').forEach(b => b.setAttribute('aria-pressed', String(b === btn)));
        applyFilters();
      });
    });

    // Ratio Calculator & Live Pour-Over Timer
    const doseRange = document.getElementById('doseRange');
    const doseLabel = document.getElementById('doseLabel');
    const bloomGramsEl = document.getElementById('bloomGrams');
    const totalWaterEl = document.getElementById('totalWater');
    const step0Target = document.getElementById('step0Target');
    const step1Target = document.getElementById('step1Target');
    const step2Target = document.getElementById('step2Target');
    const timerClock = document.getElementById('timerClock');
    const phasePill = document.getElementById('phasePill');
    const phaseInstruction = document.getElementById('phaseInstruction');
    const startPauseBtn = document.getElementById('startPauseBtn');
    const resetBtn = document.getElementById('resetBtn');
    const stepCells = document.querySelectorAll('.step-cell');

    let ratio = 16;
    let seconds = 0;
    let intervalId = null;

    function getRecipe() {
      const dose = Number(doseRange.value);
      const total = dose * ratio;
      const bloom = dose * 2;
      const mid = Math.round(bloom + (total - bloom) / 2);
      return { dose, bloom, mid, total };
    }

    function updateRecipeDisplay() {
      const { dose, bloom, mid, total } = getRecipe();
      doseLabel.textContent = `${dose} g`;
      bloomGramsEl.textContent = `${bloom} g`;
      totalWaterEl.textContent = `${total} g`;
      step0Target.textContent = `${bloom}g`;
      step1Target.textContent = `${mid}g`;
      step2Target.textContent = `${total}g`;
      if (seconds === 0 && !intervalId) {
        phaseInstruction.textContent = `Tare scale with ${dose}g ground coffee, then press Start.`;
      }
    }

    function updateTimerUI() {
      const m = Math.floor(seconds / 60);
      const s = String(seconds % 60).padStart(2, '0');
      timerClock.textContent = `${m}:${s}`;
      const { bloom, mid, total } = getRecipe();

      let activeIdx = -1;
      if (seconds === 0 && !intervalId) {
        phasePill.textContent = 'READY TO BREW';
      } else if (seconds < 45) {
        activeIdx = 0;
        phasePill.textContent = 'PHASE 1 · BLOOM';
        phaseInstruction.textContent = `Saturate grounds evenly with ${bloom}g water and let degas.`;
      } else if (seconds < 90) {
        activeIdx = 1;
        phasePill.textContent = 'PHASE 2 · FIRST POUR';
        phaseInstruction.textContent = `Pour slowly in concentric spirals up to ${mid}g.`;
      } else if (seconds < 135) {
        activeIdx = 2;
        phasePill.textContent = 'PHASE 3 · FINAL POUR';
        phaseInstruction.textContent = `Bring total weight smoothly to ${total}g.`;
      } else if (seconds < 180) {
        activeIdx = 3;
        phasePill.textContent = 'PHASE 4 · DRAWDOWN';
        phaseInstruction.textContent = 'Swirl carafe gently and wait for a flat coffee bed.';
      } else {
        activeIdx = 3;
        phasePill.textContent = 'BREW COMPLETE';
        phaseInstruction.textContent = `Enjoy your ${total}g pour-over at peak clarity.`;
        clearInterval(intervalId);
        intervalId = null;
        startPauseBtn.textContent = 'Start Brew';
      }

      stepCells.forEach((cell, idx) => cell.classList.toggle('active', idx === activeIdx));
    }

    doseRange.addEventListener('input', updateRecipeDisplay);

    document.querySelectorAll('.ratio-btn').forEach(btn => {
      btn.addEventListener('click', () => {
        ratio = Number(btn.dataset.ratio);
        document.querySelectorAll('.ratio-btn').forEach(b => b.setAttribute('aria-pressed', String(b === btn)));
        updateRecipeDisplay();
      });
    });

    startPauseBtn.addEventListener('click', () => {
      if (intervalId) {
        clearInterval(intervalId);
        intervalId = null;
        startPauseBtn.textContent = 'Resume';
      } else {
        if (seconds >= 180) seconds = 0;
        startPauseBtn.textContent = 'Pause';
        updateTimerUI();
        intervalId = setInterval(() => {
          seconds++;
          updateTimerUI();
        }, 1000);
      }
    });

    resetBtn.addEventListener('click', () => {
      clearInterval(intervalId);
      intervalId = null;
      seconds = 0;
      startPauseBtn.textContent = 'Start Brew';
      updateTimerUI();
      updateRecipeDisplay();
    });

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