:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --surface: #ebe7de;
  --ink: #26231f;
  --muted: #5d5850;
  --rule: #d2cabe;
  --accent: #755720;
  --page-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 1.25rem;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header a:focus-visible,
.site-footer a:focus-visible { outline-color: var(--accent); }

.skip-link {
  position: fixed;
  z-index: 10;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.65rem 0.85rem;
  transform: translateY(-150%);
  color: var(--paper);
  background: var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.content-width {
  width: min(calc(100% - 3rem), var(--page-width));
  margin-inline: auto;
}

.site-header {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem max(1.5rem, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-name {
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1;
}

.wordmark-type {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.25rem);
  font-size: 0.92rem;
}

.nav-link,
.site-footer a { text-decoration-thickness: 1px; text-underline-offset: 0.22em; }

.book-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.hero {
  min-height: 27rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(3rem, 7vw, 5.75rem);
  border-bottom: 1px solid var(--rule);
}

.hero-copy { max-width: 43rem; }

.place-line {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 1.04;
}

.hero-intro {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.shop-mark {
  display: block;
  width: min(100%, 15rem);
  height: auto;
  justify-self: end;
}

.services {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-heading { max-width: 22rem; }

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.section-heading p { color: var(--muted); }

.service-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.7fr) minmax(0, 1.3fr);
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.service-name { font-weight: 680; }
.service-detail { color: var(--muted); }

.services > .text-link {
  grid-column: 2;
  justify-self: start;
  margin-top: 1.25rem;
}

.text-link,
.directions-link {
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}

.visit { background: var(--surface); }

.visit-inner {
  min-height: 13rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.5rem;
}

.visit h2 { margin-bottom: 0.7rem; }
.visit address { font-style: normal; }

.site-footer {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

.not-found {
  width: min(calc(100% - 3rem), 42rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-inline: auto;
  padding-block: 3rem;
}

.not-found .wordmark { margin-bottom: 3rem; }
.not-found h1 { max-width: none; margin-bottom: 0.75rem; font-size: clamp(2.6rem, 8vw, 4.5rem); }
.not-found > p { margin-bottom: 1.5rem; color: var(--muted); }

.error-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

@media (hover: hover) {
  .nav-link:hover,
  .site-footer a:hover { color: var(--accent); }

  .book-link:hover {
    color: var(--ink);
    background: transparent;
  }
}

@media (max-width: 760px) {
  .content-width { width: min(calc(100% - 2rem), var(--page-width)); }

  .site-header {
    min-height: 4.25rem;
    gap: 0.75rem;
    padding-inline: 1rem;
  }

  .wordmark { gap: 0.35rem; }
  .wordmark-name { font-size: 1.2rem; }
  .wordmark-type { font-size: 0.76rem; }
  .main-nav { gap: 0; font-size: 0.82rem; }
  .nav-link { display: none; }
  .book-link { min-height: 2.6rem; padding: 0.5rem 0.7rem; }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    padding-block: 2.5rem;
  }

  .place-line { margin-bottom: 0.7rem; font-size: 0.9rem; }

  h1 {
    max-width: 10ch;
    margin-bottom: 0.85rem;
    font-size: clamp(2.45rem, 10vw, 3.65rem);
  }

  .hero-intro { font-size: 1rem; }
  .shop-mark { width: 7.5rem; justify-self: end; }

  .services {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.5rem;
    padding-block: 3.25rem;
  }

  .section-heading { max-width: 34rem; }
  .section-heading p { max-width: 35rem; margin-bottom: 0; }
  .services > .text-link { grid-column: 1; margin-top: 0; }

  .service-list li {
    grid-template-columns: minmax(7rem, 0.75fr) minmax(0, 1.25fr);
    gap: 0.75rem;
    padding-block: 0.85rem;
    font-size: 1rem;
  }

  .visit-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 380px) {
  .shop-mark { width: 5.25rem; }
  h1 { font-size: 2.45rem; }
  .service-list li { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
