:root {
  --ink: #1c1915;
  --ink-soft: #3d3832;
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --card: #fffdf8;
  --line: #ddd2c2;
  --wood: #8a5a32;
  --wood-deep: #5c3a20;
  --stone: #6e726c;
  --accent: #b4532a;
  --accent-deep: #8d3d1c;
  --shadow: 0 18px 40px rgba(40, 28, 16, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.25rem;
}
.brand span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.nav-links { display: flex; gap: 1.15rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.95rem; }
.nav-links a[aria-current="page"] { color: var(--accent-deep); font-weight: 600; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--accent);
  color: #fffaf6;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn:hover { background: var(--accent-deep); }
.btn.secondary:hover { background: var(--ink); color: var(--paper); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}
.hero h1, .page-hero h1, h2 {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-panel {
  background:
    linear-gradient(160deg, rgba(28, 25, 21, 0.15), rgba(28, 25, 21, 0.45)),
    repeating-linear-gradient(90deg, #c4a27a 0 18px, #b89268 18px 20px, #d7be9a 20px 42px);
  min-height: 420px;
  border-radius: 28px;
  color: #fffaf4;
  padding: 1.4rem;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.hero-panel div {
  background: rgba(28, 25, 21, 0.55);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  width: 100%;
}
.hero-panel strong { font-family: var(--serif); font-size: 1.4rem; display: block; }

.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
}
.stats div { padding: 0.4rem 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.stats span { color: var(--ink-soft); font-size: 0.95rem; }

section { padding: 4.2rem 0; }
h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 0.6rem; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.grid-3, .grid-2, .grid-4 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.7rem; margin: 0.2rem 0 0.4rem; }
.card h3 { margin: 0.4rem 0 0.35rem; font-size: 1.25rem; }
a.more { color: var(--accent-deep); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 1.1rem; }
.swatch {
  height: 92px;
  border-radius: 14px;
  margin-bottom: 0.4rem;
}
.swatch.hardwood { background: linear-gradient(180deg, #c89662, #8d5a32); }
.swatch.vinyl { background: linear-gradient(135deg, #d9d3c8, #8f8a82 55%, #cfc6b8); }
.swatch.carpet { background: radial-gradient(circle at 30% 30%, #efe6d8, #b7a48c 42%, #8d7b68); }
.swatch.stone { background: linear-gradient(160deg, #f3f0ea, #9a9b96 40%, #5f625e); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.note {
  background: var(--ink);
  color: #f6f1e8;
  border-radius: 24px;
  padding: 1.6rem;
}
.note a { color: #f3c7b2; }

.page-hero { padding: 3.2rem 0 0.5rem; }
.page-hero p { max-width: 40rem; color: var(--ink-soft); }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.8rem;
}
.tile {
  border-radius: 18px;
  border: 1px dashed #c9bba8;
  background: #efe6d8;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  color: var(--ink-soft);
}
.tile.wide { grid-row: span 2; }
.tile span { background: rgba(255, 253, 248, 0.86); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.85rem; }

.hours { list-style: none; padding: 0; margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}
form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 600; }
input, textarea, select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); }
.map-link { display: inline-block; margin-top: 0.6rem; font-weight: 600; color: var(--accent-deep); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--ink-soft);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer a { color: var(--ink); }

.slider {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background: #c4a27a;
  box-shadow: var(--shadow);
}
.slide-photo { width: 100%; height: 420px; object-fit: cover; }
.slider-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 3.2rem;
  background: rgba(28, 25, 21, 0.55);
  color: #fffaf4;
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.slider-btn.prev { left: 0.8rem; }
.slider-btn.next { right: 0.8rem; }
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 253, 248, 0.55);
  cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: #fffaf4; }
.gallery-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.gallery-photos figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.gallery-photos img { width: 100%; height: 230px; object-fit: cover; }
.gallery-photos figcaption { padding: 0.7rem 0.9rem; }
.editor-page { padding: 2rem 0 3rem; }
.auth-card { max-width: 460px; }
.editor-bar, .editor-save { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.editor-list { display: grid; gap: 0.8rem; margin: 1rem 0; }
.editor-item, .editor-service { display: grid; gap: 0.7rem; }
.editor-item {
  grid-template-columns: 150px 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.8rem;
}
.editor-item img { width: 150px; height: 110px; object-fit: cover; border-radius: 12px; }
.check { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.check input { width: auto; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.btn.tiny { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.form-error { color: var(--accent-deep); min-height: 1.2em; margin: 0; }
.upload-label input { margin-top: 0.35rem; }

@media (max-width: 860px) {
  .hero, .split, .grid-3, .grid-2, .stats, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile, .tile.wide { min-height: 160px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.25rem 1.1rem;
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 2.4rem; }
  .hero-panel, .slider, .slide-photo { min-height: 280px; }
  .slide-photo { height: 280px; }
  .gallery-photos { grid-template-columns: 1fr; }
  .editor-item { grid-template-columns: 1fr; }
}
