/*
  Hollis & Juno, a demo. The Colour Bar direction from profiles/salon.md, pushed as far as the founder
  asked on 2026-09-28: bright, colourful, feminine, and far livelier than the barber shop.

  Soft italic serif headings, round pills, floating colour shapes, chips that each take a different
  colour, swatches that lift. Every colour comes from a checked palette through the starter's custom
  properties; the shapes use only the palette's decorative bands and detail. Motion stops for anyone
  whose device asks for less. Phone first; wider rules sit below the rules they change.
*/

:root {
  --bg: #FFF6F8;
  --surface: #FFFFFF;
  --text: #2B1420;
  --muted: #6B4A5A;
  --primary: #C81D63;
  --accent: #C81D63;
  --accent-text: #FFFFFF;
  --border: #F3CFDD;
  --focus: #C81D63;
  --band-1: #FFD9CC;
  --band-2: #D4F4E8;
  --detail: #FF8A3D;

  --soft: color-mix(in srgb, var(--accent) 14%, var(--surface));
  --gutter: 16px;
  --round: 28px;
  --display: "Fraunces", Georgia, serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-text-size-adjust: 100%;
  padding-bottom: 76px;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 700; font-style: italic; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; font-style: italic; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 12px; }
.intro { color: var(--muted); max-width: 34em; }
.note { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

/* The sample ribbon stays on every screen. */
.preview-ribbon {
  position: sticky; top: 0; z-index: 30;
  padding: 8px var(--gutter);
  background: var(--text); color: var(--bg);
  font-size: 15px; font-weight: 700; line-height: 1.35;
}
.offer {
  margin: 0; padding: 10px var(--gutter);
  background: linear-gradient(90deg, var(--band-1), var(--band-2));
  font-size: 15px; font-weight: 500; text-align: center;
}
.showing { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px var(--gutter); font-size: 15px; color: var(--muted); }
.showing-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.palette-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.palette-switch button {
  font: 500 15px/1 var(--body); min-height: 36px; min-width: 36px; padding: 0 12px;
  border: 2px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer;
}
.palette-switch button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { position: relative; width: 44px; height: 44px; }
.brand-mark i { position: absolute; width: 26px; height: 26px; border-radius: 50%; mix-blend-mode: multiply; }
.brand-mark i:nth-child(1) { left: 0; top: 0; background: var(--accent); }
.brand-mark i:nth-child(2) { right: 0; top: 4px; background: var(--detail); }
.brand-mark i:nth-child(3) { left: 8px; bottom: 0; background: var(--band-2); }
.brand-logo { width: 48px; height: 48px; display: block; }
.footer-logo { width: 130px; height: auto; margin: 0 0 14px; }
.brand-words { display: flex; flex-direction: column; }
.brand-name { font: italic 700 22px/1 var(--display); }
.brand-tag { font-size: 15px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.topnav { display: none; gap: 22px; }
.topnav a { text-decoration: none; font-weight: 500; }
.topnav a:hover { color: var(--accent); }

main { padding: 0 var(--gutter); max-width: 1120px; margin: 0 auto; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-text);
  font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 38%, transparent); }
.pill.ghost { background: var(--surface); color: var(--accent); box-shadow: none; }
.pill.small { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Hero, with colour shapes that drift. */
.hero { position: relative; padding: 34px 0 44px; isolation: isolate; overflow: clip; }  /* the shapes never widen the page (LESSONS: sideways scroll at 375) */
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blobs span { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; animation: drift 14s ease-in-out infinite alternate; }
.blobs .b1 { width: 220px; height: 220px; right: -30px; top: -10px; background: var(--band-1); }
.blobs .b2 { width: 140px; height: 140px; right: 90px; top: 150px; background: var(--band-2); animation-delay: -4s; }
.blobs .b3 { width: 70px; height: 70px; right: 40px; top: 250px; background: var(--detail); opacity: .65; animation-delay: -8s; }
.blobs .b4 { width: 110px; height: 110px; left: -40px; bottom: 10px; background: var(--soft); animation-delay: -2s; }
/* Circles drifting behind the whole page (founder, 2026-09-28). Fixed and clipped to the screen, so they
   never widen the page or catch a tap; palette colours only; still for reduced motion. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; opacity: .45; filter: blur(3px); animation: roam 34s ease-in-out infinite alternate; }
.ambient span:nth-child(1) { width: 260px; height: 260px; left: -60px; top: 12%; background: var(--band-1); }
.ambient span:nth-child(2) { width: 180px; height: 180px; right: -40px; top: 38%; background: var(--band-2); animation-duration: 41s; animation-delay: -9s; }
.ambient span:nth-child(3) { width: 90px; height: 90px; left: 30%; top: 64%; background: var(--detail); opacity: .3; animation-duration: 29s; animation-delay: -15s; }
.ambient span:nth-child(4) { width: 220px; height: 220px; right: 10%; top: 82%; background: var(--soft); animation-duration: 46s; animation-delay: -4s; }
.ambient span:nth-child(5) { width: 130px; height: 130px; left: 55%; top: 4%; background: var(--band-2); animation-duration: 37s; animation-delay: -21s; }
@keyframes roam {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(18vw, -10vh) scale(1.12); }
  100% { transform: translate(-8vw, 14vh) scale(.92); }
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-14px, 18px) scale(1.08); } }
.kicker { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); box-shadow: 0 4px 14px color-mix(in srgb, var(--text) 8%, transparent);
  font-size: 15px; font-weight: 500;
}
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status.is-open .dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.lead { font-size: 19px; max-width: 32em; margin-top: 1em; }
.hero-photo { margin: 26px 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--round); box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 25%, transparent); }

/* Bands with a big soft curve. */
.card-band { background: var(--surface); border-radius: var(--round); padding: 28px 20px; margin: 0 0 30px; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 10%, transparent); }

/* What will it cost? */
.picker-label { font-weight: 700; margin: 16px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 8px 16px; border-radius: 999px; background: var(--bg); border: 2px solid var(--border); cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-name { font-weight: 700; line-height: 1.2; }
.chip-hint { font-size: 15px; color: var(--muted); line-height: 1.2; }
.chip:hover { transform: translateY(-1px); }
.chip:nth-child(3n+1).is-on { background: var(--band-1); border-color: var(--accent); }
.chip:nth-child(3n+2).is-on { background: var(--band-2); border-color: var(--accent); }
.chip:nth-child(3n).is-on { background: var(--soft); border-color: var(--accent); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.result { margin: 22px 0 18px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--band-1), var(--band-2)); }
.result-service { font-weight: 700; margin: 0 0 4px; }
.result-price { font: italic 700 clamp(2.2rem, 10vw, 3rem)/1.05 var(--display); color: var(--text); margin: 0 0 6px; }
.result-time { margin: 0 0 14px; }
.changes h3 { margin-top: 6px; }
.changes ul { margin: 0; padding-left: 1.2em; }
.changes li { margin-bottom: 6px; }
.changes li::marker { color: var(--accent); }

/* The colour wall */
.colourwall { padding: 10px 0 30px; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: 22px; border: 2px solid transparent; background: var(--surface); cursor: pointer; font: 500 15px/1.2 var(--body); color: var(--text); transition: transform .2s ease, border-color .2s ease; }
.swatch-dot { width: 58px; height: 58px; border-radius: 50%; background: var(--shade); box-shadow: inset 0 -6px 10px rgba(0,0,0,.12), 0 6px 14px color-mix(in srgb, var(--shade) 45%, transparent); }
.swatch:hover, .swatch.is-on { transform: translateY(-4px) rotate(-2deg); border-color: var(--accent); }
.who { margin: 16px 0 0; font: italic 600 22px/1.3 var(--display); color: var(--accent); min-height: 1.3em; }

/* The stylists */
.stylists { padding: 10px 0 30px; }
.stylist-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stylist { position: relative; background: var(--surface); border-radius: var(--round); padding: 22px 20px; text-align: center; }
.stylist-face { width: 128px; height: 128px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 5px solid var(--surface); box-shadow: 0 0 0 4px var(--band-1), 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent); background: linear-gradient(135deg, var(--band-1), var(--band-2)); }
.stylist:nth-child(2) .stylist-face { box-shadow: 0 0 0 4px var(--band-2), 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.stylist:nth-child(3) .stylist-face { box-shadow: 0 0 0 4px var(--detail), 0 10px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
.stylist-face img { width: 100%; height: 100%; object-fit: cover; }
.stylist-initial { font: italic 700 56px/1 var(--display); color: var(--accent); }
.stylist h3 { font-size: 1.6rem; font-style: italic; margin: 0; }
.stylist-known { font-weight: 700; color: var(--accent); margin: 4px 0; }
.stylist-bio { font-style: italic; margin: 10px 0; }
.stylist-for { font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.stylist-days { color: var(--muted); font-size: 15px; }
.owner { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--band-1); font: 700 15px/1.4 var(--body); font-style: normal; vertical-align: middle; }
.badge { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 15px; font-weight: 700; }
.badge.is-today { background: var(--accent); color: var(--accent-text); }
.book-steps { text-align: left; max-width: 900px; margin: 22px auto; }
.book-steps .step-num { background: var(--surface); }

/* Your first visit */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--band-1); font: italic 700 22px/1 var(--display); color: var(--accent); }
.step:nth-child(2) .step-num { background: var(--band-2); }
.step:nth-child(3) .step-num { background: var(--soft); }
.step h3 { margin: 10px 0 4px; }
.step p { margin: 0; color: var(--muted); }

.book { text-align: center; padding: 30px 20px; margin: 0 0 30px; border-radius: var(--round); background: linear-gradient(135deg, var(--band-1), var(--soft) 55%, var(--band-2)); }
.book .actions { justify-content: center; }
.book-note { margin: 18px auto 0; max-width: 32em; padding: 12px 16px; border-radius: 16px; background: var(--surface); font-size: 15px; }

.visit { padding: 10px 0 34px; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { background: var(--surface); border-radius: 18px; padding: 14px 16px; }
.facts dt { font-weight: 700; color: var(--accent); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; }

.footer { max-width: 1120px; margin: 0 auto; padding: 22px var(--gutter) 28px; font-size: 15px; color: var(--muted); }
.footer-name { color: var(--text); font-weight: 500; }
.made-by { font-weight: 700; }

/* Call and Book, pinned to the bottom of a phone screen. */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.action-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; border: 2px solid var(--accent); color: var(--accent); background: var(--surface); text-decoration: none; font-weight: 700; }
.action-bar a:last-child { background: var(--accent); color: var(--accent-text); }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blobs span, .ambient span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pill, .chip, .swatch { transition: none; }
}

@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .topnav { display: flex; }
  .showing-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .hero { padding: 64px 0 70px; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
  .hero-words { max-width: 640px; }
  .hero-photo { margin: 0; }
  .blobs .b1 { width: 380px; height: 380px; right: 20px; top: 10px; }
  .blobs .b2 { width: 220px; height: 220px; right: 260px; top: 250px; }
  .blobs .b3 { width: 110px; height: 110px; right: 120px; top: 330px; }
  .card-band { padding: 40px; }
  .estimate { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 36px; }
  .estimate > h2, .estimate > .intro { grid-column: 1 / -1; }
  .estimate .result { grid-column: 2; grid-row: 3; align-self: start; margin-top: 16px; }
  .estimate .changes { grid-column: 1 / -1; }
  .swatches { grid-template-columns: repeat(9, 1fr); }
  .stylist-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .stylist-grid { grid-template-columns: repeat(4, 1fr); }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
}
