Skip to content

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

CSS
10.2 KB
Raw Blame
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Five Mile Gin: picked within five miles of the still</title>
<meta name="description" content="Five Mile Gin is a small distillery that forages sloe, elderflower, gorse, juniper and wild rose within five miles of its still. Batch 14 is bottled: 600 bottles at £38.">
<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=Prata&family=Manrope:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<a class="skip" href="#main">Skip to content</a>

<p class="banner">Batch 14 is bottled: 600 bottles at &pound;38. <a href="#batch">Buy a bottle</a></p>
<header class="bar">
  <div class="container bar__inner">
    <a class="wordmark" href="#top" aria-label="Five Mile Gin, home">Five Mile Gin</a>
    <nav aria-label="Main">
      <ul class="bar__links" role="list">
        <li><a href="#plants">The five plants</a></li>
        <li><a href="#figures">The batch</a></li>
        <li><a class="bar__buy" href="#batch">Buy, &pound;38</a></li>
      </ul>
    </nav>
  </div>
</header>

<main id="main">
  <section class="hero" id="top" aria-labelledby="hero-title">
    <figure class="photo hero__photo" data-slot="hero" data-alt="The land within five miles of the still">
      <img src="photos/palousefromsteptoebuttemay2023-2-1920.jpg" width="7996" height="5331" sizes="100vw"
           alt="Soft green rolling hills running to a hazy horizon in early morning light" style="object-position: 50% 55%" fetchpriority="high">
    </figure>
    <div class="hero__over">
      <div class="container">
        <div class="hero__text">
          <h1 id="hero-title">Picked within<br class="br-wide"> five miles of the still.</h1>
          <p class="lead">Sloe, elderflower, gorse, juniper and wild rose, foraged for every bottle.</p>
          <div class="actions">
            <a class="btn btn--primary" href="#batch">Buy Batch 14</a>
            <a class="btn btn--secondary" href="#plants">Meet the five plants</a>
          </div>
        </div>
      </div>
    </div>
  </section>

  <section class="plants" id="plants" aria-labelledby="plants-title">
    <div class="container">
      <div class="head">
        <h2 id="plants-title">Five plants, five miles.</h2>
        <p class="lead">The whole recipe, each plant foraged from the land around the still.</p>
      </div>
      <ol class="index" role="list">
        <li><h3>Sloe</h3><p class="index__latin">Prunus spinosa</p><p class="index__line">The blue-black fruit of the blackthorn.</p></li>
        <li><h3>Elderflower</h3><p class="index__latin">Sambucus nigra</p><p class="index__line">Flat heads of cream flowers on the elder.</p></li>
        <li><h3>Gorse</h3><p class="index__latin">Ulex europaeus</p><p class="index__line">Coconut-scented flowers on a spiny shrub.</p></li>
        <li><h3>Juniper</h3><p class="index__latin">Juniperus communis</p><p class="index__line">The berry every gin is built on.</p></li>
        <li><h3>Wild rose</h3><p class="index__latin">Rosa canina</p><p class="index__line">The pale pink rose of the hedges.</p></li>
      </ol>
    </div>
  </section>

  <section class="field" aria-labelledby="field-title">
    <div class="container">
      <div class="head head--split">
        <h2 id="field-title">Two of the five, close up.</h2>
        <p class="lead">Fruit from the blackthorn, flowers from the gorse.</p>
      </div>
      <div class="field__pair">
        <figure class="photo field__a">
          <div class="field__frame" data-slot="photo-1" data-alt="Sloes on the blackthorn, picked for the gin">
            <img src="photos/closeup-of-blackthorn-aka-sloe-aka-prunus-spinosa-sweden-200-1920.jpg" width="2592" height="1944" loading="lazy" sizes="(min-width: 60rem) 55vw, 100vw"
                 alt="Dusty blue sloes clustered on a blackthorn twig among green leaves" style="object-position: 40% 50%">
          </div>
          <figcaption>Sloe, <span class="latin">Prunus spinosa</span></figcaption>
        </figure>
        <figure class="photo field__b">
          <div class="field__frame" data-slot="photo-2" data-alt="Gorse in flower, picked for the gin">
            <img src="photos/gorse-at-howth-head-cliffs-1920.jpg" width="4032" height="3024" loading="lazy" sizes="(min-width: 60rem) 38vw, 100vw"
                 alt="Gorse in full yellow flower on a clifftop above a calm grey sea" style="object-position: 30% 70%">
          </div>
          <figcaption>Gorse, <span class="latin">Ulex europaeus</span></figcaption>
        </figure>
      </div>
    </div>
  </section>

  <section class="figures" id="figures" aria-labelledby="figures-title">
    <div class="container">
      <div class="head">
        <h2 id="figures-title">The gin in four figures.</h2>
        <p class="lead">Batch 14 has just been bottled.</p>
      </div>
      <dl class="figures__row">
        <div><dt>Bottles in Batch 14</dt><dd class="figure figure--lit">600</dd></div>
        <div><dt>Plants in every bottle</dt><dd class="figure">5</dd></div>
        <div><dt>Miles from the still, at most</dt><dd class="figure">5</dd></div>
        <div><dt>Pounds a bottle</dt><dd class="figure">&pound;38</dd></div>
      </dl>
    </div>
  </section>

  <section class="batch band--cream" id="batch" aria-labelledby="batch-title">
    <div class="container batch__grid">
      <figure class="photo batch__photo" data-slot="photo-3" data-alt="A glass of Batch 14">
        <img src="photos/gin-and-tonic-with-lemon-1920.jpg" width="2671" height="2448" loading="lazy" sizes="(min-width: 60rem) 36vw, 100vw"
             alt="A balloon glass of gin and tonic with lemon, lit warm on a dark table" style="object-position: 55% 45%">
      </figure>
      <div class="batch__text">
        <h2 id="batch-title">Buy Batch 14.</h2>
        <p class="lead">&pound;38 a bottle, from a batch of 600.</p>
        <form class="buy" data-endpoint="" novalidate>
          <div class="buy__row">
            <div class="qty">
              <label for="qty">Bottles</label>
              <div class="stepper">
                <button class="stepper__btn" type="button" data-step="-1" aria-label="One bottle fewer"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14"/></svg></button>
                <input id="qty" name="qty" type="number" inputmode="numeric" min="1" max="600" value="1">
                <button class="stepper__btn" type="button" data-step="1" aria-label="One bottle more"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14M12 5v14"/></svg></button>
              </div>
            </div>
            <p class="total"><span class="total__label">Total</span> <output class="total__figure figure" for="qty" id="total">&pound;38</output></p>
          </div>
          <button class="btn btn--primary buy__go" type="submit">Buy Batch 14</button>
          <p class="buy__help" id="buy-help" aria-live="polite"></p>
        </form>
      </div>
    </div>
  </section>
</main>

<footer class="mast">
  <div class="container">
    <p class="mast__mark" aria-hidden="true">Five Mile Gin</p>
    <div class="mast__grid">
      <p class="mast__text">A small distillery that forages its botanicals within five miles of the still, at <span class="fill" data-fill="address">address to be announced</span>.</p>
      <ul class="mast__links" role="list">
        <li><a href="#plants">The five plants</a></li>
        <li><a href="#figures">The batch</a></li>
        <li><a href="#batch">Buy a bottle</a></li>
      </ul>
    </div>
    <p class="legal">&copy; 2026 Five Mile Gin. Please drink responsibly.</p>
    <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:PalouseFromSteptoeButteMay2023-2.jpg">Caleb Riston</a> (CC BY 4.0), <a href="https://commons.wikimedia.org/wiki/File:Closeup_of_blackthorn_aka_sloe_aka_prunus_spinosa_sweden_20050924.jpg">Martin Olsson</a> (CC BY-SA 3.0), <a href="https://commons.wikimedia.org/wiki/File:Gorse_at_Howth_Head_cliffs.jpg">Jonathan</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Gin_and_tonic_with_lemon.jpg">MuseumNext</a> (CC BY-SA 2.0), all via Wikimedia Commons.</p>
  </div>
</footer>

<script>window.hallmarkSlots = (m) => { for (const [k, v] of Object.entries(m)) { const s = document.querySelector(`[data-slot="${k}"]`); if (!s) continue; const im = new Image(); im.src = typeof v === 'string' ? v : v.src; im.alt = (typeof v === 'object' && v.alt) || s.dataset.alt || ''; s.querySelectorAll(':scope > img').forEach((o) => o.remove()); s.prepend(im); } };
document.querySelectorAll('[data-slot] > img').forEach((i) => { if (i.complete && !i.naturalWidth) i.remove(); else i.addEventListener('error', () => i.remove(), { once: true }); });</script>
<script>
  (() => {
    const form = document.querySelector('form.buy');
    if (!form) return;
    const qty = form.querySelector('#qty'), total = form.querySelector('#total'), help = form.querySelector('#buy-help');
    const clamp = (n) => Math.min(600, Math.max(1, Math.round(n) || 1));
    const show = () => { total.textContent = '£' + (clamp(qty.value) * 38); };
    form.querySelectorAll('[data-step]').forEach((b) => b.addEventListener('click', () => { qty.value = clamp(Number(qty.value) + Number(b.dataset.step)); show(); }));
    qty.addEventListener('input', show);
    qty.addEventListener('change', () => { qty.value = clamp(qty.value); show(); });
    form.addEventListener('submit', (e) => {
      e.preventDefault();
      if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: the shop is not connected yet.'; return; }
      fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })
        .then((r) => { help.textContent = r.ok ? 'Your order for ' + clamp(qty.value) + ' went through.' : 'That did not go through. Try again in a minute.'; })
        .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });
    });
  })();
</script>
</body>
</html>