/* ==========================================================================
   Elite Braid by Audrey — public site
   Same Wine & Paper system as the Espace pro, in a more editorial layout.
   ========================================================================== */

:root {
  --bg: #f6f0e8;
  --bg-2: #efe6da;
  --surface: #fffcf8;
  --surface-2: #f3ebe1;
  --ink: #2b1b20;
  --ink-2: #5a464c;
  --muted: #75626a; /* 5:1 on the cream background (was 3.8:1, too faint on phones) */
  --line: #e6d9cc;
  --line-strong: #d6c4b4;
  --wine: #6d2939;
  --wine-strong: #561e2c;
  --wine-deep: #3a1520;
  --wine-soft: #f3e2e4;
  --gold: #b88a3e;
  --gold-soft: #f6ebd6;
  --success: #3d7057;
  --success-soft: #e2efe7;
  --warning: #a8650f;
  --warning-soft: #f8ead2;
  --danger: #a5343b;
  --danger-soft: #f8e1e1;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(58, 21, 32, 0.06);
  --shadow: 0 14px 40px -18px rgba(58, 21, 32, 0.28);
  --shadow-lg: 0 30px 80px -30px rgba(58, 21, 32, 0.45);
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-ui); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(109, 41, 57, 0.35); outline-offset: 3px; border-radius: 6px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 24px; height: 24px; }

.eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-primary { background: var(--wine); color: #fff8f4; box-shadow: 0 10px 24px -12px rgba(109, 41, 57, 0.8); }
.btn-primary:hover { background: var(--wine-strong); box-shadow: 0 16px 30px -14px rgba(109, 41, 57, 0.9); }
.btn-light { background: rgba(255, 252, 248, 0.92); color: var(--wine-deep); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { background: var(--surface); border-color: var(--wine); color: var(--wine); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; padding: 0; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; }
.site-header.scrolled, .site-header.solid { background: rgba(246, 240, 232, 0.86); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff8f4; margin-right: auto; transition: color 0.3s; }
.site-header.scrolled .brand, .site-header.solid .brand { color: var(--ink); }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand span { font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: rgba(255, 248, 244, 0.9); transition: background 0.2s, color 0.2s; }
.nav a:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .nav a, .site-header.solid .nav a { color: var(--ink-2); }
.site-header.scrolled .nav a:hover, .site-header.solid .nav a:hover { background: var(--surface-2); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle { min-width: 44px; min-height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff8f4; font-weight: 700; font-size: 13px; }
.site-header.scrolled .lang-toggle, .site-header.solid .lang-toggle { border-color: var(--line-strong); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; place-items: center; }
.site-header.scrolled .menu-btn, .site-header.solid .menu-btn { background: var(--surface-2); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff8f4;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(184, 138, 62, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(109, 41, 57, 0.55), transparent 60%),
    var(--wine-deep);
}
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(transparent, black 30%, black 70%, transparent); mask-image: linear-gradient(transparent, black 30%, black 70%, transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(92vh, 880px); padding: 120px 0 72px; }
.hero-content { display: grid; gap: 22px; }
.hero .eyebrow { color: #e8c88f; }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; font-weight: 400; color: #f1d7a6; }
.hero-lead { max-width: 520px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 248, 244, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.glass { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 252, 248, 0.1); border: 1px solid rgba(255, 252, 248, 0.2); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; }
.glass .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd3a4; box-shadow: 0 0 0 4px rgba(127, 211, 164, 0.2); animation: pulse 2s infinite; }
.hero-visual { position: relative; justify-self: center; width: min(460px, 100%); animation: rise 1.1s 0.2s var(--ease) both; }
.hero-frame { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(241, 215, 166, 0.25); transform: rotate(2deg); transition: transform 0.6s var(--ease); }
.hero-visual:hover .hero-frame { transform: rotate(0deg) scale(1.01); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: hero-zoom 14s var(--ease) forwards; }
.hero-ring { position: absolute; top: -18px; right: -18px; width: 120px; height: 120px; border-radius: 50%; border: 1px dashed rgba(241, 215, 166, 0.45); animation: spin 30s linear infinite; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 252, 248, 0.96); color: var(--ink); box-shadow: var(--shadow-lg); font-size: 14px; animation: float 6s ease-in-out infinite; }
.float-card b { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--wine); display: block; line-height: 1; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card.one { left: -38px; bottom: 64px; }
.float-card.two { right: -26px; top: 48px; animation-delay: -3s; }
.float-card .icon { color: var(--gold); width: 26px; height: 26px; }
.hero-scroll { position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 248, 244, 0.6); text-decoration: none; }
.hero-scroll span { width: 1px; height: 38px; background: linear-gradient(rgba(255, 248, 244, 0.8), transparent); animation: scroll-line 2.2s var(--ease) infinite; transform-origin: top; }

.marquee { background: var(--wine-deep); color: #f1d7a6; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.marquee-track { display: flex; width: max-content; gap: 46px; padding: 16px 0; animation: marquee 38s linear infinite; font-family: var(--font-display); font-size: 21px; font-style: italic; }
.marquee-track span { display: inline-flex; align-items: center; gap: 46px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section.tight { padding-top: clamp(48px, 7vw, 80px); }
.section-alt { background: var(--surface); }
.section-dark { background: var(--wine-deep); color: #f8ece6; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; }
.section-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin-top: 10px; }
.section-head p.lead { max-width: 480px; color: var(--ink-2); }
.section-dark .section-head p.lead { color: rgba(248, 236, 230, 0.75); }

/* ---------- Chips & search ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all 0.2s var(--ease); }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip.active { background: var(--wine); border-color: var(--wine); color: #fff8f4; }
.search { position: relative; margin-left: auto; width: min(300px, 100%); }
.search input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.search input:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(109, 41, 57, 0.12); }
.search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); text-align: left; padding: 0; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--surface-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media .tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 252, 248, 0.94); color: var(--ink); font-size: 12px; font-weight: 700; }
.tag.gold { background: var(--gold-soft); color: #7b5a1f; }
.tag.wine { background: var(--wine); color: #fff8f4; }
.service-media .photo-count { position: absolute; right: 14px; bottom: 14px; }
.service-body { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.service-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.15; }
.service-body p { color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--wine); }
.price small { font-family: var(--font-ui); font-size: 12px; color: var(--muted); font-weight: 500; margin-right: 4px; }
.duration { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 500; }
.card-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--wine); font-weight: 700; font-size: 14px; }
.card-cta .icon { transition: transform 0.25s var(--ease); }
.service-card:hover .card-cta .icon { transform: translateX(4px); }

/* ---------- Gallery ---------- */
.masonry { columns: 4 240px; column-gap: 16px; }
.masonry-item { position: relative; break-inside: avoid; margin-bottom: 16px; border-radius: 18px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; text-align: left; }
.masonry-item img { width: 100%; height: auto; transition: transform 0.8s var(--ease), filter 0.4s; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item .cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(30, 10, 15, 0.78)); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.masonry-item:hover .cap, .masonry-item:focus-visible .cap { opacity: 1; transform: none; }
.masonry-item .cap strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.masonry-item .cap span { font-size: 13px; opacity: 0.85; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Team ---------- */
/* Every stylist gets the same card, her work first. Phone: the cards slide sideways. */
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: stretch; }
.monogram { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #e8c88f); color: var(--wine-deep); font-family: var(--font-display); font-size: 22px; font-weight: 600; flex: none; }
.stylist-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); transition: transform 0.3s var(--ease); }
.stylist-card:hover { transform: translateY(-4px); }
.stylist-card-cover { position: relative; display: grid; gap: 2px; height: 180px; padding: 0; border: 0; background: var(--wine-soft); cursor: pointer; overflow: hidden; }
.stylist-card-cover img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform 0.5s var(--ease); }
.stylist-card-cover:hover img { transform: scale(1.03); }
.stylist-card-cover.n0 { height: 96px; }
.stylist-card-cover.n2 { grid-template-columns: 1fr 1fr; }
.stylist-card-cover.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.stylist-card-cover.n3 img:first-child { grid-row: span 2; }
.stylist-card-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--surface); color: #8a6420; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
/* Her picture overlaps the photos (drawn above them); her name always sits below the photos. */
.stylist-card-body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 0 22px 22px; }
.stylist-card-id { display: flex; align-items: flex-end; gap: 12px; padding-top: 10px; }
.stylist-card-id .monogram { align-self: flex-start; width: 72px; height: 72px; margin-top: -40px; font-size: 27px; border: 4px solid var(--surface); box-shadow: var(--shadow-sm); }
.stylist-card-id > div { display: grid; gap: 1px; padding-bottom: 2px; min-width: 0; }
.stylist-card-id h3 { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.1; }
.stylist-card-id span { font-size: 13px; color: var(--muted); }
.stylist-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stylist-card-tags span { padding: 5px 10px; border-radius: 999px; background: var(--wine-soft); color: var(--wine-strong); font-size: 12.5px; font-weight: 600; }
.stylist-card-bio { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.stylist-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; color: var(--muted); font-size: 13px; }
.stylist-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.stylist-card-meta .good { color: var(--success); font-weight: 600; }
.stylist-card-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stylist-card-stats div { display: flex; flex-direction: column-reverse; gap: 1px; }
.stylist-card-stats dt { font-size: 12px; color: var(--muted); }
.stylist-card-stats dd { margin: 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stylist-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.stylist-card-actions .btn { justify-content: center; }
.join-card { gap: 16px; padding: 28px; background: transparent; color: #f8ece6; border: 1.5px dashed rgba(217, 176, 106, 0.6); box-shadow: none; }
.join-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.join-card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: rgba(248, 236, 230, 0.85); font-size: 14.5px; line-height: 1.45; }
.join-card li { display: flex; gap: 10px; }
.join-card li .icon { flex: none; margin-top: 2px; color: #d9b06a; }
.join-card .btn { margin-top: auto; justify-content: center; }
.btn-gold { background: #d9b06a; border-color: #d9b06a; color: var(--wine-deep); font-weight: 700; }
.btn-gold:hover { background: #e4c287; border-color: #e4c287; }
@media (max-width: 720px) {
  .team-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 16px; scrollbar-width: none; }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-grid > .stylist-card { flex: none; width: min(84vw, 330px); scroll-snap-align: center; }
  .stylist-card-cover { height: 160px; }
}

/* "Devenir styliste": what she gets, then a short application */
.join-sheet { width: min(1040px, 100%); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.join-sheet .sheet-close { position: absolute; top: 14px; right: 14px; left: auto; z-index: 2; }
.join-intro { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 3.4vw, 40px); background: var(--wine-deep); color: #f8ece6; }
.join-intro h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; }
.join-lead { margin: 0; color: rgba(248, 236, 230, 0.8); line-height: 1.55; }
.join-benefits { display: grid; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.join-benefits li { display: flex; gap: 12px; }
.join-benefits .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: #d9b06a; }
.join-benefits div { display: grid; gap: 2px; }
.join-benefits strong { font-size: 15px; }
.join-benefits span { color: rgba(248, 236, 230, 0.78); font-size: 14px; line-height: 1.45; }
.join-fee { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 252, 248, 0.08); color: rgba(248, 236, 230, 0.9); font-size: 13.5px; }
.join-form { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.4vw, 40px); padding-top: 56px; }
.join-form h4 { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.join-small { margin: 0; color: var(--muted); font-size: 12.5px; }
.join-done { display: grid; gap: 8px; justify-items: start; padding: 30px 0; }
.join-done .icon { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: var(--success-soft); color: var(--success); }
.join-done h4 { font-family: var(--font-display); font-weight: 500; font-size: 26px; }
@media (max-width: 820px) {
  .join-sheet { grid-template-columns: 1fr; }
  .join-row { grid-template-columns: 1fr; }
  .join-form { padding-top: 24px; }
}

/* ---------- Steps / how it works ---------- */
.how { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: how; }
.how article { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); counter-increment: how; position: relative; overflow: hidden; }
.how article::before { content: counter(how, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.how h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 6px; }
.how p { color: var(--ink-2); font-size: 15px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.3s var(--ease); color: var(--wine); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); }

.split { display: grid; gap: clamp(28px, 6vw, 72px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }

/* ---------- Booking ---------- */
.booking-shell { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.booking-card { border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.stepper { display: flex; gap: 6px; padding: 18px 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 6px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: all 0.25s var(--ease); }
.stepper button b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12.5px; transition: all 0.25s var(--ease); }
.stepper button.active { background: var(--wine-soft); color: var(--wine); }
.stepper button.active b { background: var(--wine); color: #fff; }
.stepper button.done b { background: var(--success); color: #fff; }
.stepper button:disabled { opacity: 0.45; cursor: default; }
.progress { height: 3px; background: var(--surface-2); }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--gold)); transition: width 0.5s var(--ease); }
.step { display: none; padding: clamp(20px, 3vw, 32px); }
.step.active { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; animation: step-in 0.45s var(--ease); }
.step.back { animation-name: step-back; }
.step-title h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 32px); }
.step-title p { color: var(--ink-2); margin-top: 4px; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; padding: 18px clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); background: var(--surface); }

.pick-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pick { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.pick:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pick.selected { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(109, 41, 57, 0.1); }
.pick.selected::after { content: ""; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; animation: pop 0.3s var(--ease); }
.pick img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.pick strong { display: block; font-size: 14.5px; line-height: 1.25; padding-right: 18px; }
.pick span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pick.custom { grid-template-columns: 1fr; text-align: center; min-height: 86px; border-style: dashed; }

.option-group { display: grid; gap: 10px; }
.option-group > span { font-weight: 600; font-size: 14.5px; }
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 52px; padding: 8px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: all 0.2s var(--ease); }
.option-chip:hover { border-color: var(--line-strong); }
.option-chip.selected { border-color: var(--wine); background: var(--wine-soft); }
.option-chip strong { font-size: 14.5px; }
.option-chip small { font-size: 12px; color: var(--muted); }
.option-chip.selected small { color: var(--wine); }

.field { display: grid; gap: 7px; }
.field > span { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(109, 41, 57, 0.12); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wine); flex: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented button { min-height: 58px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; font-weight: 600; font-size: 14.5px; display: flex; gap: 10px; align-items: center; transition: all 0.2s var(--ease); }
.segmented button.selected { border-color: var(--wine); background: var(--wine-soft); color: var(--wine); }
.segmented button:disabled { opacity: 0.5; cursor: not-allowed; }

.stylist-picks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.stylist-pick { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; transition: all 0.2s var(--ease); }
.stylist-pick.selected { border-color: var(--wine); background: var(--wine-soft); }
.stylist-pick .monogram { width: 44px; height: 44px; font-size: 17px; }
.stylist-pick strong { display: block; font-size: 14.5px; }
.stylist-pick span { font-size: 12.5px; color: var(--muted); }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day { flex: none; width: 66px; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); transition: all 0.2s var(--ease); }
.day small { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.day b { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.1; }
.day i { font-style: normal; font-size: 11px; color: var(--muted); }
.day:hover:not(:disabled) { border-color: var(--line-strong); transform: translateY(-2px); }
.day.selected { background: var(--wine); border-color: var(--wine); color: #fff8f4; }
.day.selected small, .day.selected i { color: rgba(255, 248, 244, 0.8); }
.day:disabled { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; min-height: 52px; }
.slot { min-width: 96px; min-height: 50px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: 15.5px; font-variant-numeric: tabular-nums; transition: all 0.2s var(--ease); animation: pop 0.35s var(--ease) both; }
.slot:hover { border-color: var(--wine); color: var(--wine); }
.slot.selected { background: var(--wine); border-color: var(--wine); color: #fff8f4; box-shadow: 0 10px 24px -12px rgba(109, 41, 57, 0.8); }
.slot-note { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: 14.5px; }
.skeleton-line { height: 50px; width: 96px; border-radius: 14px; background: linear-gradient(90deg, var(--surface-2), var(--bg-2), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--gold-soft); color: #6f511b; font-size: 14.5px; }
.note.info { background: var(--wine-soft); color: var(--wine-strong); }
.note.danger { background: var(--danger-soft); color: var(--danger); }
.note a { color: inherit; font-weight: 700; }
.form-error { padding: 12px 16px; border-radius: 14px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 14.5px; }

.upload { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--line-strong); background: var(--surface); cursor: pointer; transition: border-color 0.2s; }
.upload:hover { border-color: var(--wine); }
.upload input { display: none; }
.upload .icon { color: var(--wine); width: 26px; height: 26px; }
.upload strong { display: block; font-size: 14.5px; }
.upload span { font-size: 13px; color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; animation: pop 0.3s var(--ease); }

.summary { position: sticky; top: 92px; border-radius: 22px; background: var(--wine-deep); color: #f8ece6; padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.summary h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.summary-media { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, 0.06); }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; }
.summary dt { color: rgba(248, 236, 230, 0.65); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.summary .total strong { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: #f1d7a6; }
.summary .small { font-size: 13px; color: rgba(248, 236, 230, 0.65); }
.summary .empty { color: rgba(248, 236, 230, 0.6); font-size: 14.5px; }

.recap { display: grid; gap: 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.recap div:last-child { border-bottom: 0; }
.recap dt { color: var(--muted); flex: 0 1 auto; min-width: 0; }
.recap dd { margin: 0; min-width: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
dl.recap { margin: 0; }

.success { display: grid; justify-items: center; text-align: center; gap: 16px; padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px); }
.success-mark { width: 92px; height: 92px; }
.success-mark circle { stroke: var(--success); stroke-width: 3; fill: var(--success-soft); stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 0.8s var(--ease) forwards; }
.success-mark path { stroke: var(--success); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 0.45s 0.6s var(--ease) forwards; }
.success h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4vw, 40px); }
.success p { max-width: 460px; color: var(--ink-2); }
.success .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ---------- Modal / sheet & lightbox ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(30, 10, 15, 0.55); backdrop-filter: blur(6px); animation: fade 0.25s ease; }
.sheet { width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); animation: rise 0.45s var(--ease); display: grid; grid-template-columns: 1.05fr 1fr; }
.sheet-media { position: relative; background: var(--surface-2); min-height: 420px; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 0.4s; }
.sheet-media .nav-btns { position: absolute; inset: auto 14px 14px auto; display: flex; gap: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 252, 248, 0.94); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease); }
.round-btn:hover { transform: scale(1.06); }
.sheet-body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 18px; align-content: start; }
.sheet-body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.05; }
.sheet-close { position: absolute; top: 14px; left: 14px; z-index: 2; }
.option-list { display: grid; gap: 12px; }
.option-list h4 { font-size: 14px; font-weight: 700; }
.option-list ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.option-list li { padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; }
.mini-gallery { display: flex; gap: 8px; overflow-x: auto; }
.mini-gallery img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; cursor: zoom-in; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 8, 12, 0.94); display: grid; grid-template-rows: auto 1fr auto; animation: fade 0.25s ease; color: #fff; touch-action: pan-y; }
.lightbox header, .lightbox footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.lightbox header strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.lightbox .stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 64px; }
.lightbox .stage img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 14px; animation: zoom-in 0.35s var(--ease); }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .count { font-size: 14px; opacity: 0.75; }

/* ---------- Footer / floating ---------- */
.site-footer { background: var(--wine-deep); color: rgba(248, 236, 230, 0.8); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer a { color: #f8ece6; text-decoration: none; }
.site-footer a:hover { color: #f1d7a6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand strong { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: #f8ece6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7); transition: transform 0.25s var(--ease); animation: rise 0.6s 1s var(--ease) both; }
.fab:hover { transform: scale(1.07); }
.fab .icon { width: 28px; height: 28px; }
.mobile-cta { display: none; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 95; transform: translateX(-50%); padding: 13px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-lg); animation: rise 0.3s var(--ease); max-width: calc(100vw - 32px); }

/* ui.js (loading overlay + PWA prompt) */
.loading-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(246, 240, 232, 0.7); backdrop-filter: blur(4px); }
.loading-dialog { display: grid; justify-items: center; gap: 14px; padding: 26px 30px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); }
.loading-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--wine); animation: spin 0.8s linear infinite; }

/* Audrey's hidden shortcut */
.audrey-shortcut { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: radial-gradient(circle, #6d2939, #3a1520); color: #fff8f4; animation: fade 0.4s ease; }
.audrey-message { display: grid; justify-items: center; gap: 8px; text-align: center; }
.audrey-heart { font-size: 54px; color: #f1d7a6; animation: beat 0.9s infinite; }
.audrey-message strong { font-family: var(--font-display); font-weight: 500; font-size: 34px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(n + 7) { transition-delay: 0.4s; }
.hero-in > * { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: 0.12s; }
.hero-in > *:nth-child(3) { animation-delay: 0.24s; }
.hero-in > *:nth-child(4) { animation-delay: 0.36s; }
.hero-in > *:nth-child(5) { animation-delay: 0.48s; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.92); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes step-in { from { opacity: 0; transform: translateX(26px); } }
@keyframes step-back { from { opacity: 0; transform: translateX(-26px); } }
@keyframes hero-zoom { to { transform: scale(1); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(127, 211, 164, 0); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 50% { transform: scale(1.15); } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 104px 0 64px; }
  .hero-visual { order: -1; width: min(340px, 78vw); }
  .float-card.one { left: -18px; bottom: 28px; }
  .float-card.two { right: -14px; top: 22px; }
  .hero-scroll { display: none; }
  .booking-shell { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .summary-media, .summary .optional { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  /* Phones: the header links move into the full-screen menu (.mobile-menu). */
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions .btn { display: none; }
  .sheet { grid-template-columns: 1fr; }
  .sheet-media { min-height: 300px; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; border-radius: 14px; }
  .masonry-item .cap { opacity: 1; transform: none; padding: 30px 10px 8px; }
  .masonry-item .cap strong { font-size: 14.5px; }
  .masonry-item .cap span { display: none; }
  .search { margin-left: 0; width: 100%; }
  .mobile-cta { position: fixed; z-index: 45; left: 12px; right: 84px; bottom: 16px; display: flex; transform: translateY(120px); transition: transform 0.4s var(--ease); }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 56px; }
  .fab { width: 56px; height: 56px; }
  .lightbox .stage { padding: 0 8px; }
  .lightbox .prev, .lightbox .next { display: none; }
  .hero-scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
  .segmented { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .hero-in > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}

/* Keep card content packed at the top when grid rows equalise heights */
.stylist, .footer-brand, .how article { align-content: start; }
.stylist .zones { align-items: flex-start; }
.step-nav #bookingNext { margin-left: auto; }

/* Stripe Embedded Checkout inside the booking card */
.checkout-frame { min-height: 360px; border-radius: 18px; overflow: hidden; background: #fff; }
.checkout-frame:empty { min-height: 0; }
.step-title h3 .icon { width: 22px; height: 22px; color: var(--success); vertical-align: -2px; }

/* Install-app entry points (the prompt itself is styled by ui.js) */
.footer-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.success .link-btn { margin-top: 16px; }

/* Private chat bubble (site/chat.js) */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 46; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(109, 41, 57, 0.75); cursor: pointer; transition: transform 0.25s var(--ease); animation: rise 0.6s var(--ease) 1s both; }
.chat-fab:hover { transform: scale(1.07); }
.chat-fab svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #e0a526; border: 2px solid #fff; }
.chat-dot[hidden] { display: none; }
.chat-panel { position: fixed; right: 18px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 75; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(40, 10, 18, 0.5); animation: rise 0.3s var(--ease); }
.chat-panel[hidden] { display: none; }
.chat-head { display: grid; grid-template-columns: 40px 1fr 36px; gap: 12px; align-items: center; padding: 14px 14px 14px 16px; background: var(--wine-deep); color: #f8ece6; }
.chat-head img { border-radius: 11px; }
.chat-head strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 17px; font-weight: 500; }
.chat-head span { font-size: 12.5px; opacity: 0.75; }
.chat-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: inherit; display: grid; place-items: center; cursor: pointer; }
.chat-close svg, .chat-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { max-width: 85%; display: grid; gap: 3px; }
.chat-msg p { margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg small { font-size: 11.5px; color: var(--muted); padding: 0 6px; }
.chat-quote { margin: 0; padding: 6px 10px; border-left: 3px solid var(--wine); border-radius: 8px; background: color-mix(in srgb, var(--wine) 8%, transparent); font-size: 12.5px; color: var(--muted); display: grid; gap: 1px; overflow-wrap: anywhere; }
.chat-quote strong { font-size: 11.5px; color: var(--ink); }
.chat-msg.them { align-self: flex-start; }
.chat-msg.them p { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.chat-msg.me { align-self: flex-end; text-align: right; }
.chat-msg.me p { background: var(--wine); color: #fff; border-bottom-right-radius: 5px; text-align: left; }
.chat-hint { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.chat-form { padding: 10px 12px 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }
.chat-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-fields input:first-child { grid-column: 1 / -1; }
.chat-fields input, .chat-compose textarea { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); }
.chat-compose { display: grid; grid-template-columns: 1fr 46px; gap: 6px; align-items: end; }
.chat-compose textarea { resize: none; max-height: 120px; }
.chat-send { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-send:disabled { opacity: 0.5; }
.chat-error { margin: 0; color: #a32b2b; font-size: 13px; }
.chat-privacy { margin: 0; font-size: 11.5px; color: var(--muted); }
.chat-new { border: 0; background: none; padding: 0; color: var(--wine); font: inherit; text-decoration: underline; cursor: pointer; }
.chat-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) {
  .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: min(100dvh, 640px); border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  body.chat-open .chat-fab, body.chat-open .mobile-cta { display: none; }
}

/* Hair diagnosis promo on the home page */
.diag-promo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 30px; background: radial-gradient(120% 140% at 100% 0%, #6d2939 0%, #3a1520 60%, #22090f 100%); color: #f8ece6; }
.diag-promo .eyebrow { color: #e8c37d; }
.diag-promo h2 { color: #fff; }
.diag-promo p { color: #ead7cf; }
.diag-promo-list { margin: 16px 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.diag-promo-list li { position: relative; padding-left: 28px; color: #f3e3dc; }
.diag-promo-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #e8c37d; box-shadow: inset 0 0 0 4px #3a1520; }
.diag-promo-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.diag-promo-cta .btn-primary { background: #f3d9a4; color: #3a1520; border-color: #f3d9a4; }
.diag-promo-price { color: #e8c37d; font-weight: 600; }
.diag-promo-card { display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: #fffcf8; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); transform: rotate(1.5deg); }
.diag-promo-card strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.25; }
.diag-promo-badge { width: fit-content; padding: 5px 12px; border-radius: 999px; background: #f6ebd6; color: #7b5a1f; font-weight: 700; font-size: 12.5px; }
.diag-promo-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.diag-promo-row i { width: 10px; height: 10px; border-radius: 50%; background: #3d7057; }
.diag-promo-row i.watch { background: #c48a25; }
.diag-promo-row i.bad { background: #a5343b; }
.diag-promo-plan { font-size: 13px; font-weight: 700; color: var(--wine); }
@media (max-width: 860px) { .diag-promo { grid-template-columns: 1fr; } .diag-promo-card { transform: none; } }

/* Social links in the footer */
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.footer-social:empty { display: none; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255, 255, 255, 0.16); }
.footer-social svg { width: 20px; height: 20px; }

/* Promotions */
.price s, .total s, .pick s, .recap s { color: var(--muted); font-weight: 400; text-decoration-thickness: 1.5px; text-decoration-color: var(--wine); margin-right: 2px; }
.price.on-sale .sale-price { color: var(--wine); font-weight: inherit; }
.tag.promo { background: var(--wine); color: #fff; font-weight: 700; }
.sale-until { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--wine); }
.sale-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--wine-soft); color: var(--wine-strong); font-size: 14px; }
.sale-note .icon { flex: none; margin-top: 2px; }
.chip.chip-promo { border-color: var(--wine); color: var(--wine); font-weight: 700; }
.chip.chip-promo.active { background: var(--wine); color: #fff; }
.pick-promo { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--wine); padding: 2px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.promo-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; width: fit-content; max-width: 100%; margin-bottom: 14px; padding: 10px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; font-size: 14px; backdrop-filter: blur(8px); }
.promo-pill strong { display: inline-flex; align-items: center; gap: 4px; }
.promo-dot { width: 9px; height: 9px; border-radius: 50%; background: #f3c56b; box-shadow: 0 0 0 0 rgba(243, 197, 107, 0.7); animation: promo-ping 1.8s ease-out infinite; }
@keyframes promo-ping { 100% { box-shadow: 0 0 0 10px rgba(243, 197, 107, 0); } }
.promo-code { display: grid; gap: 6px; }
p.promo-code { margin: 0; }
.promo-open { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 14px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.06em; }
.promo-ok { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--success-soft); color: var(--success); font-size: 14px; font-weight: 600; }
.promo-err { margin: 0; color: var(--danger); font-size: 13.5px; }
.promo-line dd { color: var(--wine); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .promo-dot { animation: none; } }

/* Promotion lines inside the dark booking summary */
.summary .promo-line dd, .summary .promo-line dt { color: #f3c56b; }
.summary .total s { color: rgba(248, 236, 230, 0.55); text-decoration-color: #f3c56b; }

/* « Peu importe » : the stylist who would do each time */
.slot small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; margin-top: 1px; }
.slot-note .btn { margin-left: 6px; }

/* Stylist photos and pages */
.monogram.has-photo { padding: 0; overflow: hidden; background: rgba(255, 252, 248, 0.1); }
.monogram.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.monogram.xl { width: 96px; height: 96px; font-size: 34px; }
.stylist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-ghost-light { background: transparent; color: inherit; border: 1px solid rgba(255, 252, 248, 0.3); }
.btn-ghost-light:hover { background: rgba(255, 252, 248, 0.08); }
/* A stylist's page. Computer: who she is and the book button on the left, her styles, her
   work and practical info in tabs on the right. Phone: one column, tabs stay at the top
   and the book button stays at the bottom. */
.stylist-sheet { position: relative; display: grid; grid-template-columns: 360px minmax(0, 1fr); width: min(1060px, 100%); height: min(760px, calc(100vh - 40px)); max-height: none; overflow: hidden; }
.stylist-sheet .sheet-close { position: absolute; top: 14px; right: 14px; left: auto; z-index: 3; }
.stylist-aside { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; background: var(--surface-2); }
.stylist-cover { flex: none; display: grid; gap: 2px; height: 230px; background: var(--wine-soft); }
.stylist-cover img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.stylist-cover.n0 { height: 110px; }
.stylist-cover.n2 { grid-template-columns: 1fr 1fr; }
.stylist-cover.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.stylist-cover.n3 img:first-child { grid-row: span 2; }
.stylist-id { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 0 26px 26px; }
.stylist-id > .monogram { margin-top: -50px; border: 4px solid var(--surface-2); flex: none; }
.stylist-name h3 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.05; }
.stylist-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-info { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.chip-info.chip-good { background: var(--success-soft); color: var(--success); font-weight: 600; }
.stylist-bio { margin: 0; color: var(--ink-2); line-height: 1.55; white-space: pre-line; }
.stylist-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.stylist-stats div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--surface); }
.stylist-stats strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.stylist-stats span { font-size: 12.5px; color: var(--muted); }
.stylist-book-side { margin-top: auto; }
.stylist-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.stylist-tabs { flex: none; display: flex; gap: 24px; padding: 14px 76px 0 28px; border-bottom: 1px solid var(--line); background: var(--surface); }
.stylist-tabs button { padding: 12px 0; border: 0; background: none; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); box-shadow: inset 0 -2px 0 transparent; cursor: pointer; transition: color 0.2s; }
.stylist-tabs button span { margin-left: 3px; font-size: 13px; font-weight: 500; }
.stylist-tabs button:hover { color: var(--ink); }
.stylist-tabs button[aria-selected="true"] { color: var(--wine); box-shadow: inset 0 -2px 0 var(--wine); }
.stylist-panel { flex: 1; min-height: 0; overflow-y: auto; display: grid; gap: 18px; align-content: start; padding: 18px 28px 28px; }
.stylist-panel[hidden] { display: none; }
.stylist-group { display: grid; gap: 2px; }
.stylist-group h4 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stylist-style { display: flex; align-items: center; gap: 14px; width: calc(100% + 16px); margin: 0 -8px; padding: 10px 8px; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; transition: background 0.2s; }
.stylist-style:hover { background: var(--surface-2); }
.stylist-style img { flex: none; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.stylist-style-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.stylist-style-text strong { font-size: 15px; font-weight: 600; }
.stylist-style-text span { font-size: 13px; color: var(--muted); }
.stylist-style-price { white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--wine); }
.stylist-style-price s { font-weight: 500; color: var(--muted); }
.stylist-style > .icon { flex: none; color: var(--muted); }
.stylist-work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stylist-shot { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); cursor: zoom-in; }
.stylist-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.stylist-shot:hover img { transform: scale(1.04); }
.stylist-shot.is-more, .stylist-shot[hidden] { display: none; }
.stylist-info { display: grid; margin: 0; }
.stylist-info div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stylist-info div:last-child { border-bottom: 0; }
.stylist-info dt { font-weight: 600; color: var(--ink); }
.stylist-info dd { margin: 0; color: var(--ink-2); line-height: 1.5; }
.stylist-info small { color: var(--muted); }
.stylist-bar { display: none; }
.chip-info.chip-rating { background: var(--gold-soft); color: #6f511b; font-weight: 600; }
.review-summary { display: flex; align-items: center; gap: 10px; margin: 0; }
.review-summary strong { font-size: 15px; }
.review-stars { color: #c9973f; letter-spacing: 1px; }
.review-stars .off { color: var(--line-strong); }
.review-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.review-list li { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.review-list li:last-child { border-bottom: 0; }
.review-list p { margin: 0; color: var(--ink-2); line-height: 1.5; white-space: pre-line; }
.review-list small { color: var(--muted); font-size: 12.5px; }
.stylist-card-meta .rating { color: #8a6420; font-weight: 600; }
@media (max-width: 899px) {
  .stylist-wrap { padding: 10px; }
  .stylist-sheet { display: block; height: auto; max-height: calc(100dvh - 20px); overflow-y: auto; }
  .stylist-sheet .sheet-close { position: fixed; top: 20px; right: 20px; }
  .stylist-aside { overflow: visible; background: var(--surface); }
  .stylist-cover { height: 170px; }
  .stylist-cover.n3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
  .stylist-cover.n3 img:first-child { grid-row: auto; }
  .stylist-id { gap: 12px; padding: 0 20px 6px; }
  .stylist-id > .monogram { border-color: var(--surface); }
  .stylist-book-side { display: none; }
  .stylist-tabs { position: sticky; top: 0; z-index: 2; gap: 20px; padding: 4px 20px 0; }
  .stylist-panel { overflow: visible; padding: 14px 20px 22px; }
  .stylist-work { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .stylist-shot { border-radius: 8px; }
  .stylist-info div { grid-template-columns: 1fr; gap: 4px; }
  .stylist-bar { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
  .stylist-bar > div { flex: none; display: grid; gap: 1px; }
  .stylist-bar small { font-size: 12.5px; color: var(--muted); }
  .stylist-bar strong { font-size: 15px; }
  .stylist-bar .btn { flex: 1; justify-content: center; }
}
.style-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.style-list li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.link-btn { padding: 0; border: 0; background: none; color: var(--wine, inherit); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mini-gallery.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); overflow: visible; }
.mini-gallery.portfolio img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; }
.masonry-item .cap .credit { font-style: italic; opacity: 0.85; }

/* Legal links and consent choices */
.footer-legal { margin: 10px 0 0; font-size: 13px; opacity: 0.85; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* "Chez moi": her address picked from the suggestions, then the travel fee */
.address-field { position: relative; }
.address-list { display: grid; margin-top: 4px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.address-option { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 11px 14px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.address-option:first-child { border-top: 0; }
.address-option:hover, .address-option:focus-visible { background: var(--wine-soft); outline: none; }
.address-option .icon { flex: none; margin-top: 3px; color: var(--wine); }
.address-option span { display: grid; gap: 1px; }
.address-option small { color: var(--muted); font-size: 13px; }
.address-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--wine); background: var(--surface); font-weight: 600; }
.address-picked .icon { color: var(--wine); flex: none; }
.address-picked span { flex: 1; min-width: 0; }
.address-msg { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }

/* ---------------------------------------------------------------------------
   Little moments (booking): a celebrated confirmation, a price that counts, taps you feel
   --------------------------------------------------------------------------- */
/* Booking sent: the check draws itself, a soft ring and gold sparkles, then the text rises. */
.success-mark-wrap { position: relative; display: grid; place-items: center; width: 92px; height: 92px; }
.success-mark-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--success); opacity: 0; animation: success-ring 0.9s 0.75s var(--ease) forwards; }
.success-burst { position: absolute; inset: 0; pointer-events: none; }
.success-burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--gold); opacity: 0; transform: rotate(var(--a)) translateY(0) scale(0.4); animation: success-burst 0.95s 0.8s var(--ease) forwards; }
.success-burst i:nth-child(even) { width: 5px; height: 5px; margin: -2.5px; background: var(--wine); animation-delay: 0.86s; }
.success h3 { animation: rise 0.6s 0.55s var(--ease) both; }
.success > p { animation: rise 0.6s 0.68s var(--ease) both; }
.success .btn-row { animation: rise 0.6s 0.8s var(--ease) both; }
@keyframes success-ring { 0% { opacity: 0.55; transform: scale(0.95); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes success-burst { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(0.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-78px) scale(1); } }

/* The price counts to its new amount, with a small glow. */
[data-count-price] { display: inline-block; font-variant-numeric: tabular-nums; }
.price-bump { animation: price-bump 0.55s var(--ease); }
@keyframes price-bump { 35% { transform: scale(1.08); text-shadow: 0 0 18px rgba(241, 215, 166, 0.55); } }
.options-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); }
.options-total span:first-child { color: var(--muted); font-size: 14px; }
.options-total strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--wine); }
.options-total s { color: var(--muted); font-size: 16px; margin-right: 4px; }

/* Taps: a slight press so she feels it registered. Lifts on hover only with a mouse: on a
   phone they would stay stuck after the tap. */
.btn, .pick, .slot, .day, .stylist-pick, .option-chip, .service-card, .stylist-card, .chip { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:hover, .pick:hover, .day:hover:not(:disabled), .service-card:hover, .stylist-card:hover, .round-btn:hover, .fab:hover, .chat-fab:hover, .hero-visual:hover .hero-frame { transform: none; }
  .service-card:hover .service-media img, .masonry-item:hover img, .stylist-card-cover:hover img, .stylist-shot:hover img { transform: none; }
}
.btn:active:not(:disabled) { transform: scale(0.97); transition-duration: 0.08s; }
.pick:active, .stylist-pick:active, .option-chip:active, .slot:active:not(:disabled), .day:active:not(:disabled) { transform: scale(0.97); transition-duration: 0.08s; }
.service-card:active, .stylist-card:active { transform: scale(0.985); transition-duration: 0.1s; }

/* Animations that never stop rest when they're off screen (battery, smoother scrolling). */
.motion-paused, .motion-paused * { animation-play-state: paused !important; }
/* On a phone the two little cards on Audrey's photo stay still: easier to read. */
@media (max-width: 720px) { .float-card { animation: none; } }

/* ---------------------------------------------------------------------------
   Phones: filters on one line you swipe, pinned under the header; lighter section titles
   --------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .swipe-row { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding-right: 30px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
  .swipe-row::-webkit-scrollbar { display: none; }
  .swipe-row .chip { flex: none; scroll-snap-align: start; min-height: 38px; padding: 0 15px; font-size: 13.5px; white-space: nowrap; }
  /* The bar stays under the header while she scrolls that section (full width, frosted). */
  .toolbar.swipe { position: sticky; top: var(--header-h, 72px); z-index: 30; flex-wrap: nowrap; gap: 8px; margin: 0 -16px 16px; padding: 10px 16px;
    background: color-mix(in srgb, var(--bar-bg, var(--bg)) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .section-alt .toolbar.swipe { --bar-bg: var(--surface); }
  .toolbar.swipe .chips { flex: 1; min-width: 0; }
  /* Search: a round 🔍 at the start of the row; tapped, it opens over the filters. */
  .toolbar.swipe .search { order: -1; flex: none; width: 40px; margin: 0; transition: width 0.25s var(--ease); }
  .toolbar.swipe .search input { min-height: 40px; padding: 0 0 0 38px; color: transparent; cursor: pointer; }
  .toolbar.swipe .search input::placeholder { color: transparent; }
  .toolbar.swipe .search .icon { left: 12px; color: var(--ink-2); pointer-events: none; }
  .toolbar.swipe.searching .search { flex: 1; width: auto; }
  .toolbar.swipe.searching .search input { padding: 0 14px 0 40px; color: inherit; cursor: text; }
  .toolbar.swipe.searching .search input::placeholder { color: var(--muted); }
  .toolbar.swipe.searching .chips { display: none; }
  /* Her photos (stylist profile): the same swipeable row. */
  .stylist-filters.swipe-row { margin-right: -20px; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 14px; gap: 8px; }
  .section-head h2 { font-size: clamp(28px, 8.4vw, 34px); margin-top: 6px; }
  .section-head p.lead { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* Room under the footer for the "Prendre rendez-vous" bar and the chat button. */
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* Small phones (iPhone SE, small Android): long button labels wrap instead of running off the
   screen; the header and section titles get a little tighter. */
@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 10px 18px; }
  .brand { gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .brand small { letter-spacing: 0.1em; }
  .section-head h2 { font-size: 28px; }
  .swipe-row .chip { padding: 0 13px; font-size: 13px; }
}

/* ---------------------------------------------------------------------------
   Phone menu: full screen, brand colours, "Prendre rendez-vous" always in view
   --------------------------------------------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 70% at 100% 0%, #5a2231 0%, var(--wine-deep) 55%, #2a0f17 100%); color: #f8ece6;
  opacity: 0; transform: translateY(-14px); transition: opacity 0.28s var(--ease), transform 0.32s var(--ease); }
.mobile-menu.open { opacity: 1; transform: none; }
.menu-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(241, 215, 166, 0.16); }
.menu-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; font-family: var(--font-display); font-size: 19px; line-height: 1.1; }
.menu-brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.menu-brand small { display: block; font-family: var(--font-ui); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.menu-lang, .menu-x { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(241, 215, 166, 0.35); background: transparent; color: #f8ece6; font-weight: 700; font-size: 13px; }
.menu-x { background: rgba(255, 255, 255, 0.1); border-color: transparent; }
.menu-links { display: grid; gap: 4px; padding: 14px 0; }
.menu-link { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 18px; color: inherit; text-decoration: none;
  opacity: 0; transform: translateY(10px); transition: background 0.2s; }
.mobile-menu.open .menu-link { animation: rise 0.42s calc(0.06s + var(--i) * 0.045s) var(--ease) forwards; }
.menu-link:active { background: rgba(255, 255, 255, 0.08); }
.menu-link.active { background: rgba(241, 215, 166, 0.12); }
.menu-link.active strong { color: #f1d7a6; }
.menu-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(241, 215, 166, 0.12); color: #e8c88f; }
.menu-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.menu-text strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.15; }
.menu-text small { font-size: 13.5px; color: rgba(248, 236, 230, 0.66); }
.menu-link > .icon { flex: none; color: rgba(248, 236, 230, 0.45); }
.menu-foot { display: grid; gap: 16px; margin-top: auto; padding-top: 10px; opacity: 0; }
.mobile-menu.open .menu-foot { animation: rise 0.45s 0.28s var(--ease) forwards; }
.menu-book { width: 100%; min-height: 56px; font-size: 16px; }
.menu-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.menu-contact { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(241, 215, 166, 0.28); color: #f8ece6; text-decoration: none; font-weight: 600; font-size: 13.5px; }
.menu-contact svg { width: 17px; height: 17px; flex: none; }
.menu-contact:active { background: rgba(255, 255, 255, 0.08); }
.menu-small { display: flex; justify-content: center; gap: 10px; margin: 0; font-size: 14px; color: rgba(248, 236, 230, 0.55); }
.menu-small a { color: rgba(248, 236, 230, 0.8); text-decoration: none; }
@media (min-width: 821px) { .mobile-menu { display: none; } }

/* ---------------------------------------------------------------------------
   Stylists: a short preview on the home page, and the « Nos stylistes » page (/stylistes)
   --------------------------------------------------------------------------- */
.team-more { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 720px) {
  /* The preview shows 2 on a phone (the 3rd is on the stylists page). */
  .team-grid.preview > .stylist-card:not(.join-card):nth-child(3) { display: none; }
}

.dir-body { background: var(--bg); }
.dir-page { padding: calc(var(--header-h, 72px) + 22px) 0 72px; min-height: 70vh; }
.dir-head { display: grid; gap: 8px; margin-bottom: 18px; }
.dir-head h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 6vw, 56px); line-height: 1.02; letter-spacing: -0.02em; margin: 2px 0 0; }
.dir-head .lead { max-width: 560px; margin: 0; color: var(--ink-2); }
.dir-back { display: inline-flex; align-items: center; gap: 4px; width: max-content; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
/* Search and filters stay under the header while scrolling the list. */
.dir-bar { position: sticky; top: var(--header-h, 72px); z-index: 30; display: grid; gap: 10px; margin: 0 -16px 8px; padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 93%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dir-search { margin: 0; width: 100%; max-width: 560px; }
.dir-search input { min-height: 48px; font-size: 16px; }
#dirChips { display: grid; gap: 8px; }
.dir-bar .chip .icon { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.dir-bar .chip small { margin-left: 4px; font-size: 12px; font-weight: 600; opacity: 0.65; }
.dir-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 16px; }
#dirCount { margin: 0; font-weight: 600; color: var(--ink); }
.dir-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dir-sort select { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; }
.dir-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 44px 20px; border-radius: 24px; border: 1px dashed var(--line-strong); background: var(--surface); text-align: center; color: var(--ink-2); }
.dir-empty > .icon { width: 34px; height: 34px; color: var(--gold); }
.dir-empty p { margin: 0; }
.dir-empty .btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dir-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 26px; border-radius: 24px; background: var(--wine-deep); color: #f8ece6; }
.dir-join h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 30px); margin: 4px 0 0; }
@media (max-width: 720px) {
  /* The page lists stylists one under the other (the home preview swipes sideways). */
  .team-grid.dir-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .team-grid.dir-grid > .stylist-card { width: auto; }
  .dir-meta { margin: 4px 0 12px; }
  .dir-sort span { display: none; }
}

/* ---------------------------------------------------------------------------
   Sharing: a style (its card and its sheet), her choices before paying, « On me l'offre »
   --------------------------------------------------------------------------- */
.service-media .tags { right: 62px; }
.card-share { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 252, 248, 0.94); color: var(--wine); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.15s var(--ease); }
.card-share:active { transform: scale(0.92); }
.card-share:focus-visible { outline: 3px solid var(--focus); }
/* A long press opens the style: no "save image" menu on top of it. */
.service-card, .service-card img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.sheet-book-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.sheet-book-row .btn-primary { width: 100%; }
.pulse-once { animation: share-pulse 1.1s var(--ease) 0.3s 2; }
@keyframes share-pulse { 50% { box-shadow: 0 0 0 8px rgba(109, 41, 57, 0.18); } }
.pay-mode { display: grid; gap: 12px; }
.pay-mode .segmented.two button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pay-mode .segmented.two { display: grid; grid-template-columns: 1fr 1fr; }
.pay-mode .segmented button.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.gift-box { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface-2); }
.gift-box > p { margin: 0; }
.gift-amounts { display: grid; gap: 8px; }
.gift-amounts label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.gift-amounts label.on { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(109, 41, 57, 0.1); }
.gift-amounts label span { display: grid; gap: 1px; }
.gift-amounts label small { color: var(--muted); }
.gift-amounts input { accent-color: var(--wine); width: 18px; height: 18px; }
.gift-emoji { font-size: 52px; line-height: 1; }
.gift-ready .success-mark-wrap { width: auto; height: auto; }
.gift-thanks { grid-template-columns: 1fr; width: min(440px, 100%); }
.gift-thanks-body { display: grid; justify-items: center; gap: 12px; padding: 40px 26px 30px; text-align: center; }
.gift-thanks-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin: 0; }
.gift-thanks-body p { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------------------
   Booking on phones: more room for the content, the recap reads label-over-value,
   nothing runs off the right edge, buttons that fit their labels
   --------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .booking-card { border-radius: 20px; }
  .stepper { padding: 12px 14px; }
  .step { padding: 20px 16px; }
  .step.active { gap: 18px; }
  .step-title h3 { font-size: 26px; }
  .step-title p { font-size: 15.5px; }
  .recap { border-radius: 14px; }
  .recap div { flex-direction: column; gap: 2px; padding: 11px 14px; }
  .recap dt { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; }
  .recap dd { text-align: left; font-size: 16px; }
  .note, .check { font-size: 15px; }
  .check input { width: 22px; height: 22px; margin-top: 1px; }
  .pay-mode .segmented.two button { justify-content: center; text-align: center; min-height: 54px; padding: 8px 10px; font-size: 15px; }
  .step-nav { padding: 14px 16px; align-items: center; }
  .step-nav #bookingBack { flex: none; padding: 0 12px; }
  .step-nav #bookingNext { flex: 1; min-height: 54px; white-space: normal; line-height: 1.25; text-align: center; }
}

/* Phones: while the booking is on screen, "Retour / Continuer / Payer" stays pinned to the
   bottom of the screen, and the chat button steps aside instead of covering it. */
@media (max-width: 820px) {
  /* clip (not hidden) so the sticky bar sticks to the screen; older browsers keep hidden. */
  .booking-card { overflow: clip; }
  .step-nav { position: sticky; bottom: 0; z-index: 6; padding-bottom: calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 24px -18px rgba(58, 21, 32, 0.45); }
  .chat-fab { transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0.25s; }
  body.in-booking .chat-fab { opacity: 0; transform: scale(0.6); pointer-events: none; visibility: hidden; }
}

/* ---------------------------------------------------------------------------
   Booking review ("Vérifiez et envoyez"): three blocks with « Modifier », the amount due in
   large type, the payment details on demand. Phones: "Étape X sur 5" pinned under the header,
   and one line (style · day · total) instead of the side summary.
   --------------------------------------------------------------------------- */
.title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.round-share { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--wine); display: grid; place-items: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.round-share:hover { border-color: var(--wine); background: var(--wine-soft); }
.round-share .icon { width: 19px; height: 19px; }
.recap-groups { display: grid; gap: 10px; }
.recap-group { display: grid; gap: 3px; min-width: 0; padding: 12px 16px 14px; border: 1px solid var(--line); border-radius: 16px; }
.recap-group header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.recap-group header span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.recap-group header .link-btn { font-size: 14.5px; padding: 6px 0 6px 12px; }
.recap-main { margin: 0; font-weight: 600; font-size: 16.5px; overflow-wrap: anywhere; }
.recap-sub { margin: 0; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.recap-note { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; font-style: italic; overflow-wrap: anywhere; }
.recap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0 0; }
.recap-chips span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.recap-chips small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pay-box { display: grid; gap: 8px; padding: 14px 18px; border-radius: 16px; background: var(--wine-deep); color: #f8ece6; }
.pay-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.pay-line > span:last-child { text-align: right; }
.pay-box .pay-line s { color: rgba(248, 236, 230, 0.6); text-decoration-color: #f3c56b; margin-right: 4px; }
.pay-line.promo { color: #f3c56b; }
.pay-now { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.pay-now > span { display: grid; gap: 1px; font-weight: 600; }
.pay-now small { font-size: 13px; font-weight: 400; color: rgba(248, 236, 230, 0.72); }
.pay-now strong { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; color: #f1d7a6; white-space: nowrap; }
.pay-mode-label { margin: 0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.note.good-to-know strong { display: block; }
.secure-line { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.secure-line .icon { margin-top: 4px; color: var(--wine); flex: none; }
.secure-line .link-btn { font-size: inherit; }
.secure-more { margin: -12px 0 0 25px; font-size: 14px; color: var(--ink-2); }
.segmented.pair { grid-template-columns: 1fr 1fr; }
.to-confirm { padding-top: 4px; }
.stepper-phone, .booking-mini { display: none; }

@media (max-width: 560px) {
  /* The side summary becomes the one line under the step bar. */
  .summary { display: none; }
  .stepper { position: sticky; top: var(--header-h, 72px); z-index: 7; display: block; overflow: visible; padding: 10px 16px 11px; background: var(--surface); }
  .stepper > button, .progress { display: none; }
  .stepper.finished { display: none; }
  .stepper-phone { display: grid; gap: 7px; }
  .stepper-phone p { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14.5px; }
  .stepper-phone p strong { white-space: nowrap; }
  .stepper-phone p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); white-space: nowrap; }
  .stepper-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
  .stepper-bar i { height: 4px; border-radius: 2px; background: var(--surface-2); }
  .stepper-bar i.on { background: var(--wine); }
  .booking-mini { display: block; padding: 12px 16px 0; }
  .booking-mini:empty { display: none; }
  .mini-toggle { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-size: 14px; text-align: left; cursor: pointer; }
  .mini-toggle span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mini-toggle b { color: var(--ink); font-size: 15px; white-space: nowrap; }
  .mini-toggle .icon { transform: rotate(90deg); transition: transform 0.2s var(--ease); }
  .mini-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
  .mini-detail { margin: 6px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 6px; font-size: 14px; }
  .mini-detail div { display: flex; justify-content: space-between; gap: 12px; }
  .mini-detail dt { color: var(--muted); }
  .mini-detail dt { min-width: 0; }
  .mini-detail dd { margin: 0; text-align: right; font-weight: 600; white-space: nowrap; }
  .segmented.pair { grid-template-columns: 1fr 1fr; }
  .segmented.pair button { justify-content: center; text-align: center; padding: 8px 10px; }
  .recap-group { padding: 11px 14px 13px; }
  .pay-box { padding: 14px 16px; }
  .pay-now strong { font-size: 28px; }
  /* The "install the app" card waits: it would cover the pinned Payer bar. */
  body.in-booking .pwa-install-card { display: none; }
}
