/* Pattern Play: butter-cream paper, chunky green lettering, hot pink, orange and
   light blue blocks, sticker shapes and a lot of movement. */
:root {
  --cream: #fdf3c9;
  --paper: #fffaf0;
  --green: #0c8a4a;
  --ink: #0a3d24;
  --pink: #d6337f;
  --pink-soft: #f9b4d2;
  --orange: #f7931e;
  --blue: #a5d8ea;
  --yellow: #ffd54a;
  --red: #e5432d;
  --mauve: #b1437a;
  --muted: #4d6b5a;
  --plum: var(--ink);
  --radius: 30px;
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --logo: 'Bowlby One', 'Anton', Impact, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Space Mono', ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 5vw, 64px);
  --bounce: cubic-bezier(0.3, 1.7, 0.5, 1);
  --sy: 0; /* scroll position in px, set by site.js; stickers turn with it */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  /* "clip" rather than "hidden": hidden would turn the page into its own scroll box and stop the menu from staying at the top. */
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 0.8rem; }
a { color: inherit; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

.progress { position: fixed; left: 0; top: 0; height: 5px; width: 0; z-index: 30; background: linear-gradient(90deg, var(--green), var(--pink), var(--orange), var(--blue)); }

/* Stickers */
.sticker { width: var(--size, 70px); height: var(--size, 70px); overflow: visible; fill: var(--c, var(--pink)); stroke: var(--c, var(--pink)); rotate: calc(var(--sy) * 0.12deg); }
.s-pink { --c: var(--pink); }
.s-orange { --c: var(--orange); }
.s-green { --c: var(--green); }
.s-blue { --c: var(--blue); }
.s-yellow { --c: var(--yellow); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 999px; border: 2.5px solid transparent;
  font: 700 0.95rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--bounce), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--ink); }
.btn-primary:hover { transform: translateY(-4px) rotate(-2deg); box-shadow: 0 10px 0 var(--ink); background: var(--pink); }
.btn-primary:active { transform: translateY(4px) scale(0.97); box-shadow: 0 2px 0 var(--ink); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { transform: translateY(-4px) rotate(2deg); background: var(--yellow); }
.btn-ghost:active { transform: scale(0.96); }
.btn:disabled { opacity: 0.6; cursor: default; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 1.4rem;
  padding: 0.7rem var(--gutter);
  background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px);
  transition: padding 0.3s, box-shadow 0.3s;
}
/* Once the page scrolls, the menu tightens up and floats over the content. */
.nav.scrolled { padding-block: 0.45rem; box-shadow: 0 6px 0 rgba(10, 61, 36, 0.12); }
.brand { font: 400 1.5rem/1 var(--logo); color: var(--green); text-decoration: none; text-transform: uppercase; margin: 0; transition: transform 0.4s var(--bounce); }
.brand:hover { transform: rotate(-4deg) scale(1.06); }
.nav-links { display: flex; gap: 0.4rem; margin-left: auto; }
.nav-links a { text-decoration: none; font: 700 0.8rem var(--mono); text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; transition: background 0.2s, transform 0.35s var(--bounce), color 0.2s; }
.nav-links a:hover { transform: rotate(-3deg) scale(1.08); }
.nav-links a:nth-child(4n + 1):hover { background: var(--pink); color: #fff; }
.nav-links a:nth-child(4n + 2):hover { background: var(--yellow); }
.nav-links a:nth-child(4n + 3):hover { background: var(--blue); }
.nav-links a:nth-child(4n + 4):hover { background: var(--orange); }
.nav-book { padding: 0.55rem 1.2rem; box-shadow: 0 4px 0 var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ink); margin: 6px 0; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  max-width: 1320px; margin: 0 auto;
}
.hero-copy { position: relative; z-index: 1; }
.tag { display: inline-block; font: 700 0.85rem var(--mono); background: var(--blue); padding: 0.35rem 0.9rem; border-radius: 999px; rotate: -2deg; margin-bottom: 1.2rem; animation: dropIn 0.7s var(--bounce) both; }
.logo { font: 400 clamp(3.4rem, 10.5vw, 8rem)/0.88 var(--logo); color: var(--green); letter-spacing: -0.02em; }
/* Each letter is its own span so the name can bounce in and wave. */
.logo .word { display: inline-block; white-space: nowrap; }
.logo .ch { display: inline-block; animation: letterIn 0.8s var(--bounce) both, wave 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.06s), calc(1s + var(--i) * 0.12s); transition: color 0.2s; }
.logo .ch:nth-child(odd) { rotate: -2.5deg; }
.logo .ch:nth-child(even) { rotate: 2deg; }
.logo .ch:hover { color: var(--pink); }
.sublogo { margin: 0.6rem 0 0; animation: dropIn 0.7s 0.7s var(--bounce) both; }
.sublogo span { display: inline-block; font: 400 clamp(1.2rem, 2.6vw, 1.9rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.3em; color: #fff; background: var(--pink); padding: 0.4rem 0.7rem 0.4rem 1rem; border-radius: 12px; rotate: 1.5deg; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 29rem; margin: 1.6rem 0 1.8rem; animation: rise 0.8s 0.8s both; }
.lead b { display: block; font: 700 0.9rem var(--mono); margin-top: 0.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; animation: rise 0.8s 0.95s both; }

/* Wall-art squiggles floating around the hero. */
.squiggles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: clip; }
.squiggles svg { position: absolute; left: var(--x); top: var(--y); width: var(--w); overflow: visible; rotate: var(--r); animation: wiggle var(--t) ease-in-out infinite alternate; }
.squiggles path { fill: none; stroke: var(--c); stroke-width: 15; stroke-linecap: round; }

.hero-play { position: relative; display: grid; justify-items: center; gap: 1rem; z-index: 1; animation: dropIn 0.9s 0.3s var(--bounce) both; }
.burst-bg { --size: min(96%, 440px); --c: var(--yellow); position: absolute; top: 2%; left: 50%; translate: -50% 0; aspect-ratio: 1; height: auto; animation: spin 40s linear infinite; rotate: none; }
.deco { position: absolute; z-index: 2; animation: bob 4s ease-in-out infinite; }
.d1 { --c: var(--orange); --size: 62px; left: 4%; top: 12%; }
.d2 { --c: var(--pink); --size: 74px; right: 2%; top: 4%; animation-delay: -1.3s; }
.d3 { --c: var(--blue); --size: 48px; right: 8%; bottom: 30%; animation-delay: -2.4s; }

.polish { --c: var(--pink); position: relative; width: min(82%, 360px); height: auto; overflow: visible; }
.polish .liquid { fill: var(--c); transition: fill 0.6s; }
.polish .shine { fill: #fff; opacity: 0.55; }
.polish .bottle-art { filter: drop-shadow(0 16px 0 rgba(10, 61, 36, 0.16)); animation: float 5s ease-in-out infinite; transform-box: view-box; }
.polish .label { font: 400 26px var(--display); letter-spacing: 0.06em; fill: var(--ink); }
.polish .stroke { fill: none; stroke: var(--c); stroke-width: 54; stroke-linecap: round; stroke-dasharray: 100; transition: stroke 0.6s; }
.polish .stroke-shine { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: 0.5; stroke-dasharray: 100; }
.polish.swipe .stroke { animation: draw 1s cubic-bezier(0.4, 0, 0.2, 1); }
.polish.swipe .stroke-shine { animation: draw 1s 0.2s cubic-bezier(0.4, 0, 0.2, 1) backwards; }

.shelf { position: relative; text-align: center; z-index: 2; }
.bottles { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; padding: 0.55rem 0.9rem; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 var(--ink); }
.bottle {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2.5px solid var(--ink); background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0 10%, transparent 24%), var(--c);
  transition: transform 0.35s var(--bounce);
}
.bottle:hover { transform: scale(1.2) rotate(-10deg); }
.bottle.selected { transform: scale(1.3) translateY(-5px); }
.hint { font: 400 0.82rem var(--mono); margin: 0.9rem 0 0; }
.hint b { background: var(--yellow); padding: 0.1rem 0.5rem; border-radius: 6px; }

/* Marquee bands */
.marquee { position: relative; overflow-x: clip; background: var(--mauve); color: var(--pink-soft); rotate: -1deg; scale: 1.03; margin: 1rem 0; }
.marquee.alt { background: var(--green); color: var(--cream); rotate: 1deg; }
.marquee-track { display: flex; width: max-content; padding: 0.55rem 0; animation: scroll 30s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 400 clamp(1.3rem, 3vw, 2rem) var(--display); text-transform: uppercase; letter-spacing: 0.04em; padding: 0 0.9rem; white-space: nowrap; }
.marquee-track i { font-style: normal; display: inline-block; color: var(--yellow); margin-left: 0.9rem; animation: spin 6s linear infinite; }

/* Numbers strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0; }
.stats div { text-align: center; padding: 1.3rem 1rem; border-radius: var(--radius); transition: transform 0.4s var(--bounce); }
.stats div:hover { transform: rotate(-3deg) scale(1.05); }
.stats div:nth-child(1) { background: var(--green); color: #fff; }
.stats div:nth-child(2) { background: var(--blue); }
.stats div:nth-child(3) { background: var(--pink); color: #fff; }
.stats div:nth-child(4) { background: var(--orange); }
.stats b { display: block; font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.stats span { font: 700 0.78rem var(--mono); text-transform: uppercase; }

/* Sections */
.section { position: relative; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.head { position: relative; margin-bottom: clamp(1.8rem, 4vw, 3rem); text-align: center; }
.head .sticker { position: absolute; left: calc(50% - min(44vw, 330px)); top: -26px; --size: clamp(54px, 9vw, 92px); z-index: 1; }
.head h2 { position: relative; display: inline-block; z-index: 2; }
.pill { display: inline-block; padding: 0.12em 0.45em 0.06em; border-radius: 0.32em; rotate: -2deg; transition: rotate 0.5s var(--bounce); }
.head:hover .pill { rotate: 2deg; }
.pill.blue { background: var(--blue); color: var(--red); }
.pill.pink { background: var(--pink); color: var(--cream); }
.pill.yellow { background: var(--yellow); color: var(--green); }
.pill.green { background: var(--green); color: var(--yellow); }
.pill.orange { background: var(--orange); color: var(--ink); }
.sub { font: 400 0.9rem var(--mono); margin-top: 1rem; }

/* Price list: coloured blocks like the salon's own price cards. */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.4rem; align-items: start; }
.menu-cat { --bg: var(--green); --fg: #fff; --tagbg: var(--cream); background: var(--bg); color: var(--fg); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.2rem; transition: transform 0.45s var(--bounce), box-shadow 0.3s; }
.menu-cat:nth-child(4n + 2) { --bg: var(--blue); --fg: var(--ink); --tagbg: var(--paper); }
.menu-cat:nth-child(4n + 3) { --bg: var(--pink); --fg: #fff; }
.menu-cat:nth-child(4n + 4) { --bg: var(--orange); --fg: var(--ink); --tagbg: var(--paper); }
.menu-cat:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 14px 0 rgba(10, 61, 36, 0.18); }
.menu-cat:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.menu-cat h3 { font-size: 2.3rem; margin-bottom: 0.9rem; }
.menu-item {
  display: block; text-align: left; padding: 0.7rem 0.8rem; margin: 0 -0.8rem; width: calc(100% + 1.6rem);
  background: none; border: 0; border-top: 2px dashed color-mix(in srgb, var(--fg) 35%, transparent); border-radius: 14px;
  font: inherit; color: inherit; cursor: pointer; transition: background 0.25s, transform 0.35s var(--bounce);
}
.menu-item:hover { background: color-mix(in srgb, var(--fg) 14%, transparent); transform: translateX(6px); }
.menu-row { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.03em; }
.menu-row .dots { flex: 1; }
.menu-price { white-space: nowrap; font: 700 0.9rem var(--mono); background: var(--tagbg); color: var(--ink); padding: 0.12rem 0.6rem; border-radius: 999px; transition: transform 0.35s var(--bounce); }
.menu-item:hover .menu-price { transform: rotate(-6deg) scale(1.12); }
.menu-item small { display: block; font-size: 0.9rem; opacity: 0.92; margin-top: 0.2rem; }
.menu-item .go { float: right; font: 700 0.8rem var(--mono); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s, transform 0.25s; }
.menu-item:hover .go, .menu-item:focus-visible .go { opacity: 1; transform: none; }
.vat { text-align: center; font: 400 0.82rem var(--mono); margin-top: 1.6rem; }

/* Nail techs */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; }
.card { background: var(--paper); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.6rem; text-align: center; box-shadow: 0 8px 0 rgba(10, 61, 36, 0.14); transition: transform 0.45s var(--bounce); }
.card:hover { transform: translateY(-10px) rotate(-2deg); }
[data-reveal]:nth-child(even) > .card:hover { transform: translateY(-10px) rotate(2deg); }
.card .portrait { position: relative; display: grid; place-items: center; aspect-ratio: 1; margin: 0 auto 1rem; width: 150px; }
.card .portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--c); stroke: var(--c); transition: rotate 0.8s var(--bounce); }
.card:hover .portrait svg { rotate: 72deg; }
.card .portrait span { position: relative; font: 400 3.4rem/1 var(--logo); color: #fff; }
.card h3 { font-size: 2rem; color: var(--green); }
.card .specialty { display: inline-block; font: 700 0.72rem var(--mono); text-transform: uppercase; background: var(--yellow); padding: 0.15rem 0.6rem; border-radius: 999px; margin: 0.5rem 0 0.7rem; }
.card p { font-size: 0.96rem; margin: 0; }
.avatar { display: grid; place-items: center; border-radius: 50%; font: 400 1.2rem/1 var(--logo); color: #fff; width: 46px; height: 46px; flex: none; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.3rem; }
.look { background: var(--paper); border-radius: 24px; padding: 1.6rem 1rem 1rem; text-align: center; box-shadow: 0 7px 0 rgba(10, 61, 36, 0.14); transition: transform 0.45s var(--bounce); }
.look:nth-child(3n + 1) { rotate: -2deg; }
.look:nth-child(3n + 2) { rotate: 1.5deg; }
.look:hover { transform: translateY(-8px) scale(1.04); rotate: 0deg; }
.look-nails { display: flex; justify-content: center; align-items: flex-end; gap: 6px; height: 82px; }
.look-nails span {
  width: 20px; height: 68px; border-radius: 50% 50% 6px 6px / 72% 72% 6px 6px; border: 2px solid var(--ink);
  transform-origin: bottom; animation: nailWave 2.4s ease-in-out infinite; animation-delay: calc(var(--n) * 0.12s);
}
.look-nails span:nth-child(1), .look-nails span:nth-child(5) { height: 50px; }
.look-nails span:nth-child(2), .look-nails span:nth-child(4) { height: 61px; }
.look p { margin: 0.9rem 0 0; font: 700 0.8rem var(--mono); text-transform: uppercase; }

.gallery.photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); grid-auto-flow: dense; }
.photo { margin: 0; overflow: hidden; background: var(--paper); border-radius: 24px; padding: 8px; box-shadow: 0 7px 0 rgba(10, 61, 36, 0.14); transition: transform 0.45s var(--bounce); }
.photo:nth-child(odd):hover { transform: translateY(-8px) rotate(-2deg); }
.photo:nth-child(even):hover { transform: translateY(-8px) rotate(2deg); }
.photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.photo:nth-child(5n + 1) { grid-row: span 2; }
.photo:nth-child(5n + 1) img { aspect-ratio: auto; height: calc(100% - 2.2rem); min-height: 300px; }
.photo:nth-child(5n + 1):not(:has(figcaption)) img { height: 100%; }
.photo figcaption { padding: 0.5rem 0.4rem 0.1rem; font: 700 0.8rem var(--mono); text-transform: uppercase; text-align: center; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.review { margin: 0; padding: 1.6rem; border-radius: var(--radius); background: var(--blue); transition: transform 0.45s var(--bounce); }
.review:nth-child(3n + 2) { background: var(--pink); color: #fff; }
.review:nth-child(3n + 3) { background: var(--yellow); }
.review:hover { transform: rotate(-2deg) scale(1.03); }
.review blockquote { margin: 0.5rem 0 0.9rem; font: 400 1rem/1.6 var(--mono); }
.review figcaption { font: 400 1.5rem var(--display); text-transform: uppercase; }
.stars { letter-spacing: 0.15em; margin: 0; }
.stars span { opacity: 0.3; }

/* Booking */
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.3rem; max-width: 1060px; align-items: start; }
.ticket:has(.stub[hidden]) { grid-template-columns: 1fr; max-width: 720px; }
.wizard { background: var(--paper); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2.4rem); min-width: 0; box-shadow: 0 9px 0 rgba(10, 61, 36, 0.14); }
.stub { position: sticky; top: 90px; background: var(--green); color: #fff; border-radius: var(--radius); padding: 1.9rem 1.5rem 1.3rem; box-shadow: 0 9px 0 var(--ink); }
.stub-sticker { --c: var(--orange); --size: 64px; position: absolute; right: -16px; top: -22px; animation: spin 14s linear infinite; rotate: none; }
.stub-title { font: 400 1.9rem/1 var(--display); text-transform: uppercase; color: var(--yellow); margin-bottom: 0.8rem; }
.stub dl { margin: 0; display: grid; gap: 0.15rem; }
.stub dt { font: 700 0.7rem var(--mono); text-transform: uppercase; opacity: 0.8; margin-top: 0.7rem; }
.stub dd { margin: 0; font-weight: 700; font-size: 1.05rem; min-height: 1.7rem; }
.stub dd.set { animation: pop 0.5s var(--bounce); }
.stub-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed rgba(255, 255, 255, 0.5); margin: 1.2rem 0 0.8rem; padding-top: 0.9rem; font: 700 0.8rem var(--mono); text-transform: uppercase; }
.stub-price b { font: 400 2rem var(--display); color: var(--yellow); }
.stub-note { font: 400 0.85rem var(--mono); text-align: center; margin: 0; }

.steps { list-style: none; display: flex; gap: 0.5rem; padding: 0; margin: 0 0 1.8rem; counter-reset: step; }
.steps li { flex: 1; counter-increment: step; font: 700 0.72rem var(--mono); text-transform: uppercase; color: var(--muted); padding-top: 0.6rem; border-top: 6px solid color-mix(in srgb, var(--ink) 14%, transparent); border-radius: 3px; transition: border-color 0.4s; }
.steps li::before { content: counter(step) '. '; }
.steps li.active { color: var(--ink); border-color: var(--pink); }
.steps li.complete { border-color: var(--green); }
.step { animation: stepIn 0.5s var(--bounce); }
.step h3 { margin-bottom: 1rem; font-size: 2.1rem; color: var(--green); }
.options { display: grid; gap: 0.6rem; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.cat-tab { font: 400 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; padding: 0.45rem 0.9rem 0.35rem; border: 0; border-radius: 12px; background: var(--cream); color: var(--ink); cursor: pointer; transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s; }
.cat-tab:hover { transform: rotate(-3deg) scale(1.08); background: var(--yellow); }
.cat-tab.active { background: var(--blue); color: var(--red); rotate: -2deg; }
.options .opt { animation: pop 0.4s var(--bounce) backwards; animation-delay: calc(var(--i, 0) * 0.04s); }
.addons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.addon { font: 700 0.8rem var(--mono); padding: 0.45rem 0.9rem; border: 2.5px solid transparent; border-radius: 999px; background: var(--cream); color: var(--ink); cursor: pointer; transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s; }
.addon b { opacity: 0.75; }
.addon:hover { transform: scale(1.06) rotate(-2deg); background: var(--yellow); }
.addon.on { background: var(--pink); color: #fff; }
.addon.on::before { content: '✓ '; }
.cat-count { display: inline-grid; place-items: center; min-width: 1.3em; height: 1.3em; margin-left: 0.2em; border-radius: 999px; background: var(--pink); color: #fff; font: 700 0.75rem var(--mono); }
.opt.pick .tick-box { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--ink); font: 700 1rem var(--mono); transition: transform 0.35s var(--bounce), background 0.2s; }
.opt.pick.on { background: var(--green); color: #fff; }
.opt.pick.on .tick-box { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(-8deg) scale(1.1); }
.opt.pick.on .opt-main small { opacity: 0.85; }
.opt.pick.on:hover { background: var(--green); color: #fff; }
.basket { position: sticky; bottom: 12px; z-index: 3; margin-top: 1rem; }
.basket-items { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.basket-chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.4rem 0.3rem 0.8rem; border-radius: 999px; background: var(--yellow); font: 700 0.78rem var(--mono); animation: pop 0.4s var(--bounce); }
.basket-chip button { border: 0; background: var(--ink); color: var(--yellow); width: 20px; height: 20px; border-radius: 50%; cursor: pointer; font-size: 0.65rem; }
.basket-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.7rem 0.7rem 0.7rem 1.2rem; background: var(--ink); color: var(--cream); border-radius: 999px; box-shadow: 0 8px 0 rgba(10, 61, 36, 0.2); font: 400 0.85rem var(--mono); }
.basket-bar b { color: var(--yellow); }
.basket-bar .btn-primary { background: var(--pink); box-shadow: 0 4px 0 #000; }
.basket-hint { font: 400 0.8rem var(--mono); color: var(--muted); margin: 0.6rem 0 0; }
.opt-cat { display: inline-block; justify-self: start; font: 400 1.25rem/1 var(--display); text-transform: uppercase; background: var(--blue); color: var(--red); padding: 0.25rem 0.7rem 0.15rem; border-radius: 8px; rotate: -1.5deg; margin: 0.9rem 0 0.1rem; }
.opt {
  display: flex; align-items: center; gap: 0.9rem; width: 100%;
  text-align: left; padding: 0.8rem 1.1rem;
  background: var(--cream); border: 2.5px solid transparent; border-radius: 18px;
  font: inherit; color: inherit; cursor: pointer; transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s;
}
.opt:hover { background: var(--pink); color: #fff; transform: translateX(6px) rotate(-0.6deg); }
.opt .opt-main { flex: 1; min-width: 0; font-weight: 700; }
.opt .opt-main small { display: block; font: 400 0.78rem var(--mono); opacity: 0.85; }
.opt .opt-side { white-space: nowrap; font: 700 0.88rem var(--mono); background: var(--paper); color: var(--ink); padding: 0.12rem 0.6rem; border-radius: 999px; }

.days { display: flex; gap: 0.5rem; overflow-x: auto; padding: 6px 2px 0.8rem; margin-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--green) transparent; }
.day {
  flex: none; width: 64px; padding: 0.55rem 0;
  background: var(--cream); border: 2.5px solid transparent; border-radius: 18px;
  font: inherit; color: inherit; text-align: center; cursor: pointer; transition: transform 0.35s var(--bounce), background 0.2s;
}
.day small { display: block; font: 700 0.66rem var(--mono); text-transform: uppercase; }
.day b { font: 400 1.7rem/1.1 var(--display); }
.day.selected { background: var(--green); color: #fff; transform: rotate(-3deg) scale(1.06); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.5rem; min-height: 3rem; }
.slot {
  padding: 0.55rem 0; background: var(--cream); border: 2.5px solid transparent; border-radius: 999px;
  font: 700 0.85rem var(--mono); color: inherit; cursor: pointer; transition: transform 0.35s var(--bounce), background 0.2s, color 0.2s;
  animation: pop 0.45s var(--bounce) backwards; animation-delay: calc(var(--i, 0) * 0.025s);
}
.day:hover { transform: translateY(-4px) rotate(3deg); background: var(--yellow); }
.day.selected:hover { background: var(--green); }
.slot:hover { background: var(--pink); color: #fff; transform: scale(1.1) rotate(-3deg); }
.slots .muted { grid-column: 1 / -1; }

.summary { background: var(--cream); border-radius: 20px; padding: 1rem 1.3rem; margin-bottom: 1.2rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; margin: 0; }
.summary dt { font: 700 0.75rem var(--mono); text-transform: uppercase; align-self: center; }
.summary dd { margin: 0; font-weight: 700; }
.summary .btn { margin-top: 1rem; }

form label { display: block; font: 700 0.75rem var(--mono); text-transform: uppercase; margin-bottom: 1rem; }
form label .muted { text-transform: none; font-weight: 400; }
input, textarea, select {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.8rem 1.1rem;
  border: 2.5px solid var(--ink); border-radius: 16px;
  background: #fff; color: var(--ink); font: 400 1rem var(--sans);
  transition: box-shadow 0.2s, transform 0.2s;
}
input:focus, textarea:focus { outline: 0; box-shadow: 5px 5px 0 var(--pink); transform: translate(-2px, -2px); }
.form-error { color: #b3261e; font-weight: 700; font-size: 0.95rem; min-height: 1.2rem; margin: 0.2rem 0 0.6rem; }
.wizard-nav { margin-top: 1.4rem; }
.done { text-align: center; }
.done .summary { text-align: left; max-width: 420px; margin: 1.2rem auto; }
.tick { width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1rem; animation: pop 0.6s var(--bounce); }
.ref { font: 400 2.6rem var(--display); letter-spacing: 0.18em; color: var(--pink); }

/* My booking */
.lookup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; max-width: 800px; background: var(--paper); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 8px 0 rgba(10, 61, 36, 0.14); }
.lookup label { margin: 0; }
#lookupError { text-align: center; margin-top: 0.8rem; }
#lookupResult { max-width: 460px; background: var(--paper); }
.status { display: inline-block; padding: 0.1rem 0.8rem; border-radius: 999px; font: 700 0.78rem var(--mono); text-transform: uppercase; background: var(--yellow); }
.status.confirmed, .status.completed { background: var(--green); color: #fff; }
.status.cancelled, .status.no_show { background: var(--red); color: #fff; }

/* Policies: the pink card from the salon's own policy post. */
.policies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; max-width: 900px; }
.policies > div { background: var(--pink); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: transform 0.45s var(--bounce); }
.policies > div:nth-child(odd):hover { transform: rotate(-2deg) scale(1.03); }
.policies > div:nth-child(even):hover { transform: rotate(2deg) scale(1.03); }
.policies h3 { margin-bottom: 0.6rem; color: var(--yellow); }
.policies p { font: 400 0.88rem/1.65 var(--mono); margin: 0; }
.fyi { position: relative; margin-top: 2.2rem; max-width: 760px; background: var(--blue); border-radius: var(--radius); padding: 1.8rem 1.6rem; text-align: center; }
.fyi .sticker { position: absolute; right: -14px; top: -26px; --size: 70px; }
.fyi h3 { color: var(--red); font-size: 2rem; margin-bottom: 0.6rem; }
.fyi p { font: 400 0.92rem/1.65 var(--mono); margin: 0; }

/* Footer */
.footer { background: var(--green); color: var(--cream); padding: 3.5rem var(--gutter) 5rem; text-align: center; margin-top: -1rem; overflow: hidden; }
.wordmark { font: 400 clamp(2.8rem, 11.5vw, 9.5rem)/0.95 var(--logo); text-transform: uppercase; margin: 0 0 2rem; white-space: nowrap; }
.wordmark .ch { display: inline-block; animation: wave 3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.1s); }
.wordmark .ch:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; max-width: 980px; margin: 0 auto; }
.footer h3 { font-size: 1.4rem; color: var(--yellow); margin-bottom: 0.5rem; }
.footer p { margin-bottom: 0.3rem; }
.footer a { text-underline-offset: 4px; }
.footer a:hover { color: var(--yellow); }
.footer-note { font: 400 0.8rem var(--mono); opacity: 0.85; margin-top: 2.5rem; }

.sticky-book { display: none; }

/* Flowers that trail the mouse, and confetti after a booking. */
.trail { position: fixed; z-index: 40; pointer-events: none; font-size: var(--s, 16px); animation: trail 0.9s ease-out forwards; }
.confetti { position: fixed; z-index: 45; pointer-events: none; left: var(--x); top: var(--y); font-size: var(--s); animation: confetti var(--t) cubic-bezier(0.1, 0.7, 0.3, 1) forwards; }

/* Scroll reveals: only hide content when JavaScript is running. */
.js [data-reveal] { opacity: 0; transform: translateY(40px) rotate(-2deg); transition: opacity 0.6s ease, transform 0.8s var(--bounce); transition-delay: var(--stagger, 0s); }
.js [data-reveal='pop'] { transform: scale(0.6) rotate(6deg); }
.js [data-reveal='left'] { transform: translateX(-60px) rotate(-4deg); }
.js [data-reveal='right'] { transform: translateX(60px) rotate(4deg); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 1.5deg; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes wiggle { from { transform: rotate(-7deg) translateY(0); } to { transform: rotate(7deg) translateY(-14px); } }
@keyframes wave { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.06em; } }
@keyframes nailWave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.12); } }
@keyframes letterIn { from { opacity: 0; transform: translateY(0.6em) rotate(20deg) scale(0.4); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-30px) scale(0.8); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px) rotate(1deg); } }
@keyframes trail { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); } 100% { opacity: 0; transform: translate(-50%, 30px) scale(0.3) rotate(160deg); } }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(0.4); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-play { order: -1; }
  .polish { width: min(66%, 270px); }
  .burst-bg { --size: min(84%, 330px); }
  .bottles { gap: 0.4rem; flex-wrap: nowrap; padding: 0.5rem 0.7rem; }
  .bottle { width: 26px; height: 26px; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .ticket { grid-template-columns: 1fr; }
  .stub { position: relative; top: 0; }
  .squiggles svg:nth-child(n + 4) { display: none; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0.2rem; padding: 0.8rem var(--gutter) 1.2rem; background: var(--cream); box-shadow: 0 10px 0 rgba(10, 61, 36, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 1rem; font-size: 0.95rem; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-book { display: none; }
  .steps li { font-size: 0; }
  .steps li::before { font-size: 0.8rem; content: counter(step); }
  .lookup { grid-template-columns: 1fr; }
  .policies { grid-template-columns: 1fr; }
  .look:nth-child(n) { rotate: 0deg; }
  .sticky-book { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 15; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .sticker { rotate: none; }
}
