/* Lacquer Room (demo nail studio) · Kiwi Site Lab
   Black lacquer and white, high-contrast serif. The one loud thing is the swatch wall. */

:root {
  --black: #141114;
  --white: #FFFFFF;
  --rouge: #C8102E;
  --rouge-dark: #A30C25;
  --stone: #F3F1EE;
  --muted: #5E5560;
  --rule: #E4DFE0;
  --serif: Gloock, Georgia, serif;
  --sans: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--black); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul, blockquote, table { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--rouge); text-underline-offset: 3px; }
a:hover { color: var(--rouge-dark); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 6vw, 3.25rem); margin-bottom: 12px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 72px; }
@media (min-width: 1024px) { .section { padding-block: 104px; } }
.lede { color: var(--muted); margin-bottom: 32px; max-width: 52ch; }
.small { font-size: .9375rem; color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 16px; background: var(--black); color: #fff; }
.skip-link:focus { top: 16px; color: #fff; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: var(--rouge); color: #fff; border: 0; border-radius: 2px; font: 600 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.button:hover { background: var(--rouge-dark); color: #fff; }
.text-link { color: inherit; font-weight: 600; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--black); color: #fff; }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { margin-right: auto; color: #fff; text-decoration: none; font: 400 1.5rem/1 var(--serif); }
.brand:hover { color: #fff; }
.top-links { display: flex; align-items: center; gap: 22px; }
.top-links a { color: #fff; text-decoration: none; font-weight: 500; }
.top-links a:not(.book-link) { display: none; }
.top-links a:hover { text-decoration: underline; color: #fff; }
.book-link { padding: 9px 18px; border: 1px solid #fff; border-radius: 2px; }
@media (min-width: 720px) { .top-links a:not(.book-link) { display: inline; } }

/* Hero */
.hero { background: var(--black); color: #fff; }
.hero-grid { display: grid; gap: 32px; padding-block: 40px 0; }
.hero h1 { font-size: clamp(2.6rem, 9.5vw, 4.75rem); max-width: 13ch; margin-bottom: 20px; }
.hero-text > p:not(.demo-line) { max-width: 40ch; color: #D8D1D6; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.demo-line { margin-top: 28px; font-size: .875rem; color: #A9A0A6; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; padding-block: 72px; }
  .hero-photo img { aspect-ratio: 5 / 6; }
}

/* Services table */
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 0 0 10px; border-bottom: 2px solid var(--black); font-size: .9375rem; font-weight: 600; text-align: left; color: var(--muted); }
.price-table thead th:not(:first-child), .price-table td { text-align: right; white-space: nowrap; }
.price-table tbody th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.price-table tbody th { font: 400 1.375rem/1.2 var(--serif); text-align: left; padding-right: 16px; }
.price-table tbody th span { display: block; margin-top: 4px; font: 400 .9375rem/1.4 var(--sans); color: var(--muted); }
.price-table td { padding-left: 16px; font-weight: 500; }
.price-table td:last-child { font-weight: 600; }

/* Swatch wall + booking */
.book { background: var(--stone); }
.book-form { display: grid; gap: 24px; }
.swatch-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; margin: 0; padding: 0; border: 0; }
.swatch { position: relative; display: grid; justify-items: center; gap: 8px; cursor: pointer; text-align: center; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dot {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.65) 0 8%, rgba(255,255,255,0) 22%), var(--c);
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.18), 0 0 0 1px rgba(20,17,20,.12);
  transition: transform .15s;
}
.swatch:hover .dot { transform: scale(1.06); }
.swatch input:checked + .dot { box-shadow: inset 0 -6px 12px rgba(0,0,0,.18), 0 0 0 3px var(--stone), 0 0 0 5px var(--black); }
.swatch input:focus-visible + .dot { outline: 3px solid var(--rouge); outline-offset: 6px; }
.name { font-size: .875rem; font-weight: 500; line-height: 1.25; }
.chosen { font: 400 1.375rem/1.3 var(--serif); }
.details { display: grid; gap: 16px; padding: 24px 20px; background: #fff; }
.field { display: grid; gap: 6px; font-weight: 500; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 12px; background: #fff; color: var(--black); border: 1px solid #A79EA4; border-radius: 2px; font: 400 1.0625rem var(--sans); }
.field input:focus, .field select:focus { outline: 3px solid var(--rouge); outline-offset: 1px; }
.book-form .button { justify-self: start; }
.form-error { min-height: 1.4em; margin-bottom: -12px; color: var(--rouge-dark); font-weight: 600; }
.form-done { padding: 14px 16px; background: #fff; border-left: 4px solid var(--black); }
@media (min-width: 560px) { .swatch-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .details { grid-template-columns: 1fr 1fr; padding: 32px; } }
@media (min-width: 1000px) { .swatch-wall { grid-template-columns: repeat(6, 1fr); gap: 28px 16px; } .dot { width: 84px; height: 84px; } }

/* Work */
.work h2 { margin-bottom: 28px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.work-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }

/* Reviews */
.reviews { background: var(--black); color: #fff; }
.reviews .lede { color: #A9A0A6; }
.quotes { display: grid; gap: 32px; }
.quotes p { font: 400 1.5rem/1.3 var(--serif); margin-bottom: 10px; }
.quotes footer { color: #A9A0A6; font-size: .9375rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Visit */
.visit-grid { display: grid; gap: 32px; }
.visit-grid p { margin-bottom: 20px; max-width: 44ch; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; }
.hours caption { text-align: left; font: 400 1.375rem/1.2 var(--serif); padding-bottom: 6px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.map { min-height: 320px; border: 1px solid var(--rule); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; } }

/* Footer */
.foot { padding: 40px 0; border-top: 1px solid var(--rule); font-size: .9375rem; color: var(--muted); }
.foot-inner { display: grid; gap: 8px; }
.foot-brand { display: block; margin-bottom: 4px; font: 400 1.5rem/1 var(--serif); color: var(--black); }
.credits { font-size: .875rem; }
