:root {
  --ivory: #F8F6F2;
  --paper: #FFFFFF;
  --ink: #3D4246;
  --olive: #6D796E;       /* brand olive: large text and decoration only (4.2:1 on ivory) */
  --olive-ink: #5B665C;   /* small text and filled panels (5.6:1 on ivory, 6:1 under white) */
  --mist: #E9EDE6;
  --rule: #D9D4CA;
  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: 16px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  caret-color: var(--olive-ink);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--olive-ink); color: #fff; }
:focus-visible { outline: 3px solid var(--olive-ink); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9vw + .5rem, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
h3 { font-size: 1.6rem; line-height: 1.1; }
p { text-wrap: pretty; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 10; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { top: 8px; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  border-bottom: 1px solid var(--rule);
}
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.mark-name { font: 600 1.45rem/1 var(--display); }
.mark-by { font-size: .78rem; color: var(--olive-ink); letter-spacing: .02em; }
.bar-actions { display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem;
}
.pill-solid { background: var(--ink); color: #fff; }
.pill:hover { background: var(--mist); }
.pill-solid:hover { background: #2b2f32; }
.hide-sm { display: none; margin-left: .3em; }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--olive-ink); color: #fff; font-weight: 500; text-decoration: none; border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.btn:hover { background: #4a544b; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: #24282a; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--mist); }
.actions { display: grid; gap: 10px; margin-top: 20px; }

/* Home: consultation card */
.consult { padding: 20px var(--gutter) 40px; }
.consult h1 { font-size: clamp(2.6rem, 10vw, 4.75rem); }
.lede { margin-top: 10px; max-width: 34em; }
.consult-photo { display: none; }
.card { margin-top: 18px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 10px 30px -18px rgba(61, 66, 70, .35); }
.opts { border: 0; padding: 0; }
.opt {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 13px 16px 13px 48px; border-bottom: 1px solid var(--rule);
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt::before {
  content: ""; position: absolute; left: 16px; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%;
}
.opt-text { font-weight: 500; }
.opt-hint { font-size: .85rem; color: var(--olive-ink); text-align: right; }
.opt:hover { background: var(--mist); }
.opt:has(input:checked) { background: var(--olive-ink); color: #fff; }
.opt:has(input:checked) .opt-hint { color: var(--mist); }
.opt:has(input:checked)::before { border-color: #fff; background: radial-gradient(circle, #fff 0 4px, transparent 5px); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: -3px; }

.results { background: var(--olive-ink); color: #fff; }
.result { display: none; padding: 18px 16px 20px; }
.card:has(#g-sensitive-skin-facials:checked) [data-for="g-sensitive-skin-facials"],
.card:has(#g-anti-aging-facials:checked) [data-for="g-anti-aging-facials"],
.card:has(#g-acne-facials:checked) [data-for="g-acne-facials"],
.card:has(#g-corrective-facials:checked) [data-for="g-corrective-facials"] { display: block; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(2px); } }
.result-h { font-size: 1.9rem; }
.mini { list-style: none; padding: 0; margin: 10px 0 16px; }
.mini li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.mini-meta { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--mist); font-size: .95rem; }
.result-more { display: inline-block; margin-top: 12px; padding: 8px 0; color: #fff; }

/* Home: menu board */
.board { padding: 48px var(--gutter); border-top: 1px solid var(--rule); }
.board-lede { margin-top: 8px; }
.board-list { list-style: none; padding: 0; margin-top: 24px; border-bottom: 1px solid var(--ink); }
.board-row { display: block; padding: 18px 0; border-top: 1px solid var(--ink); text-decoration: none; }
.board-name { display: block; font: 500 clamp(1.9rem, 5vw, 2.6rem)/1.05 var(--display); }
.board-row:hover .board-name { text-decoration: underline; text-decoration-thickness: 1px; }
.board-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; color: var(--olive-ink); font-variant-numeric: tabular-nums; }

/* Home: who */
.who { display: grid; gap: 24px; padding: 48px var(--gutter); background: var(--mist); }
.who-photo img { width: min(80%, 360px); }
.who-text p { margin-top: 14px; max-width: 36em; }

/* Visit */
.visit { display: grid; border-top: 1px solid var(--rule); }
.visit-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.visit-text { padding: 32px var(--gutter) 48px; }
address { font-style: normal; margin-top: 14px; }
.hours { margin-top: 20px; border-collapse: collapse; width: 100%; max-width: 360px; }
.hours caption { text-align: left; font-weight: 500; padding-bottom: 6px; }
.hours th, .hours td { padding: 6px 0; border-top: 1px solid var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.note { margin-top: 12px; font-size: .9rem; color: var(--olive-ink); }

/* Category pages */
.cat-head { padding: 16px var(--gutter) 28px; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--olive-ink); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { display: inline-block; padding: 6px 0; }
.cat-head h1 { font-size: clamp(2.4rem, 8vw + .4rem, 4.25rem); }
.cat-facts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; color: var(--olive-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.cat-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.menu { padding: 8px var(--gutter) 40px; }
.txg { margin-top: 32px; }
.txg > h2 { font-size: 2.1rem; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.tx-list { list-style: none; padding: 0; }
.tx { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.tx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tx-price { font: 500 1.6rem/1 var(--display); white-space: nowrap; }
.tx-time { margin: 4px 0 8px; color: var(--olive-ink); font-weight: 500; }
.tx p + p { margin-top: 8px; }
.tx p:not(.tx-time):not(.tx-price) { max-width: 40em; }
.tx-pack { font-size: .95rem; color: var(--olive-ink); }
.tx-book { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 500; }
.more { padding: 40px var(--gutter); background: var(--mist); }
.more ul { list-style: none; padding: 0; margin-top: 16px; }
.more a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ink); font: 500 1.5rem/1.1 var(--display); text-decoration: none; }
.more a span { font: 400 1rem/1.6 var(--body); color: var(--olive-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.more a:hover { text-decoration: underline; }

/* Footer */
.foot { background: var(--ink); color: #fff; padding: 40px var(--gutter) 48px; }
.foot-inner { display: grid; gap: 24px; max-width: 1200px; margin: 0 auto; }
.foot ul { list-style: none; padding: 0; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot-small { font-size: .9rem; color: #D7DAD3; max-width: 44em; }
.foot :focus-visible { outline-color: #fff; }

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hide-sm { display: inline; }
  .actions { grid-auto-flow: column; justify-content: start; }
}

@media (min-width: 900px) {
  :root { --gutter: max(40px, calc((100vw - 1200px) / 2)); }
  .consult { display: grid; grid-template-columns: 1fr minmax(380px, 460px); gap: 56px; align-items: start; padding-top: 56px; padding-bottom: 72px; }
  .consult-photo { display: block; margin-top: 32px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
  .card { margin-top: 0; position: sticky; top: 96px; }
  .board { padding-top: 72px; padding-bottom: 72px; }
  .board-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
  .board-meta { margin-top: 0; }
  .who { grid-template-columns: 1fr 1.6fr; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
  .who-photo img { width: 100%; max-width: 380px; margin-left: auto; }
  .visit { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .visit-photo img { height: 100%; aspect-ratio: auto; object-position: 88% 50%; }
  .visit-text { padding: 56px 40px 56px 56px; padding-right: var(--gutter); }
  .cat-head, .cat-photo, .menu { max-width: none; }
  .cat-wrap { display: grid; }
  .cat-head { padding-top: 40px; max-width: calc(760px + 2 * var(--gutter)); }
  .cat-photo { padding: 0 var(--gutter); }
  .cat-photo img { aspect-ratio: 21 / 8; }
  .menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); column-gap: 56px; align-items: start; }
  .menu > .note { grid-column: 1 / -1; }
  .foot-inner { grid-template-columns: 1fr 1fr 1.4fr; }
}

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