/* Nail Paradise Studio — strict modern, compact.
   Graphite on warm white, one bronze accent, hairlines instead of shadows, square corners. */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --tone: #edebe6;
  --ink: #141414;
  --muted: #67635c;
  --line: #d8d4cc;
  --line-strong: #141414;
  --accent: #8a5a44;
  --accent-soft: #f1e8e2;
  --head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --nav-h: 60px;
  --gap: clamp(1rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, iframe { max-width: 100%; display: block; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0 0 .75rem; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 90; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { top: .6rem; }

/* ---------- type ---------- */
.kicker {
  margin: 0 0 .6rem;
  font: 600 11px/1.2 var(--body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.display, .display-sm, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.025em; margin: 0; }
.display { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1; }
.display-sm { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.08; }
h3 { font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
em { font-style: normal; color: var(--accent); }
.lede { max-width: 34rem; margin: .75rem 0 0; color: var(--muted); font-size: 15.5px; }
.note { margin: 1rem 0 0; color: var(--muted); font-size: 13.5px; }
.status { min-height: 1.2em; margin: .6rem 0 0; color: var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- layout ---------- */
.wrap { width: min(1160px, calc(100% - 2 * clamp(16px, 4vw, 40px))); margin: 0 auto; }
.section { padding: clamp(2.6rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.tone { background: var(--tone); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; margin-bottom: 1.6rem; }
.head .lede { margin: 0; justify-self: end; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
.duo, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.1rem, 2.4vw, 1.6rem); }
.panel > h3 { margin-bottom: .8rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 44px; padding: 0 1.15rem;
  border: 1px solid var(--ink); border-radius: 2px;
  background: transparent; color: var(--ink);
  font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .45; cursor: default; }
.btn-copper, .btn-ink { background: var(--ink); color: #fff; }
.btn-copper:hover, .btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.row-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: env(safe-area-inset-top) max(clamp(16px, 4vw, 40px), env(safe-area-inset-right)) 0 max(clamp(16px, 4vw, 40px), env(safe-area-inset-left));
  background: rgba(246, 245, 242, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
.nav.hide { transform: translateY(-100%); }
.logo {
  display: inline-flex; align-items: baseline; gap: .45rem;
  font: 700 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.logo span { font-weight: 500; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  position: relative; padding: .4rem 0;
  font: 500 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted);
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:hover, .nav-links a.here { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.here::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: .6rem; }
.nav-end .btn { min-height: 38px; }
.lang { display: flex; border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; padding: 0 .55rem; height: 32px; font: 600 11px/1 var(--body); letter-spacing: .08em; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)) 0 clamp(2rem, 4vw, 3rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.side-note { margin-top: 1rem; color: var(--muted); font-size: 13px; }
.hero-visual { border: 1px solid var(--line); background: var(--surface); }
.hero-visual img { width: 100%; height: clamp(260px, 36vw, 440px); object-fit: cover; }
.hero-line {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem .9rem; border-top: 1px solid var(--line);
  font: 500 12px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- facts strip ---------- */
.facts { border-top: 1px solid var(--line); background: var(--surface); }
.facts-row { display: flex; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.facts-row::-webkit-scrollbar { display: none; }
.facts-row span {
  flex: 1 0 auto; padding: .85rem 1rem; text-align: center; white-space: nowrap;
  font: 500 11.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border-left: 1px solid var(--line);
}
.facts-row span:first-child { border-left: 0; }

/* ---------- method ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.photo-card { background: var(--surface); border: 1px solid var(--line); }
.photo-card img { width: 100%; height: 170px; object-fit: cover; filter: saturate(.9); }
.photo-card > div { padding: 1rem 1.05rem 1.1rem; }
.photo-card .num { display: block; margin-bottom: .45rem; font: 600 11px/1 var(--body); letter-spacing: .14em; color: var(--accent); }
.photo-card p { margin: .45rem 0 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- services ---------- */
#service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--surface); border: 1px solid var(--line); }
.svc img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.svc-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.2rem; }
.svc-body h3 { font-size: 1.2rem; }
.from { margin: 0; font: 600 1.05rem/1 var(--head); color: var(--accent); }
.svc-summary { margin: 0; color: var(--muted); font-size: 14px; }
.svc-variants { list-style: none; margin: .2rem 0 .6rem; padding: 0; border-top: 1px solid var(--line); }
.svc-variants li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.svc-variants b { font-weight: 600; white-space: nowrap; }
.svc-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- forms ---------- */
.field { display: grid; gap: .35rem; margin: 0 0 .85rem; }
.field > span { font: 600 10.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%; min-height: 44px; padding: .6rem .75rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 16px; /* no zoom on iOS */
  transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
textarea { min-height: 88px; resize: vertical; }
.check { display: flex; gap: .65rem; align-items: flex-start; padding: .75rem .85rem; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; color: var(--muted); }
.check input { width: 18px; height: 18px; min-height: 0; min-width: 18px; margin: .1rem 0 0; accent-color: var(--ink); }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.inline-form { display: flex; gap: .5rem; align-items: flex-end; margin-top: 1rem; }
.inline-form .field { flex: 1; margin: 0; }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.2rem 0 1rem; border: 1px solid var(--ink); }
.stepper button {
  height: 40px; border: 0; border-left: 1px solid var(--ink); background: transparent; cursor: pointer;
  font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.stepper button:first-child { border-left: 0; }
.stepper button.on { background: var(--ink); color: #fff; }
.js .step { display: none; }
.js .step.on { display: block; }
.days, .slots { display: grid; gap: 6px; }
.days { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.slots { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); margin-top: .9rem; color: var(--muted); font-size: 14px; }
.day, .slot {
  height: 40px; padding: 0 .5rem; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); cursor: pointer;
  font: 500 13px/1 var(--body); color: var(--ink); white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.day:hover, .slot:hover { border-color: var(--ink); }
.day.on, .slot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.summary {
  position: sticky; top: calc(var(--nav-h) + 16px);
  background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ink);
  padding: 1.2rem 1.25rem;
}
.summary h3 { font-size: 1.15rem; }
#summary-detail { margin: .3rem 0 0; color: var(--muted); font-size: 14px; }
.price-xl { margin: .9rem 0 .7rem; font: 600 2.4rem/1 var(--head); letter-spacing: -.03em; }
.summary-meta { border-top: 1px solid var(--line); padding-top: .6rem; }
.summary-meta p { margin: 0; padding: .35rem 0; font-size: 14px; color: var(--muted); }
#book-done { margin-top: 1.2rem; padding: 1.2rem; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--surface); }
#done-code { font-size: 1.6rem; letter-spacing: .04em; margin-bottom: .5rem; }

/* ---------- gifts & portal ---------- */
.gift-card {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .3rem 1rem;
  margin-bottom: 1.2rem; padding: 1rem 1.1rem; min-height: 120px;
  background: var(--ink); color: #fff;
}
.gift-card span { grid-column: 1 / -1; align-self: start; font: 600 11px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.gift-card strong { font: 600 2.4rem/1 var(--head); letter-spacing: -.03em; }
.gift-card em { justify-self: end; font: 500 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #d9b8a6; }
#gift-form { margin-top: 1.1rem; }
.result { margin-top: .6rem; border-top: 1px solid var(--line); }
.result article { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.result h3 { font-size: .95rem; letter-spacing: .04em; }
.result p { margin: .3rem 0 .5rem; color: var(--muted); font-size: 14px; }
.result .btn { min-height: 36px; }

/* ---------- policies & privacy ---------- */
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 1.4rem; }
.rules article { border-top: 2px solid var(--ink); padding-top: .8rem; }
.rules h3 { font-size: .98rem; margin-bottom: .4rem; }
.rules p { margin: 0; color: var(--muted); font-size: 14px; }
#privacy { padding: 1.4rem 0; }
.privacy summary { display: flex; align-items: baseline; gap: .8rem; cursor: pointer; list-style: none; font: 600 1rem/1.3 var(--head); }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: "+"; margin-left: auto; font: 400 1.3rem/1 var(--body); }
.privacy[open] summary::after { content: "−"; }
.privacy summary .kicker { margin: 0; }

/* ---------- visit ---------- */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin: 1.2rem 0 0; border-top: 1px solid var(--line); }
.contacts > div { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contacts .wide { grid-column: 1 / -1; }
.contacts dt { font: 600 10.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.contacts dd { margin: 0; font-size: 14.5px; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.map-frame { width: 100%; height: 220px; margin-top: 1rem; border: 1px solid var(--line); filter: grayscale(.6) contrast(1.05); }

/* ---------- footer & dock ---------- */
footer { border-top: 1px solid var(--line); background: var(--surface); padding: 1.4rem 0 1.6rem; font-size: 13px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot strong { color: var(--ink); font: 700 13px/1.4 var(--head); letter-spacing: .12em; text-transform: uppercase; }
footer nav { display: flex; gap: 1.2rem; }
footer a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; }
footer a:hover { color: var(--ink); }
.dock {
  position: fixed; z-index: 35;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  min-height: 48px; transition: transform .3s ease;
}
.dock.hide, .dock.away { transform: translateY(170%); }

/* ---------- responsive ---------- */
@media (min-width: 981px) { .dock { display: none; } }

@media (max-width: 980px) {
  .nav-toggle { display: flex; order: 3; }
  .nav-end { margin-left: auto; }
  .nav-end .btn { display: none; }
  .nav { z-index: 80; }
  .logo, .nav-end, .nav-toggle { position: relative; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; z-index: 1; height: 100dvh;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 0;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 1rem) clamp(16px, 6vw, 40px) 2rem;
    background: var(--bg); visibility: hidden; pointer-events: none;
  }
  .nav-links.open { visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font: 600 1.4rem/1 var(--head); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
  .nav-links a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #service-list { grid-template-columns: minmax(0, 1fr); }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  .hero-grid, .head, .duo, .split, .photo-grid { grid-template-columns: minmax(0, 1fr); }
  .head .lede { justify-self: start; }
  .hero { padding-top: calc(var(--nav-h) + 1.6rem); }
  .hero-visual img { height: 230px; }
  .hero-actions .btn, .row-actions .btn { flex: 1 1 auto; }
  .facts-row { justify-content: flex-start; }
  .photo-grid { gap: .75rem; }
  .photo-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .photo-card img { height: 100%; min-height: 120px; }
  .photo-card > div { padding: .8rem .9rem; }
  .photo-card p { -webkit-line-clamp: 3; font-size: 13.5px; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc img { min-height: 0; height: 170px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .rules { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .contacts { grid-template-columns: minmax(0, 1fr); }
  .inline-form { flex-direction: column; align-items: stretch; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-xl { font-size: 2rem; }
  .logo span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Day picker: full days stay visible but cannot be picked. */
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: auto; min-height: 44px; padding: .45rem .4rem; }
.day small { font: 600 9.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.day.full, .day.full:hover { cursor: not-allowed; color: var(--muted); border-color: var(--line); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(20, 20, 20, .05) 6px 12px), var(--surface); }
.text-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 1px; font-weight: 500; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
