/* B.Press'd by Muva Beauty Bar — the appointment book.
   Tokens per design/DESIGN.md §4. */

:root {
  --paper: #FAF6F1;
  --cover: #F1E6DC;
  --closed: #EFE7E1;
  --ink: #2B2126;
  --ink-2: #6E5A63;
  --lacquer: #7A1F3D;
  --tint: #CDB6BE;
  --hair: rgba(43, 33, 38, 0.14);
  --hair-ink: rgba(250, 246, 241, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--lacquer); }

:focus-visible {
  outline: 2px solid var(--lacquer);
  outline-offset: 3px;
}
.book-sec :focus-visible { outline-color: var(--paper); }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.skip:focus { transform: translateY(76px); color: var(--paper); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 0;
}
.wordmark-sub { font-style: italic; font-weight: 400; }
.header-nav { display: none; }
.header-booklink {
  font-weight: 600;
  padding: 10px 4px;
}

@media (min-width: 860px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .header-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 2px;
  }
  .header-nav a:hover { color: var(--lacquer); }
  .header-nav .header-book {
    background: var(--lacquer);
    color: #fff;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .header-nav .header-book:hover { color: #fff; }
  body.covered .header-nav .header-book {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--hair);
  }
  .header-booklink { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16.5px;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-lacquer { background: var(--lacquer); color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--hair-ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.text-link {
  font-weight: 600;
  padding: 12px 4px;
  display: inline-block;
}

/* ---------- the cover ---------- */

.cover-sec { padding: 40px 0 64px; }
.cover-in {
  display: grid;
  gap: 32px;
}
.cover-panel {
  background: var(--cover);
  border-radius: 6px;
  padding: 40px 24px 44px;
  box-shadow:
    inset 0 2px 8px rgba(43, 33, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 3px rgba(43, 33, 38, 0.07);
}
.kind {
  margin: 0 0 18px;
  color: var(--lacquer);
  font-weight: 600;
  font-size: 16.5px;
}
.name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 13vw, 104px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 3px 4px rgba(255, 255, 255, 0.35),
    0 -1px 2px rgba(43, 33, 38, 0.38);
}
.name em { font-style: italic; font-weight: 400; }
.lead {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.55;
  max-width: 34em;
}
.cover-actions {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.cover-photo { margin: 0; }
.cover-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

@media (min-width: 860px) {
  .cover-sec { padding: 56px 0 88px; }
  .cover-in {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: stretch;
  }
  .cover-panel { padding: 52px 44px; }
  .name { font-size: clamp(64px, 6vw, 88px); }
}

@media (prefers-reduced-motion: no-preference) {
  .cover-panel, .cover-photo {
    animation: settle 0.45s ease both;
  }
  .cover-photo { animation-delay: 0.08s; }
  @keyframes settle {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- sections ---------- */

.sec-head {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.sec-head.light { color: var(--paper); }
.sec-line {
  margin: 0;
  color: var(--ink-2);
  max-width: 38em;
}
.sec-actions {
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

/* ---------- the entries ---------- */

.entries-sec {
  padding: 64px 0 72px;
  border-top: 1px solid var(--hair);
}
.entries {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--hair);
}
.entry:first-child { border-top: 2px solid var(--ink); }
.entry-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  margin: 0;
}
.entry-desc {
  margin: 8px 0 0;
  color: var(--ink-2);
  max-width: 36em;
}
.entry-deposit {
  margin: 10px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lacquer);
}
.entry-fig {
  margin: 4px 0 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
}
.dur {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .entry {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .entry-main { max-width: 620px; }
  .entry-fig {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 2px 0 0;
    text-align: right;
  }
  .price { font-size: 26px; }
}

.byname-line {
  margin: 40px 0 0;
  font-weight: 600;
}
.byname {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 0 48px;
}
.byname li {
  padding: 11px 0;
  border-top: 1px solid var(--hair);
}
@media (min-width: 720px) {
  .byname { grid-template-columns: 1fr 1fr; }
}
.travel-line {
  margin: 22px 0 0;
  color: var(--ink-2);
}

/* ---------- the week ---------- */

.week-sec {
  padding: 64px 0 72px;
  border-top: 1px solid var(--hair);
}
.week-in {
  display: block;
}
.week {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.day {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 13px 14px;
  border-top: 1px solid var(--hair);
}
.day-name { font-weight: 600; }
.day-hours {
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.day.closed {
  background: var(--closed);
  border-top-color: transparent;
}
.day.closed .day-name {
  color: var(--ink-2);
  font-weight: 400;
}
.day.closed .day-hours {
  color: var(--ink-2);
  font-weight: 400;
}
.week-note {
  margin: 18px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
@media (min-width: 860px) {
  .week { max-width: 860px; }
}

/* ---------- the booking band ---------- */

.book-sec {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 72px;
}
.book-line {
  margin: 0;
  color: var(--tint);
  max-width: 38em;
}
.book-actions {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- the visit ---------- */

.visit-sec { padding: 64px 0 80px; }
.visit-addr {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.2;
  margin: 6px 0 0;
}
.visit-phone-line { margin: 20px 0 0; }
.visit-phone {
  display: inline-block;
  padding: 8px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
}
.visit-phone:hover { color: var(--lacquer); }
.visit-actions {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hair);
  padding: 36px 0 110px;
  color: var(--ink-2);
  font-size: 15px;
}
.site-footer p { margin: 4px 0; }
.site-footer .footer-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.site-footer a { color: var(--ink-2); padding: 11px 0; display: inline-block; }

section[id] { scroll-margin-top: 80px; }

@media (min-width: 860px) {
  .site-footer { padding-bottom: 44px; }
}

/* ---------- phone bar ---------- */

.phonebar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(43, 33, 38, 0.16);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.phonebar .btn { flex: 1; padding: 12px 10px; }
body.covered .phonebar {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 860px) {
  .phonebar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phonebar, .btn, .skip { transition: none; }
}
