/* Michaela's Nail Artistry: static site, Oct 2026. Identity kept from the old site (cream ground, her pink, Lato, the M ring);
   layout "Book in three steps". Pages load site.css?v=N: bump N in tools/build_site.py whenever this file changes. */
@font-face { font-family: Lato; src: url(/assets/fonts/lato-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Lato; src: url(/assets/fonts/lato-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Lato; src: url(/assets/fonts/lato-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --cream: #fffbf3;
  --blush: #fbe9f0;     /* pale pink fields */
  --pink: #eb89b5;      /* her pink: whole bands only, dark text on it */
  --pink-line: #efb3cd;
  --plum: #3b1d2c;      /* text on pink, headings */
  --ink: #3a2e33;
  --soft: #6e5a63;
  --rose: #a8346c;      /* links and WhatsApp actions */
  --rose-dark: #8a2557;
  --radius: 22px;
  --radius-sm: 16px;
  --lift: 0 1px 2px rgba(59, 29, 44, .06), 0 10px 28px rgba(59, 29, 44, .10);
  --wrap: 1120px;
  --gap: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 Lato, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--pink); color: var(--plum); }
h1, h2, h3 { color: var(--plum); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.skip:hover, .skip:focus { color: #fff; }

/* Pink top bar: name and the two quick routes */
.topbar { background: var(--pink); color: var(--plum); font-size: 14px; font-weight: 700; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar .quick { display: flex; gap: 18px; }
.topbar a { color: var(--plum); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.topbar a:hover { text-decoration: underline; color: var(--plum); }

/* Header: the M ring, name, tagline, menu */
.site-header { border-bottom: 1px solid var(--pink-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--plum); }
.brand img { width: 58px; height: 58px; }
.brand b { display: block; font-size: 19px; line-height: 1.2; }
.brand i { display: block; font-size: 15px; color: var(--rose); }
.site-header ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-header nav a { color: var(--plum); text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .02em; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--pink); color: var(--plum); }

/* Intro: the three steps beside one of her photos */
.intro { padding: clamp(20px, 3.2vw, 32px) 0 clamp(24px, 3.2vw, 32px); }
.intro .wrap { display: grid; gap: clamp(24px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
.intro h1 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.02em; line-height: 1.05; max-width: 14ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--soft); margin: 16px 0 22px; max-width: 38ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--pink); color: var(--plum); counter-reset: step; border-radius: var(--radius-sm); overflow: hidden; }
.steps li { counter-increment: step; padding: 14px 14px 16px; position: relative; }
.steps li + li { border-left: 1px solid rgba(59, 29, 44, .25); }
.steps li::before { content: counter(step); display: block; font-size: 30px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.steps a { display: block; color: var(--plum); text-decoration: none; }
.steps a b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.steps a:hover b { text-decoration-thickness: 3px; }
.steps a:focus-visible { outline-color: var(--plum); }
.steps b { display: block; font-size: 18px; }
.steps span { display: block; font-size: 14.5px; line-height: 1.35; }
.intro-photo { margin: 0; }
.intro-photo { justify-self: end; width: 100%; max-width: 380px; }
.intro-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--lift); }

/* Prices: her price card, every row a booking */
.prices { background: #fff; border-top: 1px solid var(--pink-line); border-bottom: 1px solid var(--pink-line); padding: clamp(22px, 2.4vw, 30px) 0 clamp(36px, 6vw, 64px); }
.prices h2 { margin-bottom: 6px; }
.note { color: var(--soft); margin-bottom: 14px; }
.groups { display: grid; gap: 36px; }
.group { break-inside: avoid; }
.group h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--pink); }
.group .sub { color: var(--soft); font-style: italic; font-size: 15.5px; margin: 8px 0 4px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-bottom: 1px solid var(--blush); }
.rows a, .rows.plain li { display: flex; align-items: baseline; gap: 10px; padding: 13px 4px; min-height: 52px; color: var(--ink); text-decoration: none; }
.rows a { transition: background-color .2s ease-out; }
.rows a:hover { background: var(--blush); color: var(--ink); }
.rows a:hover .book { background: var(--rose); color: #fff; }
.item { flex: 0 1 auto; }
.item small { display: block; font-size: 14px; color: var(--soft); line-height: 1.4; margin-top: 2px; }
.dots { flex: 1 1 24px; border-bottom: 1px dotted #c9a3b5; transform: translateY(-4px); min-width: 16px; }
.rand { font-weight: 700; color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rand.ask { font-weight: 700; color: var(--rose); }
.book { flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--rose); border: 1.5px solid var(--rose); transition: background-color .2s ease-out, color .2s ease-out; }
.book svg { width: 18px; height: 18px; }

/* Her work */
.work { padding: clamp(40px, 7vw, 72px) 0; }
.work h2 { margin-bottom: 22px; }
.photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--lift); }
.more { margin: 18px 0 0; font-weight: 700; }

/* Rotating photos (assets/rotator.js): 6 at a time, fade between sets. */
.rotator li { transition: opacity .45s ease-out; }
.rotator.fading li { opacity: 0; }
.rotator img { display: block; }
.pause { margin-top: 14px; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--plum); background: transparent; color: var(--plum); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pause:hover { background: var(--plum); color: #fff; }

/* Trust */
.trust { background: #fff; border-top: 1px solid var(--pink-line); padding: clamp(40px, 7vw, 72px) 0; }
.trust h2 { margin-bottom: 26px; }
.trust-grid { display: grid; gap: 26px 40px; grid-template-columns: 1fr; }
.trust h3 { margin-bottom: 6px; }
.trust p { margin: 0; max-width: 46ch; }

/* Closing band: the booking routes */
.curious { padding: 28px 0; border-top: 1px solid var(--pink-line); }
.curious p { margin: 0; font-size: 18px; }
.close { background: var(--blush); color: var(--plum); padding: clamp(40px, 7vw, 64px) 0; border-top: 1px solid var(--pink-line); }
.close p { max-width: 52ch; font-size: 18px; margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; background: var(--rose); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--rose); box-shadow: 0 6px 18px -8px rgba(59, 29, 44, .45); transition: background-color .2s ease-out, transform .2s ease-out; }
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--plum); border-color: var(--plum); box-shadow: none; }
.btn.ghost:hover { background: var(--plum); color: #fff; }
.close .small { font-size: 15px; margin: 0; }
.close :focus-visible { outline-color: var(--plum); }

/* Inner pages */
.page-title { padding: clamp(32px, 6vw, 56px) 0 clamp(18px, 3vw, 28px); }
.page-title h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.02em; max-width: 20ch; }
.page-title p { color: var(--soft); font-size: 19px; max-width: 60ch; margin: 14px 0 0; }
.prose { max-width: 68ch; padding-bottom: clamp(36px, 6vw, 56px); }
.prose h2 { font-size: clamp(22px, 3vw, 28px); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose em { color: var(--soft); }
.narrow { max-width: 56ch; }
.two { display: grid; gap: 32px; grid-template-columns: 1fr; }
.side-photo { margin: 0; }
.side-photo img { border-radius: var(--radius); box-shadow: var(--lift); width: 100%; max-width: 420px; }

/* FAQ */
.faq { max-width: 760px; padding-bottom: clamp(36px, 6vw, 56px); }
.faq details { border-bottom: 1px solid var(--pink-line); }
.faq details:first-child { border-top: 1px solid var(--pink-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 4px; font-weight: 700; color: var(--plum); font-size: 18px; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 4px 18px; margin: 0; max-width: 64ch; }

/* Contact */
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 760px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--pink-line); color: var(--ink); text-decoration: none; min-height: 64px; transition: border-color .2s ease-out, background-color .2s ease-out; }
.contact-list a:hover { border-color: var(--rose); background: var(--blush); }
.contact-list svg { width: 26px; height: 26px; color: var(--rose); }
.contact-list b { display: block; color: var(--plum); }
.contact-list span { overflow-wrap: anywhere; }

/* Blog */
.posts { list-style: none; margin: 0; padding: 0 0 clamp(36px, 6vw, 56px); max-width: 820px; }
.posts li { border-bottom: 1px solid var(--pink-line); }
.posts a { display: block; padding: 18px 4px; color: var(--ink); text-decoration: none; }
.posts a:hover { background: #fff; }
.posts time { display: block; font-size: 14px; color: var(--soft); }
.posts b { display: block; font-size: 20px; color: var(--plum); margin: 2px 0 4px; line-height: 1.25; }
.posts a:hover b { color: var(--rose); }
.posts span { display: block; color: var(--soft); }
.post-head { padding: clamp(32px, 6vw, 56px) 0 18px; max-width: 68ch; }
.post-head p { font-size: 15px; color: var(--soft); margin-bottom: 10px; }
.post-head h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -0.015em; }

/* Footer: pink, dark text */
.site-footer { background: var(--pink); color: var(--plum); border-top: 1px solid rgba(59, 29, 44, .2); padding: 36px 0 24px; font-size: 15.5px; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
.site-footer b { display: block; margin-bottom: 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: var(--plum); }
.site-footer a:hover { color: var(--plum); text-decoration-thickness: 2px; }
.site-footer p { margin: 0; }
.social { margin-top: 10px !important; }
.legal { margin-top: 28px !important; padding-top: 16px; border-top: 1px solid rgba(59, 29, 44, .25); font-size: 14px; }

@media (min-width: 720px) {
  .photos { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .intro .wrap { grid-template-columns: 1.15fr .85fr; }
  .groups { display: block; columns: 2; column-gap: 56px; }
  .groups .group { margin-bottom: 40px; }
  .two { grid-template-columns: 1.3fr .7fr; align-items: start; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 46px; height: 46px; }
  .site-header nav { width: 100%; }
  .site-header ul { gap: 2px 18px; }
  .steps span { font-size: 13.5px; }
  .steps li { padding: 12px 10px 14px; }
  .intro-photo { display: none; }
  .intro h1 { font-size: 33px; }
  .lede { margin: 12px 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
