:root {
  --paper: #f3efe6;
  --card: #fffdf8;
  --ink: #17241f;
  --muted: #5c6a63;
  --teal: #1e4f45;
  --mist: #e4efe9;
  --clay: #c4532a;
  --line: rgba(23, 36, 31, 0.16);
  --wa: #1f8f4e;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16.5px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow, .kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.btn-lime, .btn-gold { background: var(--mist); color: var(--ink); border: 1px solid var(--teal); }
.btn-wine { background: var(--clay); color: white; }
.lede { color: var(--muted); max-width: 42ch; }

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid transparent;
}
.mast.scrolled { border-bottom-color: var(--line); }
.topstrip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.topstrip a { color: var(--teal); }
.site-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 28px;
  position: relative;
}
.logo {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.logo span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.nav-links { display: flex; justify-content: center; gap: 22px; font-size: 14px; }
.nav-links a.on { color: var(--teal); box-shadow: inset 0 -1px 0 var(--teal); }
.head-actions, .hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bag, .book-link, .btn, .menu-btn, .close {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bag, .book-link, .btn { padding: 0 16px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.bag { border: 1px solid var(--line); }
.bag b {
  margin-left: 6px;
  background: var(--clay);
  color: white;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.book-link, .btn-solid { background: var(--teal); color: var(--paper); }
.btn-line, .btn-ghost { border: 1px solid var(--line); }
.btn-wa { background: var(--wa); color: white; }
.btn-block { width: 100%; }
.menu-btn { display: none; width: 42px; border: 1px solid var(--line); flex-direction: column; gap: 6px; }
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); }

.cover {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100svh - 108px);
  border-bottom: 1px solid var(--line);
}
.cover-copy { padding: 10vh 7vw 8vh; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.cover h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.3rem, 6.6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  max-width: 8ch;
}
.cover-photo { position: relative; min-height: 68vh; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 68vh; }
.cover-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--paper);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section { padding: 72px 0; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; }
.menu-list { display: grid; }
.svc {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.svc img { width: 112px; height: 84px; object-fit: cover; }
.num { font-size: 12px; letter-spacing: 0.14em; color: var(--clay); }
.svc h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.svc p { color: var(--muted); }
.price { font-family: var(--serif); font-size: 1.4rem; }
.mins { font-size: 12px; color: var(--muted); }
.svc-foot { display: grid; justify-items: end; gap: 8px; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--teal);
  color: var(--paper);
}
.steps-row article { padding: 36px 28px; border-left: 1px solid rgba(243, 239, 230, 0.2); }
.steps-row article:first-child { border-left: 0; }
.steps-row b { font-family: var(--serif); font-size: 2rem; font-weight: 500; display: block; margin-bottom: 8px; }
.steps-row p { color: rgba(243, 239, 230, 0.82); }

.page-intro { padding: 36px 0 8px; }
.page-intro h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4.4rem); letter-spacing: -0.04em; line-height: 0.95; margin: 8px 0 12px; }

.work {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}
.work img { width: 100%; height: 280px; object-fit: cover; cursor: zoom-in; }
.work img:first-child { grid-row: span 2; height: 100%; min-height: 574px; }

.notes { display: grid; gap: 0; }
.note { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 24px; }
.note p { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.25; }
.note cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.book-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding-bottom: 72px; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 18px; }
.looks { display: grid; }
.look {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  width: 100%;
}
.look img { width: 52px; height: 52px; object-fit: cover; }
.look.on { background: var(--mist); outline: 1px solid var(--teal); padding-inline: 8px; }
.look strong { display: block; font-family: var(--serif); font-weight: 500; }
.look small, .look b { color: var(--teal); font-size: 12px; }
.hours-pill { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--teal); }
.side-total { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--serif); font-size: 1.4rem; }

.steps { display: flex; gap: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.steps button { border-radius: 0; padding: 10px 0; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.steps button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--clay); }
.steps button:disabled { opacity: 0.35; }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-h strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.cal-h button { width: 36px; height: 36px; border: 1px solid var(--line); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: 11px; color: var(--muted); padding: 6px 0; }
.cal-grid button { height: 42px; }
.cal-grid button.on { background: var(--teal); color: var(--paper); }
.cal-grid button.off { text-decoration: line-through; color: var(--muted); }
.cal-grid button:disabled { opacity: 0.35; cursor: not-allowed; }
.slot-hint { margin: 14px 0 8px; color: var(--muted); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; }
.slots button.on { background: var(--clay); color: white; border-color: var(--clay); }
.step-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.form { display: grid; gap: 12px; }
.form label, .finder label, .block-form label, .track-link {
  display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.form input, .form textarea, .form select, .finder input, .block-form input, .track-link input, #done-msg, #desk-pin {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
}
.sum { display: grid; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum dt { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.code-xl { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; color: var(--teal); }
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.rail li { border-top: 2px solid var(--line); padding-top: 8px; font-size: 13px; font-weight: 600; }
.rail li.done { border-top-color: var(--teal); color: var(--teal); }
.rail li.now { border-top-color: var(--clay); color: var(--clay); }
.finder, .block-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.finder label, .block-form label { flex: 1; min-width: 180px; }
.block-form { margin-top: 28px; }
.desk-list { display: grid; gap: 12px; margin-top: 18px; }
.desk-row { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.desk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.err { color: var(--clay); font-size: 14px; margin-top: 10px; display: none; }
.err.on { display: block; }

.site-foot { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; }
.foot-grid p { color: var(--muted); margin-top: 8px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: var(--teal); }
.mobile-book {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 35;
  height: 54px;
  background: var(--clay);
  color: white;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
}
.overlay { position: fixed; inset: 0; background: rgba(23, 36, 31, 0.35); z-index: 50; opacity: 0; pointer-events: none; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; width: min(400px, 100%); height: 100%;
  background: var(--card); z-index: 60; transform: translateX(-104%);
  display: flex; flex-direction: column; border-right: 1px solid var(--line);
}
.drawer.on { transform: none; }
.drawer-h, .drawer-f { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-f { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer-h { display: flex; justify-content: space-between; align-items: center; }
.drawer-h h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.drawer-b { padding: 8px 20px; overflow: auto; flex: 1; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.item img { width: 64px; height: 64px; object-fit: cover; }
.item .rm { color: var(--clay); font-size: 12px; }
.total { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--serif); font-size: 1.4rem; }
.empty { color: var(--muted); padding: 18px 0; }
.lightbox { position: fixed; inset: 0; background: rgba(23, 36, 31, 0.88); z-index: 70; display: none; place-items: center; padding: 24px; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; }

@media (max-width: 860px) {
  .topstrip span:nth-child(2) { display: none; }
  .site-head { grid-template-columns: 1fr auto; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 16px 22px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .head-actions .book-link { display: none; }
  .menu-btn { display: flex; }
  .cover, .split, .book-layout, .work, .steps-row, .foot-grid, .note, .rail { grid-template-columns: 1fr; }
  .work img, .work img:first-child { height: 240px; min-height: 0; grid-row: auto; }
  .svc { grid-template-columns: 84px 1fr; }
  .svc-foot { grid-column: 2; justify-items: start; }
  .mobile-book { display: flex; }
  body { padding-bottom: 54px; }
  body.is-book { padding-bottom: 0; }
  body.is-book .mobile-book { display: none; }
  .steps-row article { border-left: 0; border-top: 1px solid rgba(243, 239, 230, 0.2); }
}
