Sound designer portfolio
A portfolio you can hear: every project plays a short sound made live in the browser, its waveform draws in real time and the giant name bounces like an equaliser.
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./sound-portfolio.css";
/** A recipe for a short sound, played live with the Web Audio API (no audio files). */
export type Patch = {
/** Notes as frequencies in Hz, played one after another. */
notes: number[];
wave: OscillatorType;
/** Seconds per note. */
step: number;
/** Low-pass filter cutoff in Hz. */
tone: number;
echo?: boolean;
};
export type Work = {
title: string;
client: string;
year: string;
kind: string;
hue: number;
patch: Patch;
};
let shared: AudioContext | null = null;
function ctx() {
shared ??= new AudioContext();
return shared;
}
/** Plays a patch and returns an analyser so the waveform can be drawn while it sounds. */
function play(p: Patch) {
const ac = ctx();
void ac.resume();
const out = ac.createGain();
out.gain.value = 0.22;
const filter = ac.createBiquadFilter();
filter.type = "lowpass";
filter.frequency.value = p.tone;
const an = ac.createAnalyser();
an.fftSize = 1024;
filter.connect(out);
out.connect(an);
an.connect(ac.destination);
if (p.echo) {
const d = ac.createDelay();
d.delayTime.value = 0.18;
const fb = ac.createGain();
fb.gain.value = 0.35;
out.connect(d);
d.connect(fb);
fb.connect(d);
d.connect(an);
}
const t0 = ac.currentTime + 0.02;
p.notes.forEach((f, i) => {
const o = ac.createOscillator();
const g = ac.createGain();
o.type = p.wave;
o.frequency.value = f;
const t = t0 + i * p.step;
g.gain.setValueAtTime(0, t);
g.gain.linearRampToValueAtTime(1, t + 0.012);
g.gain.exponentialRampToValueAtTime(0.001, t + p.step * 1.6);
o.connect(g);
g.connect(filter);
o.start(t);
o.stop(t + p.step * 1.7);
});
return { an, length: p.notes.length * p.step + (p.echo ? 0.9 : 0.3) };
}
/** One project: a card whose wave is drawn live while its sound plays. */
function Track({
w,
index,
playing,
onPlay,
}: {
w: Work;
index: number;
playing: boolean;
onPlay: () => void;
}) {
const cv = useRef<HTMLCanvasElement>(null);
// Idle: a still wave made from the patch, so every card has its own shape.
useEffect(() => {
const c = cv.current;
if (!c || playing) return;
const g = c.getContext("2d")!;
const dpr = Math.min(2, window.devicePixelRatio || 1);
c.width = c.offsetWidth * dpr;
c.height = c.offsetHeight * dpr;
g.scale(dpr, dpr);
const W = c.offsetWidth;
const H = c.offsetHeight;
g.clearRect(0, 0, W, H);
const bars = Math.floor(W / 5);
g.fillStyle = "currentColor";
for (let i = 0; i < bars; i++) {
const n = w.patch.notes[Math.floor((i / bars) * w.patch.notes.length)];
const env = Math.exp(
-((i % (bars / w.patch.notes.length)) / (bars / w.patch.notes.length)) *
2.2,
);
const h = Math.max(
2,
(0.15 + 0.85 * env) * (0.4 + (n % 97) / 160) * H * 0.9,
);
g.globalAlpha = 0.85;
g.fillStyle = getComputedStyle(c).color;
g.fillRect(i * 5, (H - h) / 2, 3, h);
}
}, [playing, w.patch]);
return (
<li
className="gu-snd__item"
data-playing={playing}
style={{ "--h": w.hue, "--i": index } as CSSProperties}
>
<button
type="button"
className="gu-snd__play"
onClick={onPlay}
aria-label={`${playing ? "Playing" : "Play"} ${w.title}`}
>
<span className="gu-snd__disc" aria-hidden="true">
<svg viewBox="0 0 24 24">
{playing ? (
<path d="M8 6v12M16 6v12" />
) : (
<path d="M8.5 5.5v13l10-6.5Z" />
)}
</svg>
</span>
</button>
<div className="gu-snd__info">
<span className="gu-snd__num">
{String(index + 1).padStart(2, "0")}
</span>
<h3>{w.title}</h3>
<p>
{w.client}, {w.year}
</p>
</div>
<span className="gu-snd__kind">{w.kind}</span>
<canvas
ref={cv}
className="gu-snd__wave"
data-track={index}
aria-hidden="true"
/>
</li>
);
}
/**
* SoundPortfolio: a one-page portfolio for a sound designer, where every project can be heard.
* - Each project plays a short sound made live in the browser (Web Audio), and its waveform draws in real time.
* - The big name in the hero is an equaliser: its letters bounce to whatever is playing.
* - Projects are a playlist: they play one at a time and the card that is playing glows in its colour.
*/
export function SoundPortfolio({
name,
role,
intro,
works,
email,
}: {
name: string;
role: string;
intro: string;
works: Work[];
email: string;
}) {
const [now, setNow] = useState<number | null>(null);
const root = useRef<HTMLDivElement>(null);
const stopAt = useRef(0);
const token = useRef(0);
const start = (i: number) => {
if (now === i) return;
const w = works[i];
const { an, length } = play(w.patch);
setNow(i);
const mine = ++token.current;
const end = performance.now() + length * 1000;
stopAt.current = end;
const data = new Uint8Array(an.fftSize);
const freq = new Uint8Array(an.frequencyBinCount);
const el = root.current!;
const letters = el.querySelectorAll<HTMLElement>(".gu-snd__name span");
const cv = el.querySelector<HTMLCanvasElement>(`canvas[data-track="${i}"]`);
const g = cv?.getContext("2d");
const reduce = window.matchMedia(
"(prefers-reduced-motion: reduce)",
).matches;
const frame = (t: number) => {
// A newer sound took over: stop drawing this one.
if (mine !== token.current) return;
an.getByteTimeDomainData(data);
an.getByteFrequencyData(freq);
if (cv && g) {
const W = cv.offsetWidth;
const H = cv.offsetHeight;
g.setTransform(1, 0, 0, 1, 0, 0);
g.clearRect(0, 0, cv.width, cv.height);
const dpr = cv.width / W;
g.scale(dpr, dpr);
g.strokeStyle = getComputedStyle(cv).color;
g.lineWidth = 2.2;
g.beginPath();
for (let x = 0; x < W; x++) {
const v = data[Math.floor((x / W) * data.length)] / 128 - 1;
const y = H / 2 + v * H * 0.9;
if (x) g.lineTo(x, y);
else g.moveTo(x, y);
}
g.stroke();
}
if (!reduce)
letters.forEach((l, k) => {
const v = freq[Math.min(freq.length - 1, 2 + k * 6)] / 255;
l.style.setProperty("--v", v.toFixed(3));
});
if (t < stopAt.current) requestAnimationFrame(frame);
else {
letters.forEach((l) => l.style.setProperty("--v", "0"));
setNow((n) => (n === i ? null : n));
}
};
requestAnimationFrame(frame);
};
return (
<div className="gu-snd" ref={root}>
<header className="gu-snd__hero">
<p className="gu-snd__role">{role}</p>
<h1 className="gu-snd__name" aria-label={name}>
{name.split("").map((ch, i) => (
<span
key={i}
aria-hidden="true"
style={{ "--k": i } as CSSProperties}
>
{ch === " " ? "\u00a0" : ch}
</span>
))}
</h1>
<p className="gu-snd__intro">{intro}</p>
<button type="button" className="gu-snd__cta" onClick={() => start(0)}>
<span aria-hidden="true">▶</span> Play the showreel
</button>
</header>
<section aria-labelledby="gu-snd-work" className="gu-snd__work">
<div className="gu-snd__head">
<h2 id="gu-snd-work">Selected sound</h2>
<p>
Press any project to hear it. Sounds are made live in your browser.
</p>
</div>
<ol className="gu-snd__list">
{works.map((w, i) => (
<Track
key={w.title}
w={w}
index={i}
playing={now === i}
onPlay={() => start(i)}
/>
))}
</ol>
</section>
<footer className="gu-snd__foot">
<h2>Need a sound that people remember?</h2>
<a href={`mailto:${email}`}>{email}</a>
</footer>
</div>
);
}
Paste this into ChatGPT, Claude, Cursor, v0, Lovable or Bolt. It describes the layout, motion, colors and accessibility and includes the code, so the AI can rebuild it in any framework.
# Build this UI piece: Sound designer portfolio
You are a senior front-end engineer. Recreate the piece below in my project. If I don't say which framework I use, ask once, then build it in that framework (React, Vue, Svelte, Angular, Astro, plain HTML/CSS/JS or anything else). Keep the behavior, motion, colors, spacing and accessibility exactly as described. Keep the code clean and commented for beginners.
## What it is
A one-page dark portfolio for a sound designer where every project can be heard. Sounds are synthesised live in the browser with the Web Audio API (no audio files). While a sound plays, its project's waveform is drawn in real time and the giant name in the hero bounces like an equaliser, each letter following its own frequency band.
## Layout and look
- Page #0e0e10, cream #f3eee3 text, hairlines at 12%, accent lime #d7ff3a. Hero background: faint vertical lines every 40px and a lime glow top-right.
- Hero: role (15px bold lime), the name at clamp(64px, 14vw, 200px) weight 900, line-height 0.86, letter-spacing −0.06em, one span per letter anchored at the bottom; intro 17–20px at 78%; a 52px lime "▶ Play the showreel" pill.
- "Selected sound" list: each row has a 56px record button (grooved dark disc with a coloured label and a play/pause icon), number, title (18–24px weight 800), client and year, a pill tag (UI sound, Game, Alarm, Brand) and a 44px waveform canvas, all in the project's hue. The playing row gets a tinted background and outline, and its record spins.
- Footer: a big centred question and the email as a lime link whose underline grows on hover.
## Behavior and motion
1. A patch is { notes (Hz), wave (sine, square, triangle, sawtooth), step (seconds per note), tone (low-pass cutoff), echo }. Each note is an oscillator with a quick 12ms attack and an exponential decay through a low-pass filter, master gain 0.22, an optional 180ms feedback delay, and an AnalyserNode (fftSize 1024).
2. While playing, a requestAnimationFrame loop draws the time-domain wave as a 2.2px line in the row's canvas and sets each name letter's --v from a frequency bin (2 + index × 6). Letters use scale: 1 (1 + v × 0.55) from the bottom and mix toward lime by v.
3. Idle canvases show a still bar shape built from the patch, so every project looks different.
4. Only one sound draws at a time: starting another takes over and the earlier loop stops.
5. On load the letters spring up one by one (45ms stagger), rows rise in.
## Accessibility
- Name is an h1 with aria-label (letters aria-hidden). Each play button has a label like "Play Level complete". Sound only plays after a click, never on load.
- prefers-reduced-motion: sounds and waveforms still work, but no bouncing, spinning or sliding.
## Props
name, role, intro, email, works ({ title, client, year, kind, hue, patch }[]).
## Reference implementation
The original is written in React with one plain CSS file. Dependencies: none (plain React and CSS). Translate it faithfully; do not add new libraries unless my framework needs them.
### SoundPortfolio.tsx
```tsx
"use client";
import { useEffect, useRef, useState, type CSSProperties } from "react";
import "./sound-portfolio.css";
/** A recipe for a short sound, played live with the Web Audio API (no audio files). */
export type Patch = {
/** Notes as frequencies in Hz, played one after another. */
notes: number[];
wave: OscillatorType;
/** Seconds per note. */
step: number;
/** Low-pass filter cutoff in Hz. */
tone: number;
echo?: boolean;
};
export type Work = {
title: string;
client: string;
year: string;
kind: string;
hue: number;
patch: Patch;
};
let shared: AudioContext | null = null;
function ctx() {
shared ??= new AudioContext();
return shared;
}
/** Plays a patch and returns an analyser so the waveform can be drawn while it sounds. */
function play(p: Patch) {
const ac = ctx();
void ac.resume();
const out = ac.createGain();
out.gain.value = 0.22;
const filter = ac.createBiquadFilter();
filter.type = "lowpass";
filter.frequency.value = p.tone;
const an = ac.createAnalyser();
an.fftSize = 1024;
filter.connect(out);
out.connect(an);
an.connect(ac.destination);
if (p.echo) {
const d = ac.createDelay();
d.delayTime.value = 0.18;
const fb = ac.createGain();
fb.gain.value = 0.35;
out.connect(d);
d.connect(fb);
fb.connect(d);
d.connect(an);
}
const t0 = ac.currentTime + 0.02;
p.notes.forEach((f, i) => {
const o = ac.createOscillator();
const g = ac.createGain();
o.type = p.wave;
o.frequency.value = f;
const t = t0 + i * p.step;
g.gain.setValueAtTime(0, t);
g.gain.linearRampToValueAtTime(1, t + 0.012);
g.gain.exponentialRampToValueAtTime(0.001, t + p.step * 1.6);
o.connect(g);
g.connect(filter);
o.start(t);
o.stop(t + p.step * 1.7);
});
return { an, length: p.notes.length * p.step + (p.echo ? 0.9 : 0.3) };
}
/** One project: a card whose wave is drawn live while its sound plays. */
function Track({
w,
index,
playing,
onPlay,
}: {
w: Work;
index: number;
playing: boolean;
onPlay: () => void;
}) {
const cv = useRef<HTMLCanvasElement>(null);
// Idle: a still wave made from the patch, so every card has its own shape.
useEffect(() => {
const c = cv.current;
if (!c || playing) return;
const g = c.getContext("2d")!;
const dpr = Math.min(2, window.devicePixelRatio || 1);
c.width = c.offsetWidth * dpr;
c.height = c.offsetHeight * dpr;
g.scale(dpr, dpr);
const W = c.offsetWidth;
const H = c.offsetHeight;
g.clearRect(0, 0, W, H);
const bars = Math.floor(W / 5);
g.fillStyle = "currentColor";
for (let i = 0; i < bars; i++) {
const n = w.patch.notes[Math.floor((i / bars) * w.patch.notes.length)];
const env = Math.exp(
-((i % (bars / w.patch.notes.length)) / (bars / w.patch.notes.length)) *
2.2,
);
const h = Math.max(
2,
(0.15 + 0.85 * env) * (0.4 + (n % 97) / 160) * H * 0.9,
);
g.globalAlpha = 0.85;
g.fillStyle = getComputedStyle(c).color;
g.fillRect(i * 5, (H - h) / 2, 3, h);
}
}, [playing, w.patch]);
return (
<li
className="gu-snd__item"
data-playing={playing}
style={{ "--h": w.hue, "--i": index } as CSSProperties}
>
<button
type="button"
className="gu-snd__play"
onClick={onPlay}
aria-label={`${playing ? "Playing" : "Play"} ${w.title}`}
>
<span className="gu-snd__disc" aria-hidden="true">
<svg viewBox="0 0 24 24">
{playing ? (
<path d="M8 6v12M16 6v12" />
) : (
<path d="M8.5 5.5v13l10-6.5Z" />
)}
</svg>
</span>
</button>
<div className="gu-snd__info">
<span className="gu-snd__num">
{String(index + 1).padStart(2, "0")}
</span>
<h3>{w.title}</h3>
<p>
{w.client}, {w.year}
</p>
</div>
<span className="gu-snd__kind">{w.kind}</span>
<canvas
ref={cv}
className="gu-snd__wave"
data-track={index}
aria-hidden="true"
/>
</li>
);
}
/**
* SoundPortfolio: a one-page portfolio for a sound designer, where every project can be heard.
* - Each project plays a short sound made live in the browser (Web Audio), and its waveform draws in real time.
* - The big name in the hero is an equaliser: its letters bounce to whatever is playing.
* - Projects are a playlist: they play one at a time and the card that is playing glows in its colour.
*/
export function SoundPortfolio({
name,
role,
intro,
works,
email,
}: {
name: string;
role: string;
intro: string;
works: Work[];
email: string;
}) {
const [now, setNow] = useState<number | null>(null);
const root = useRef<HTMLDivElement>(null);
const stopAt = useRef(0);
const token = useRef(0);
const start = (i: number) => {
if (now === i) return;
const w = works[i];
const { an, length } = play(w.patch);
setNow(i);
const mine = ++token.current;
const end = performance.now() + length * 1000;
stopAt.current = end;
const data = new Uint8Array(an.fftSize);
const freq = new Uint8Array(an.frequencyBinCount);
const el = root.current!;
const letters = el.querySelectorAll<HTMLElement>(".gu-snd__name span");
const cv = el.querySelector<HTMLCanvasElement>(`canvas[data-track="${i}"]`);
const g = cv?.getContext("2d");
const reduce = window.matchMedia(
"(prefers-reduced-motion: reduce)",
).matches;
const frame = (t: number) => {
// A newer sound took over: stop drawing this one.
if (mine !== token.current) return;
an.getByteTimeDomainData(data);
an.getByteFrequencyData(freq);
if (cv && g) {
const W = cv.offsetWidth;
const H = cv.offsetHeight;
g.setTransform(1, 0, 0, 1, 0, 0);
g.clearRect(0, 0, cv.width, cv.height);
const dpr = cv.width / W;
g.scale(dpr, dpr);
g.strokeStyle = getComputedStyle(cv).color;
g.lineWidth = 2.2;
g.beginPath();
for (let x = 0; x < W; x++) {
const v = data[Math.floor((x / W) * data.length)] / 128 - 1;
const y = H / 2 + v * H * 0.9;
if (x) g.lineTo(x, y);
else g.moveTo(x, y);
}
g.stroke();
}
if (!reduce)
letters.forEach((l, k) => {
const v = freq[Math.min(freq.length - 1, 2 + k * 6)] / 255;
l.style.setProperty("--v", v.toFixed(3));
});
if (t < stopAt.current) requestAnimationFrame(frame);
else {
letters.forEach((l) => l.style.setProperty("--v", "0"));
setNow((n) => (n === i ? null : n));
}
};
requestAnimationFrame(frame);
};
return (
<div className="gu-snd" ref={root}>
<header className="gu-snd__hero">
<p className="gu-snd__role">{role}</p>
<h1 className="gu-snd__name" aria-label={name}>
{name.split("").map((ch, i) => (
<span
key={i}
aria-hidden="true"
style={{ "--k": i } as CSSProperties}
>
{ch === " " ? "\u00a0" : ch}
</span>
))}
</h1>
<p className="gu-snd__intro">{intro}</p>
<button type="button" className="gu-snd__cta" onClick={() => start(0)}>
<span aria-hidden="true">▶</span> Play the showreel
</button>
</header>
<section aria-labelledby="gu-snd-work" className="gu-snd__work">
<div className="gu-snd__head">
<h2 id="gu-snd-work">Selected sound</h2>
<p>
Press any project to hear it. Sounds are made live in your browser.
</p>
</div>
<ol className="gu-snd__list">
{works.map((w, i) => (
<Track
key={w.title}
w={w}
index={i}
playing={now === i}
onPlay={() => start(i)}
/>
))}
</ol>
</section>
<footer className="gu-snd__foot">
<h2>Need a sound that people remember?</h2>
<a href={`mailto:${email}`}>{email}</a>
</footer>
</div>
);
}
```
### sound-portfolio.css
```css
.gu-snd {
--bg: #0e0e10;
--fg: #f3eee3;
--line: rgb(243 238 227 / 0.12);
--accent: #d7ff3a;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
min-height: 100%;
background: var(--bg);
color: var(--fg);
font-family: ui-sans-serif, system-ui, sans-serif;
}
.gu-snd__hero {
position: relative;
padding: clamp(64px, 12vw, 160px) clamp(20px, 5vw, 64px)
clamp(48px, 8vw, 96px);
overflow: hidden;
background:
repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px),
radial-gradient(70% 60% at 80% 0%, rgb(215 255 58 / 0.12), transparent 70%);
}
.gu-snd__role {
margin: 0;
font-size: 15px;
font-weight: 700;
color: var(--accent);
animation: gu-snd-up 0.8s var(--ease) backwards;
}
@keyframes gu-snd-up {
from {
opacity: 0;
translate: 0 16px;
}
}
/* The name is an equaliser: each letter stretches up with its own frequency band. */
.gu-snd__name {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
margin: 8px 0 0;
font-size: clamp(64px, 14vw, 200px);
font-weight: 900;
line-height: 0.86;
letter-spacing: -0.06em;
}
.gu-snd__name span {
--v: 0;
display: inline-block;
transform-origin: 50% 100%;
scale: 1 calc(1 + var(--v) * 0.55);
color: color-mix(in oklab, var(--fg), var(--accent) calc(var(--v) * 100%));
transition:
scale 0.09s linear,
color 0.2s;
animation: gu-snd-letter 0.9s calc(var(--k) * 45ms) var(--spring) backwards;
}
@keyframes gu-snd-letter {
from {
scale: 1 0;
opacity: 0;
}
}
.gu-snd__intro {
max-width: 46ch;
margin: 22px 0 0;
font-size: clamp(17px, 2vw, 20px);
line-height: 1.5;
opacity: 0.78;
animation: gu-snd-up 0.8s 0.4s var(--ease) backwards;
}
.gu-snd__cta {
display: inline-flex;
align-items: center;
gap: 10px;
min-height: 52px;
margin-top: 28px;
padding: 0 24px;
border: 0;
border-radius: 999px;
background: var(--accent);
color: #0e0e10;
font-family: inherit;
font-size: 16px;
font-weight: 800;
cursor: pointer;
transition:
scale 0.4s var(--spring),
box-shadow 0.4s;
animation: gu-snd-up 0.8s 0.5s var(--ease) backwards;
}
.gu-snd__cta:hover {
scale: 1.04;
box-shadow: 0 0 0 6px rgb(215 255 58 / 0.2);
}
.gu-snd__cta:active {
scale: 0.96;
}
.gu-snd__cta:focus-visible {
outline: 3px solid var(--fg);
outline-offset: 3px;
}
.gu-snd__work {
padding: 0 clamp(20px, 5vw, 64px) clamp(48px, 8vw, 96px);
}
.gu-snd__head {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: end;
gap: 10px 24px;
padding: 28px 0 18px;
border-top: 1px solid var(--line);
}
.gu-snd__head h2 {
margin: 0;
font-size: clamp(28px, 4vw, 44px);
font-weight: 900;
letter-spacing: -0.04em;
}
.gu-snd__head p {
margin: 0;
font-size: 14px;
opacity: 0.6;
}
.gu-snd__list {
list-style: none;
margin: 0;
padding: 0;
}
.gu-snd__item {
position: relative;
display: grid;
grid-template-columns: 64px minmax(0, 1.2fr) auto minmax(120px, 1fr);
align-items: center;
gap: 18px;
padding: 16px 14px;
border-bottom: 1px solid var(--line);
border-radius: 18px;
color: hsl(var(--h) 90% 66%);
transition:
background-color 0.5s var(--ease),
box-shadow 0.5s;
animation: gu-snd-up 0.7s calc(0.2s + var(--i) * 70ms) var(--ease) backwards;
}
.gu-snd__item:hover {
background: rgb(243 238 227 / 0.04);
}
.gu-snd__item[data-playing="true"] {
background: hsl(var(--h) 90% 60% / 0.12);
box-shadow: inset 0 0 0 1px hsl(var(--h) 90% 60% / 0.5);
}
.gu-snd__play {
padding: 0;
border: 0;
background: none;
cursor: pointer;
border-radius: 50%;
}
.gu-snd__play:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 3px;
}
.gu-snd__disc {
position: relative;
display: grid;
place-items: center;
width: 56px;
height: 56px;
border-radius: 50%;
background: repeating-radial-gradient(circle, #1a1a1f 0 2px, #222228 2px 4px);
box-shadow: inset 0 0 0 1px var(--line);
transition: scale 0.4s var(--spring);
}
.gu-snd__disc::before {
content: "";
position: absolute;
inset: 34%;
border-radius: 50%;
background: hsl(var(--h) 90% 60%);
}
.gu-snd__disc svg {
position: relative;
width: 14px;
height: 14px;
fill: #0e0e10;
stroke: #0e0e10;
stroke-width: 2.4;
stroke-linecap: round;
stroke-linejoin: round;
}
.gu-snd__item:hover .gu-snd__disc {
scale: 1.08;
}
.gu-snd__item[data-playing="true"] .gu-snd__disc {
animation: gu-snd-spin 1.8s linear infinite;
}
@keyframes gu-snd-spin {
to {
rotate: 360deg;
}
}
.gu-snd__info {
min-width: 0;
color: var(--fg);
}
.gu-snd__num {
font-size: 12px;
font-weight: 700;
opacity: 0.5;
}
.gu-snd__info h3 {
margin: 2px 0 0;
font-size: clamp(18px, 2.4vw, 24px);
font-weight: 800;
letter-spacing: -0.02em;
}
.gu-snd__info p {
margin: 2px 0 0;
font-size: 14px;
opacity: 0.6;
}
.gu-snd__kind {
padding: 5px 12px;
border-radius: 999px;
box-shadow: inset 0 0 0 1px currentColor;
font-size: 12px;
font-weight: 700;
white-space: nowrap;
}
.gu-snd__wave {
width: 100%;
height: 44px;
}
.gu-snd__foot {
padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
border-top: 1px solid var(--line);
text-align: center;
}
.gu-snd__foot h2 {
margin: 0 auto;
max-width: 16ch;
font-size: clamp(32px, 5vw, 60px);
font-weight: 900;
letter-spacing: -0.045em;
line-height: 1;
}
.gu-snd__foot a {
display: inline-block;
margin-top: 22px;
color: var(--accent);
font-size: clamp(18px, 2.4vw, 26px);
font-weight: 800;
text-decoration: none;
background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px
no-repeat;
transition: background-size 0.5s var(--ease);
}
.gu-snd__foot a:hover {
background-size: 100% 2px;
}
.gu-snd__foot a:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 4px;
}
@media (max-width: 720px) {
.gu-snd__item {
grid-template-columns: 56px 1fr;
gap: 6px 14px;
}
.gu-snd__kind {
grid-column: 2;
justify-self: start;
}
.gu-snd__wave {
grid-column: 1 / -1;
}
}
@media (prefers-reduced-motion: reduce) {
.gu-snd *,
.gu-snd *::before,
.gu-snd *::after {
animation-duration: 0.01ms !important;
animation-delay: 0ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
```
You might also want
Next piece: Split-flap countdown3D artist portfolio
Portfolios, advanced
Ceramicist portfolio with a pottery wheel
Portfolios, advanced
Photographer portfolio
Portfolios, intermediate