Discipline shapes
Studio intro with a red wide name and grey text, then three big red glow shapes (ring, soft disc, filled square) that morph and breathe, each with a red caps label, and a contact line with red square bullets.
Part of the style
Red Hour
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/red-hour/disciplines/figma.html?palette=3aedd030f5ce8932
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/red-hour/disciplines/figma.html?palette=3aedd030f5ce8932 and pass that whole HTML document to the html_to_figma tool, so the part "Discipline shapes" 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 {
--ink: #ff48a4;
--night: #c84a85;
--night-2: #c55387;
--night-3: #c76590;
--dot: rgba(255, 72, 164, 0.55);
--dot-dark: rgba(0, 0, 0, 0.12);
--text: #000000;
--text-mid: #121212;
--text-dim: rgba(0, 0, 0, 0.5);
--signal: #d03d86;
--signal-deep: #ac547a;
--violet: #a25979;
--violet-pale: #13060b;
--lilac: #2d1e24;
--plum: #31011b;
--mint: #1a000f;
--moss: #937785;
--leaf: #2b1420;
--sage: #080104;
}
</style>
<section class="disciplines" aria-labelledby="disciplines-title">
<div class="disciplines__intro">
<h2 class="disciplines__name" id="disciplines-title">Morra.studio</h2>
<p class="disciplines__text">Morra is a two-person design room working across signs, screens and sound, from the first sketch to the thing people hold.</p>
<p class="disciplines__text">Built like a workshop: one bench, few clients, everyone sanding. Open to new rooms from March.</p>
</div>
<ul class="disciplines__list">
<li class="disciplines__item">
<span class="disciplines__shape disciplines__shape--ring" aria-hidden="true"><span class="disciplines__core"></span></span>
<span class="disciplines__label">Signs</span>
</li>
<li class="disciplines__item">
<span class="disciplines__shape disciplines__shape--halo" aria-hidden="true"><span class="disciplines__core"></span></span>
<span class="disciplines__label">Screens</span>
</li>
<li class="disciplines__item">
<span class="disciplines__shape disciplines__shape--solid" aria-hidden="true"><span class="disciplines__core"></span></span>
<span class="disciplines__label">Sound</span>
</li>
</ul>
<div class="disciplines__contact">
<p class="disciplines__ask">Let’s make a thing</p>
<a class="disciplines__link" href="#">hello@morra.studio</a>
<p class="disciplines__ask">Read the bench notes</p>
<a class="disciplines__link" href="#">morra.studio/notes</a>
</div>
</section>
<style>
.disciplines {
display: grid;
gap: var(--space-l);
padding: var(--space-xl) var(--edge);
background-color: var(--ink);
background-image: radial-gradient(circle, var(--dot-dark) 1px, transparent 1.6px);
background-size: var(--grid-step) var(--grid-step);
background-position: center;
}
.disciplines__intro {
display: grid;
gap: var(--space-s);
max-width: 440px;
margin-left: auto;
}
.disciplines__name {
margin: 0 0 var(--space-xs);
color: var(--signal);
font-family: var(--font-display);
font-stretch: 125%;
font-weight: 900;
font-size: clamp(24px, 1rem + 1.6vw, 36px);
line-height: 1;
text-transform: uppercase;
letter-spacing: -0.02em;
}
.disciplines__text {
margin: 0;
font-size: var(--text-s);
}
.disciplines__list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: var(--space-m);
margin: 0;
padding: 0;
list-style: none;
}
.disciplines__item {
display: grid;
justify-items: center;
gap: var(--space-m);
}
.disciplines__shape {
position: relative;
display: grid;
place-items: center;
width: clamp(88px, 14vw, 180px);
aspect-ratio: 1;
border-radius: 26%;
animation: disciplines-morph 5s var(--ease) infinite alternate;
}
.disciplines__item:nth-child(2) .disciplines__shape { animation-delay: -1.7s; }
.disciplines__item:nth-child(3) .disciplines__shape { animation-delay: -3.4s; }
.disciplines__core {
border-radius: inherit;
animation: disciplines-breathe 3.2s ease-in-out infinite alternate;
}
.disciplines__shape--ring { border: 1.5px solid var(--signal); }
.disciplines__shape--ring .disciplines__core {
width: 56%;
aspect-ratio: 1;
border-radius: 50%;
background: radial-gradient(circle, var(--ink) 0 8%, var(--signal) 70%, var(--signal) 100%);
filter: blur(1px);
}
.disciplines__shape--halo {
border-radius: 50%;
background: radial-gradient(circle, transparent 40%, var(--signal) 72%);
animation-name: none;
}
.disciplines__shape--halo .disciplines__core {
width: 52%;
aspect-ratio: 1;
border-radius: 24%;
background: var(--ink);
filter: blur(5px);
}
.disciplines__shape--solid { background: var(--signal); }
.disciplines__shape--solid .disciplines__core {
width: 52%;
aspect-ratio: 1;
border-radius: 50%;
background: var(--ink);
}
@keyframes disciplines-morph {
to { border-radius: 42%; }
}
@keyframes disciplines-breathe {
to { scale: 0.86; }
}
.disciplines__label {
color: var(--signal);
font-family: var(--font-display);
font-stretch: 125%;
font-weight: 900;
font-size: var(--display-s);
text-transform: uppercase;
}
.disciplines__contact {
display: grid;
justify-items: start;
gap: var(--space-xs);
}
.disciplines__ask {
margin: var(--space-s) 0 0;
color: var(--text-mid);
font-size: var(--text-m);
}
.disciplines__link {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: var(--tap);
color: var(--text);
font-size: var(--text-l);
text-decoration: none;
}
.disciplines__link::before {
content: "";
width: 14px;
height: 14px;
border-radius: 3px;
background: var(--signal);
transition: rotate var(--time) var(--ease);
}
.disciplines__link:hover::before,
.disciplines__link:focus-visible::before { rotate: 45deg; }
.disciplines__link:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (max-width: 600px) {
.disciplines__list { gap: var(--space-s); }
.disciplines__label { font-size: 13px; }
.disciplines__link { font-size: var(--text-m); }
}
.disciplines.is-offscreen *,
.disciplines.is-offscreen *::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
.disciplines__shape, .disciplines__core { animation: none; }
}
</style>
<script>
(() => {
const watch = new IntersectionObserver((entries) => {
for (const entry of entries) entry.target.classList.toggle('is-offscreen', !entry.isIntersecting);
});
document.querySelectorAll('.disciplines').forEach((root) => watch.observe(root));
})();
</script>