Blue light hero
A tall framed panel of drifting blue light pools: name and role on one hairline in the middle, a centred caps credit at the foot.
Part of the style
Notched Bezel Cards
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/notched-bezel-cards/hero/figma.html?palette=962c27dfdbfc651d
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/notched-bezel-cards/hero/figma.html?palette=962c27dfdbfc651d and pass that whole HTML document to the html_to_figma tool, so the part "Blue light hero" 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 {
--bezel: #ffffff;
--night: #606da7;
--night-raised: #445193;
--silver: #7f93f1;
--silver-shade: #010012;
--ink: #1c1d72;
--ink-mid: #6173ce;
--ink-soft: #010012;
--ink-faint: #010012;
--ink-ghost: #010012;
--on-dark: #010012;
--on-dark-soft: #010012;
--line-dark: rgba(1, 0, 18, 0.16);
--steel: #7a90a4;
--glow: #3b566e;
--deep: #1a242d;
--glow-soft: #4e667d;
--signal: #576181;
}
</style>
<section class="hero" aria-label="Introduction">
<div class="hero__panel">
<div class="hero__light" aria-hidden="true">
<span class="hero__pool hero__pool--a"></span>
<span class="hero__pool hero__pool--b"></span>
<span class="hero__pool hero__pool--c"></span>
</div>
<span class="hero__grain" aria-hidden="true"></span>
<div class="hero__line">
<h1 class="hero__name">Ottoline Reyes</h1>
<span class="hero__rule" aria-hidden="true"></span>
<p class="hero__role">Creative Director <span class="hero__sep" aria-hidden="true">✦</span> <span class="hero__studio">Meridian Glassworks</span></p>
</div>
<div class="hero__foot">
<p class="hero__credit">Former head of brand and film for Northlight Press, and founding member of the Salt Road design collective</p>
<p class="hero__where"><span>Lisbon, PT</span><span class="hero__clock" data-zone="Europe/Lisbon">14:06</span></p>
</div>
</div>
</section>
<style>
.hero {
padding: var(--frame);
background: var(--bezel);
}
.hero__panel {
position: relative;
display: grid;
grid-template-rows: 1fr auto;
min-height: clamp(560px, 60vw, 860px);
padding: var(--section-space) var(--edge) var(--space-l);
overflow: hidden;
border-radius: var(--radius-panel);
background: var(--deep);
isolation: isolate;
}
.hero__light {
position: absolute;
inset: 0;
z-index: -2;
}
.hero__pool {
position: absolute;
border-radius: 50%;
filter: blur(40px);
animation: hero-drift var(--drift) var(--ease-soft) infinite alternate;
}
.hero__pool--a {
left: 8%;
top: -30%;
width: 70%;
height: 90%;
background: radial-gradient(closest-side, var(--glow) 0%, transparent 100%);
}
.hero__pool--b {
right: -10%;
top: 20%;
width: 55%;
height: 80%;
background: radial-gradient(closest-side, var(--glow-soft) 0%, transparent 100%);
opacity: 0.55;
animation-duration: calc(var(--drift) * 1.3);
animation-direction: alternate-reverse;
}
.hero__pool--c {
left: 25%;
bottom: -40%;
width: 60%;
height: 70%;
background: radial-gradient(closest-side, var(--glow) 0%, transparent 100%);
opacity: 0.45;
animation-duration: calc(var(--drift) * 0.8);
}
@keyframes hero-drift {
0% { translate: 0 0; scale: 1; }
50% { translate: 6% 8%; scale: 1.12; }
100% { translate: -5% 3%; scale: 0.94; }
}
.hero__panel::after {
content: "";
position: absolute;
inset: 0;
z-index: -1;
border-radius: inherit;
background: radial-gradient(120% 90% at 50% 45%, transparent 45%, var(--bezel) 120%);
pointer-events: none;
}
.hero__grain {
position: absolute;
inset: 0;
z-index: -1;
opacity: 0.18;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
mix-blend-mode: overlay;
pointer-events: none;
}
.hero__line {
display: grid;
grid-template-columns: auto minmax(40px, 1fr) auto;
align-items: center;
gap: var(--gap);
align-self: center;
}
.hero__name,
.hero__role {
margin: 0;
color: var(--on-dark);
font: 500 var(--text-caps)/1.2 var(--font-grotesk);
letter-spacing: var(--track-caps);
text-transform: uppercase;
}
.hero__role {
font-family: var(--font-serif);
font-weight: 400;
}
.hero__sep {
margin: 0 var(--space-xs);
font-size: 9px;
vertical-align: 1px;
}
.hero__studio {
font-family: var(--font-grotesk);
font-weight: 500;
}
.hero__rule {
height: var(--hairline);
background: linear-gradient(90deg, transparent, var(--line-dark) 15%, var(--line-dark) 85%, transparent);
transform-origin: 50% 50%;
animation: hero-rule 1.4s var(--ease) both 300ms;
}
@keyframes hero-rule {
from { scale: 0 1; }
to { scale: 1 1; }
}
.hero__foot {
display: grid;
justify-items: center;
gap: var(--space-m);
padding-top: var(--space-l);
border-top: var(--hairline) solid var(--line-dark);
text-align: center;
}
.hero__credit {
max-width: 52ch;
margin: 0;
color: var(--on-dark);
font: 500 var(--text-micro)/1.6 var(--font-grotesk);
letter-spacing: var(--track-caps);
text-transform: uppercase;
text-wrap: balance;
}
.hero__where {
display: flex;
gap: var(--space-s);
margin: 0;
color: var(--on-dark-soft);
font: 400 var(--text-micro)/1 var(--font-serif);
letter-spacing: var(--track-caps);
text-transform: uppercase;
}
.hero__clock { font-variant-numeric: tabular-nums; }
@media (max-width: 48rem) {
.hero__line {
grid-template-columns: 1fr;
justify-items: center;
gap: var(--space-s);
text-align: center;
}
.hero__name { font-size: 15px; }
.hero__role { font-size: 14px; }
.hero__studio { display: block; margin-top: var(--space-s); }
.hero__sep { display: none; }
.hero__rule { width: 48px; }
.hero__credit { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
.hero__pool, .hero__rule { animation: none; }
}
</style>
<script>
(() => {
for (const root of document.querySelectorAll('.hero')) {
const clock = root.querySelector('.hero__clock');
if (!clock) continue;
let format;
try {
format = new Intl.DateTimeFormat('en-GB', { hour: '2-digit', minute: '2-digit', timeZone: clock.dataset.zone });
} catch (error) {
format = new Intl.DateTimeFormat('en-GB', { hour: '2-digit', minute: '2-digit' });
}
const tick = () => { clock.textContent = format.format(new Date()); };
tick();
setInterval(tick, 30000);
}
})();
</script>