/* Emma Nail Spa — draft site, v3 (2026-11-06).
   Built from a study of 9 top nail and beauty sites plus booking-conversion research (concierge/SITE_PLAYBOOK.md):
   a sturdy serif for big headings only, a clean sans for everything else, off-white background, near-black text,
   gold only for fine lines. Contrast ratios checked against WCAG 2.2 AA. */
:root {
  --ivory: #faf7f2;
  --paper: #fffdf9;
  --sand: #efe6da;
  --blush: #e8d9cf;
  --line: #e3d8ca;
  --line-strong: #d6c8b6;
  --ink: #1c1a17;         /* 16.3:1 on ivory */
  --ink-soft: #3d3933;
  --stone: #5f5a52;       /* 6.4:1 on ivory */
  --gold: #c9a45c;        /* lines, icons, and text on dark only (7.4:1 on ink) */
  --gold-soft: #e3cc9c;
  --gold-text: #7a5c26;   /* links and small labels on light (5.8:1) */
  --radius: 16px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(28, 26, 23, .05), 0 14px 34px -20px rgba(28, 26, 23, .35);
  /* Older names kept so the checklist and older markup still work. */
  --cream: var(--ivory);
  --linen: var(--sand);
  --porcelain: var(--paper);
  --card: var(--paper);
  --rose: var(--ink);
  --rose-dark: var(--gold-text);
  --cocoa: var(--ink);
  --cocoa-deep: #12110f;
  --muted: var(--stone);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
strong, b { font-weight: 600; }
h1, h2, h3 { margin: 0 0 .45em; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
h3 { font: 600 1.2rem/1.3 var(--sans); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
::selection { background: var(--blush); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.eyebrow { font: 600 .8rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--stone); }
.small { font-size: .92rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons: one label everywhere, "Book Now" */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 .92rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #3a352f; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.text-link { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold-text); }

/* Draft notes */
.confirm, .draft-banner { display: none; }
.draft .confirm { display: inline-block; font: 400 .85rem/1.45 var(--sans); letter-spacing: 0; text-transform: none; background: #fff3d2; color: #5c4515; border: 1px solid #ead9a6; border-radius: 8px; padding: 4px 10px; margin: 6px 0; }
.draft .confirm.block { display: block; }
.draft .draft-banner { display: block; background: var(--ink); color: var(--gold-soft); text-align: center; font: 500 .82rem/1.4 var(--sans); padding: 9px 16px; }

/* Info bar */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .84); font: 500 .84rem/1 var(--sans); }
.topbar .wrap { display: flex; justify-content: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.topbar a { color: var(--gold); text-decoration: none; }
.topbar .hide-sm { display: none; }
@media (min-width: 760px) { .topbar .wrap { justify-content: space-between; } .topbar .hide-sm { display: inline; } }

/* Sticky header with Book Now on every screen size */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .95); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
body:has(> shs-concierge) .site-header { top: 44px; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark b { font: 500 1.45rem/1 var(--serif); }
.brand .wordmark small { font: 600 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px; }
.nav { display: none; gap: 28px; }
.nav a { font: 500 .97rem/1 var(--sans); color: var(--ink-soft); text-decoration: none; padding: 8px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.header-cta { min-height: 42px; padding: 0 18px; font-size: .82rem; }
@media (min-width: 900px) { .nav { display: flex; } .header-cta { min-height: 46px; padding: 0 22px; } }

/* Hero: split, text left, small crisp portrait photos right */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 34px; align-items: center; }
.hero .lead { margin-bottom: 0; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; font-size: .95rem; color: var(--stone); }
.rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.rating .stars { color: var(--gold); letter-spacing: 1px; }
.rating:hover { color: var(--gold-text); }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; width: 100%; justify-self: center; }
.hero-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-photos img:nth-child(1) { object-position: center 70%; }
.hero-photos img:nth-child(3) { display: none; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 84px; }
  .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .hero-photos { grid-template-columns: 1fr 1fr 1fr; max-width: 680px; gap: 16px; justify-self: end; }
  .hero-photos img:nth-child(3) { display: block; }
  .hero-photos img:nth-child(2) { transform: translateY(-26px); }
}

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--ink); color: rgba(255, 255, 255, .86); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--gold); }
.section.dark a:not(.btn) { color: var(--gold); }
@media (min-width: 860px) { .section { padding: 92px 0; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* Service category cards */
.services { display: grid; gap: 16px; }
@media (min-width: 680px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .services { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; }
.svc .num { font: 600 .82rem/1 var(--sans); letter-spacing: .12em; color: var(--gold-text); margin-bottom: 14px; }
.svc h3 { font: 500 1.65rem/1.15 var(--serif); margin-bottom: .3em; }
.svc .from { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.svc .tags { color: var(--stone); font-size: .97rem; margin-bottom: 18px; }
.svc .actions { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.svc .actions .btn { min-height: 44px; padding: 0 20px; font-size: .82rem; }
.svc.dark { background: var(--ink); color: rgba(255, 255, 255, .86); border-color: var(--ink); }
.svc.dark h3, .svc.dark .from { color: #fff; }
.svc.dark .num { color: var(--gold); }
.svc.dark .tags { color: rgba(255, 255, 255, .78); }
.svc.dark .text-link { color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* Reviews */
.reviews { display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .reviews { grid-template-columns: .8fr 1.2fr; gap: 60px; } }
.score { font: 500 clamp(3.6rem, 10vw, 5rem)/1 var(--serif); color: var(--ink); margin: 0; }
.score-sub { font-weight: 600; margin: 10px 0 4px; }
.score-sub .stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }
.quote-slots { display: grid; gap: 14px; }
.quote-slot { background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 20px 22px; color: var(--stone); }

/* Two-up feature cards: groups, gift cards */
.duo { display: grid; gap: 16px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; }
@media (min-width: 520px) { .feature { grid-template-columns: 160px 1fr; } }
.feature img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.feature .body { padding: 24px; }
.feature h3 { font: 500 1.55rem/1.15 var(--serif); }

/* Visit */
.visit { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr .8fr; gap: 70px; } }
.visit-photo { width: min(100%, 340px); justify-self: center; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--radius); box-shadow: var(--shadow); }
.address { font: 500 1.35rem/1.4 var(--serif); }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin-top: 8px; }
.hours caption { text-align: left; font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-strong); font-weight: 400; }
.hours td { text-align: right; }
.section.dark .hours caption { color: var(--gold); }
.section.dark .hours th, .section.dark .hours td { border-bottom-color: rgba(255, 255, 255, .18); }

/* Closing band */
.cta-band { background: var(--ink); color: rgba(255, 255, 255, .86); text-align: center; padding: 72px 0; border-top: 2px solid var(--gold); }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: #12110f; color: rgba(255, 255, 255, .76); padding: 56px 0 26px; font-size: .95rem; }
.site-footer h2 { font-size: 1.7rem; color: #fff; margin-bottom: .3em; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; }

/* Mobile action bar: Book and Call one tap away */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 242, .97); border-top: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.action-bar .btn { min-height: 48px; padding: 0 8px; font-size: .84rem; }
body { padding-bottom: 78px; scroll-padding-bottom: 90px; }
@media (min-width: 900px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Menu page */
.menu-hero { padding: 52px 0 28px; }
.menu-hero .lead { margin-bottom: .6em; }
.price-note { font-size: .95rem; color: var(--stone); max-width: 44em; }
.chips { position: sticky; top: 68px; z-index: 15; background: rgba(250, 247, 242, .97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
body:has(> shs-concierge) .chips { top: 112px; }
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chips a { flex: none; font: 500 .92rem/1 var(--sans); color: var(--ink); text-decoration: none; padding: 11px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.chips a:hover { border-color: var(--ink); }
.menu-section { padding: 52px 0 12px; scroll-margin-top: 130px; }
body:has(> shs-concierge) .menu-section { scroll-margin-top: 174px; }
.menu-section .intro { color: var(--stone); max-width: 40em; margin-bottom: 18px; }
.subhead { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 30px 0 4px; }
.items { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.item { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item .name { font: 600 1.05rem/1.35 var(--sans); }
.item .time { display: block; font: 400 .92rem/1.5 var(--sans); color: var(--stone); margin-top: 2px; }
.item .price { font: 600 1.05rem/1 var(--sans); color: var(--ink); white-space: nowrap; }
.item .desc { grid-column: 1 / -1; color: var(--ink-soft); font-size: .97rem; margin-top: 4px; }
.cols { display: grid; gap: 0 48px; max-width: 860px; }
.cols .items { max-width: none; }
@media (min-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }
.section-book { margin: 18px 0 0; }

/* Booking page */
.booking-frame { width: 100%; height: 860px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.notes { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.note h3 { font: 500 1.4rem/1.2 var(--serif); }
.note p { color: var(--ink-soft); margin: 0; }

/* Privacy page */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose li { margin-bottom: .5em; }

/* Gentle reveal on scroll, only with JavaScript on */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
