Skip to content

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

CSS
10.9 KB
Raw Blame
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Little Otters swimming school</title>
<meta name="description" content="Little Otters teaches children aged 3 to 11 to swim, in small classes in a warm teaching pool.">
<link rel="preconnect" href="https://api.fontshare.com">
<link href="https://api.fontshare.com/v2/css?f[]=ranade@400,500,600&display=swap" rel="stylesheet">
<link href="https://api.fontshare.com/v2/css?f[]=gambarino@400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a class="skip" href="#main">Skip to content</a>

<nav class="nav" aria-label="Main">
  <div class="nav__pill">
    <a class="wordmark" href="#main" aria-label="Little Otters, home">Little Otters</a>
    <ul class="links">
      <li><a href="#progress">How they learn</a></li>
      <li><a href="#pool">The pool</a></li>
      <li><a href="#classes">Classes</a></li>
      <li><a href="#questions">Questions</a></li>
    </ul>
    <a class="btn btn--sm" href="#place">Ask for a place</a>
  </div>
</nav>

<main id="main">
  <section class="hero" aria-labelledby="hero-title">
    <figure class="hero__field" data-slot="hero" data-alt="The Little Otters teaching pool itself, calm water and the shallow end, no faces">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg/1920px-Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg/960px-Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg 960w, https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg/1280px-Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg 1280w, https://upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg/1920px-Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg 1920w, https://upload.wikimedia.org/wikipedia/commons/8/8c/Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg 4608w" sizes="130vw" width="4608" height="3456" alt="Clear pool water over blue tiles, parted by red lane ropes" fetchpriority="high">
    </figure>
    <div class="container">
      <div class="hero__ledge">
        <h1 id="hero-title">Every child within the teacher’s reach.</h1>
        <div class="hero__side">
          <p class="lead serif-line">Swimming lessons for ages 3 to 11, in a warm teaching pool.</p>
          <div class="actions">
            <a class="btn btn--primary" href="#place">Ask for a place</a>
            <a class="btn" href="#classes">See the classes</a>
          </div>
        </div>
      </div>
    </div>
  </section>

  <section class="section gap-l" id="progress" aria-labelledby="progress-title">
    <div class="container">
      <div class="head head--split">
        <h2 id="progress-title">From splashing to swimming lengths</h2>
        <p class="lead">Four stages, each taken at the child’s own pace.</p>
      </div>
      <ol class="stair" role="list">
        <li class="surface"><span class="stair__n" aria-hidden="true">1</span><h3>Face in the water</h3><p>Blowing bubbles, ears in, eyes open under the surface.</p></li>
        <li class="surface"><span class="stair__n" aria-hidden="true">2</span><h3>Floating</h3><p>On the front and the back, with a float, then without.</p></li>
        <li class="surface"><span class="stair__n" aria-hidden="true">3</span><h3>Kick and pull</h3><p>First strokes across the width of the shallow end.</p></li>
        <li class="surface"><span class="stair__n" aria-hidden="true">4</span><h3>A length alone</h3><p>Front crawl and backstroke, end to end, unaided.</p></li>
      </ol>
    </div>
  </section>

  <section class="section gap-m" id="pool" aria-labelledby="pool-title">
    <div class="container">
      <div class="head">
        <h2 id="pool-title">A teaching pool, kept warm</h2>
        <p class="lead">Warm enough to stay in for the whole lesson, shallow enough to stand.</p>
      </div>
      <figure class="photo photo--wide" data-slot="pool" data-alt="The indoor teaching pool in daylight: the shallow steps, floats on the side, no children’s faces">
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg/1920px-Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg" srcset="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg/960px-Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg 960w, https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg/1280px-Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg 1280w, https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg/1920px-Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg 1920w, https://upload.wikimedia.org/wikipedia/commons/2/2d/Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg 5472w" sizes="(min-width: 90rem) 1312px, 100vw" width="5472" height="3648" alt="Still pool water over pale blue tiles, with soft reflections on the surface" loading="lazy" style="object-position: 50% 40%">
      </figure>
    </div>
  </section>

  <section class="section gap-l" id="classes" aria-labelledby="classes-title">
    <div class="container">
      <div class="head head--split">
        <h2 id="classes-title">Where your child starts</h2>
        <p class="lead">Two of the four stages in each.</p>
      </div>
      <table class="classes">
        <thead><tr><th scope="col">Age</th><th scope="col">Class</th><th scope="col">Stages</th><th scope="col">By the end</th></tr></thead>
        <tbody>
          <tr><th scope="row" class="classes__age">3 to 5</th><td class="classes__name">Getting in</td><td>1 and 2</td><td>Floats unaided, front and back</td></tr>
          <tr><th scope="row" class="classes__age">6 to 8</th><td class="classes__name">First strokes</td><td>2 and 3</td><td>Swims a width, front and back</td></tr>
          <tr><th scope="row" class="classes__age">9 to 11</th><td class="classes__name">Lengths and turns</td><td>3 and 4</td><td>Swims a length on their own</td></tr>
        </tbody>
      </table>
    </div>
  </section>

  <section class="section gap-l" id="questions" aria-labelledby="questions-title">
    <div class="container rows-wrap">
      <div class="head">
        <h2 id="questions-title">What parents ask first</h2>
      </div>
      <dl class="rows">
        <div><dt>Must they swim already?</dt><dd>No. The first stage is getting their face wet.</dd></div>
        <div><dt>What should they bring?</dt><dd>A costume, a towel, and goggles if they like them.</dd></div>
        <div><dt>What if they’re nervous?</dt><dd>They start where they can stand. Nobody is pushed under.</dd></div>
      </dl>
    </div>
  </section>

  <section class="section gap-l" id="place" aria-labelledby="place-title">
    <div class="container">
      <div class="place surface">
        <div class="place__head">
          <h2 id="place-title">Ask for a place</h2>
          <p class="lead">Tell us your child’s age and we’ll reply with the classes that have room.</p>
          <p class="place__note">We reply by email. Nothing is booked until you say yes.</p>
        </div>
        <form class="place__form" data-endpoint="" novalidate>
          <div class="field">
            <label for="age">Child’s age</label>
            <select id="age" name="age" required>
              <option value="">Choose an age</option>
              <option>3</option><option>4</option><option>5</option><option>6</option><option>7</option><option>8</option><option>9</option><option>10</option><option>11</option>
            </select>
          </div>
          <div class="field">
            <label for="name">Your name</label>
            <input id="name" name="name" type="text" autocomplete="name" required>
          </div>
          <div class="field">
            <label for="email">Email address</label>
            <input id="email" name="email" type="email" autocomplete="email" inputmode="email" required>
          </div>
          <button class="btn btn--primary" type="submit">Send the request</button>
          <p class="place__help" id="place-help" aria-live="polite"></p>
        </form>
      </div>
    </div>
  </section>
</main>

<footer class="footer">
  <div class="container">
    <p class="footer__mark">Little Otters</p>
    <div class="footer__row">
      <ul class="footer__links">
        <li><a href="#progress">How they learn</a></li>
        <li><a href="#pool">The pool</a></li>
        <li><a href="#classes">Classes</a></li>
        <li><a href="#questions">Questions</a></li>
        <li><a href="#place">Ask for a place</a></li>
      </ul>
      <p class="footer__note"><span class="fill" data-fill="address">Pool address to be confirmed</span></p>
    </div>
    <p class="credits" data-credits>Photographs: <a href="https://commons.wikimedia.org/wiki/File:Swimming_Pool_lanes_and_starting_blocks_at_AIS.jpg">KeepActive Australia</a> (CC BY-SA 4.0), <a href="https://commons.wikimedia.org/wiki/File:Swimming_Pool_in_a_hotel_in_Tamil_Nadu_03.jpg">Kritzolina</a> (CC BY-SA 4.0), via Wikimedia Commons.</p>
  </div>
</footer>

<script>
document.querySelectorAll('form[data-endpoint]').forEach((form) => {
  const help = form.querySelector('[aria-live]');
  form.addEventListener('submit', (e) => {
    e.preventDefault();
    const fields = [...form.querySelectorAll('input, select')];
    fields.forEach((f) => f.toggleAttribute('aria-invalid', !f.checkValidity()));
    const bad = fields.find((f) => !f.checkValidity());
    if (bad) { bad.setAttribute('aria-describedby', help.id); help.textContent = bad.id === 'email' ? 'That address looks incomplete. Write it as [email protected].' : bad.id === 'age' ? 'Choose your child’s age so we can match a class.' : 'Add your name so we know who to reply to.'; bad.focus(); return; }
    if (!form.dataset.endpoint) { help.textContent = 'Nothing was sent: this form is not connected yet.'; return; }
    fetch(form.dataset.endpoint, { method: 'POST', body: new FormData(form) })
      .then((r) => { help.textContent = r.ok ? 'Thank you. We’ll reply to ' + form.email.value.trim() + '.' : 'That did not go through. Try again in a minute.'; })
      .catch(() => { help.textContent = 'That did not go through. Try again in a minute.'; });
  });
});
</script>
<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>
</body>
</html>