:root {
  --bg: #fffafc;
  --surface: #ffffff;
  --ink: #3f3f43;
  --muted: #66666c;
  --pink: #ff69c4;
  --pink-dark: #c2187f;
  --lilac: #efe6f9;
  --lilac-strong: #d9c8ee;
  --blue: #c3d4fb;
  --peach: #fde6cc;
  --rose: #fde3e8;
  --line: #eadff0;
  --radius: 20px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Abril Fatface", "DM Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); }
h1 span { color: var(--pink-dark); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); }
h2::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 3px; background: var(--pink); margin-top: 14px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--pink-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pink-dark); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--pink-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--pink); color: #2a1322;
  font-weight: 700; text-decoration: none; border: 2px solid var(--pink);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #ff85d0; border-color: #ff85d0; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero */
.hero {
  padding: clamp(36px, 7vw, 84px) 0;
  background:
    radial-gradient(circle at 8% 18%, var(--lilac) 0 70px, transparent 71px),
    radial-gradient(circle at 96% 80%, var(--peach) 0 90px, transparent 91px),
    radial-gradient(circle at 55% 100%, var(--rose) 0 60px, transparent 61px);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; }
.hero-logo { width: 100%; max-width: 460px; justify-self: center; }

/* Sections */
.section { padding: clamp(56px, 8vw, 92px) 0; }
.section-lilac { background: var(--lilac); }
.section-pink { background: var(--rose); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }

.cards { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; grid-column: span 1; }
.card-wide { grid-column: span 2; }
.cards .card:nth-child(1) { grid-column: 1 / -1; }
.cards .card:nth-child(6) { grid-column: 1 / -1; }
.card h3 { color: var(--pink-dark); }
.card p { margin: 0; }

/* Price list */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-card-full { grid-column: 1 / -1; }
.price-card h3 { font-family: var(--display); font-size: 1.6rem; color: var(--pink-dark); margin-bottom: .2em; }
.price-card h4 { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--muted); margin: 22px 0 4px; }
.prices { margin: 0; }
.prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.prices div:last-child { border-bottom: 0; }
.prices dt small { color: var(--muted); font-size: .88em; }
.prices dd { margin: 0; font-weight: 800; white-space: nowrap; }
.prices-cols { margin-top: 12px; columns: 2; column-gap: 44px; }
.prices-cols div { break-inside: avoid; border-bottom: 1px dashed var(--line); }
.price-notes { margin-top: 26px; color: var(--muted); font-size: .96rem; max-width: 60em; }
.price-notes p { margin-bottom: .7em; }
.price-notes strong { color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
address { font-style: normal; display: grid; gap: 4px; margin-top: 22px; font-size: 1.1rem; }
address strong { margin-bottom: 6px; }
address a { font-weight: 600; width: fit-content; }
.social { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.social a:hover { color: var(--pink-dark); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social svg[fill="none"] { fill: none; }
.contact-cta { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.contact-cta p { font-size: 1.15rem; margin: 0; font-weight: 600; }
.contact-cta .actions { margin-top: 18px; }

.site-footer { background: var(--ink); color: #e9e6ee; padding: 22px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: inherit; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.notfound img { width: 220px; margin: 0 auto 8px; }
.notfound h1::after { display: none; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card { grid-column: span 1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px 16px 12px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero-inner, .contact, .price-grid { grid-template-columns: 1fr; }
  .hero-logo { max-width: 300px; order: -1; }
  .prices-cols { columns: 1; }
  .price-card { padding: 22px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .cards .card { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Animated logo (layers cut from the original artwork) */
.logo-anim { position: relative; aspect-ratio: 1; }
.logo-anim img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.logo-anim .dot { position: absolute; border-radius: 50%; aspect-ratio: 1; animation: dot-float 6s ease-in-out infinite alternate; }
.dot-1 { left: 45.95%; top: 0; width: 9.2%; background: rgba(255, 83, 97, .216); animation-duration: 5.5s; }
.dot-2 { left: 86.85%; top: 36.3%; width: 10.55%; background: rgba(0, 74, 246, .216); animation-duration: 7s; animation-delay: -2s; }
.dot-3 { left: 2.6%; top: 42.45%; width: 4.4%; background: rgba(97, 28, 195, .216); animation-duration: 4.5s; animation-delay: -1s; }
.dot-4 { left: 79.9%; top: 48.2%; width: 5.05%; background: rgba(255, 83, 97, .216); animation-duration: 5s; animation-delay: -3s; }
.dot-5 { left: 11.15%; top: 67.8%; width: 5.55%; background: rgba(255, 167, 56, .216); animation-duration: 6.5s; animation-delay: -4s; }

.l-bubbles { transform-origin: 50% 45%; animation: breathe 7s ease-in-out infinite alternate; }
.l-heart { transform-origin: 43.6% 56.4%; animation: heartbeat 1.8s ease-in-out infinite; }
.l-tail { transform-origin: 60% 60.5%; animation: wag 3.6s ease-in-out infinite; }
.l-scissors { transform-origin: 65% 28.6%; animation: snip 5s ease-in-out infinite; }
.l-comb { transform-origin: 23.9% 28.9%; animation: comb 5s ease-in-out infinite; animation-delay: -2.5s; }

@keyframes dot-float { from { transform: translateY(8%) scale(.94); } to { transform: translateY(-14%) scale(1.06); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes heartbeat {
  0%, 40%, 100% { transform: scale(1); }
  10% { transform: scale(1.16); }
  20% { transform: scale(1); }
  30% { transform: scale(1.12); }
}
@keyframes wag {
  0%, 50%, 100% { transform: rotate(0); }
  6%, 18%, 30%, 42% { transform: rotate(9deg); }
  12%, 24%, 36% { transform: rotate(-7deg); }
}
@keyframes snip {
  0%, 20%, 100% { transform: rotate(0); }
  4%, 12% { transform: rotate(-9deg); }
  8%, 16% { transform: rotate(5deg); }
}
@keyframes comb {
  0%, 24%, 100% { transform: translate(0, 0); }
  6%, 18% { transform: translate(-2.2%, 2.2%); }
  12% { transform: translate(.8%, -.8%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-anim img, .logo-anim .dot { animation: none; }
}

/* Gallery: one horizontally scrolling row at every width */
.section-peach { background: #fef4e6; }
.gallery-wrap { position: relative; margin-top: 34px; }
.gallery {
  list-style: none; margin: 0; padding: 0 0 6px;
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { flex: 0 0 calc((100% - 3 * 14px) / 4); scroll-snap-align: start; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--lilac); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* hover zoom eases only once the reveal animation is finished, so the two never fight */
html:not(.motion) .gallery img, .gallery.revealed img { transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); font-size: 1.7rem; line-height: 1;
  box-shadow: 0 2px 10px rgba(60, 40, 70, .22);
}
.gallery-btn:hover { color: var(--pink-dark); }
.gallery-btn[disabled] { opacity: 0; pointer-events: none; }
.gallery-prev { left: -14px; }
.gallery-next { right: -14px; }
.gallery-hint { display: none; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30, 24, 34, .88); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; }
.lightbox button { position: fixed; border: 0; border-radius: 50%; width: 48px; height: 48px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .gallery li { flex-basis: calc((100% - 2 * 14px) / 3); }
}

/* Phone: big swipeable cards that bleed to the screen edge; lightbox arrows at the bottom */
@media (max-width: 560px) {
  .gallery { gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .gallery li { flex-basis: 74%; }
  .gallery a:hover img { transform: none; }
  .gallery-btn { display: none; }
  .gallery-hint { display: block; }
  .lightbox img { max-width: 94vw; max-height: 74vh; max-height: 74dvh; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery { scroll-behavior: auto; }
  .gallery img { transition: none; }
}

/* Motion (driven by GSAP in script.js) */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--lilac); overflow: hidden;
  animation: intro-failsafe .5s 4s forwards; /* hides itself if the script never runs */
}
.intro img { width: min(62vw, 340px); position: relative; }
.intro i { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.intro i:nth-child(1) { width: 46vmin; left: -8vmin; top: -10vmin; background: rgba(0, 74, 246, .16); }
.intro i:nth-child(2) { width: 38vmin; right: -6vmin; top: 12vmin; background: rgba(255, 167, 56, .26); }
.intro i:nth-child(3) { width: 52vmin; right: 8vmin; bottom: -18vmin; background: rgba(255, 83, 97, .18); }
.intro i:nth-child(4) { width: 22vmin; left: 10vmin; bottom: 8vmin; background: rgba(97, 28, 195, .16); }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 60; background: var(--pink); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.motion h2::after { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .25s; }
.motion h2.line-in::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
}

main { overflow-x: clip; }
