:root {
  --primary: #0f766e;
  --primary-foreground: #f8fafc;
  --background: #f8fafc;
  --foreground: #0f172a;
  --accent: #14b8a6;
  --muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 0.5rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-family);
  line-height: 1.55;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(68rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  height: 2rem;
  width: auto;
}

.brand-name[hidden],
.brand-logo[hidden] {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  color: inherit;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: inherit;
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.cta:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.cta-lg {
  padding: 0.7rem 1.2rem;
  font-size: 1.05rem;
}

main {
  flex: 1;
  padding: 2rem 0 3rem;
}

main.main-flush {
  padding: 0 0 3rem;
}

.hero {
  padding: 3.25rem 0 2.5rem;
}

.hero-inner {
  text-align: center;
}

.hero-inner .lede {
  margin-inline: auto;
}

.band {
  padding: 3.5rem 0 2.75rem;
}

.split {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
}

.stack > * + * {
  margin-top: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.card h2 {
  margin-top: 0;
}

.hours {
  white-space: pre-wrap;
}

.service-list,
.post-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-body {
  min-width: 0;
  flex: 1;
}

.service-body h2 {
  margin-bottom: 0.35rem;
}

.service-book {
  flex-shrink: 0;
  margin-left: auto;
}

/* Hide on the first paint for mouse/trackpad; touch keeps the button visible. */
@media (hover: hover) and (pointer: fine) {
  .service-book {
    visibility: hidden;
  }

  .service-card:hover .service-book,
  .service-card:focus-within .service-book {
    visibility: visible;
  }
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  font-weight: 600;
  color: var(--primary);
}

.team {
  margin: 1.75rem 0;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.85rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  padding: 1rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
}

.team-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.team-name {
  font-weight: 600;
}

.prose :first-child {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty {
  color: var(--muted);
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 3.6rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1rem 1rem;
    z-index: 10;
  }

  .nav-links.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }
}
