/* ─── Velorah Nails · modern bento system ─── */
:root {
  --bg:     #F4F1EA;   /* bone */
  --card:   #FFFFFF;
  --ink:    #1C1E12;   /* near-black olive */
  --deep:   #2B2F18;   /* dark tiles */
  --olive:  #5D6239;   /* brand olive */
  --blush:  #EFD7CA;   /* brand blush */
  --lime:   #DCE3B0;   /* soft accent, sparingly */
  --muted:  #5C5F4E;
  --line:   rgba(28, 30, 18, .1);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(14px, 2.4vw, 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: .95; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; }
h1 em, h2 em { font-style: normal; color: var(--olive); }
p { max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.eyebrow, .label { display: inline-flex; align-items: center; gap: 8px; max-width: none; font: 600 12.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.eyebrow { margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: var(--lime); }

.shell, .wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 99px;
  background: var(--ink); color: var(--bg); font: 600 15px/1 var(--text); letter-spacing: -.01em; transition: transform .25s var(--ease), background .25s var(--ease), color .25s; }
.btn:hover { transform: translateY(-2px); background: var(--olive); }
.btn:active { transform: none; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--lime); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.45); }
.btn--ghost:hover { background: rgba(244,241,234,.1); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--wide { width: 100%; }
.line-link { font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: color .2s; }
.line-link:hover { color: var(--olive); }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 99px; background: var(--bg); font: 600 12.5px/1 var(--text); white-space: nowrap; }
.chip--glass { background: rgba(28,30,18,.5); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); min-height: 36px; padding: 0 14px; }
.chip--blush { background: var(--blush); min-height: 36px; padding: 0 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9BD27A; box-shadow: 0 0 0 4px rgba(155,210,122,.25); }

.round { border-radius: var(--r-lg); overflow: hidden; }
.arch { border-radius: var(--r-lg); overflow: hidden; }
.photo { position: relative; background: var(--blush); }
.photo picture { width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.insp { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.9); font: 600 11px/1.3 var(--text); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }

/* Header: a floating pill */
.nav { position: sticky; top: 12px; z-index: 60; width: min(100% - 2 * var(--gutter), 1320px); margin: 12px auto 0; }
.nav__bar { display: flex; align-items: center; gap: 24px; min-height: 64px; padding: 8px 8px 8px 22px; border-radius: 99px; background: rgba(255,255,255,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(28,30,18,.06); }
.nav__logo img { width: 112px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 99px; font: 500 15px/1 var(--text); transition: background .2s; }
.nav__links a:hover, .nav__links a[aria-current] { background: var(--bg); }
.nav__book { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--ink); color: var(--bg); font: 600 15px/1 var(--text); transition: background .2s; }
.nav__book:hover { background: var(--olive); }
.nav__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 12px; }
.nav__menu { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); position: relative; }
.nav__menu span { position: absolute; left: 15px; right: 15px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__menu span:first-child { top: 19px; } .nav__menu span:last-child { top: 27px; }
.nav.is-open .nav__menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { display: grid; margin-top: 8px; padding: 12px; border-radius: var(--r-xl); background: #fff; box-shadow: 0 20px 40px rgba(28,30,18,.12); }
.sheet a { padding: 16px 14px; border-radius: var(--r-md); font: 600 1.4rem/1 var(--display); letter-spacing: -.02em; }
.sheet a:hover { background: var(--bg); }

/* Footer */
.footer { margin-top: clamp(40px, 6vw, 80px); padding: clamp(64px, 8vw, 110px) 0 32px; background: var(--ink); color: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; padding-bottom: 56px; border-bottom: 1px solid rgba(244,241,234,.14); }
.footer__big { max-width: none; font: 600 clamp(2.6rem, 6vw, 5.6rem)/.95 var(--display); letter-spacing: -.04em; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px 0; }
.footer__h { margin-bottom: 8px; font: 600 12.5px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.footer__cols p { color: rgba(244,241,234,.8); line-height: 1.9; }
.footer__cols a:hover { color: #fff; text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(244,241,234,.14); font-size: 13.5px; color: rgba(244,241,234,.6); }
.footer__base img { width: 120px; filter: brightness(0) invert(.95); }

/* Phones: sticky book bar */
.bookbar { display: none; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__book { margin-left: auto; min-height: 44px; padding: 0 18px; }
  .nav__menu { display: block; }
  .nav__logo img { width: 96px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 861px) { .sheet { display: none !important; } }
@media (max-width: 640px) {
  .bookbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 22px;
    border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 14px; box-shadow: 0 14px 30px rgba(28,30,18,.25); transform: translateY(160%); transition: transform .45s var(--ease); }
  .bookbar span:first-child { font-weight: 600; }
  .bookbar span:last-child { color: var(--lime); }
  .bookbar.is-on { transform: none; }
  .footer { padding-bottom: 100px; }
}

/* Try a shade (hero tile + treatment page) */
.shade { display: flex; align-items: center; gap: 18px; }
.shade__nail { width: 44px; flex: none; overflow: visible; filter: drop-shadow(0 6px 10px rgba(28,30,18,.18)); }
.shade__fill { fill: var(--olive); transition: fill .4s var(--ease); }
.shade__tip { fill: #fffdf9; opacity: 0; transition: opacity .4s var(--ease); }
.shade__gloss { fill: #fff; opacity: .35; }
.shade__edge { fill: none; stroke: rgba(28,30,18,.25); stroke-width: 1; }
.shade__side { display: grid; gap: 10px; min-width: 0; }
.shade__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; max-width: none; font-size: 14px; }
.shade__wearing { font: 600 1.1rem/1.3 var(--display); letter-spacing: -.02em; }
.shade__label a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.shade__row { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .2s var(--ease); }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
@media (max-width: 640px) { .swatch { width: 40px; height: 40px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 68px; cursor: pointer; list-style: none; font: 600 1.2rem/1.3 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; font: 500 1.2rem/1 var(--text); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

/* Motion */
[data-in] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-in].is-in, .no-motion [data-in] { opacity: 1; transform: none; }
.word { display: inline-block; opacity: 0; animation: fadeup .7s var(--ease) forwards; }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main { animation: page .3s ease both; }
@keyframes page { from { opacity: 0; } }
.is-leaving main { opacity: 0; transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .word { opacity: 1; } }

/* Accessibility */
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 99px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.insp--mine { background: var(--ink); color: var(--bg); }
