:root {
  --ink: #27251f;
  --muted: #706d63;
  --paper: #faf8f3;
  --accent: #60354f;
  --line: #e7e2d8;
  --radius: 18px;
  font:
    16px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
button[disabled] {
  opacity: 0.55;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 8px;
}
.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - 1200px) / 2));
  position: sticky;
  top: 0;
  z-index: 5;
  background: #faf8f3f5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-name {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 750;
  text-decoration: none;
  max-width: 310px;
  overflow-wrap: anywhere;
  margin-right: auto;
}
.site-header nav {
  display: flex;
  gap: 24px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
main {
  max-width: 1248px;
  margin: auto;
  padding: 28px 24px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee9df;
  min-height: 370px;
}
.hero-photo {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, #e6dcd5, #f1eae2);
}
.hero-photo:empty {
  display: none;
}
.hero:has(.hero-photo:empty) {
  grid-template-columns: 1fr;
}
.hero-photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  padding: 48px;
  align-self: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 3.8vw, 55px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
h3 {
  font-size: 18px;
  line-height: 1.35;
}
p {
  color: var(--muted);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 34em;
}
.quiet {
  font-size: 13px;
  color: var(--muted);
}
.hero .quiet {
  margin: 14px 0 0;
}
.section {
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 0;
}
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}
.service {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  align-items: center;
}
.service h3 {
  margin: 0 0 4px;
}
.service p {
  font-size: 14px;
  margin: 0 0 4px;
  max-width: 32em;
}
.service .button {
  padding: 10px 18px;
}
.service .price {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}
.service-category {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.team,
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.person,
.review {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff9;
}
.person h3 {
  margin: 12px 0 6px;
}
.person p {
  font-size: 14px;
}
.person .initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eee9df;
  font-weight: 600;
  color: var(--accent);
}
.person .button {
  width: 100%;
  margin-top: 8px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
address {
  font-style: normal;
  margin-bottom: 20px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#hours-list {
  margin: 0;
}
#hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
dd {
  margin: 0;
  text-align: right;
}
dt {
  text-transform: capitalize;
}
#branch-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.branches {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.branches .button {
  align-items: start;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
}
.branches small {
  font-weight: 400;
}
#site-status {
  min-height: 180px;
  display: grid;
  place-content: center;
  padding: 30px;
  text-align: center;
}
#site-status:empty {
  display: none;
}
.site-footer {
  max-width: 1248px;
  margin: auto;
  padding: 36px 24px;
  text-align: center;
  font-size: 13px;
}
.site-footer strong {
  font-size: 17px;
}
.site-footer p {
  margin: 5px 0;
}
.site-footer button {
  border: 0;
  background: transparent;
  min-height: 44px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 640px;
  width: calc(100% - 32px);
  max-height: 85vh;
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #0007;
}
#close-legal {
  float: right;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  font-size: 26px;
}
.review strong {
  display: block;
  margin-bottom: 10px;
}
.review p {
  font-size: 15px;
}
.site-header .button {
  white-space: nowrap;
}
body[data-style='elegant'] h1,
body[data-style='elegant'] h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
body[data-style='bold'] {
  --radius: 3px;
  --paper: #fff;
}
.market-gallery {
  max-width: 100%;
}
.market-gallery-track {
  border-radius: var(--radius);
}
@media (min-width: 1000px) {
  .hero.has-cover {
    grid-template-columns: 1fr;
    min-height: 420px;
  }
  .hero.has-cover .hero-photo {
    position: absolute;
    inset: 0;
  }
  .hero.has-cover .hero-photo:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #191513e8, #19151377 55%, #1915130a);
  }
  .hero.has-cover .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: white;
    padding: 54px;
  }
  .hero.has-cover p {
    color: #fff;
  }
  .hero.has-cover .button {
    background: white;
    color: var(--ink);
  }
}
@media (max-width: 700px) {
  :root {
    scroll-padding-top: 76px;
  }
  .site-header {
    padding: 12px 16px;
    min-height: 70px;
    gap: 12px;
  }
  .site-header nav {
    display: none;
  }
  .site-name {
    font-size: 16px;
  }
  .site-header .button {
    font-size: 12px;
    padding: 10px 14px;
    min-height: 44px;
  }
  main {
    padding: 16px 16px 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-photo {
    height: 180px;
    min-height: 180px;
  }
  .hero-copy {
    padding: 25px;
    width: 100%;
  }
  h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .hero-copy > p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .hero-copy .button {
    width: 100%;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
  h2 {
    font-size: 27px;
  }
  .section {
    padding: 36px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 12px;
  }
  .section-heading > p {
    margin-top: 10px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .service {
    padding: 20px 0;
    gap: 10px;
  }
  .service h3 {
    font-size: 16px;
  }
  .service .button {
    padding: 10px 14px;
  }
  .service p {
    font-size: 13px;
  }
  .team {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .person {
    padding: 16px;
  }
  .person .button {
    padding: 10px 8px;
    font-size: 12px;
  }
  .person p {
    font-size: 13px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .branches h2 {
    font-size: 24px;
  }
  #branch-options {
    flex-direction: column;
  }
  #branch-options .button {
    width: 100%;
    text-align: left;
  }
  .site-footer {
    padding-bottom: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

#legal-copy {
  white-space: pre-line;
}

#welcome-copy { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
