Prismatic Fragrance Reveal
A standalone product reveal built around a luminous glass bottle, animated atmosphere and subtle pointer-reactive motion.
This experiment requires full-page rendering.
Open live demoHTML
<div class="prismatic-fragrance-reveal" data-fragrance-root data-active-note="top">
<section class="fragrance-layout">
<div class="fragrance-copy">
<p class="fragrance-eyebrow">Immersive product opener</p>
<p class="fragrance-kicker" data-fragrance-current-note>Top notes: Citrus flare</p>
<h1>Turn a fragrance launch into a luminous stage.</h1>
<p class="fragrance-intro">
This concept uses layered glass, caustic light and animated atmosphere to present a premium product as a focal
object, not just a static packshot. The bottle reacts to pointer movement while the surrounding scene shifts
between note families.
</p>
<div class="fragrance-controls" role="group" aria-label="Fragrance notes">
<button class="fragrance-control is-active" type="button" data-fragrance-note="top" aria-pressed="true">Top</button>
<button class="fragrance-control" type="button" data-fragrance-note="heart" aria-pressed="false">Heart</button>
<button class="fragrance-control" type="button" data-fragrance-note="base" aria-pressed="false">Base</button>
</div>
<div class="fragrance-story-grid">
<article class="fragrance-story is-active" data-fragrance-panel="top">
<p class="fragrance-story__label">Opening impression</p>
<h2>Citrus flare</h2>
<p>A bright, airy light treatment makes the first impression feel sharp, expensive and immediate.</p>
</article>
<article class="fragrance-story" data-fragrance-panel="heart">
<p class="fragrance-story__label">Core composition</p>
<h2>Velvet bloom</h2>
<p>The scene warms up and the bottle becomes softer and fuller, shifting the mood toward depth and texture.</p>
</article>
<article class="fragrance-story" data-fragrance-panel="base">
<p class="fragrance-story__label">Lingering note</p>
<h2>Amber trail</h2>
<p>The final state adds a richer glow and a slower cadence, like the after-presence of a luxury finish.</p>
</article>
</div>
</div>
<div class="fragrance-stage" data-fragrance-stage>
<svg class="fragrance-orbits" viewBox="0 0 900 900" aria-hidden="true">
<defs>
<linearGradient id="fragranceStroke" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#89dcff" />
<stop offset="52%" stop-color="#ffe1a4" />
<stop offset="100%" stop-color="#ff8e72" />
</linearGradient>
<radialGradient id="fragranceHalo" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="rgba(255,255,255,0.7)" />
<stop offset="50%" stop-color="rgba(137,220,255,0.18)" />
<stop offset="100%" stop-color="rgba(137,220,255,0)" />
</radialGradient>
</defs>
<circle class="orbit orbit-a" cx="470" cy="410" r="276"></circle>
<circle class="orbit orbit-b" cx="470" cy="410" r="188"></circle>
<ellipse class="orbit orbit-c" cx="470" cy="410" rx="360" ry="270"></ellipse>
<circle class="orbit-glow" cx="470" cy="410" r="136" fill="url(#fragranceHalo)"></circle>
<path class="orbit-sweep" d="M152 428C238 270 372 176 514 162C654 150 764 210 820 300"></path>
<path class="orbit-sweep orbit-sweep--alt" d="M202 620C320 700 492 728 642 686C760 652 836 578 860 492"></path>
</svg>
<div class="fragrance-aura fragrance-aura--cyan"></div>
<div class="fragrance-aura fragrance-aura--amber"></div>
<div class="fragrance-caustic"></div>
<div class="fragrance-sparkles" aria-hidden="true">
<span class="spark spark-a"></span>
<span class="spark spark-b"></span>
<span class="spark spark-c"></span>
<span class="spark spark-d"></span>
</div>
<div class="fragrance-bottle-wrap">
<div class="fragrance-shadow"></div>
<div class="fragrance-bottle">
<div class="bottle-cap">
<div class="bottle-cap__rim"></div>
</div>
<div class="bottle-neck"></div>
<div class="bottle-body">
<div class="bottle-backlight"></div>
<div class="bottle-liquid"></div>
<div class="bottle-reflection bottle-reflection--main"></div>
<div class="bottle-reflection bottle-reflection--edge"></div>
<div class="bottle-label">
<p class="bottle-label__edition">Nebula Edition</p>
<p class="bottle-label__name">Prismatic Bloom</p>
<p class="bottle-label__detail">eau de lumière</p>
</div>
</div>
</div>
<div class="fragrance-chip fragrance-chip--top" data-fragrance-chip="top">
<span class="fragrance-chip__label">Top</span>
<strong>Citrus flare</strong>
</div>
<div class="fragrance-chip fragrance-chip--heart" data-fragrance-chip="heart">
<span class="fragrance-chip__label">Heart</span>
<strong>Velvet bloom</strong>
</div>
<div class="fragrance-chip fragrance-chip--base" data-fragrance-chip="base">
<span class="fragrance-chip__label">Base</span>
<strong>Amber trail</strong>
</div>
</div>
</div>
</section>
</div>
CSS
.prismatic-fragrance-reveal {
--pointer-x: 50;
--pointer-y: 50;
--tilt-x: -5deg;
--tilt-y: -18deg;
--lift: 0px;
--accent: #8edfff;
--accent-warm: #ffd58a;
--accent-deep: #ff9e78;
max-width: 1280px;
margin: 0 auto;
color: #f8f5f0;
}
.fragrance-layout {
display: grid;
grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
gap: 30px;
align-items: stretch;
}
.fragrance-copy,
.fragrance-stage {
position: relative;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 36px;
background:
radial-gradient(circle at 18% 18%, rgba(142, 223, 255, 0.12), transparent 28%),
radial-gradient(circle at 84% 20%, rgba(255, 213, 138, 0.14), transparent 24%),
linear-gradient(145deg, #090d16 0%, #0d1222 44%, #160f18 100%);
box-shadow: 0 26px 96px rgba(0, 0, 0, 0.28);
}
.fragrance-copy {
padding: 42px;
}
.fragrance-eyebrow,
.fragrance-story__label,
.fragrance-chip__label,
.bottle-label__edition,
.bottle-label__detail {
margin: 0;
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.18em;
color: rgba(248, 245, 240, 0.56);
}
.fragrance-kicker {
margin: 0 0 18px;
color: var(--accent);
font-weight: 700;
letter-spacing: 0.04em;
}
.fragrance-copy h1 {
margin: 0;
max-width: 10ch;
font-size: clamp(3.5rem, 7vw, 6rem);
line-height: 0.9;
text-wrap: balance;
}
.fragrance-intro {
margin: 22px 0 0;
max-width: 42ch;
font-size: 1.08rem;
line-height: 1.85;
color: rgba(248, 245, 240, 0.8);
}
.fragrance-controls {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 28px;
}
.fragrance-control {
appearance: none;
padding: 11px 18px;
border: 1px solid rgba(255, 255, 255, 0.14);
border-radius: 999px;
background: rgba(255, 255, 255, 0.04);
color: #ffffff;
font: inherit;
cursor: pointer;
transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.fragrance-control:hover,
.fragrance-control:focus-visible {
transform: translateY(-1px);
border-color: rgba(142, 223, 255, 0.44);
}
.fragrance-control.is-active {
border-color: rgba(142, 223, 255, 0.44);
background: rgba(142, 223, 255, 0.12);
}
.fragrance-story-grid {
display: grid;
gap: 14px;
margin-top: 30px;
}
.fragrance-story {
padding: 20px 22px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.08);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 82%),
rgba(255, 255, 255, 0.03);
transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.fragrance-story.is-active {
transform: translateY(-2px);
border-color: rgba(142, 223, 255, 0.28);
background: rgba(142, 223, 255, 0.08);
}
.fragrance-story h2 {
margin: 8px 0 10px;
font-size: 1.55rem;
line-height: 1;
}
.fragrance-story p:last-child {
margin: 0;
line-height: 1.72;
color: rgba(248, 245, 240, 0.78);
}
.fragrance-stage {
min-height: 780px;
padding: 30px;
isolation: isolate;
}
.fragrance-orbits {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0.92;
}
.orbit {
fill: none;
stroke: rgba(255, 255, 255, 0.14);
stroke-width: 1.4;
}
.orbit-a {
stroke: rgba(255, 255, 255, 0.14);
}
.orbit-b {
stroke: rgba(142, 223, 255, 0.18);
}
.orbit-c {
stroke: rgba(255, 213, 138, 0.16);
}
.orbit-sweep {
fill: none;
stroke: url(#fragranceStroke);
stroke-width: 2.4;
stroke-linecap: round;
stroke-dasharray: 10 18;
animation: fragranceSweep 12s linear infinite;
}
.orbit-sweep--alt {
animation-duration: 10s;
animation-direction: reverse;
opacity: 0.82;
}
.fragrance-aura,
.fragrance-caustic {
position: absolute;
pointer-events: none;
}
.fragrance-aura {
width: 360px;
height: 360px;
border-radius: 999px;
filter: blur(28px);
opacity: 0.8;
}
.fragrance-aura--cyan {
top: calc(8% + (var(--pointer-y) * 0.08%));
left: calc(46% + (var(--pointer-x) * 0.05%));
background: rgba(142, 223, 255, 0.22);
}
.fragrance-aura--amber {
right: 10%;
bottom: 18%;
background: rgba(255, 158, 120, 0.12);
}
.fragrance-caustic {
left: 50%;
bottom: 110px;
width: 420px;
height: 180px;
transform: translateX(-50%);
background:
radial-gradient(circle at 50% 50%, rgba(255, 231, 186, 0.35), transparent 42%),
radial-gradient(circle at 34% 44%, rgba(142, 223, 255, 0.26), transparent 38%),
radial-gradient(circle at 68% 44%, rgba(255, 158, 120, 0.22), transparent 34%);
filter: blur(26px);
opacity: 0.78;
}
.fragrance-sparkles {
position: absolute;
inset: 0;
pointer-events: none;
}
.spark {
position: absolute;
width: 8px;
height: 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
animation: fragranceSpark 4.8s ease-in-out infinite;
}
.spark-a {
top: 16%;
right: 22%;
}
.spark-b {
top: 26%;
left: 18%;
animation-delay: 0.9s;
}
.spark-c {
bottom: 26%;
right: 18%;
animation-delay: 1.8s;
}
.spark-d {
bottom: 18%;
left: 22%;
animation-delay: 2.7s;
}
.fragrance-bottle-wrap {
position: absolute;
inset: 0;
display: grid;
place-items: center;
perspective: 1600px;
transform-style: preserve-3d;
}
.fragrance-shadow {
position: absolute;
bottom: 112px;
width: 260px;
height: 76px;
border-radius: 999px;
background: rgba(0, 0, 0, 0.34);
filter: blur(28px);
}
.fragrance-bottle {
position: relative;
width: 290px;
height: 520px;
transform-style: preserve-3d;
transform:
translateY(calc(-10px + var(--lift)))
rotateX(var(--tilt-x))
rotateY(var(--tilt-y));
transition: transform 180ms ease-out;
}
.bottle-cap {
position: absolute;
top: 12px;
left: 50%;
width: 132px;
height: 116px;
transform: translateX(-50%) translateZ(58px);
border-radius: 30px 30px 26px 26px;
background:
linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(193, 199, 219, 0.22)),
linear-gradient(180deg, #f4f2ed 0%, #c2c4cf 100%);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.52),
inset 0 -10px 20px rgba(0, 0, 0, 0.14),
0 18px 30px rgba(0, 0, 0, 0.16);
}
.bottle-cap::before {
content: "";
position: absolute;
inset: 10px 16px 18px;
border-radius: 22px;
border: 1px solid rgba(255, 255, 255, 0.3);
}
.bottle-cap__rim {
position: absolute;
left: 14px;
right: 14px;
bottom: -12px;
height: 18px;
border-radius: 999px;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(210, 214, 225, 0.6));
}
.bottle-neck {
position: absolute;
top: 116px;
left: 50%;
width: 76px;
height: 56px;
transform: translateX(-50%) translateZ(46px);
border-radius: 0 0 18px 18px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.08)),
rgba(220, 230, 244, 0.14);
border: 1px solid rgba(255, 255, 255, 0.24);
backdrop-filter: blur(12px);
}
.bottle-body {
position: absolute;
left: 50%;
bottom: 26px;
width: 290px;
height: 344px;
transform: translateX(-50%) translateZ(40px);
border-radius: 44px 44px 38px 38px;
border: 1px solid rgba(255, 255, 255, 0.28);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.04)),
linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(134, 150, 214, 0.05));
backdrop-filter: blur(18px);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.46),
inset 0 -18px 26px rgba(0, 0, 0, 0.08),
0 42px 60px rgba(0, 0, 0, 0.16);
}
.bottle-body::before {
content: "";
position: absolute;
inset: 12px;
border-radius: 34px;
border: 1px solid rgba(255, 255, 255, 0.12);
}
.bottle-backlight {
position: absolute;
inset: 0;
border-radius: inherit;
background:
radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.4), transparent 24%),
radial-gradient(circle at 52% 66%, rgba(255, 209, 144, 0.16), transparent 44%),
radial-gradient(circle at 18% 36%, rgba(142, 223, 255, 0.18), transparent 30%);
}
.bottle-liquid {
position: absolute;
left: 28px;
right: 28px;
bottom: 30px;
height: 174px;
border-radius: 28px 28px 22px 22px;
background:
linear-gradient(180deg, rgba(255, 237, 205, 0.9) 0%, rgba(255, 190, 130, 0.76) 48%, rgba(221, 120, 84, 0.6) 100%);
box-shadow:
inset 0 14px 24px rgba(255, 255, 255, 0.18),
inset 0 -22px 30px rgba(147, 58, 42, 0.18);
overflow: hidden;
}
.bottle-liquid::before {
content: "";
position: absolute;
inset: -26px -4px auto;
height: 48px;
border-radius: 50%;
background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.34), rgba(255, 240, 212, 0.08));
}
.bottle-liquid::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 20%, transparent 70%, rgba(255, 255, 255, 0.1)),
linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
}
.bottle-reflection {
position: absolute;
border-radius: 999px;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
filter: blur(1px);
}
.bottle-reflection--main {
top: 26px;
left: 32px;
width: 34px;
height: 246px;
opacity: 0.68;
}
.bottle-reflection--edge {
top: 42px;
right: 34px;
width: 14px;
height: 210px;
opacity: 0.42;
}
.bottle-label {
position: absolute;
left: 50%;
top: 78px;
width: 176px;
transform: translateX(-50%);
text-align: center;
}
.bottle-label__name {
margin: 10px 0 8px;
font-size: 1.7rem;
line-height: 0.94;
letter-spacing: 0.02em;
}
.bottle-label__detail {
color: rgba(248, 245, 240, 0.62);
}
.fragrance-chip {
position: absolute;
padding: 14px 16px;
min-width: 156px;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(10, 14, 24, 0.5);
backdrop-filter: blur(14px);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
opacity: 0.42;
transform: translateY(8px);
transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}
.fragrance-chip strong {
display: block;
margin-top: 6px;
font-size: 1.02rem;
}
.fragrance-chip.is-active {
opacity: 1;
transform: translateY(0);
border-color: rgba(142, 223, 255, 0.32);
}
.fragrance-chip--top {
top: 18%;
right: 8%;
}
.fragrance-chip--heart {
top: 52%;
left: 8%;
}
.fragrance-chip--base {
bottom: 14%;
right: 14%;
}
.prismatic-fragrance-reveal[data-active-note="heart"] {
--accent: #f4c3ff;
--accent-warm: #ffc5a2;
--accent-deep: #ff8dc7;
}
.prismatic-fragrance-reveal[data-active-note="base"] {
--accent: #ffd58a;
--accent-warm: #ffad7a;
--accent-deep: #ff7c72;
}
.prismatic-fragrance-reveal[data-active-note="heart"] .fragrance-control.is-active,
.prismatic-fragrance-reveal[data-active-note="heart"] .fragrance-story.is-active,
.prismatic-fragrance-reveal[data-active-note="heart"] .fragrance-chip.is-active {
border-color: rgba(244, 195, 255, 0.32);
}
.prismatic-fragrance-reveal[data-active-note="base"] .fragrance-control.is-active,
.prismatic-fragrance-reveal[data-active-note="base"] .fragrance-story.is-active,
.prismatic-fragrance-reveal[data-active-note="base"] .fragrance-chip.is-active {
border-color: rgba(255, 213, 138, 0.32);
}
.prismatic-fragrance-reveal[data-active-note="heart"] .bottle-liquid {
background:
linear-gradient(180deg, rgba(255, 226, 241, 0.88) 0%, rgba(230, 160, 193, 0.74) 52%, rgba(170, 86, 133, 0.56) 100%);
}
.prismatic-fragrance-reveal[data-active-note="base"] .bottle-liquid {
background:
linear-gradient(180deg, rgba(255, 229, 186, 0.9) 0%, rgba(214, 139, 84, 0.78) 44%, rgba(118, 52, 34, 0.62) 100%);
}
@keyframes fragranceSweep {
from {
stroke-dashoffset: 0;
}
to {
stroke-dashoffset: 260;
}
}
@keyframes fragranceSpark {
0%,
100% {
opacity: 0.18;
transform: scale(0.6);
}
50% {
opacity: 1;
transform: scale(1.1);
}
}
@media (max-width: 1040px) {
.fragrance-layout {
grid-template-columns: 1fr;
}
.fragrance-stage {
min-height: 680px;
}
}
@media (max-width: 640px) {
.fragrance-copy,
.fragrance-stage {
padding: 24px;
border-radius: 28px;
}
.fragrance-copy h1 {
max-width: 11ch;
font-size: clamp(2.7rem, 14vw, 4.2rem);
}
.fragrance-stage {
min-height: 620px;
}
.fragrance-bottle {
width: 240px;
height: 450px;
}
.bottle-cap {
width: 108px;
height: 96px;
}
.bottle-body {
width: 240px;
height: 300px;
}
.fragrance-chip {
min-width: 132px;
padding: 12px 14px;
}
.fragrance-chip--top {
top: 14%;
right: 4%;
}
.fragrance-chip--heart {
top: 54%;
left: 4%;
}
.fragrance-chip--base {
right: 6%;
bottom: 12%;
}
}
JavaScript
(function () {
const root = document.querySelector('[data-fragrance-root]');
if (!root) return;
const stage = root.querySelector('[data-fragrance-stage]');
const currentNote = root.querySelector('[data-fragrance-current-note]');
const controls = Array.from(root.querySelectorAll('[data-fragrance-note]'));
const panels = Array.from(root.querySelectorAll('[data-fragrance-panel]'));
const chips = Array.from(root.querySelectorAll('[data-fragrance-chip]'));
if (!stage || !currentNote || !controls.length) return;
const noteMeta = {
top: {
label: 'Top notes: Citrus flare',
tiltX: -5,
tiltY: -18
},
heart: {
label: 'Heart notes: Velvet bloom',
tiltX: -3,
tiltY: 8
},
base: {
label: 'Base notes: Amber trail',
tiltX: -8,
tiltY: 20
}
};
let activeNote = 'top';
let userInteracted = false;
let currentTiltX = noteMeta.top.tiltX;
let currentTiltY = noteMeta.top.tiltY;
let targetOffsetX = 0;
let targetOffsetY = 0;
let lift = 0;
function setActiveNote(noteName) {
const meta = noteMeta[noteName];
if (!meta) return;
activeNote = noteName;
root.dataset.activeNote = noteName;
currentNote.textContent = meta.label;
controls.forEach(control => {
const isActive = control.dataset.fragranceNote === noteName;
control.classList.toggle('is-active', isActive);
control.setAttribute('aria-pressed', isActive ? 'true' : 'false');
});
panels.forEach(panel => {
panel.classList.toggle('is-active', panel.dataset.fragrancePanel === noteName);
});
chips.forEach(chip => {
chip.classList.toggle('is-active', chip.dataset.fragranceChip === noteName);
});
}
function updatePointer(event) {
const rect = stage.getBoundingClientRect();
const x = ((event.clientX - rect.left) / rect.width) * 100;
const y = ((event.clientY - rect.top) / rect.height) * 100;
root.style.setProperty('--pointer-x', x.toFixed(2));
root.style.setProperty('--pointer-y', y.toFixed(2));
targetOffsetX = -((y - 50) / 50) * 8;
targetOffsetY = ((x - 50) / 50) * 12;
}
function resetPointer() {
targetOffsetX = 0;
targetOffsetY = 0;
root.style.setProperty('--pointer-x', '50');
root.style.setProperty('--pointer-y', '50');
}
function animate() {
const meta = noteMeta[activeNote];
const targetTiltX = meta.tiltX + targetOffsetX;
const targetTiltY = meta.tiltY + targetOffsetY;
const targetLift = Math.sin(Date.now() / 900) * -8;
currentTiltX += (targetTiltX - currentTiltX) * 0.08;
currentTiltY += (targetTiltY - currentTiltY) * 0.08;
lift += (targetLift - lift) * 0.08;
root.style.setProperty('--tilt-x', currentTiltX.toFixed(2) + 'deg');
root.style.setProperty('--tilt-y', currentTiltY.toFixed(2) + 'deg');
root.style.setProperty('--lift', lift.toFixed(2) + 'px');
requestAnimationFrame(animate);
}
controls.forEach(control => {
control.addEventListener('click', function () {
userInteracted = true;
setActiveNote(control.dataset.fragranceNote);
});
});
stage.addEventListener('pointermove', updatePointer);
stage.addEventListener('pointerleave', resetPointer);
window.setInterval(function () {
if (userInteracted) return;
const order = ['top', 'heart', 'base'];
const nextIndex = (order.indexOf(activeNote) + 1) % order.length;
setActiveNote(order[nextIndex]);
}, 4200);
setActiveNote(activeNote);
animate();
})();
What it solves
Creates a premium, product-led hero moment with stronger material presence and brand atmosphere without relying on WebGL or external dependencies.
Prismatic Fragrance Reveal explores how a premium product launch can feel luminous and editorial without leaving the lightweight Nebula experiment system. The centerpiece is a stylized glass perfume bottle staged inside a reactive scene of caustic light, orbit lines and atmospheric motion.
The goal is to create a stronger sense of materiality and spectacle for product storytelling while staying self-contained, performant and compatible with the existing standalone experiment flow.