Closing call and horizon
Last statement with the pill button and a white secondary button, standing over a drawn planet horizon with rocks and crystals on it, then a thin row of legal text and links.
Part of the style
Toon Orbit
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/toon-orbit/footer/figma.html?palette=45c0a643cfc95c10
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/toon-orbit/footer/figma.html?palette=45c0a643cfc95c10 and pass that whole HTML document to the html_to_figma tool, so the part "Closing call and horizon" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--field: #476431;
--hairline: rgba(245, 245, 245, 0.16);
--glow: rgba(245, 245, 245, 0.32);
--lilac: #f5f5f5;
--lilac-dim: rgba(245, 245, 245, 0.62);
--paper: #ffffff;
--plum-ink: #476431;
--lime: #c6dcaf;
--lime-shade: #cee6b4;
--lime-deep: #bad1a1;
--signal: #cde1b7;
--pink: #b2cefb;
--orchid: #c3d7f8;
--void: #000002;
--rock: #000003;
--stone: #000004;
--line: #000004;
--orchid-shade: #6381b3;
--pink-shade: #000004;
--field-glow: #4f6996;
--field-deep: #647592;
--pink-deep: #000004;
--orchid-deep: #000004;
--rock-shade: #000003;
--rock-deep: #000002;
--stone-shade: #000004;
--stone-deep: #000004;
--glass: rgba(0, 0, 2, 0.5);
}
</style>
<footer class="footer">
<div class="footer__call">
<h2 class="footer__title">Pick a Rock. Keep It Forever.</h2>
<div class="footer__actions">
<a class="footer__cta" href="#">
<span class="footer__cta-label">Claim Your First Stone</span>
<span class="footer__cta-tile" aria-hidden="true">
<svg class="footer__cta-arrow" viewBox="0 0 24 24"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
<svg class="footer__cta-arrow footer__cta-arrow--next" viewBox="0 0 24 24"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
</span>
</a>
<a class="footer__button" href="#">See past boxes</a>
</div>
</div>
<svg class="footer__ground" viewBox="0 0 1440 420" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<defs>
<symbol id="footer-rock" viewBox="0 0 160 150">
<polygon class="footer__face-a" points="30,26 70,8 118,14 104,52 52,60"/>
<polygon class="footer__face-b" points="8,70 30,26 52,60 44,104 14,108"/>
<polygon class="footer__face-b" points="52,60 104,52 112,104 44,104"/>
<polygon class="footer__face-c" points="118,14 150,44 154,92 112,104 104,52"/>
<polygon class="footer__face-c" points="14,108 44,104 40,138"/>
<polygon class="footer__face-c" points="44,104 112,104 130,126 92,144 40,138"/>
<polygon class="footer__face-c" points="112,104 154,92 130,126"/>
<polygon class="footer__rim" points="8,70 30,26 70,8 118,14 150,44 154,92 130,126 92,144 40,138 14,108"/>
</symbol>
<symbol id="footer-crystal" viewBox="0 0 100 200">
<polygon class="footer__face-a" points="50,2 15,45 45,55"/>
<polygon class="footer__face-b" points="50,2 45,55 85,40"/>
<polygon class="footer__face-a" points="15,45 45,55 45,160 15,150"/>
<polygon class="footer__face-b" points="45,55 85,40 85,145 45,160"/>
<polygon class="footer__face-b" points="15,150 45,160 50,198"/>
<polygon class="footer__face-c" points="45,160 85,145 50,198"/>
<polygon class="footer__rim" points="50,2 85,40 85,145 50,198 15,150 15,45"/>
</symbol>
<symbol id="footer-gem" viewBox="0 0 120 120">
<polygon class="footer__face-a" points="60,30 88.5,50.7 77.6,84.3 42.4,84.3 31.5,50.7"/>
<polygon class="footer__face-a" points="31.5,50.7 6.7,42.7 27.1,14.7 60,4 60,30"/>
<polygon class="footer__face-b" points="60,30 60,4 92.9,14.7 113.3,42.7 88.5,50.7"/>
<polygon class="footer__face-b" points="42.4,84.3 27.1,105.3 6.7,77.3 6.7,42.7 31.5,50.7"/>
<polygon class="footer__face-c" points="88.5,50.7 113.3,42.7 113.3,77.3 92.9,105.3 77.6,84.3"/>
<polygon class="footer__face-c" points="77.6,84.3 92.9,105.3 60,116 27.1,105.3 42.4,84.3"/>
<polygon class="footer__rim" points="60,4 92.9,14.7 113.3,42.7 113.3,77.3 92.9,105.3 60,116 27.1,105.3 6.7,77.3 6.7,42.7 27.1,14.7"/>
</symbol>
</defs>
<g class="footer__drift footer__drift--slow">
<use class="footer__paint-rock" href="#footer-rock" x="1130" y="10" width="150" height="141" transform="rotate(24 1205 80)"/>
<use class="footer__paint-pink" href="#footer-crystal" x="250" y="40" width="34" height="68" transform="rotate(-36 267 74)"/>
</g>
<g class="footer__drift">
<use class="footer__paint-stone" href="#footer-rock" x="120" y="90" width="90" height="84" transform="rotate(-18 165 132)"/>
<use class="footer__paint-orchid" href="#footer-crystal" x="1330" y="150" width="30" height="60" transform="rotate(48 1345 180)"/>
</g>
<circle class="footer__planet" cx="720" cy="4210" r="4000"/>
<circle class="footer__ledge" cx="720" cy="4210" r="3991"/>
<g class="footer__land">
<path d="M210 262c40-14 96-12 128 2 22 10 8 24-30 26-52 4-112-4-122-14-6-6 6-10 24-14z"/>
<path d="M520 244c56-10 150-6 176 8 16 10-18 22-70 22-60 0-124-8-130-18-2-6 8-10 24-12z"/>
<path d="M900 250c48-12 132-8 158 6 14 8-10 20-58 22-56 2-118-6-124-16-2-6 8-10 24-12z"/>
<path d="M1170 290c36-8 86-4 100 8 8 8-16 16-52 16-34 0-66-6-68-14 0-4 8-8 20-10z"/>
<path d="M330 340c70-14 190-10 226 10 20 12-30 28-104 28-78 0-156-12-160-24-2-6 14-10 38-14z"/>
<path d="M760 330c64-12 170-8 200 8 18 10-24 24-90 24-70 0-140-10-146-20-2-6 12-10 36-12z"/>
</g>
<use class="footer__paint-rock" href="#footer-rock" x="560" y="150" width="170" height="160" transform="rotate(-6 645 230)"/>
<use class="footer__paint-lime" href="#footer-gem" x="760" y="196" width="84" height="84"/>
<use class="footer__paint-pink" href="#footer-crystal" x="470" y="170" width="44" height="92" transform="rotate(-14 492 216)"/>
</svg>
<div class="footer__base">
<p class="footer__legal">© Driftstone Monthly. A made-up company.</p>
<nav class="footer__links" aria-label="Footer">
<a class="footer__link" href="#">Shipping</a>
<a class="footer__link" href="#">Returns</a>
<a class="footer__link" href="#">Field notes</a>
<a class="footer__link" href="#">Contact</a>
</nav>
</div>
</footer>
<style>
.footer {
position: relative;
display: grid;
overflow: hidden;
background:
radial-gradient(ellipse 50% 46% at 50% 34%, var(--field-glow), transparent 74%),
linear-gradient(var(--field-deep), var(--field) 34%);
}
.footer__call {
position: relative;
z-index: 1;
display: grid;
justify-items: center;
gap: var(--space-5);
padding: var(--space-7) var(--space-4) 0;
text-align: center;
}
.footer__title {
margin: 0;
max-width: 12em;
font-size: var(--text-display);
font-weight: 500;
line-height: var(--leading-display);
letter-spacing: var(--tracking-display);
text-wrap: balance;
text-shadow: 0 0 0.5em var(--glow);
}
.footer__actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: var(--space-3);
}
.footer__cta {
display: inline-flex;
align-items: center;
gap: var(--space-4);
min-height: calc(var(--tap) + var(--space-3));
padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
border-radius: var(--radius-l);
background: var(--void);
font-weight: 500;
text-decoration: none;
transition: background-color var(--time-quick) var(--ease-cubic);
}
.footer__cta-label {
--footer-label-ink: var(--lilac);
background: linear-gradient(100deg, var(--footer-label-ink) 0 38%, var(--orchid-shade) 50%, var(--footer-label-ink) 62% 100%) 0 0 / 300% 100%;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: footer-shimmer var(--time-shimmer) linear infinite;
}
.footer__cta-tile {
position: relative;
display: grid;
place-items: center;
width: var(--tap);
height: var(--tap);
overflow: hidden;
border-radius: var(--radius-m);
background: var(--paper);
color: var(--void);
transition: background-color var(--time-quick) var(--ease-cubic), color var(--time-quick) var(--ease-cubic);
}
.footer__cta-arrow {
grid-area: 1 / 1;
width: 22px;
height: 22px;
fill: none;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
transition: transform var(--time-move) var(--ease-expo);
}
.footer__cta-arrow--next { transform: translateX(calc(-1 * var(--tap))); }
.footer__cta:hover,
.footer__cta:focus-visible { background: var(--paper); }
.footer__cta:hover .footer__cta-label,
.footer__cta:focus-visible .footer__cta-label { --footer-label-ink: var(--void); }
.footer__cta:hover .footer__cta-tile,
.footer__cta:focus-visible .footer__cta-tile { background: var(--void); color: var(--paper); }
.footer__cta:hover .footer__cta-arrow,
.footer__cta:focus-visible .footer__cta-arrow { transform: translateX(var(--tap)); }
.footer__cta:hover .footer__cta-arrow--next,
.footer__cta:focus-visible .footer__cta-arrow--next { transform: none; }
.footer__button {
display: inline-flex;
align-items: center;
min-height: calc(var(--tap) + var(--space-3));
padding: 0 var(--space-4);
border-radius: var(--radius-l);
background: var(--paper);
color: var(--plum-ink);
font-weight: 500;
text-decoration: none;
transition: background-color var(--time-quick) var(--ease-cubic), color var(--time-quick) var(--ease-cubic);
}
.footer__button:hover,
.footer__button:focus-visible { background: var(--void); color: var(--lilac); }
.footer__ground {
display: block;
width: 100%;
height: clamp(220px, 30vw, 420px);
margin-top: calc(-1 * var(--space-4));
}
.footer__planet { fill: var(--stone-deep); stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; }
.footer__ledge { fill: none; stroke: var(--stone); stroke-width: 12; }
.footer__land { fill: var(--stone-shade); stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.footer__drift { animation: footer-float var(--time-drift) ease-in-out infinite alternate; }
.footer__drift--slow { animation-duration: calc(var(--time-drift) * 1.6); animation-direction: alternate-reverse; }
.footer__paint-rock { --footer-a: var(--rock); --footer-b: var(--rock-shade); --footer-c: var(--rock-deep); }
.footer__paint-stone { --footer-a: var(--stone); --footer-b: var(--stone-shade); --footer-c: var(--stone-deep); }
.footer__paint-orchid { --footer-a: var(--orchid); --footer-b: var(--orchid-shade); --footer-c: var(--orchid-deep); }
.footer__paint-pink { --footer-a: var(--pink); --footer-b: var(--pink-shade); --footer-c: var(--pink-deep); }
.footer__paint-lime { --footer-a: var(--lime); --footer-b: var(--lime-shade); --footer-c: var(--lime-deep); }
.footer__face-a { fill: var(--footer-a); }
.footer__face-b { fill: var(--footer-b); }
.footer__face-c { fill: var(--footer-c); }
.footer__face-a, .footer__face-b, .footer__face-c { stroke: var(--footer-c); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.footer__rim { fill: none; stroke: var(--line); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.footer__base {
position: absolute;
inset: auto 0 0;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-2) var(--space-4);
padding: var(--space-2) var(--space-4);
font-size: var(--text-small);
}
.footer__legal { margin: 0; color: var(--lilac-dim); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); margin: 0 calc(-1 * var(--space-2)); }
.footer__link {
display: inline-flex;
align-items: center;
min-height: var(--tap);
padding: 0 var(--space-2);
text-decoration: none;
background: linear-gradient(currentColor, currentColor) no-repeat var(--space-2) calc(50% + 0.8em) / 0 1px;
transition: background-size var(--time-move) var(--ease-expo);
}
.footer__link:hover,
.footer__link:focus-visible { background-size: calc(100% - var(--space-2) * 2) 1px; }
@keyframes footer-shimmer {
from { background-position: 100% 0; }
to { background-position: -50% 0; }
}
@keyframes footer-float {
from { translate: 0 -8px; }
to { translate: 0 10px; }
}
@media (max-width: 720px) {
.footer__call { padding-top: var(--space-6); }
.footer__ground { height: 300px; }
.footer__base { justify-content: center; text-align: center; }
.footer__links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
.footer__cta, .footer__cta-tile, .footer__cta-arrow, .footer__button, .footer__link { transition: none; }
.footer__cta-label, .footer__drift { animation: none; }
}
</style>