:root {
  color-scheme: light;
  --ink: #241b20;
  --muted: #5c4d53;
  --paper: #fff9f7;
  --surface: #fff;
  --soft: #f8ece9;
  --rose: #7b3947;
  --cream: #ffefea;
  --line: #dfcbc7;
  --dark: #241b20;
  --dark-card: #34272d;
  --dark-muted: #e4d4da;
  --focus: #005fcc;
  --radius: 1.5rem;
  --content: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}

img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; touch-action: manipulation; }
a:hover { text-decoration-thickness: .12em; }

:focus-visible {
  outline: .15rem solid #fff;
  outline-offset: .15rem;
  box-shadow: 0 0 0 .35rem var(--focus);
}

main:focus-visible { outline-offset: -.4rem; }
::selection { background: var(--rose); color: #fff; }

h1, h2, h3, p, ul, dl, figure, address { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin-bottom: 1.25rem; font-size: clamp(2.8rem, 9vw, 6.5rem); }
h1 em { color: var(--rose); font-weight: inherit; }
h2 { margin-bottom: 1rem; font-size: clamp(2.25rem, 6vw, 4rem); }
h3 { margin-bottom: .65rem; font-size: clamp(1.2rem, 2vw, 1.45rem); }
p:last-child { margin-bottom: 0; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--soft); }
.section-heading { max-width: 47.5rem; margin: 0 auto clamp(2rem, 5vw, 3.25rem); text-align: center; }
.section-heading > p:last-child, .lead, .info-card p, .price-card div > p:last-child,
.gallery-card span, .certificate-copy > p:last-of-type, .contact-card > p:not(.card-label) { color: var(--muted); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  min-height: 3rem;
  padding: .7rem 1rem;
  border: .125rem solid var(--ink);
  border-radius: .5rem;
  background: #fff;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: .0625rem solid var(--line);
  background: rgba(255, 249, 247, .98);
}
.header-inner { display: flex; align-items: center; gap: 1rem 2rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 3rem; font-weight: 800; text-decoration: none; }
.brand-mark {
  display: grid;
  flex: 0 0 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  font: italic 1.2rem Georgia, serif;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy span { color: var(--muted); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { margin-left: auto; }
.site-nav ul, .footer-nav ul { display: flex; align-items: center; justify-content: center; gap: .25rem; margin: 0; padding: 0; }
.site-nav li, .footer-nav li, .feature-chips li { list-style: none; }
.site-nav a, .footer-nav a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem .75rem;
  border-radius: 2rem;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:hover { background: var(--soft); color: var(--rose); }
.site-nav .nav-cta { padding-inline: 1rem; background: var(--dark); color: #fff; }
.site-nav .nav-cta:hover { background: var(--rose); color: #fff; }

.hero { padding: clamp(1.5rem, 6vw, 5rem) 0 4rem; }
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(1rem, 4vw, 3rem);
  border: .0625rem solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(145deg, #fffdfc, #faefec);
  box-shadow: 0 1rem 3rem rgba(56, 30, 40, .12);
}
.hero-copy { max-width: 42rem; }
.eyebrow, .card-label, .card-kicker, .price-category {
  color: var(--rose);
  font-size: .875rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: .8rem; }
.lead { max-width: 40rem; font-size: clamp(1.05rem, 2.2vw, 1.22rem); }
.button-row, .feature-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.button-row { margin-top: 1.6rem; }
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  border: .125rem solid transparent;
  border-radius: 2rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--dark); color: #fff; }
.button-primary:hover { background: var(--rose); }
.button-secondary { border-color: var(--ink); background: #fff; }
.button-secondary:hover, .button-light:hover { background: var(--cream); }
.button-light { background: #fff; color: var(--dark); }
.full-button { width: 100%; }
.feature-chips { margin: 1.6rem 0 0; padding: 0; }
.feature-chips li { padding: .55rem .8rem; border: .0625rem solid var(--line); border-radius: 2rem; background: #fff; color: var(--muted); font-weight: 700; }
.hero-media { width: min(100%, 32rem); margin: 0 auto; }
.hero-media img { width: 100%; aspect-ratio: 1; border-radius: 1.75rem 1.75rem 7rem 1.75rem; background: var(--soft); object-fit: cover; }

.card-grid, .gallery-grid, .location-grid, .contact-grid { display: grid; gap: 1.2rem; }
.service-grid, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid, .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card, .price-card, .gallery-card, .certificate-card, .contact-card {
  border: .0625rem solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 .5rem 1.75rem rgba(56, 30, 40, .08);
}
.info-card { display: flex; min-height: 15rem; flex-direction: column; align-items: center; padding: 1.5rem; text-align: center; }
.card-kicker { display: grid; width: 2.7rem; height: 2.7rem; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: var(--soft); }
.text-link { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; margin-top: auto; color: var(--rose); font-weight: 850; }

.gallery-card { margin: 0; overflow: hidden; }
.gallery-card img { width: 100%; aspect-ratio: 4/5; background: var(--cream); object-fit: cover; }
.gallery-card figcaption { display: grid; gap: .1rem; padding: 1rem; text-align: center; }

.price-card { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding: 1.5rem; }
.price-category { margin-bottom: .4rem; }
.price-card div > p:last-child { margin-bottom: 0; }
.price { flex: 0 0 auto; margin: 0; color: var(--rose); font: 700 1.75rem Georgia, serif; white-space: nowrap; }
.price span { display: block; font: 800 .875rem system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.centered-action { margin-top: 2rem; text-align: center; }

.section-dark { background: var(--dark); color: #fff; }
.section-dark .eyebrow, .section-dark .card-label { color: #f0afba; }
.inverse-copy > p:last-child, .dark-card p, .dark-card dt { color: var(--dark-muted); }
.location-grid { max-width: 58rem; margin-inline: auto; }
.dark-card { padding: clamp(1.4rem, 4vw, 2rem); border: .0625rem solid #89777f; border-radius: var(--radius); background: var(--dark-card); }
.location-card address { margin-bottom: 1rem; color: #fff; font-size: 1.125rem; font-style: normal; font-weight: 800; line-height: 1.55; }
.hours-card dl { margin-bottom: 0; }
.hours-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: .0625rem solid #89777f; }
.hours-card dl > div:last-child { border: 0; }
.hours-card dd { margin: 0; font-weight: 800; text-align: right; }

.certificate-card { max-width: 52rem; margin-inline: auto; overflow: hidden; }
.certificate-card img { width: 100%; aspect-ratio: 22/17; background: var(--cream); object-fit: cover; }
.certificate-copy { padding: 1.25rem; text-align: center; }

.contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 66rem; margin-inline: auto; }
.contact-card { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; text-align: center; }
.contact-card .button, .contact-card .text-link { margin-top: auto; }
.accessibility-card { background: #fffdf8; }

.site-footer { padding: 3.5rem 0 2rem; background: #191317; color: #fff; }
.footer-inner { display: grid; justify-items: center; gap: 2rem; text-align: center; }
.footer-brand .brand-mark { background: var(--cream); color: var(--dark); }
.footer-brand .brand-copy span, .footer-branding p, .footer-meta p { color: #d8ccd0; }
.footer-branding p { margin: .75rem 0 0; }
.footer-nav ul, .footer-meta { flex-wrap: wrap; }
.footer-nav a:hover, .footer-meta a:hover { color: #f0afba; }
.footer-meta { display: flex; width: 100%; align-items: center; justify-content: center; gap: 1rem 2rem; padding-top: 1.25rem; border-top: .0625rem solid #5f5157; }
.footer-meta p { margin: 0; }
.footer-meta a { display: inline-flex; min-height: 3rem; align-items: center; font-weight: 800; }

.error-page { display: grid; min-height: 100svh; grid-template-rows: auto 1fr auto; }
.error-page main { display: grid; place-items: center; padding: 3rem 0; }
.error-shell { max-width: 45rem; padding: clamp(1.5rem, 5vw, 3rem); border: .0625rem solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }
.error-shell .button { margin-top: 1rem; }

section[id] { scroll-margin-top: 7rem; }

@media (max-width: 60rem) {
  .site-header { position: static; }
  .header-inner { flex-direction: column; padding: .75rem 0; }
  .site-nav { width: 100%; margin: 0; }
  .site-nav ul { flex-wrap: wrap; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { margin-inline: auto; text-align: center; }
  .button-row, .feature-chips { justify-content: center; }
  .service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; max-width: 42rem; }
  section[id] { scroll-margin-top: 1rem; }
}

@media (max-width: 42.5rem) {
  .container { width: min(calc(100% - 1.25rem), var(--content)); }
  .header-inner { gap: .5rem; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .site-nav a { width: 100%; border: .0625rem solid var(--line); background: #fff; }
  .site-nav .nav-cta { border-color: var(--dark); }
  .hero { padding-top: .75rem; }
  .hero-shell { padding: 1rem; border-radius: 1.5rem; }
  .service-grid, .gallery-grid, .pricing-grid, .location-grid { grid-template-columns: 1fr; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .price-card { align-items: start; }
}

@media (max-width: 26rem) {
  .feature-chips { display: grid; }
  .feature-chips li { text-align: center; }
  .price-card { flex-direction: column; align-items: center; text-align: center; }
  .hours-card dl > div { display: grid; gap: .1rem; text-align: center; }
  .hours-card dd { text-align: center; }
}

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

@media (prefers-contrast: more) {
  :root { --line: #806b72; --muted: #40353a; }
  .info-card, .price-card, .gallery-card, .certificate-card, .contact-card, .hero-shell { border-width: .125rem; }
}

@media (forced-colors: active) {
  .brand-mark, .button, .nav-cta, .card-kicker, .feature-chips li { border: .0625rem solid ButtonText; }
  :focus-visible { outline-color: Canvas; box-shadow: 0 0 0 .35rem Highlight; }
}

@media print {
  @page { margin: .65in; }

  html { scroll-padding-top: 0; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
  .site-header, .skip-link, .hero-media, #gallery, .button-row, .centered-action,
  .footer-nav, .footer-meta a { display: none; }
  .container { width: 100%; }
  .hero, .section, .site-footer { padding: .3in 0; }
  .hero-shell, .section-dark, .dark-card, .site-footer, .accessibility-card {
    border-color: #777;
    background: #fff;
    color: #000;
  }
  .section-dark *, .site-footer *, .eyebrow, .card-label, .price-category,
  .lead, .info-card p, .price-card div > p:last-child, .contact-card > p:not(.card-label) {
    color: #000;
  }
  .hero-shell, .service-grid, .pricing-grid, .location-grid, .contact-grid {
    display: block;
  }
  .info-card, .price-card, .dark-card, .certificate-card, .contact-card {
    margin-bottom: .18in;
    break-inside: avoid;
    box-shadow: none;
  }
  .certificate-card img { max-height: 7in; object-fit: contain; }
  h1, h2, h3 { break-after: avoid; }
  p, li, dt, dd { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: underline; }
}
