@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6f2;
  --surface: #ffffff;
  --sand: #f2e9e1;
  --ink: #1f1916;
  --muted: #5a4e47; /* 7.5:1 on --bg */
  --line: #e7dcd3;
  --accent: #a87562; /* decorative only: borders, underlines, focus ring (white text on it is 3.9:1) */
  --accent-ink: #734839; /* rose-brown text: links, eyebrows, prices — 7.2:1 on --bg */
  --btn: #93604e; /* button fill: white text 5.2:1 */
  --btn-hover: #7d4f40;
  --dark: #16110f;
  --on-dark: #f5ede6;
  --on-dark-muted: #c9bab0;
  --radius: 14px;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg .fill {
  fill: currentColor;
  stroke: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 500;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.4rem;
}
em {
  font-style: italic;
  color: var(--accent);
}
p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 500;
  margin-bottom: 0.9rem;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75em 1.6em;
  border-radius: 999px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: #fff;
  font: 500 0.95rem/1.2 var(--sans);
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
}
.btn-small {
  min-height: 40px;
  padding: 0.5em 1.2em;
  font-size: 0.88rem;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  background: var(--sand);
  border-color: var(--accent);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-block {
  width: 100%;
}

.link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(168, 117, 98, 0.4);
  text-underline-offset: 3px;
}
.link:hover {
  text-decoration-color: currentColor;
}
.link-small {
  font-size: 0.9rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled,
.site-header.nav-open {
  background: rgba(22, 17, 15, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  height: 52px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  opacity: 0.88;
}
.site-nav a:not(.btn):hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: rgba(22, 17, 15, 0.97);
    display: none;
  }
  .nav-open .site-nav {
    display: flex;
  }
  .site-nav a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav .btn {
    margin-top: 16px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 860px);
  /* svh = the visible height with the browser's toolbars shown. Mobile Chrome's vh assumes its address bar is
     hidden, which made the hero taller than the screen and pushed its text down (vh stays as a fallback). */
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 10, 8, 0.86) 0%, rgba(14, 10, 8, 0.55) 55%, rgba(14, 10, 8, 0.2) 100%),
    var(--hero) center 30% / cover no-repeat,
    var(--dark);
  padding: calc(var(--header-h) + 48px) 0 72px;
}
.hero-inner {
  max-width: 1180px;
}
.hero h1 {
  max-width: 12ch;
}
.hero em {
  color: #e2b9a6;
}
.hero .eyebrow {
  color: #e2b9a6;
}
.lede {
  max-width: 34em;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 0.92rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}
.hero-rating:hover span {
  text-decoration: underline;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #e0a94a;
}

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

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.section-head p:last-child {
  color: var(--muted);
}
.center-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- services ---------- */

.cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar {
  display: none;
}
.cat-nav a {
  flex: none;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  background: var(--surface);
  white-space: nowrap;
}
.cat-nav a:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}
.cat-nav a[aria-current='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.tabbed .category {
  padding-top: 8px;
}
.tabbed .category + .category {
  margin-top: 0;
  border-top: 0;
}
.category[hidden] {
  display: none;
}
.category > .note {
  margin-top: 20px;
}

.category {
  padding-top: 32px;
}
.category + .category {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.category-head h3 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}
.service {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--sand);
}
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.service-head h4 {
  margin: 0;
}
.service-price {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}
.service-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 4px 0 10px;
}
.service-desc {
  color: var(--muted);
  font-size: 0.95rem;
}
.service-desc p {
  margin-bottom: 0.6em;
}
.service-desc.clamped {
  max-height: calc(1.65em * 4);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
.included {
  margin: 4px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.included span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--accent-ink);
  font: 500 0.88rem var(--sans);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: auto;
  padding-top: 16px;
}

/* ---------- about ---------- */

.about {
  background: var(--sand);
}
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  margin: 0;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
}
.about-story {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
}
@media (max-width: 820px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 420px;
  }
}

/* ---------- reviews ---------- */

.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.review-grid {
  columns: 3 300px;
  column-gap: 20px;
}
.review {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review h3 {
  font-size: 1.35rem;
  margin: 8px 0 6px;
}
.review blockquote {
  margin: 0;
  color: var(--muted);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.review-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
}
.review-initials {
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font: 600 0.95rem/1 var(--sans);
  letter-spacing: 0.03em;
}
.review-name {
  display: block;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
a.review-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}
.review[hidden] {
  display: none;
}

/* ---------- good to know ---------- */

.know {
  background: var(--dark);
  color: var(--on-dark);
}
.know .eyebrow {
  color: #e2b9a6;
}
.know-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 16px 64px;
}
.know-inner > p {
  grid-column: 2;
}
.know .link {
  color: #e2b9a6;
}
.know-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--on-dark-muted);
}
.know-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}
.know-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 1.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 820px) {
  .know-inner {
    grid-template-columns: 1fr;
  }
  .know-inner > p {
    grid-column: 1;
  }
}

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

.visit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
}
.contact-list svg {
  margin-top: 0.3em;
  color: var(--accent);
}
.hours-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
}
.hours-title svg {
  color: var(--accent);
}
.hours {
  width: 100%;
  max-width: 360px;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.hours th,
.hours td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.hours td {
  text-align: right;
  color: var(--muted);
}
.hours tr.today th,
.hours tr.today td {
  font-weight: 500;
  color: var(--accent-ink);
}
.hours tr.today th::after {
  content: ' · today';
  font-size: 0.8rem;
}
.map {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--line);
}
.map {
  position: relative;
}
/* MapLibre's own CSS makes its container position: relative; keep it filling the box. */
.map .map-canvas,
.map .map-canvas.maplibregl-map {
  position: absolute;
  inset: 0;
}
.map-ready .map-placeholder {
  visibility: hidden;
}
.map-marker {
  text-decoration: none;
  width: 40px;
  height: 46px;
  display: grid;
  place-items: start center;
  cursor: pointer;
}
.map-pin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--btn);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(31, 25, 22, 0.35);
}
.map-pin span {
  transform: rotate(45deg);
  color: #fff;
  font: 600 13px/1 var(--serif);
  letter-spacing: 0.04em;
}
.map-placeholder {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 4px;
}
.map-placeholder > svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 8px;
}
@media (max-width: 820px) {
  .visit-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- call to action ---------- */

.cta {
  padding: clamp(64px, 9vw, 104px) 0;
  text-align: center;
  background:
    linear-gradient(rgba(22, 17, 15, 0.82), rgba(22, 17, 15, 0.82)),
    var(--hero, none) center / cover,
    var(--dark);
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- policies page ---------- */

.page {
  padding-top: calc(var(--header-h) + 64px);
  background: var(--bg);
}
body:has(.page) .site-header {
  background: var(--dark);
}
.policy {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.policy h2 {
  font-size: 2rem;
}
.policy ul {
  padding-left: 1.2em;
  color: var(--muted);
}
.policy li {
  margin-bottom: 0.6em;
}

/* ---------- booking pages (embedded SimplyBook widget) ---------- */

.booking {
  padding-top: calc(var(--header-h) + 48px);
}
body:has(.booking) .site-header {
  background: var(--dark);
}
.booking-head {
  max-width: 640px;
  margin-bottom: 32px;
}
.booking-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.booking-head p:last-child {
  color: var(--muted);
  margin: 0;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.widget-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  min-height: 520px;
}
.widget-host iframe {
  display: block;
  width: 100%;
  border: 0;
}
.widget-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 480px;
  color: var(--muted);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.widget-ready .widget-host {
  /* the widget animates its own content in; avoid a flash of the empty frame */
  animation: fade-in 0.3s ease-out;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.widget-fallback {
  display: none;
  margin: 12px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.widget-slow .widget-fallback,
.widget-failed .widget-fallback {
  display: block;
}
.widget-failed .widget-loading {
  display: none;
}
.widget-preselected {
  order: -1;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.widget-preselected[hidden] {
  display: none;
}
.booking-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.aside-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.aside-block:first-child {
  padding-top: 0;
}
.aside-block h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.aside-block h2 svg {
  color: var(--accent);
}
.aside-block p {
  margin-bottom: 0.5em;
}
.aside-list {
  margin: 0 0 12px;
  padding-left: 1.1em;
  color: var(--muted);
}
.aside-list li {
  margin-bottom: 0.5em;
}
.hours-compact {
  max-width: none;
  margin: 0;
}
.hours-compact th,
.hours-compact td {
  padding: 5px 0;
  font-size: 0.92rem;
}
@media (max-width: 960px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-aside {
    position: static;
  }
}
@media (max-width: 760px) {
  .booking {
    padding-top: calc(var(--header-h) + 28px);
  }
  .widget-card {
    /* let the widget use the full phone width */
    margin: 0 -16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 0;
  }
  body:has(.booking) .site-footer {
    padding-bottom: 56px;
  }
}

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

.site-footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding: 56px 0 96px;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  padding: 4px 0;
}
.site-footer .link {
  color: var(--on-dark);
  text-decoration-color: rgba(255, 255, 255, 0.25);
}
.legal {
  margin-top: 40px;
  font-size: 0.82rem;
  color: #b3a79f; /* 8:1 on the dark footer */
}
@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- mobile sticky booking bar ---------- */

.mobile-book {
  display: none;
}
@media (max-width: 760px) {
  .mobile-book {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 242, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .wrap {
    padding: 0 16px;
  }
  .hero {
    min-height: 92vh;
    min-height: 92svh;
    /* keep the rating line clear of the sticky "Book an appointment" bar */
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(14, 10, 8, 0.25) 0%, rgba(14, 10, 8, 0.6) 40%, rgba(14, 10, 8, 0.9) 75%),
      var(--hero) center 30% / cover no-repeat,
      var(--dark);
    align-items: flex-end;
  }
}

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