Lobby Kiosk
The marble hall with a petrol kiosk crowned by a gauge dial whose needle sweeps across the floors, a lit vitrine picture and a light headline.
Part of the style
Marble Lift Vitrine
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/marble-lift-vitrine/hero/figma.html?palette=a00a69e670901cbb
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/marble-lift-vitrine/hero/figma.html?palette=a00a69e670901cbb and pass that whole HTML document to the html_to_figma tool, so the part "Lobby Kiosk" 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 {
--stone: #030303;
--stone-hi: #000000;
--stone-lo: #0f0f0f;
--ink: #c5c4c9;
--ink-soft: rgba(197, 196, 201, 0.62);
--ink-faint: rgba(197, 196, 201, 0.18);
--night: #fbfaff;
--night-2: #dcdbe0;
--on-dark: #000000;
--on-dark-soft: rgba(2, 2, 2, 0.62);
--line-dark: rgba(2, 2, 2, 0.14);
--neon: #3f498f;
--petrol: #c3c9e3;
--petrol-hi: #787f9c;
--neon-soft: rgba(63, 73, 143, 0.28);
--mist: #4a506b;
}
</style>
<section class="hero">
<div class="hero__ceiling" aria-hidden="true"></div>
<div class="hero__grid">
<div class="hero__copy">
<p class="hero__chapter"><span class="hero__dot" aria-hidden="true"></span>G · Lobby</p>
<h1 class="hero__title">A hall for things that measure.</h1>
<p class="hero__lead">Five floors of restored telescopes, clocks and orreries, each one cleaned, calibrated and lit the way its maker meant it to be seen.</p>
<div class="hero__actions">
<a class="hero__button" href="#"><span class="hero__dot" aria-hidden="true"></span>Take the lift</a>
<a class="hero__button hero__button--ghost" href="#"><span class="hero__dot" aria-hidden="true"></span>The catalogue</a>
</div>
</div>
<div class="hero__stage">
<div class="hero__kiosk">
<svg class="hero__dial" viewBox="0 0 240 128" role="img" aria-label="Floor dial">
<path class="hero__dial-body" d="M10 124 A110 110 0 0 1 230 124 Z"/>
<path class="hero__dial-arc" d="M34 124 A86 86 0 0 1 206 124"/>
<g class="hero__ticks">
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(-75 120 124)"/>
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(-45 120 124)"/>
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(-15 120 124)"/>
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(15 120 124)"/>
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(45 120 124)"/>
<line x1="120" y1="44" x2="120" y2="52" transform="rotate(75 120 124)"/>
</g>
<g class="hero__dial-nums">
<text x="64" y="113">G</text><text x="79" y="87">1</text><text x="105" y="72">2</text>
<text x="135" y="72">3</text><text x="161" y="87">4</text><text x="176" y="113">5</text>
</g>
<g class="hero__needle"><line x1="120" y1="124" x2="120" y2="58"/></g>
<circle class="hero__hub" cx="120" cy="124" r="5"/>
</svg>
<div class="hero__canopy" aria-hidden="true">
<span class="hero__arrow hero__arrow--down"></span>
<span class="hero__slats"></span>
<span class="hero__arrow hero__arrow--up"></span>
</div>
<div class="hero__portal">
<figure class="hero__vitrine">
<img class="hero__picture" src="assets/planetarium.jpg" alt="Engraving of a Copernican armillary planetarium on a carved stand" width="825" height="1200" loading="eager">
</figure>
</div>
<div class="hero__plinth" aria-hidden="true"></div>
</div>
<div class="hero__call" aria-hidden="true">
<span class="hero__call-num">G</span>
<span class="hero__call-lamp"></span>
<span class="hero__call-lamp"></span>
</div>
<p class="hero__credit">In the vitrine: <em>Planetarium on the Copernican system</em>, engraving, c. 1700</p>
</div>
</div>
</section>
<style>
.hero {
position: relative;
overflow: hidden;
color: var(--ink);
background:
repeating-linear-gradient(90deg, transparent 0 159px, var(--ink-faint) 159px 160px),
repeating-linear-gradient(0deg, transparent 0 119px, rgba(10, 42, 48, 0.08) 119px 120px),
linear-gradient(to bottom, var(--stone-hi), var(--stone) 70%, var(--stone-lo));
}
.hero__ceiling {
height: 28px;
background:
repeating-linear-gradient(90deg, var(--stone-hi) 0 96px, var(--stone-lo) 96px 104px),
var(--stone-hi);
box-shadow: inset 0 -10px 14px -10px rgba(10, 42, 48, 0.25);
}
.hero__grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
align-items: center;
gap: var(--gap);
padding: var(--space-xl) var(--edge) var(--section-space);
}
.hero__chapter {
display: flex;
align-items: center;
gap: var(--space-s);
margin: 0 0 var(--space-l);
font: 500 var(--text-xs)/1 var(--font-label);
letter-spacing: var(--track-label);
text-transform: uppercase;
}
.hero__dot {
flex: none;
width: 7px;
height: 7px;
border-radius: var(--radius-round);
background: var(--neon);
box-shadow: var(--glow);
}
.hero__title {
margin: 0 0 var(--space-l);
font: var(--weight-display) var(--display-l)/0.98 var(--font-display);
letter-spacing: var(--track-display);
text-wrap: balance;
}
.hero__lead {
max-width: 38ch;
margin: 0 0 var(--space-l);
color: var(--ink-soft);
}
.hero__actions {
display: flex;
flex-wrap: wrap;
gap: var(--space-s);
}
.hero__button {
display: inline-flex;
align-items: center;
gap: var(--space-s);
min-height: var(--tap);
padding: 0 20px;
border-radius: var(--radius-pill);
background: var(--petrol);
color: var(--on-dark);
font: 500 var(--text-xs)/1 var(--font-label);
letter-spacing: var(--track-label);
text-transform: uppercase;
text-decoration: none;
transition: box-shadow var(--lift) var(--ease), background-color var(--lift) var(--ease), transform var(--lift) var(--ease-out);
}
.hero__button--ghost {
background: transparent;
color: var(--ink);
box-shadow: inset 0 0 0 var(--rule) var(--ink-faint);
}
.hero__button:hover,
.hero__button:focus-visible {
background: var(--petrol-hi);
color: var(--on-dark);
box-shadow: 0 0 0 6px var(--neon-soft);
transform: translateY(-2px);
outline: none;
}
.hero__stage {
position: relative;
display: grid;
justify-items: center;
}
.hero__kiosk {
position: relative;
width: min(100%, 400px);
filter: drop-shadow(0 24px 22px rgba(4, 22, 29, 0.28));
}
.hero__dial {
width: 62%;
margin: 0 auto -2px;
overflow: visible;
}
.hero__dial-body { fill: var(--petrol); }
.hero__dial-arc { fill: none; stroke: var(--neon); stroke-width: 1.5; opacity: 0.8; filter: drop-shadow(0 0 3px var(--neon)); }
.hero__ticks line { stroke: var(--neon); stroke-width: 2; }
.hero__dial-nums text { fill: var(--on-dark-soft); font: 500 11px var(--font-label); text-anchor: middle; }
.hero__needle {
transform-origin: 120px 124px;
transform: rotate(var(--angle, -75deg));
transition: transform var(--lift) var(--ease-out);
}
.hero__needle line { stroke: var(--neon); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 3px var(--neon)); }
.hero__hub { fill: var(--night); stroke: var(--on-dark); stroke-width: 1.5; }
.hero__canopy {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: var(--space-m);
height: 40px;
padding: 0 var(--space-m);
background: var(--petrol);
border-top: 2px solid var(--petrol-hi);
}
.hero__slats {
height: 14px;
background: repeating-linear-gradient(90deg, var(--mist) 0 22%, transparent 22% 25%);
opacity: 0.55;
}
.hero__arrow {
width: 0;
height: 0;
border: 7px solid transparent;
}
.hero__arrow--down { border-top-color: var(--mist); margin-top: 7px; }
.hero__arrow--up { border-bottom-color: var(--neon); margin-bottom: 7px; filter: drop-shadow(0 0 4px var(--neon)); }
.hero__portal {
padding: 18px 26px 0;
background:
linear-gradient(90deg, var(--petrol) 0 26px, transparent 26px calc(100% - 26px), var(--petrol) calc(100% - 26px)),
repeating-linear-gradient(0deg, transparent 0 10px, var(--petrol-hi) 10px 12px) left / 26px 100% no-repeat,
var(--petrol);
}
.hero__vitrine {
position: relative;
margin: 0;
padding: 18px;
aspect-ratio: 3 / 3.6;
background: radial-gradient(70% 60% at 50% 20%, #fffdf6, var(--stone-hi) 70%);
box-shadow: inset 0 0 0 6px var(--stone-hi), inset 0 0 0 7px var(--stone-lo);
}
.hero__picture {
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 30%;
filter: grayscale(1) contrast(1.08);
mix-blend-mode: multiply;
}
.hero__plinth {
height: 18px;
background: linear-gradient(var(--petrol-hi), var(--petrol));
}
.hero__call {
position: absolute;
right: 0;
top: 58%;
display: grid;
justify-items: center;
gap: 6px;
padding: 8px 6px;
border-radius: var(--radius-pill);
background: var(--petrol);
}
.hero__call-num {
color: var(--neon);
font: 600 10px/1 var(--font-label);
text-shadow: var(--glow-text);
}
.hero__call-lamp {
width: 10px;
height: 10px;
border-radius: var(--radius-round);
border: 1.5px solid var(--neon);
box-shadow: var(--glow);
}
.hero__credit {
justify-self: start;
margin: var(--space-m) 0 0;
color: var(--ink-soft);
font-size: var(--text-xs);
line-height: 1.4;
}
@media (max-width: 48rem) {
.hero__grid { grid-template-columns: 1fr; padding-top: var(--space-l); }
.hero__kiosk { width: min(78%, 300px); }
.hero__call { right: 2%; }
}
</style>
<script>
(() => {
const still = matchMedia('(prefers-reduced-motion: reduce)');
const angles = [-75, -45, -15, 15, 45, 75];
for (const root of document.querySelectorAll('.hero')) {
const needle = root.querySelector('.hero__needle');
const callNum = root.querySelector('.hero__call-num');
let index = 0;
let timer = 0;
const show = () => {
needle.style.setProperty('--angle', angles[index] + 'deg');
callNum.textContent = index === 0 ? 'G' : String(index);
};
const tick = () => { index = (index + 1) % angles.length; show(); };
show();
new IntersectionObserver(([entry]) => {
clearInterval(timer);
if (entry.isIntersecting && !still.matches) timer = setInterval(tick, 2600);
}).observe(root);
}
})();
</script>