Skip to content
VibeCodeBench
Back to the app

The code

The Classic Pelican SVG by Claude Fable 5.2

Exactly as the AI wrote it. Shown as text, so nothing runs on this page.

original.svg

works · auto-checked (Checked by an automated pass. Not hand-played yet.)25.3 KB · 397 lines · no libraries
Download
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 600" role="img" aria-labelledby="svgTitle svgDesc" style="background:#0e2238">
  <title id="svgTitle">A pelican riding a bicycle</title>
  <desc id="svgDesc">A cheerful white pelican with a long orange bill, a big throat pouch and a red scarf pedals a red bicycle along a seaside road. Two fish stick out of the wicker basket on the handlebars. The wheels, pedals, legs, chain, scarf, clouds and road are animated.</desc>

  <defs>
    <clipPath id="frame"><rect x="0" y="0" width="800" height="600"/></clipPath>

    <linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#2f96e6"/>
      <stop offset="0.6" stop-color="#7cc8f6"/>
      <stop offset="1" stop-color="#d3efff"/>
    </linearGradient>
    <radialGradient id="sunGlow" cx="0.5" cy="0.5" r="0.5">
      <stop offset="0" stop-color="#fffbe0" stop-opacity="0.95"/>
      <stop offset="0.35" stop-color="#fff2a8" stop-opacity="0.5"/>
      <stop offset="1" stop-color="#fff2a8" stop-opacity="0"/>
    </radialGradient>
    <linearGradient id="sea" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#1877bd"/>
      <stop offset="0.55" stop-color="#35a6d8"/>
      <stop offset="1" stop-color="#8fdcec"/>
    </linearGradient>
    <linearGradient id="sand" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#fbe9b7"/>
      <stop offset="1" stop-color="#eaca82"/>
    </linearGradient>
    <linearGradient id="road" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#6d7783"/>
      <stop offset="1" stop-color="#474f59"/>
    </linearGradient>
    <linearGradient id="bodyFill" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffffff"/>
      <stop offset="0.55" stop-color="#ffffff"/>
      <stop offset="1" stop-color="#d3dde8"/>
    </linearGradient>
    <linearGradient id="wingFill" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#fbfdff"/>
      <stop offset="1" stop-color="#c7d3df"/>
    </linearGradient>
    <linearGradient id="billFill" x1="0" y1="0" x2="1" y2="0">
      <stop offset="0" stop-color="#ffd670"/>
      <stop offset="0.8" stop-color="#f9a826"/>
      <stop offset="1" stop-color="#ee6a2c"/>
    </linearGradient>
    <linearGradient id="pouchFill" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffb84d"/>
      <stop offset="1" stop-color="#f27a2a"/>
    </linearGradient>

    <!-- one fluffy cloud, centred on 0,0 -->
    <g id="cloud" fill="#ffffff">
      <ellipse cx="0" cy="4" rx="56" ry="16"/>
      <ellipse cx="-24" cy="-6" rx="24" ry="18"/>
      <ellipse cx="6" cy="-16" rx="28" ry="24"/>
      <ellipse cx="34" cy="-4" rx="20" ry="15"/>
    </g>
    <!-- 800 px wide strip of clouds that can be repeated -->
    <g id="cloudTile">
      <use xlink:href="#cloud" transform="translate(120 44)"/>
      <use xlink:href="#cloud" transform="translate(400 34) scale(0.72)"/>
      <use xlink:href="#cloud" transform="translate(655 50) scale(0.9)"/>
      <use xlink:href="#cloud" transform="translate(255 316) scale(1.25 0.5)" opacity="0.6"/>
      <use xlink:href="#cloud" transform="translate(585 306) scale(1 0.45)" opacity="0.6"/>
    </g>

    <!-- roadside grass -->
    <g id="tuft" fill="none" stroke="#5aa35a" stroke-width="2.6" stroke-linecap="round">
      <path d="M0 0 Q-2 -12 -9 -17"/>
      <path d="M0 0 Q0 -14 2 -22"/>
      <path d="M0 0 Q4 -11 11 -15"/>
      <path d="M-3 0 Q-8 -6 -14 -8"/>
    </g>
    <!-- 400 px wide strip of roadside details -->
    <g id="tuftTile">
      <path d="M50 466v7M150 466v7M250 466v7M350 466v7" stroke="#b9b09a" stroke-width="1.5" fill="none"/>
      <use xlink:href="#tuft" transform="translate(60 468)"/>
      <use xlink:href="#tuft" transform="translate(250 468) scale(1.3)"/>
      <ellipse cx="335" cy="464" rx="9" ry="5" fill="#b9b3a3"/>
    </g>
    <!-- 200 px wide strip of shells -->
    <g id="shells">
      <circle cx="40" cy="458" r="2.2" fill="#ffffff" opacity="0.8"/>
      <circle cx="132" cy="461" r="2" fill="#e9a17a"/>
      <path d="M84 455 l3 2 l-3 2 l-3 -2 Z" fill="#d98f6a" opacity="0.8"/>
    </g>

    <!-- the turning part of a wheel -->
    <g id="spokes">
      <g stroke="#b4bec9" stroke-width="1.3">
        <line x1="-74" y1="0" x2="74" y2="0"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(20)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(40)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(60)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(80)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(100)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(120)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(140)"/>
        <line x1="-74" y1="0" x2="74" y2="0" transform="rotate(160)"/>
      </g>
      <rect x="38" y="-3.5" width="18" height="7" rx="2" fill="#ffb703"/>
      <rect x="-56" y="-3.5" width="18" height="7" rx="2" fill="#ffb703"/>
      <rect x="-2" y="-73" width="4" height="9" rx="1" fill="#6b7280"/>
    </g>

    <!-- a fish, head to the left, tail to the right -->
    <g id="fish">
      <path d="M-26 0 C-18 -11 8 -10 20 -2 L34 -10 L30 0 L34 10 L20 2 C8 10 -18 11 -26 0 Z" fill="#8ec5e6" stroke="#3d6f8f" stroke-width="1.5" stroke-linejoin="round"/>
      <path d="M-22 -1 C-14 -8 6 -8 18 -2" fill="none" stroke="#5a93b5" stroke-width="2"/>
      <circle cx="-17" cy="-2" r="1.6" fill="#1f2937"/>
    </g>

    <!-- webbed foot standing on a pedal; 0,0 is the ankle, the pedal axle is 9 px below -->
    <g id="foot">
      <rect x="-14" y="5.5" width="28" height="7" rx="2.5" fill="#20252b" stroke="none"/>
      <rect x="-10" y="7.5" width="6" height="3" rx="1" fill="#ffb703" stroke="none"/>
      <path d="M-5 -4 Q-8 3 -10 5.5 L23 5.5 Q27 5 23 2.5 Q12 -1 5 -5 Z" stroke-width="1.6" stroke-linejoin="round"/>
      <path d="M3 0 L18 4 M0 2 L10 5" fill="none" stroke-width="1" opacity="0.6"/>
    </g>
  </defs>

  <g clip-path="url(#frame)">

    <!-- ===================== SKY ===================== -->
    <rect x="0" y="0" width="800" height="346" fill="url(#sky)"/>
    <circle cx="676" cy="92" r="110" fill="url(#sunGlow)"/>
    <circle cx="676" cy="92" r="38" fill="#fff6c4"/>

    <g opacity="0.9">
      <g>
        <animateTransform attributeName="transform" type="translate" from="0 0" to="-800 0" dur="120s" repeatCount="indefinite"/>
        <use xlink:href="#cloudTile"/>
        <use xlink:href="#cloudTile" x="800"/>
      </g>
    </g>

    <g fill="none" stroke="#3b4a5c" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
      <animateTransform attributeName="transform" type="translate" values="0 0;6 -4;0 0" dur="5s" repeatCount="indefinite"/>
      <path d="M96 150 q9 -9 17 0 q8 -9 17 0"/>
      <path d="M158 122 q7 -7 13 0 q6 -7 13 0"/>
    </g>

    <!-- ===================== FAR LAND ===================== -->
    <path d="M540 340 C590 322 640 318 690 328 C730 336 770 326 800 318 L800 340 Z" fill="#8dbbd6" opacity="0.9"/>
    <path d="M0 340 L0 316 C40 300 90 296 130 310 C170 322 210 332 262 340 Z" fill="#6fa3b5"/>
    <g>
      <path d="M60 304 L62 280 L68 280 L70 304 Z" fill="#fdfdfd" stroke="#5b7083" stroke-width="1"/>
      <rect x="61.2" y="289" width="7.6" height="5" fill="#e63946" opacity="0.85"/>
      <rect x="61.5" y="274" width="7" height="6" fill="#ffe08a" stroke="#5b7083" stroke-width="1"/>
      <path d="M60 274 L65 268 L70 274 Z" fill="#e63946"/>
    </g>

    <!-- ===================== SEA ===================== -->
    <rect x="0" y="340" width="800" height="134" fill="url(#sea)"/>
    <rect x="0" y="340" width="800" height="1.5" fill="#d6f1ff" opacity="0.6"/>
    <g stroke="#ffffff" stroke-width="2" stroke-linecap="round" opacity="0.55">
      <animateTransform attributeName="transform" type="translate" values="0 0;10 0;0 0" dur="4s" repeatCount="indefinite"/>
      <path fill="none" d="M40 356h22M150 366h30M300 352h18M450 360h26M610 354h22M748 364h26M90 384h34M228 392h28M520 388h36M660 398h30M30 412h32M180 420h36M420 414h30M580 424h34M730 418h30"/>
    </g>
    <g>
      <animateTransform attributeName="transform" type="translate" values="0 0;0 1.5;0 0" dur="3s" repeatCount="indefinite"/>
      <path d="M705 356 L705 328 L720 356 Z" fill="#ffffff"/>
      <path d="M702 356 L702 335 L691 356 Z" fill="#ffe3d6"/>
      <path d="M688 358 L723 358 L717 365 L693 365 Z" fill="#fdfdfd" stroke="#33566f" stroke-width="1"/>
    </g>

    <!-- ===================== BEACH (slides past at half speed) ===================== -->
    <g>
      <animateTransform attributeName="transform" type="translate" from="0 0" to="-200 0" dur="1.066s" repeatCount="indefinite"/>
      <path d="M0 446 q50 -7 100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 V476 H0 Z" fill="url(#sand)"/>
      <path d="M0 446 q50 -7 100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0 t100 0" fill="none" stroke="#ffffff" stroke-width="4" opacity="0.85"/>
      <use xlink:href="#shells"/>
      <use xlink:href="#shells" x="200"/>
      <use xlink:href="#shells" x="400"/>
      <use xlink:href="#shells" x="600"/>
      <use xlink:href="#shells" x="800"/>
    </g>

    <!-- ===================== ROAD ===================== -->
    <rect x="0" y="470" width="800" height="130" fill="url(#road)"/>
    <rect x="0" y="466" width="800" height="7" fill="#e7dfca"/>
    <rect x="0" y="473" width="800" height="2" fill="#000000" opacity="0.12"/>
    <g>
      <animateTransform attributeName="transform" type="translate" from="0 0" to="-400 0" dur="1.066s" repeatCount="indefinite"/>
      <use xlink:href="#tuftTile"/>
      <use xlink:href="#tuftTile" x="400"/>
      <use xlink:href="#tuftTile" x="800"/>
    </g>
    <g fill="#f5efda" opacity="0.9">
      <animateTransform attributeName="transform" type="translate" from="0 0" to="-200 0" dur="0.533s" repeatCount="indefinite"/>
      <rect x="20" y="550" width="90" height="7" rx="3"/>
      <rect x="220" y="550" width="90" height="7" rx="3"/>
      <rect x="420" y="550" width="90" height="7" rx="3"/>
      <rect x="620" y="550" width="90" height="7" rx="3"/>
      <rect x="820" y="550" width="90" height="7" rx="3"/>
      <rect x="1020" y="550" width="90" height="7" rx="3"/>
    </g>

    <!-- shadow under the bicycle -->
    <ellipse cx="402" cy="503" rx="232" ry="10" fill="#141c26" opacity="0.28"/>

    <!-- speed streaks -->
    <g stroke="#ffffff" stroke-width="3" stroke-linecap="round" opacity="0.6">
      <line x1="104" y1="226" x2="160" y2="226">
        <animate attributeName="opacity" values="0;1;0" dur="1.2s" repeatCount="indefinite"/>
        <animateTransform attributeName="transform" type="translate" from="30 0" to="-50 0" dur="1.2s" repeatCount="indefinite"/>
      </line>
      <line x1="66" y1="256" x2="138" y2="256">
        <animate attributeName="opacity" values="0;1;0" dur="1.5s" begin="-0.6s" repeatCount="indefinite"/>
        <animateTransform attributeName="transform" type="translate" from="30 0" to="-50 0" dur="1.5s" begin="-0.6s" repeatCount="indefinite"/>
      </line>
      <line x1="92" y1="376" x2="150" y2="376">
        <animate attributeName="opacity" values="0;1;0" dur="1.3s" begin="-0.9s" repeatCount="indefinite"/>
        <animateTransform attributeName="transform" type="translate" from="30 0" to="-50 0" dur="1.3s" begin="-0.9s" repeatCount="indefinite"/>
      </line>
    </g>

    <!-- ===================== FAR SIDE: crank, leg and foot behind the bicycle ===================== -->
    <g transform="rotate(120 378 433)">
      <animateTransform attributeName="transform" type="rotate" from="120 378 433" to="480 378 433" dur="2.4s" repeatCount="indefinite"/>
      <line x1="378" y1="433" x2="410" y2="433" stroke="#4a525c" stroke-width="6" stroke-linecap="round"/>
    </g>
    <path d="M350 258 L393.3 352.5 L362 451.7" fill="none" stroke="#6e3306" stroke-width="12" stroke-linecap="round" stroke-linejoin="round">
      <animate attributeName="d" dur="2.4s" repeatCount="indefinite" values="M350 258 L393.3 352.5 L362 451.7;M350 258 L400.5 348.9 L350.3 440;M350 258 L410.6 342.5 L346 424;M350 258 L422.2 332.9 L350.3 408;M350 258 L433.2 320.5 L362 396.3;M350 258 L440.6 309 L378 392;M350 258 L443 304.6 L394 396.3;M350 258 L440.1 309.9 L405.7 408;M350 258 L431.7 322.3 L410 424;M350 258 L418 336.7 L405.7 440;M350 258 L402.1 348 L394 451.7;M350 258 L392.3 353 L378 456;M350 258 L393.3 352.5 L362 451.7"/>
    </path>
    <path d="M350 258 L393.3 352.5 L362 451.7" fill="none" stroke="#cf7420" stroke-width="8" stroke-linecap="round" stroke-linejoin="round">
      <animate attributeName="d" dur="2.4s" repeatCount="indefinite" values="M350 258 L393.3 352.5 L362 451.7;M350 258 L400.5 348.9 L350.3 440;M350 258 L410.6 342.5 L346 424;M350 258 L422.2 332.9 L350.3 408;M350 258 L433.2 320.5 L362 396.3;M350 258 L440.6 309 L378 392;M350 258 L443 304.6 L394 396.3;M350 258 L440.1 309.9 L405.7 408;M350 258 L431.7 322.3 L410 424;M350 258 L418 336.7 L405.7 440;M350 258 L402.1 348 L394 451.7;M350 258 L392.3 353 L378 456;M350 258 L393.3 352.5 L362 451.7"/>
    </path>
    <g transform="translate(362 451.7)">
      <animateTransform attributeName="transform" type="translate" dur="2.4s" repeatCount="indefinite" values="362 451.7;350.3 440;346 424;350.3 408;362 396.3;378 392;394 396.3;405.7 408;410 424;405.7 440;394 451.7;378 456;362 451.7"/>
      <use xlink:href="#foot" fill="#cf7420" stroke="#6e3306"/>
    </g>

    <!-- ===================== WHEELS ===================== -->
    <g transform="translate(250 414)">
      <circle r="81.5" fill="none" stroke="#22272e" stroke-width="9"/>
      <circle r="78.4" fill="none" stroke="#efe4c8" stroke-width="2.2"/>
      <circle r="75.5" fill="none" stroke="#c9d1d9" stroke-width="3"/>
      <g>
        <animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="1.44s" repeatCount="indefinite"/>
        <use xlink:href="#spokes"/>
      </g>
      <circle r="6.5" fill="#8b95a1" stroke="#3a4048" stroke-width="1.5"/>
    </g>
    <g transform="translate(552 414)">
      <circle r="81.5" fill="none" stroke="#22272e" stroke-width="9"/>
      <circle r="78.4" fill="none" stroke="#efe4c8" stroke-width="2.2"/>
      <circle r="75.5" fill="none" stroke="#c9d1d9" stroke-width="3"/>
      <g transform="rotate(35)">
        <animateTransform attributeName="transform" type="rotate" from="35" to="395" dur="1.44s" repeatCount="indefinite"/>
        <use xlink:href="#spokes"/>
      </g>
      <circle r="6.5" fill="#8b95a1" stroke="#3a4048" stroke-width="1.5"/>
    </g>

    <!-- ===================== FRAME ===================== -->
    <g fill="none" stroke-linecap="round" stroke-linejoin="round">
      <!-- seatpost -->
      <path d="M347 308 L341 285" stroke="#5d6772" stroke-width="7"/>
      <path d="M347 308 L341 285" stroke="#c3cbd4" stroke-width="4"/>
      <!-- stem and handlebar -->
      <path d="M500 288 L492 260 C494 244 478 240 458 244" stroke="#5d6772" stroke-width="7"/>
      <path d="M500 288 L492 260 C494 244 478 240 458 244" stroke="#c3cbd4" stroke-width="4"/>
      <path d="M474 242.5 Q466 242.5 457 244.2" stroke="#262b32" stroke-width="9"/>
      <!-- tubes: dark outline first, colour on top -->
      <path d="M378 433 L250 414 L347 308 L378 433 L509 320 M347 308 L503 297 M512 330 Q530 384 552 414" stroke="#7a1420" stroke-width="11"/>
      <path d="M500 288 L512 330" stroke="#7a1420" stroke-width="15"/>
      <path d="M378 433 L250 414 L347 308 L378 433 L509 320 M347 308 L503 297 M512 330 Q530 384 552 414" stroke="#e63946" stroke-width="7"/>
      <path d="M500 288 L512 330" stroke="#e63946" stroke-width="11"/>
      <path d="M359.4 305.1 L490.4 295.9 M494.6 329.8 L389.8 420.2" stroke="#ff9aa5" stroke-width="1.6" opacity="0.85"/>
    </g>
    <circle cx="488" cy="244" r="5" fill="#ffd166" stroke="#a87810" stroke-width="1.5"/>
    <circle cx="552" cy="414" r="4.5" fill="#7a1420"/>
    <circle cx="378" cy="433" r="8" fill="#7a1420"/>

    <!-- rear sprocket and moving chain -->
    <circle cx="250" cy="414" r="10" fill="#9aa3ad" stroke="#4a525c" stroke-width="1.5"/>
    <circle cx="250" cy="414" r="4" fill="#7a1420"/>
    <path d="M250 402 L378 413 A20 20 0 0 1 378 453 L250 426 A12 12 0 0 1 250 402 Z" fill="none" stroke="#2f343b" stroke-width="3" stroke-dasharray="5 3">
      <animate attributeName="stroke-dashoffset" from="0" to="-8" dur="0.153s" repeatCount="indefinite"/>
    </path>

    <!-- saddle -->
    <path d="M298 276 C296 268 310 268 330 270 L370 274 C380 275 380 284 370 284 L322 288 C306 290 298 286 298 276 Z" fill="#4a2c1a" stroke="#2a180d" stroke-width="2" stroke-linejoin="round"/>

    <!-- basket with the catch of the day -->
    <path d="M507 302 L528 302 M494 268 L522 266" fill="none" stroke="#8b949e" stroke-width="3" stroke-linecap="round"/>
    <use xlink:href="#fish" transform="translate(540 264) rotate(-75)"/>
    <use xlink:href="#fish" transform="translate(574 266) rotate(-80) scale(0.85)"/>
    <path d="M520 264 L590 264 L582 308 L528 308 Z" fill="#c9924e" stroke="#7a4e21" stroke-width="2" stroke-linejoin="round"/>
    <path d="M522 275 L588 275 M524 286 L586 286 M526 297 L584 297" fill="none" stroke="#a36b2b" stroke-width="1.5"/>
    <path d="M534 264 L539 308 M548 264 L550.5 308 M562 264 L561.5 308 M576 264 L572 308" fill="none" stroke="#a36b2b" stroke-width="1.5"/>
    <path d="M517 264 L593 264" fill="none" stroke="#7a4e21" stroke-width="5" stroke-linecap="round"/>

    <!-- ===================== NEAR SIDE: chainring, crank, leg and foot ===================== -->
    <g transform="rotate(300 378 433)">
      <animateTransform attributeName="transform" type="rotate" from="300 378 433" to="660 378 433" dur="2.4s" repeatCount="indefinite"/>
      <circle cx="378" cy="433" r="16" fill="none" stroke="#c3cbd4" stroke-width="4"/>
      <path d="M362 433 L394 433 M378 417 L378 449" fill="none" stroke="#c3cbd4" stroke-width="3"/>
      <line x1="378" y1="433" x2="410" y2="433" stroke="#3a4048" stroke-width="6.5" stroke-linecap="round"/>
      <circle cx="378" cy="433" r="5.5" fill="#3a4048"/>
    </g>
    <path d="M350 258 L443 304.6 L394 396.3" fill="none" stroke="#8f4308" stroke-width="12" stroke-linecap="round" stroke-linejoin="round">
      <animate attributeName="d" dur="2.4s" repeatCount="indefinite" values="M350 258 L443 304.6 L394 396.3;M350 258 L440.1 309.9 L405.7 408;M350 258 L431.7 322.3 L410 424;M350 258 L418 336.7 L405.7 440;M350 258 L402.1 348 L394 451.7;M350 258 L392.3 353 L378 456;M350 258 L393.3 352.5 L362 451.7;M350 258 L400.5 348.9 L350.3 440;M350 258 L410.6 342.5 L346 424;M350 258 L422.2 332.9 L350.3 408;M350 258 L433.2 320.5 L362 396.3;M350 258 L440.6 309 L378 392;M350 258 L443 304.6 L394 396.3"/>
    </path>
    <path d="M350 258 L443 304.6 L394 396.3" fill="none" stroke="#f6921e" stroke-width="8" stroke-linecap="round" stroke-linejoin="round">
      <animate attributeName="d" dur="2.4s" repeatCount="indefinite" values="M350 258 L443 304.6 L394 396.3;M350 258 L440.1 309.9 L405.7 408;M350 258 L431.7 322.3 L410 424;M350 258 L418 336.7 L405.7 440;M350 258 L402.1 348 L394 451.7;M350 258 L392.3 353 L378 456;M350 258 L393.3 352.5 L362 451.7;M350 258 L400.5 348.9 L350.3 440;M350 258 L410.6 342.5 L346 424;M350 258 L422.2 332.9 L350.3 408;M350 258 L433.2 320.5 L362 396.3;M350 258 L440.6 309 L378 392;M350 258 L443 304.6 L394 396.3"/>
    </path>
    <g transform="translate(394 396.3)">
      <animateTransform attributeName="transform" type="translate" dur="2.4s" repeatCount="indefinite" values="394 396.3;405.7 408;410 424;405.7 440;394 451.7;378 456;362 451.7;350.3 440;346 424;350.3 408;362 396.3;378 392;394 396.3"/>
      <use xlink:href="#foot" fill="#f6921e" stroke="#8f4308"/>
    </g>

    <!-- ===================== PELICAN ===================== -->
    <!-- tail feathers -->
    <g fill="#edf2f7" stroke="#2f3e52" stroke-width="2.5" stroke-linejoin="round">
      <path d="M246 204 Q214 188 192 194 Q212 212 238 226 Z"/>
      <path d="M240 214 Q206 208 184 220 Q208 230 236 236 Z"/>
      <path d="M238 226 Q210 232 194 248 Q218 250 242 246 Z"/>
    </g>

    <!-- far wing reaching for the handlebar -->
    <path d="M398 200 C422 208 450 224 474 234 C480 240 474 247 466 245 C440 244 416 238 394 226 Z" fill="#c4cfda" stroke="#2f3e52" stroke-width="2.2" stroke-linejoin="round"/>
    <path d="M452 226 Q464 231 474 236" fill="none" stroke="#1f2730" stroke-width="7" stroke-linecap="round"/>

    <!-- neck outline (sits behind the body so the neck joins it seamlessly) -->
    <g>
      <animateTransform attributeName="transform" type="rotate" values="0 380 192;1.5 380 192;0 380 192;-1 380 192;0 380 192" dur="2.4s" repeatCount="indefinite"/>
      <path d="M380 192 C420 160 372 138 406 96" fill="none" stroke="#2f3e52" stroke-width="39" stroke-linecap="round"/>
    </g>

    <!-- body -->
    <path d="M232 212 C262 172 310 148 352 148 C392 148 418 176 416 210 C414 246 380 278 336 280 C296 282 256 268 228 240 Z" fill="url(#bodyFill)" stroke="#2f3e52" stroke-width="2.5" stroke-linejoin="round"/>
    <path d="M262 226 q5 5 10 0 M278 244 q5 5 10 0 M250 244 q4 4 8 0 M296 172 q5 5 10 0" fill="none" stroke="#c0ccd9" stroke-width="2" stroke-linecap="round"/>

    <!-- neck, scarf, head and bill (they nod gently together) -->
    <g>
      <animateTransform attributeName="transform" type="rotate" values="0 380 192;1.5 380 192;0 380 192;-1 380 192;0 380 192" dur="2.4s" repeatCount="indefinite"/>

      <!-- crest -->
      <path d="M394 72 Q374 60 360 66 Q376 72 388 84 Z" fill="#ffffff" stroke="#2f3e52" stroke-width="2.2" stroke-linejoin="round"/>
      <path d="M389 82 Q368 78 356 88 Q374 88 388 96 Z" fill="#ffffff" stroke="#2f3e52" stroke-width="2.2" stroke-linejoin="round"/>

      <!-- head -->
      <ellipse cx="412" cy="90" rx="27" ry="24" fill="#ffffff" stroke="#2f3e52" stroke-width="2.5"/>

      <!-- neck -->
      <path d="M380 192 C420 160 372 138 406 96" fill="none" stroke="#ffffff" stroke-width="34" stroke-linecap="round"/>

      <!-- scarf tails fluttering in the wind -->
      <path d="M380 151 C364 142 350 146 330 132 L326 143 C348 157 364 152 380 163 Z" fill="#e63946" stroke="#8d1c27" stroke-width="2" stroke-linejoin="round">
        <animate attributeName="d" dur="0.6s" repeatCount="indefinite" values="M380 151 C364 142 350 146 330 132 L326 143 C348 157 364 152 380 163 Z;M380 151 C364 150 350 134 330 142 L326 153 C348 146 364 162 380 163 Z;M380 151 C364 142 350 146 330 132 L326 143 C348 157 364 152 380 163 Z"/>
      </path>
      <path d="M380 158 C366 158 354 166 338 156 L337 167 C354 176 366 168 381 169 Z" fill="#d62f3d" stroke="#8d1c27" stroke-width="2" stroke-linejoin="round">
        <animate attributeName="d" dur="0.7s" repeatCount="indefinite" values="M380 158 C366 158 354 166 338 156 L337 167 C354 176 366 168 381 169 Z;M380 158 C366 166 354 156 338 166 L337 177 C354 168 366 178 381 169 Z;M380 158 C366 158 354 166 338 156 L337 167 C354 176 366 168 381 169 Z"/>
      </path>
      <!-- scarf band and knot -->
      <path d="M375 150 Q396 158 418 149 L419 163 Q396 173 374 164 Z" fill="#e63946" stroke="#8d1c27" stroke-width="2" stroke-linejoin="round"/>
      <path d="M377 157 Q396 165 418 156" fill="none" stroke="#ff8a93" stroke-width="1.5" opacity="0.8"/>
      <circle cx="378" cy="158" r="6" fill="#e63946" stroke="#8d1c27" stroke-width="2"/>

      <!-- throat pouch -->
      <path d="M432 96 C430 128 454 168 500 164 C540 160 574 142 588 128 L500 100 Z" fill="url(#pouchFill)" stroke="#9a4a12" stroke-width="2" stroke-linejoin="round"/>
      <path d="M446 118 C468 140 520 142 566 128 M456 138 C478 152 512 152 540 144" fill="none" stroke="#c9601a" stroke-width="1.5" stroke-linecap="round" opacity="0.55"/>

      <!-- bare skin around the eye -->
      <ellipse cx="420" cy="86" rx="11" ry="9" fill="#ffdc94"/>

      <!-- upper bill with its hooked tip -->
      <path d="M428 74 C480 78 548 100 592 120 Q600 126 594 138 Q590 130 582 127 C540 113 480 104 428 102 Q425 88 428 74 Z" fill="url(#billFill)" stroke="#9a4a12" stroke-width="2" stroke-linejoin="round"/>
      <path d="M436 86 C486 90 544 106 588 124" fill="none" stroke="#d98a1a" stroke-width="1.5" opacity="0.7"/>
      <path d="M446 82 L456 84" fill="none" stroke="#b8741a" stroke-width="1.8" stroke-linecap="round"/>

      <!-- smile -->
      <path d="M429 102 Q421 104 416 99" fill="none" stroke="#9a4a12" stroke-width="1.8" stroke-linecap="round"/>

      <!-- eye, with an occasional blink -->
      <circle cx="417" cy="84" r="6" fill="#ffffff" stroke="#2f3e52" stroke-width="1.6"/>
      <circle cx="418.6" cy="84.3" r="3.3" fill="#1e293b"/>
      <circle cx="419.8" cy="83" r="1.1" fill="#ffffff"/>
      <ellipse cx="417" cy="84" rx="6.6" ry="0" fill="#ffffff" stroke="#2f3e52" stroke-width="1.2">
        <animate attributeName="ry" values="0;0;6.6;0" keyTimes="0;0.93;0.965;1" dur="4.5s" repeatCount="indefinite"/>
      </ellipse>
      <path d="M409 75 Q417 70 426 74" fill="none" stroke="#2f3e52" stroke-width="2" stroke-linecap="round"/>
    </g>

    <!-- near wing, holding the handlebar grip with its dark flight feathers -->
    <path d="M318 186 C352 174 396 198 430 222 C444 230 456 236 468 240 C474 248 466 256 456 256 C420 272 366 272 332 254 C308 240 302 200 318 186 Z" fill="url(#wingFill)" stroke="#2f3e52" stroke-width="2.5" stroke-linejoin="round"/>
    <path d="M336 214 C366 232 404 240 440 238 M346 236 C372 252 408 256 438 250" fill="none" stroke="#aab7c4" stroke-width="2" stroke-linecap="round"/>
    <g fill="none" stroke="#2b3440" stroke-width="8.5" stroke-linecap="round">
      <path d="M440 229 Q456 233 468 239"/>
      <path d="M438 238 Q454 242 467 246"/>
      <path d="M435 247 Q450 250 462 252"/>
    </g>

  </g>
</svg>