/* Sweeties Nails Spa — "Sweet shop" */
:root {
  --surface: #FFF6EE;
  --ink: #3A1F2B;
  --brand: #F07C9B;
  --pista: #A8D5BA;
  --peach: #FFD6A5;
  --lav: #CDB4DB;
  --cta: #5B2A86;
  --t-straw: #FCE4EB;
  --t-pista: #E6F3EB;
  --t-peach: #FFEEDA;
  --t-lav: #F0E7F5;
  --muted: #6A4A57;
  --jar: #F7A8BC;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --hh: 64px;
  --dock: 0px;
  --r: 28px;
  --display: 'Gabarito', 'Urbanist', system-ui, sans-serif;
  --body: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hh) + 10px); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 500 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; padding-bottom: var(--dock); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.squish { transition: transform .35s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.squish:active { transform: scale(.95, .92); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 6px 0 -1px #3d1b5c; }
.btn--cta:hover { background: #4d2272; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: rgb(255 255 255 / .35); }
.btn--ink { background: var(--ink); color: var(--surface); }
.btn--block { width: 100%; }

/* header */
.top { position: sticky; top: 0; z-index: 40; height: var(--hh); display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; background: rgb(255 246 238 / .92); }
html.is-scrolled .top { box-shadow: 0 1px 0 rgb(58 31 43 / .08); }
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; font: 800 25px/1 var(--display); letter-spacing: -.03em; min-height: 44px; }
.brand svg { width: 34px; height: 34px; }
.top__cta { display: none; }
.menu-btn { width: 48px; height: 48px; border: 0; border-radius: 16px; background: var(--t-lav); display: grid; place-content: center; gap: 4px; cursor: pointer; }
.menu-btn i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.nav { position: absolute; top: calc(var(--hh) - 4px); left: 10px; right: 10px; display: grid; gap: 6px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -20px rgb(58 31 43 / .35); opacity: 0; visibility: hidden; transform: scale(.96); transform-origin: top right; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
html.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav a { padding: 14px 16px; border-radius: 16px; background: var(--t-straw); font: 800 22px/1 var(--display); text-decoration: none; }
.nav a:nth-child(2) { background: var(--t-pista); }
.nav a:nth-child(3) { background: var(--t-peach); }
.nav a:nth-child(4) { background: var(--t-lav); }

/* tiles */
.tile { border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; text-decoration: none; }
.tile__k { display: block; margin: 0 0 6px; font: 800 12.5px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.tile__big { display: block; font: 800 22px/1.1 var(--display); letter-spacing: -.01em; }
.tile__go { position: absolute; right: 18px; top: 14px; font: 800 26px/1 var(--display); }

/* hero bento */
.hero { padding: 6px 10px 0; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile--title { grid-column: 1 / -1; background: var(--brand); padding: 24px 20px 26px; }
.tile--title::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgb(255 255 255 / .55), rgb(255 255 255 / 0) 60%); pointer-events: none; }
.eyebrow { margin: 0 0 12px; font: 800 12.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 12.6vw, 112px); line-height: .92; letter-spacing: -.035em; }
h1 span { display: block; color: var(--surface); -webkit-text-stroke: 0; text-shadow: none; }
h1 span { color: var(--ink); background: linear-gradient(transparent 58%, rgb(255 246 238 / .65) 58%); width: fit-content; }
.hero__lede { margin: 16px 0 0; max-width: 40ch; font-size: 16.5px; }
.hero__ctas { display: none; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.tile--photo { grid-row: span 2; margin: 0; padding: 0; background: var(--lav); }
.tile--photo picture, .tile--photo img { width: 100%; height: 100%; object-fit: cover; }
html.js .tile--photo img { animation: popIn 1.1s var(--ease) .1s both; }
@keyframes popIn { from { transform: scale(1.12); opacity: .4; } to { transform: none; opacity: 1; } }
.tile--pista { background: var(--pista); min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--peach { background: var(--peach); min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile--peach .tile__big { font-size: 19px; }
.tile--lav { grid-column: 1 / -1; background: var(--lav); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile--lav .tile__k { margin: 0; padding: 6px 10px; border-radius: 999px; background: #fff; }
.marquee { margin: 14px -10px 0; overflow: hidden; border-block: 2px solid var(--ink); background: #fff; }
.marquee__track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee__track span { padding: 12px 0; font: 800 22px/1 var(--display); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* section heads */
.sec-head { padding: 0 16px; margin-bottom: 26px; }
h2 { font-size: clamp(42px, 11vw, 96px); line-height: .95; }
.sec-head p { margin: 12px 0 0; max-width: 46ch; color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--surface); font: 800 12.5px/1.4 var(--body); letter-spacing: .06em; text-transform: uppercase; }

/* the shelf */
.shelf-sec { padding: 76px 0 40px; }
.shelf__name { margin: 8px 16px 0; font: 800 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--t-lav); }
.shelf { list-style: none; margin: 0 0 22px; padding: 26px 16px 34px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; overscroll-behavior-x: contain; scrollbar-width: none;
  background: linear-gradient(to bottom, transparent calc(100% - 30px), #F4CDB0 calc(100% - 30px), #F4CDB0 calc(100% - 14px), rgb(58 31 43 / .14) calc(100% - 14px), transparent calc(100% - 6px)); background-attachment: local; }
.shelf::-webkit-scrollbar { display: none; }
.shelf--b { background-image: linear-gradient(to bottom, transparent calc(100% - 30px), #CBE6D5 calc(100% - 30px), #CBE6D5 calc(100% - 14px), rgb(58 31 43 / .14) calc(100% - 14px), transparent calc(100% - 6px)); }
.jar { flex: 0 0 148px; scroll-snap-align: start; display: grid; justify-items: center; transition: transform .5s var(--ease); }
.jar:hover { transform: translateY(-6px) rotate(-2deg); }
.jar__lid { width: 62%; height: 20px; border-radius: 10px 10px 5px 5px; background: color-mix(in srgb, var(--c), #3A1F2B 22%); box-shadow: inset 0 3px 0 rgb(255 255 255 / .35); }
.jar__glass { position: relative; width: 100%; aspect-ratio: 1; margin-top: -2px; border-radius: 46% 46% 42% 42%; overflow: hidden; background: var(--c); border: 4px solid #fff; box-shadow: 0 10px 18px -12px rgb(58 31 43 / .45); }
.jar__glass img { width: 100%; height: 100%; object-fit: cover; }
.jar__glass::after { content: ''; position: absolute; left: 16%; top: 12%; width: 18%; height: 40%; border-radius: 999px; background: rgb(255 255 255 / .55); transform: rotate(18deg); }
.jar__glass--disc { background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / .55), transparent 30%), radial-gradient(circle at 70% 75%, color-mix(in srgb, var(--c), #fff 30%) 0 12%, transparent 13%), radial-gradient(circle at 25% 70%, color-mix(in srgb, var(--c), #fff 45%) 0 9%, transparent 10%), radial-gradient(circle at 62% 38%, color-mix(in srgb, var(--c), #3A1F2B 10%) 0 10%, transparent 11%), var(--c); }
.jar__tag { margin-top: -18px; position: relative; z-index: 1; min-width: 80%; padding: 8px 12px; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 6px 12px -8px rgb(58 31 43 / .35); }
.jar__tag b { display: block; font: 800 15px/1.15 var(--display); }
.jar__tag span { font: 700 14px/1.3 var(--body); color: var(--muted); }

/* build */
.build { padding: 70px 10px 80px; }
.build .sec-head { padding: 0 6px; }
.build__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.tile--step { grid-column: 1 / -1; background: var(--t-straw); }
.tile--step:nth-child(2) { background: var(--t-pista); }
.tile--step:nth-child(3) { background: var(--t-peach); }
.tile--step:nth-child(4) { background: var(--t-lav); }
.step__k { margin: 0 0 14px; font: 800 14px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step__k b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--surface); letter-spacing: 0; }
.step__k span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.opt svg { width: 16px; height: 26px; fill: var(--jar); stroke: var(--ink); stroke-width: 6; transition: fill .4s var(--ease); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.opt[aria-pressed="true"] svg { stroke: var(--surface); }
.jars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; }
.cj { display: grid; justify-items: center; gap: 6px; padding: 6px 2px; border: 0; border-radius: 18px; background: transparent; color: var(--ink); font: 700 12.5px/1.15 var(--body); cursor: pointer; }
.cj i { position: relative; width: 54px; height: 54px; border-radius: 46% 46% 42% 42%; background: radial-gradient(circle at 30% 28%, rgb(255 255 255 / .6), transparent 32%), var(--c); border: 3px solid #fff; box-shadow: 0 6px 10px -6px rgb(58 31 43 / .5); }
.cj i::before { content: ''; position: absolute; left: 18%; right: 18%; top: -10px; height: 9px; border-radius: 5px 5px 2px 2px; background: color-mix(in srgb, var(--c), #3A1F2B 25%); }
.cj[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 2.5px var(--ink); }
.tile--preview { background: #fff; display: grid; place-items: center; min-height: 250px; background-image: radial-gradient(rgb(240 124 155 / .22) 1.5px, transparent 1.6px); background-size: 16px 16px; }
.nail { width: 110px; height: 176px; overflow: visible; filter: drop-shadow(0 14px 14px rgb(58 31 43 / .22)); }
.nail__base { fill: var(--jar); transition: fill .5s var(--ease), opacity .5s; }
.nail__outline { fill: none; stroke: rgb(58 31 43 / .3); stroke-width: 2; }
.nail__chrome, .nail__glit, .nail__french, .nail__art, .nail__gems { opacity: 0; transition: opacity .5s var(--ease); }
.nail.is-chrome .nail__chrome, .nail.is-glitter .nail__glit, .nail.has-french .nail__french, .nail.has-art .nail__art, .nail.has-gems .nail__gems { opacity: 1; }
.nail.is-matte .nail__hl { opacity: 0; }
.nail.is-jelly .nail__base { opacity: .72; }
.nail.is-pop { animation: squishNail .6s var(--ease); }
@keyframes squishNail { 0% { transform: scale(1); } 35% { transform: scale(1.06, .95); } 100% { transform: scale(1); } }
.receipt { position: relative; background: #fff; padding: 22px 18px 22px; margin-bottom: 16px; border-radius: 18px 18px 0 0; font: 600 15px/1.4 var(--body); box-shadow: 0 16px 30px -24px rgb(58 31 43 / .5); }
.receipt::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; background: linear-gradient(-45deg, transparent 10px, #fff 0), linear-gradient(45deg, transparent 10px, #fff 0); background-repeat: repeat-x; background-position: left bottom; background-size: 20px 28px; }
.receipt__head { margin: 0; font: 800 14px/1.2 var(--body); letter-spacing: .16em; text-align: center; }
.receipt__sub { margin: 4px 0 12px; text-align: center; font-size: 13px; color: var(--muted); }
.receipt__lines { list-style: none; margin: 0; padding: 10px 0; border-block: 2px dashed rgb(58 31 43 / .25); }
.receipt__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.receipt__lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 16px; font: 800 15px/1 var(--body); }
.receipt__total span:last-child { font: 800 30px/1 var(--display); }

/* masonry */
.art { padding: 70px 10px 80px; background: var(--t-pista); border-radius: 40px 40px 0 0; }
.art .sec-head { padding: 0 6px; }
.masonry { columns: 2; column-gap: 10px; }
.mz { margin: 0 0 10px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: #fff; transition: transform .5s var(--ease); }
.mz:hover { transform: rotate(-1.2deg) scale(1.02); }
.mz img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; }
.mz--tall img { aspect-ratio: 4 / 5; }
.mz--wide img { aspect-ratio: 5 / 4; }

/* request */
.request { padding: 70px 10px; background: var(--lav); }
.request__card { max-width: 820px; margin: 0 auto; background: var(--surface); border-radius: 32px; padding: 28px 20px; }
.request__card > p { color: var(--muted); }
.form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font: 800 14px/1.2 var(--body); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid rgb(58 31 43 / .25); border-radius: 18px; background: #fff; color: var(--ink); font: 600 16px/1.4 var(--body); }
.field textarea { resize: vertical; }
.field.is-flash textarea { animation: flash 1.2s var(--ease); }
@keyframes flash { from { box-shadow: 0 0 0 0 rgb(240 124 155 / .7); } to { box-shadow: 0 0 0 16px rgb(240 124 155 / 0); } }
.confirm { margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--pista); font-weight: 700; }

/* visit */
.visit { padding: 70px 10px 70px; }
.vbento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile--addr { grid-column: 1 / -1; background: var(--pista); }
.addr { margin: 4px 0 18px; font: 800 clamp(28px, 7.4vw, 52px)/1.02 var(--display); letter-spacing: -.02em; }
.tile--call { background: var(--peach); display: flex; flex-direction: column; justify-content: flex-end; min-height: 140px; }
.tile--call .tile__big { font-size: 19px; }
.tile--hours { grid-column: 1 / -1; background: #fff; border: 2px solid rgb(58 31 43 / .1); }
.tile--hours dl { margin: 6px 0 0; }
.tile--hours dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 2px dotted rgb(58 31 43 / .18); }
.tile--hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.tile--rev { background: var(--t-straw); min-height: 140px; }
.tile--rev p:last-child { margin: 0; font-weight: 600; }

/* footer */
.foot { background: var(--ink); color: #F6E6EC; padding: 54px 20px 40px; border-radius: 40px 40px 0 0; display: grid; gap: 16px; }
.foot > * { max-width: 1200px; width: 100%; margin-left: auto; margin-right: auto; }
.foot__brand { margin: 0; font: 800 46px/1 var(--display); color: var(--brand); letter-spacing: -.03em; }
.foot__brand span { color: #F6E6EC; font-size: .5em; letter-spacing: 0; }
.foot .pv-note { margin: 0; max-width: 72ch; color: #F6E6EC; }
.foot a { color: #fff; }
.photo-credits { font-size: 14px; }
.photo-credits summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 800; }
.photo-credits ul { margin: 4px 0 10px; padding-left: 18px; }

/* dock */
.dock { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 246 238 / .96); box-shadow: 0 -1px 0 rgb(58 31 43 / .08); }
.dock a { min-height: 52px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 999px; text-decoration: none; font: 800 16px/1.1 var(--body); padding: 0 8px; }
.dock__call { background: var(--peach); }
.dock__cta { background: var(--cta); color: #fff; }

/* reveals */
html.js [data-reveal] { opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 760px) { :root { --dock: calc(68px + env(safe-area-inset-bottom)); } }
@media (min-width: 761px) {
  .dock { display: none; }
  .hero__ctas { display: flex; }
  .hero { padding: 10px 20px 0; }
  .bento { grid-template-columns: 1.25fr 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr auto; gap: 14px; }
  .tile--title { grid-column: 1 / 3; grid-row: 1 / 3; padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; }
  .tile--photo { grid-column: 3 / 5; grid-row: 1 / 3; }
  .tile--lav { grid-column: 1 / 3; grid-row: 3; }
  .tile--pista { grid-column: 3; grid-row: 3; }
  .tile--peach { grid-column: 4; grid-row: 3; }
  .tile--lav .tile__big { font-size: 30px; }
  .marquee { margin: 18px -20px 0; }
  .sec-head { padding: 0 24px; }
  .shelf { padding-left: 24px; padding-right: 24px; gap: 28px; }
  .shelf__name { margin-left: 24px; }
  .jar { flex-basis: 184px; }
  .build, .art, .visit { padding-left: 20px; padding-right: 20px; }
  .build__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
  .tile--step { grid-column: span 7; }
  .tile--step:nth-child(1) { grid-row: 1; }
  .tile--step:nth-child(2) { grid-row: 2; }
  .tile--step:nth-child(3) { grid-row: 3; }
  .tile--step:nth-child(4) { grid-row: 4; }
  .tile--preview { grid-column: 8 / -1; grid-row: 1 / span 2; min-height: 100%; }
  .receipt { grid-column: 8 / -1; grid-row: 3 / span 2; }
  .jars { grid-template-columns: repeat(8, 1fr); }
  .masonry { columns: 3; column-gap: 14px; }
  .mz { margin-bottom: 14px; }
  .request__card { padding: 44px; }
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form .btn--block, .confirm { grid-column: 1 / -1; }
  .vbento { grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
  .tile--addr { grid-column: 1; grid-row: 1 / span 2; padding: 32px; }
  .tile--hours { grid-column: 2 / 4; }
}
@media (min-width: 1100px) {
  :root { --hh: 76px; }
  .top { padding: 0 32px; gap: 26px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; gap: 6px; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav a { font: 800 15px/1 var(--body); padding: 14px 16px; border-radius: 999px; }
  .top__cta { display: inline-flex; }
  .hero, .build, .art, .visit { padding-left: 32px; padding-right: 32px; }
  .marquee { margin-left: -32px; margin-right: -32px; }
  .tile--title { min-height: 600px; }
  .shelf-sec .sec-head, .build .sec-head, .art .sec-head { padding: 0 8px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
  .shelf-sec .sec-head { padding: 0 32px; }
  .shelf { padding-left: 32px; padding-right: 32px; }
  .shelf__name { margin-left: 32px; }
  .jar { flex-basis: 210px; }
  .build__grid, .masonry, .vbento { max-width: 1320px; margin: 0 auto; }
  .tile--step { grid-column: span 7; }
  .tile--preview { position: sticky; top: calc(var(--hh) + 16px); }
  .nail { width: 150px; height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, html.js .tile--photo img, .nail.is-pop, .field.is-flash textarea { animation: none !important; }
  .squish, .jar, .mz, .nav, .nail__base, .opt svg { transition: none !important; }
  .squish:active { transform: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}
