/* ---------- Design tokens: change these to re-theme the whole site ---------- */
:root {
  --ebony: #121918;
  --felt: #871f2a;
  --ivory: #f6f5f1;
  --paper: #ffffff;
  --ink: #1f2926;
  --muted: #55615d;
  --brass: #8a5f1c;
  --brass-light: #d9b062;
  --rule: #d9d6cc;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--ivory); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: var(--brass); }
:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { background: var(--ebony); color: var(--ivory); }
.site-header { width: min(1100px, 100% - 2.5rem); margin-inline: auto; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: baseline; padding: 1.5rem 0; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font: 600 1.25rem var(--serif); color: var(--ivory); text-decoration: none; }
.brand img { display: block; height: 2.5rem; width: auto; }
.brand-name span { font-weight: 400; opacity: .75; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a { color: var(--ivory); text-decoration: none; padding: .25rem 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { border-color: var(--brass-light); }

.hero-text { width: min(1100px, 100% - 2.5rem); margin-inline: auto; padding: 3.5rem 0 3.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 600; max-width: 18ch; margin-bottom: 1.25rem; }
.hero-text p { font-size: 1.2rem; color: #d8d6cd; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.btn { display: inline-block; font: 500 1rem var(--sans); padding: .8rem 1.4rem; border-radius: 4px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brass-light); color: var(--ebony); }
.btn-primary:hover { background: #e6c47f; }
.contact .btn-primary { background: var(--ebony); color: var(--ivory); }
.contact .btn-primary:hover { background: #2a3a36; }

/* ---------- Photo slideshow ---------- */
.slideshow { position: relative; background: var(--ebony); padding: 1.75rem 0 2.25rem; }
.slides { --gap: 1rem; --visible: 3; --h: clamp(300px, 40vw, 445px); display: flex; gap: var(--gap); padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 calc((100% - (var(--visible) - 1) * var(--gap)) / var(--visible)); height: var(--h); margin: 0; overflow: hidden; border-radius: 4px; scroll-snap-align: start; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; font-size: .95rem; color: var(--ivory); background: linear-gradient(transparent, rgba(26, 37, 35, .85)); }

.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ivory); background: rgba(26, 37, 35, .7); }
.slide-btn:hover { background: rgba(26, 37, 35, .95); }
.slide-btn.prev { left: .75rem; }
.slide-btn.next { right: .75rem; }
.felt { height: 12px; background: var(--felt); box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--paper); }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 2rem; }

.service { display: grid; grid-template-columns: 15rem 1fr 11rem; gap: .5rem 2rem; padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.service:last-child { border-bottom: 1px solid var(--rule); }
.service h3 { font-size: 1.35rem; }
.service p { margin: 0; }
.service .price { font-weight: 500; color: var(--brass); text-align: right; }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: start; }
.photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.details { display: grid; grid-template-columns: 5rem 1fr; gap: .6rem 1rem; margin: 2rem 0 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }

form { display: grid; gap: 1.1rem; }
label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
input, select, textarea { font: 400 1rem var(--sans); padding: .7rem .8rem; border: 1px solid #b9b5a8; border-radius: 4px; background: var(--paper); color: var(--ink); }
form .btn { justify-self: start; }

footer { background: var(--ebony); color: #b9b7ae; padding: 1.75rem 0; font-size: .9rem; }
footer p { width: min(1100px, 100% - 2.5rem); margin: 0 auto; max-width: none; }

/* ---------- Small screens ---------- */
@media (max-width: 800px) {
  .service, .about, .contact { grid-template-columns: 1fr; }
  .service .price { text-align: left; }
  .about, .contact { gap: 2.5rem; }
  .section { padding: 3.5rem 0; }
  .slides { --visible: 2; }
}
@media (max-width: 520px) {
  .slides { --visible: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html, .slides { scroll-behavior: auto; }
}
