Salon — Team / Stylists
An editorial team page for boutique salons and barbershops, presenting a responsive grid of stylist cards with gradient initials avatars, role, star rating, specialty chips and an italic tagline. A live specialty filter and name search narrow the studio in real time, each card carries a gold Book action that fires an elegant toast, and a dark closing band invites new artists to apply. Built as one self-contained vanilla HTML, CSS and JavaScript snippet.
MCP
Kod
:root {
--serif: "Cormorant Garamond", Georgia, serif;
--sans: "Inter", system-ui, -apple-system, sans-serif;
--gold: #b08d57;
--gold-d: #8c6d3f;
--gold-soft: #efe2cf;
--rose: #c9a78f;
--rose-soft: #f3e6dc;
--ink: #1c1814;
--ink-2: #3d362f;
--muted: #8a7d70;
--cream: #f7f1e8;
--bg: #faf6ef;
--white: #ffffff;
--line: rgba(28, 24, 20, 0.1);
--line-2: rgba(28, 24, 20, 0.18);
--ok: #5f8a6b;
--warn: #c08a3e;
--danger: #b3503e;
--r-sm: 8px;
--r-md: 14px;
--r-lg: 22px;
--sh-sm: 0 1px 2px rgba(28, 24, 20, 0.05), 0 1px 3px rgba(28, 24, 20, 0.05);
--sh-md: 0 6px 18px -8px rgba(28, 24, 20, 0.18), 0 2px 6px rgba(28, 24, 20, 0.05);
--sh-lg: 0 22px 48px -18px rgba(28, 24, 20, 0.28), 0 6px 14px rgba(28, 24, 20, 0.06);
}
* {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--sans);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
font-family: var(--serif);
font-weight: 600;
margin: 0;
letter-spacing: 0.01em;
}
.page {
max-width: 1140px;
margin: 0 auto;
padding: clamp(40px, 7vw, 84px) clamp(20px, 5vw, 48px) 0;
}
/* ---------- Hero ---------- */
.hero {
text-align: center;
max-width: 720px;
margin: 0 auto;
}
.eyebrow {
font-size: 0.72rem;
letter-spacing: 0.28em;
text-transform: uppercase;
color: var(--gold-d);
font-weight: 600;
margin: 0 0 18px;
}
.eyebrow--light {
color: var(--gold-soft);
}
.display {
font-size: clamp(2.5rem, 6.2vw, 4rem);
line-height: 1.04;
color: var(--ink);
}
.lede {
margin: 22px auto 0;
max-width: 560px;
color: var(--ink-2);
font-size: 1.04rem;
}
.hero-meta {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-top: 30px;
}
.hairline {
display: block;
width: clamp(28px, 8vw, 64px);
height: 1px;
background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.hero-meta-text {
font-size: 0.7rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--muted);
}
/* ---------- Controls ---------- */
.controls {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-top: clamp(44px, 6vw, 68px);
padding-bottom: 22px;
border-bottom: 1px solid var(--line);
}
.search {
position: relative;
flex: 0 1 280px;
}
.search-ico {
position: absolute;
left: 14px;
top: 50%;
transform: translateY(-50%);
width: 17px;
height: 17px;
color: var(--muted);
pointer-events: none;
}
.search input {
width: 100%;
font-family: var(--sans);
font-size: 0.92rem;
color: var(--ink);
background: var(--white);
border: 1px solid var(--line-2);
border-radius: 999px;
padding: 11px 16px 11px 40px;
transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.search input::placeholder {
color: var(--muted);
}
.search input:focus-visible {
outline: none;
border-color: var(--gold);
box-shadow: 0 0 0 3px var(--gold-soft);
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.chip {
font-family: var(--sans);
font-size: 0.74rem;
font-weight: 600;
letter-spacing: 0.04em;
color: var(--ink-2);
background: var(--white);
border: 1px solid var(--line-2);
border-radius: 999px;
padding: 8px 15px;
cursor: pointer;
transition: all 0.16s ease;
white-space: nowrap;
}
.chip:hover {
border-color: var(--gold);
color: var(--ink);
}
.chip[aria-pressed="true"] {
background: var(--ink);
border-color: var(--ink);
color: var(--cream);
}
.chip:focus-visible {
outline: none;
box-shadow: 0 0 0 3px var(--gold-soft);
border-color: var(--gold);
}
.result-line {
margin: 22px 0 0;
font-size: 0.78rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted);
}
.result-line span:first-child {
color: var(--gold-d);
font-weight: 600;
}
/* ---------- Grid ---------- */
.grid {
list-style: none;
margin: 26px 0 0;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
gap: clamp(18px, 2.4vw, 26px);
}
.card {
position: relative;
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--r-lg);
padding: 26px 24px 24px;
box-shadow: var(--sh-sm);
display: flex;
flex-direction: column;
text-align: center;
transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
border: 1px solid transparent;
background: linear-gradient(180deg, var(--gold-soft), transparent 60%) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0;
transition: opacity 0.22s ease;
pointer-events: none;
}
.card:hover {
transform: translateY(-6px);
box-shadow: var(--sh-lg);
border-color: transparent;
}
.card:hover::before {
opacity: 1;
}
.avatar {
width: 78px;
height: 78px;
border-radius: 50%;
margin: 0 auto 16px;
display: grid;
place-items: center;
font-family: var(--serif);
font-weight: 600;
font-size: 1.6rem;
color: var(--white);
letter-spacing: 0.02em;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), var(--sh-md);
position: relative;
}
.avatar::after {
content: "";
position: absolute;
inset: -4px;
border-radius: 50%;
border: 1px solid var(--gold-soft);
}
.name {
font-size: 1.5rem;
line-height: 1.1;
color: var(--ink);
}
.role {
margin: 4px 0 0;
font-size: 0.7rem;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--gold-d);
font-weight: 600;
}
.rating {
display: inline-flex;
align-items: center;
gap: 7px;
margin: 13px auto 0;
font-size: 0.8rem;
color: var(--muted);
}
.stars {
display: inline-flex;
gap: 1px;
color: var(--gold);
}
.stars svg {
width: 14px;
height: 14px;
}
.star-empty {
color: var(--line-2);
}
.rating b {
color: var(--ink);
font-weight: 600;
}
.tagline {
margin: 14px 0 0;
font-family: var(--serif);
font-size: 1.06rem;
font-style: italic;
color: var(--ink-2);
line-height: 1.35;
}
.specs {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
margin: 16px 0 0;
}
.spec {
font-size: 0.68rem;
font-weight: 600;
letter-spacing: 0.03em;
color: var(--gold-d);
background: var(--rose-soft);
border-radius: 999px;
padding: 5px 11px;
}
.divider {
height: 1px;
background: var(--line);
margin: 20px -4px 18px;
}
.btn {
font-family: var(--sans);
font-size: 0.86rem;
font-weight: 600;
letter-spacing: 0.02em;
border-radius: var(--r-sm);
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease,
color 0.18s ease;
}
.btn:active {
transform: translateY(1px);
}
.btn:focus-visible {
outline: none;
box-shadow: 0 0 0 3px var(--gold-soft);
}
.book {
margin-top: auto;
width: 100%;
padding: 12px 16px;
color: var(--white);
background: linear-gradient(135deg, var(--gold), var(--gold-d));
box-shadow: var(--sh-sm);
}
.book:hover {
box-shadow: 0 8px 18px -8px rgba(140, 109, 63, 0.7);
}
.book.is-booked {
background: var(--ink);
cursor: default;
}
/* ---------- Empty ---------- */
.empty {
text-align: center;
padding: 64px 20px;
}
.empty-title {
font-family: var(--serif);
font-size: 1.5rem;
color: var(--ink-2);
margin: 0 0 10px;
}
.link-btn {
font-family: var(--sans);
font-size: 0.85rem;
font-weight: 600;
color: var(--gold-d);
background: none;
border: none;
border-bottom: 1px solid var(--gold);
padding: 2px 0;
cursor: pointer;
}
.link-btn:focus-visible {
outline: none;
box-shadow: 0 0 0 3px var(--gold-soft);
}
/* ---------- CTA ---------- */
.cta {
position: relative;
overflow: hidden;
margin: clamp(64px, 9vw, 110px) calc(50% - 50vw) 0;
padding: clamp(56px, 8vw, 88px) 24px;
background: var(--ink);
color: var(--cream);
text-align: center;
}
.cta::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(
120% 100% at 50% -20%,
rgba(176, 141, 87, 0.28),
transparent 60%
);
pointer-events: none;
}
.cta > * {
position: relative;
}
.cta-title {
font-size: clamp(2rem, 4.6vw, 3rem);
max-width: 640px;
margin: 16px auto 0;
color: var(--white);
}
.cta-copy {
max-width: 480px;
margin: 18px auto 30px;
color: rgba(247, 241, 232, 0.8);
font-size: 1rem;
}
.btn--ghost-gold {
padding: 13px 28px;
color: var(--cream);
background: transparent;
border: 1px solid var(--gold);
}
.btn--ghost-gold:hover {
background: var(--gold);
color: var(--ink);
}
/* ---------- Toast ---------- */
.toast-wrap {
position: fixed;
left: 50%;
bottom: 28px;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
z-index: 50;
pointer-events: none;
}
.toast {
display: inline-flex;
align-items: center;
gap: 9px;
background: var(--ink);
color: var(--cream);
font-size: 0.84rem;
font-weight: 500;
padding: 11px 18px;
border-radius: 999px;
box-shadow: var(--sh-lg);
border: 1px solid rgba(176, 141, 87, 0.4);
opacity: 0;
transform: translateY(12px) scale(0.96);
transition: opacity 0.26s ease, transform 0.26s ease;
}
.toast.show {
opacity: 1;
transform: translateY(0) scale(1);
}
.toast .dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--gold);
}
/* ---------- Responsive ---------- */
@media (max-width: 520px) {
.controls {
flex-direction: column;
align-items: stretch;
}
.search {
flex: 1 1 auto;
}
.filters {
overflow-x: auto;
flex-wrap: nowrap;
margin: 0 -20px;
padding: 2px 20px 4px;
scrollbar-width: none;
}
.filters::-webkit-scrollbar {
display: none;
}
.grid {
grid-template-columns: 1fr;
}
.display {
font-size: clamp(2.2rem, 11vw, 3rem);
}
}
@media (prefers-reduced-motion: reduce) {
* {
transition-duration: 0.01ms !important;
}
}(function () {
"use strict";
/* ---------- Data ---------- */
var TEAM = [
{
name: "Aria Vance",
role: "Creative Director",
specs: ["Balayage", "Lived-in Color", "Editorial"],
tagline: "Color should look like it was always yours.",
rating: 4.9,
reviews: 312,
g: ["#b08d57", "#8c6d3f"]
},
{
name: "Léo Marchand",
role: "Master Barber",
specs: ["Fades", "Beard Sculpt", "Hot Towel"],
tagline: "Sharp lines, soft confidence.",
rating: 4.8,
reviews: 248,
g: ["#3d362f", "#1c1814"]
},
{
name: "Mireille Soto",
role: "Senior Colorist",
specs: ["Blonding", "Toning", "Gloss"],
tagline: "I chase light through every strand.",
rating: 5.0,
reviews: 401,
g: ["#c9a78f", "#b08d57"]
},
{
name: "Dario Klein",
role: "Texture Specialist",
specs: ["Curls", "Perms", "Treatments"],
tagline: "Your natural pattern, only better.",
rating: 4.7,
reviews: 176,
g: ["#8c6d3f", "#c9a78f"]
},
{
name: "Noémie Carr",
role: "Bridal & Updos",
specs: ["Updos", "Bridal", "Styling"],
tagline: "For the days you will not forget.",
rating: 4.9,
reviews: 289,
g: ["#c08a3e", "#8c6d3f"]
},
{
name: "Theo Nakamura",
role: "Precision Cutting",
specs: ["Cuts", "Fringe", "Bobs"],
tagline: "The cut is the architecture.",
rating: 4.8,
reviews: 221,
g: ["#5f8a6b", "#3d362f"]
},
{
name: "Ingrid Solène",
role: "Color Correction",
specs: ["Color Correction", "Blonding", "Treatments"],
tagline: "There is no mistake I cannot rewrite.",
rating: 5.0,
reviews: 358,
g: ["#b3503e", "#8c6d3f"]
},
{
name: "Mateo Rivas",
role: "Stylist & Barber",
specs: ["Cuts", "Fades", "Styling"],
tagline: "Walk in tired, walk out new.",
rating: 4.7,
reviews: 194,
g: ["#1c1814", "#b08d57"]
}
];
/* ---------- Refs ---------- */
var grid = document.getElementById("grid");
var filtersEl = document.getElementById("filters");
var searchEl = document.getElementById("search");
var countEl = document.getElementById("count");
var countLabel = document.getElementById("count-label");
var emptyEl = document.getElementById("empty");
var resetEl = document.getElementById("reset");
var joinEl = document.getElementById("join");
var toastWrap = document.getElementById("toast-wrap");
var state = { spec: "All", query: "" };
/* ---------- Toast ---------- */
function toast(msg) {
var t = document.createElement("div");
t.className = "toast";
t.setAttribute("role", "status");
t.innerHTML = '<span class="dot"></span><span></span>';
t.lastChild.textContent = msg;
toastWrap.appendChild(t);
requestAnimationFrame(function () {
t.classList.add("show");
});
setTimeout(function () {
t.classList.remove("show");
setTimeout(function () {
t.remove();
}, 320);
}, 2600);
}
/* ---------- Helpers ---------- */
function initials(name) {
return name
.split(/\s+/)
.slice(0, 2)
.map(function (p) {
return p.charAt(0);
})
.join("")
.toUpperCase();
}
function starSvg(filled) {
return (
'<svg viewBox="0 0 24 24" aria-hidden="true" class="' +
(filled ? "" : "star-empty") +
'"><path fill="currentColor" d="M12 2.5l2.9 5.9 6.5.95-4.7 4.58 1.1 6.47L12 17.4l-5.8 3.05 1.1-6.47L2.6 9.35l6.5-.95L12 2.5z"/></svg>'
);
}
function starsFor(rating) {
var rounded = Math.round(rating);
var out = "";
for (var i = 1; i <= 5; i++) out += starSvg(i <= rounded);
return out;
}
/* ---------- Build filter chips ---------- */
function buildFilters() {
var set = {};
TEAM.forEach(function (m) {
m.specs.forEach(function (s) {
set[s] = true;
});
});
var specs = ["All"].concat(Object.keys(set).sort());
specs.forEach(function (s) {
var b = document.createElement("button");
b.type = "button";
b.className = "chip";
b.textContent = s;
b.setAttribute("aria-pressed", s === "All" ? "true" : "false");
b.addEventListener("click", function () {
state.spec = s;
Array.prototype.forEach.call(filtersEl.children, function (c) {
c.setAttribute("aria-pressed", c === b ? "true" : "false");
});
render();
});
filtersEl.appendChild(b);
});
}
/* ---------- Render grid ---------- */
function matches(m) {
var bySpec = state.spec === "All" || m.specs.indexOf(state.spec) !== -1;
var q = state.query.trim().toLowerCase();
var byName =
!q ||
m.name.toLowerCase().indexOf(q) !== -1 ||
m.role.toLowerCase().indexOf(q) !== -1;
return bySpec && byName;
}
function makeCard(m) {
var li = document.createElement("li");
li.className = "card";
var specChips = m.specs
.map(function (s) {
return '<span class="spec">' + s + "</span>";
})
.join("");
li.innerHTML =
'<div class="avatar" style="background:linear-gradient(135deg,' +
m.g[0] +
"," +
m.g[1] +
')" aria-hidden="true">' +
initials(m.name) +
"</div>" +
'<h3 class="name">' +
m.name +
"</h3>" +
'<p class="role">' +
m.role +
"</p>" +
'<div class="rating"><span class="stars" role="img" aria-label="' +
m.rating +
' out of 5 stars">' +
starsFor(m.rating) +
"</span><span><b>" +
m.rating.toFixed(1) +
"</b> · " +
m.reviews +
" reviews</span></div>" +
'<p class="tagline">“' +
m.tagline +
"”</p>" +
'<div class="specs">' +
specChips +
"</div>" +
'<div class="divider" aria-hidden="true"></div>' +
'<button class="btn book" type="button">Book with ' +
m.name.split(" ")[0] +
"</button>";
var book = li.querySelector(".book");
book.addEventListener("click", function () {
if (book.classList.contains("is-booked")) return;
book.classList.add("is-booked");
book.textContent = "Requested ✓";
toast("Booking request sent to " + m.name + ".");
setTimeout(function () {
book.classList.remove("is-booked");
book.textContent = "Book with " + m.name.split(" ")[0];
}, 3200);
});
return li;
}
function render() {
var list = TEAM.filter(matches);
grid.innerHTML = "";
list.forEach(function (m) {
grid.appendChild(makeCard(m));
});
countEl.textContent = list.length;
countLabel.textContent = list.length === 1 ? "artist" : "artists";
var none = list.length === 0;
emptyEl.hidden = !none;
grid.hidden = none;
}
/* ---------- Events ---------- */
var debounce;
searchEl.addEventListener("input", function () {
clearTimeout(debounce);
debounce = setTimeout(function () {
state.query = searchEl.value;
render();
}, 120);
});
resetEl.addEventListener("click", function () {
state.spec = "All";
state.query = "";
searchEl.value = "";
Array.prototype.forEach.call(filtersEl.children, function (c, i) {
c.setAttribute("aria-pressed", i === 0 ? "true" : "false");
});
render();
searchEl.focus();
});
joinEl.addEventListener("click", function () {
toast("Thank you — our director will be in touch soon.");
});
/* ---------- Init ---------- */
buildFilters();
render();
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Our Team · Maison Lumière Salon</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="page">
<header class="hero">
<p class="eyebrow">Maison Lumière Salon</p>
<h1 class="display">The Artists Behind the Chair</h1>
<p class="lede">
A collective of colorists, stylists and barbers obsessed with light, line and
the quiet confidence of a finish that lasts. Find the hands made for your hair.
</p>
<div class="hero-meta" aria-hidden="true">
<span class="hairline"></span>
<span class="hero-meta-text">Est. 2014 · West Village, New York</span>
<span class="hairline"></span>
</div>
</header>
<section class="controls" aria-label="Filter the team">
<div class="search">
<svg class="search-ico" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<circle cx="11" cy="11" r="7" fill="none" stroke="currentColor" stroke-width="1.6" />
<line x1="16.5" y1="16.5" x2="21" y2="21" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" />
</svg>
<input id="search" type="search" autocomplete="off" placeholder="Search by name…" aria-label="Search stylists by name" />
</div>
<div class="filters" id="filters" role="group" aria-label="Filter by specialty"></div>
</section>
<p class="result-line"><span id="count">8</span> <span id="count-label">artists</span> in the studio</p>
<main>
<ul class="grid" id="grid" aria-live="polite"></ul>
<div class="empty" id="empty" hidden>
<p class="empty-title">No artists match that search.</p>
<button class="link-btn" id="reset" type="button">Clear filters</button>
</div>
</main>
<section class="cta" aria-labelledby="cta-title">
<p class="eyebrow eyebrow--light">Now in conversation</p>
<h2 class="cta-title" id="cta-title">Join the chair you were made for.</h2>
<p class="cta-copy">
We are always looking for colorists and stylists with a point of view.
Bring your portfolio — we will bring the espresso.
</p>
<button class="btn btn--ghost-gold" id="join" type="button">Apply to the team</button>
</section>
</div>
<div class="toast-wrap" id="toast-wrap" aria-live="polite" aria-atomic="true"></div>
<script src="script.js"></script>
</body>
</html>Team / Stylists
A luxe, editorial introduction to the artists behind the chair at Maison Lumière Salon. A serif display headline and a hairline-framed location line set the tone, then a responsive grid of stylist cards does the work: a gradient initials avatar, a confident name, a small-caps role, a precise star rating with review count, specialty chips, and an italic tagline that reads like a personal signature. Each card lifts gently on hover with a soft gold border, the kind of finish a real boutique salon would ship.
The grid is genuinely interactive. A rounded name search and a row of specialty filter chips narrow the studio live, the running count updates as you type, and an empty state with a clear-filters action catches the moments when nothing matches. Every card ends in a gold gradient Book button that confirms the request inline and surfaces a quiet pill toast before resetting itself.
A dark closing band rounds out the page with a gold-rimmed apply-to-the-team call to action. Everything is plain HTML, CSS, and vanilla JavaScript — no frameworks, no build step — with AA-contrast color, visible focus rings, debounced search, reduced-motion support, and a layout that collapses cleanly to a single column down to roughly 360px.