/* Unique Nails & Hair — Mountain View. Sign blue / sand / clay. Not coral, blush, or plum. */
:root {
  --sky: #2B6FA8;
  --sky-deep: #1E4F7A;
  --sky-soft: #D7E6F2;
  --sand: #F3EDE3;
  --ivory: #FBF7F1;
  --ink: #1C1F24;
  --muted: #5A6068;
  --clay: #C4622D;
  --line: #DDD4C8;
  --white: #FFFcf8;
  --header-h: 4.1rem;
  --dock-h: 3.8rem;
  --wrap: 1080px;
  --display: "Newsreader", "Times New Roman", serif;
  --body: "Sora", system-ui, sans-serif;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-underline-offset: 0.16em; }
a:hover { color: var(--clay); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus {
  left: 0.75rem; top: 0.75rem; z-index: 500;
  background: var(--ivory); color: var(--ink);
  padding: 0.5rem 0.85rem;
}
.wrap { width: min(var(--wrap), calc(100% - 1.5rem)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 600;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 7vw, 3.6rem); margin: 0 0 0.85rem; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.7rem; color: var(--sky-deep); }
.lede, .section-lede, p { color: var(--muted); }
.lede { font-size: 1.06rem; max-width: 36rem; }
.section-lede { max-width: 38rem; margin: 0 0 1.6rem; }

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 3.1rem; padding: 0.7rem 1.3rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--sky-deep); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--sky-deep);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--sky); color: var(--sky-deep); }
.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost-ink:hover { border-color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 237, 227, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-mark {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: var(--sky-deep);
  color: var(--sand);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-loc {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-desk { display: none; }
.nav-desk a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}
.nav-desk a .nav-en { color: var(--muted); font-weight: 400; font-size: 0.68rem; }
.nav-desk a:hover { color: var(--sky); }
.header-actions { display: flex; gap: 0.45rem; margin-left: auto; }

.hero {
  display: grid;
  background: var(--ivory);
}
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  object-position: 50% 20%;
}
.hero-copy { padding: 1.7rem 1.15rem 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.15rem; }

.strip {
  background: var(--sky-deep);
  color: #E8F0F7;
}
.strip a { color: inherit; text-decoration: none; }
.strip-grid { display: grid; }
.strip-item {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.strip-item:last-child { border-bottom: 0; }
.strip-k {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9BB8D1;
  margin-bottom: 0.2rem;
}
.strip-v { font-weight: 600; }

.section { padding: 3rem 0; }
.section-alt { background: var(--ivory); }
.section-ink {
  background: var(--sky-deep);
  color: #E8F0F7;
}
.section-ink h2 { color: #fff; }
.section-ink p { color: #C5D5E4; }
.section-ink .eyebrow { color: #8EBBDD; }
.section-head { margin-bottom: 0.4rem; }

.about-grid, .visit-grid, .hours-grid { display: grid; gap: 1.6rem; }
.about-photo, .visit-photo { margin: 0; }
.about-photo img, .visit-photo img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sky-deep);
}

.menu-split { display: grid; gap: 1rem; }
.menu-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.15rem;
}
.menu-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
}
.menu-card li:last-child { border-bottom: 0; }
.menu-aside {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}
.price-note {
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
}
.service-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.4rem;
}
.service-photos figure { margin: 0; }
.service-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; width: 38%; color: #fff; }
.hours td { color: #D5E4F0; }
.hours tr.is-today { background: rgba(255,255,255,0.1); }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; }

.visit-phone {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  margin: 0.4rem 0 1.1rem;
}
.visit-phone a { color: var(--ink); text-decoration: none; }
.visit-phone a:hover { color: var(--sky); }

.site-footer {
  background: #15181C;
  color: #B7BDC4;
  padding: 1.6rem 0 calc(1.4rem + var(--dock-h) + env(safe-area-inset-bottom, 0px));
  font-size: 0.88rem;
}
.footer-inner p { margin: 0 0 0.45rem; }
.site-footer a { color: #E8EEF3; }
.preview-note {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: #7A8088;
}

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--ink);
}
.dock a, .dock button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #F3EDE3;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}
.dock button { background: var(--sky); color: #fff; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 400; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 26, 0.62);
}
.modal-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: min(94svh, 820px);
  overflow: auto;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.15rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -20px 50px rgba(0,0,0,0.28);
}
.modal-x {
  position: absolute;
  top: 0.7rem; right: 0.75rem;
  width: 2.4rem; height: 2.4rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-panel h2 { padding-right: 2rem; }
.modal-lede { margin: 0 0 1rem; color: var(--muted); }
#book-form { display: grid; gap: 0.75rem; }
#book-form label { display: grid; gap: 0.28rem; }
#book-form label > span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-deep);
}
#book-form label i {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
#book-form input,
#book-form select,
#book-form textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
}
#book-form textarea { min-height: 5rem; resize: vertical; }
#book-form input:focus,
#book-form select:focus,
#book-form textarea:focus {
  outline: 2px solid var(--sky);
  border-color: var(--sky);
}
.form-row { display: grid; gap: 0.75rem; }
.err { color: #9B1C2C; font-size: 0.78rem; min-height: 0; }
label.is-invalid input,
label.is-invalid select { border-color: #9B1C2C; }
#book-thanks .btn { margin-top: 0.55rem; }
body.book-open { overflow: hidden; }

@media (min-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 2.4rem)); }
  .nav-desk {
    display: flex;
    gap: 1.15rem;
    margin-left: 1.2rem;
  }
  .hero-copy { padding: 2.2rem 0 2.4rem; }
  .hero { padding-inline: 0; }
  .hero-photo img { height: min(62vh, 560px); }
  .strip-grid {
    grid-template-columns: 1.15fr 0.95fr 1.25fr;
    gap: 1rem;
    padding: 1rem 0;
  }
  .strip-item { border-bottom: 0; padding: 0.4rem 0; }
  .menu-split { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 0.55rem; }
  .about-grid, .visit-grid, .hours-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2.3rem;
  }
  .form-row { grid-template-columns: 1fr 1fr; }
  .dock { display: none; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 1.6rem; }
  .modal-panel {
    left: 50%; right: auto; bottom: auto; top: 50%;
    transform: translate(-50%, -50%);
    width: min(32rem, calc(100% - 2rem));
    max-height: min(90vh, 780px);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem 1.7rem;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 78vh;
    align-items: stretch;
  }
  .hero-photo img {
    height: 100%;
    min-height: 78vh;
    object-position: 50% 18%;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3rem 3rem 2.4rem;
  }
  .section { padding: 4.2rem 0; }
}
