:root {
  --bg: #f4f0e8;
  --panel: #fffaf2;
  --ink: #211f1b;
  --muted: #686058;
  --line: #d8cec0;
  --accent: #7c3f2a;
  --accent-dark: #5e2d1d;
  --shadow: 0 24px 70px rgba(35, 31, 26, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  letter-spacing: -0.07em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

p {
  color: var(--muted);
}

.section {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-top: clamp(3rem, 8vw, 6rem);
}

.intro {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf2;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover {
  color: #fffaf2;
}

.hero-image {
  border: 1px solid var(--line);
  border-radius: 2rem;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0;
}

.feature-strip > div,
.about-card,
.contact-card,
.gallery-card,
.service-list > div {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 250, 242, 0.72);
}

.feature-strip > div {
  padding: 1.4rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: var(--line);
}

.gallery-card div {
  padding: 1rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-list > div {
  padding: 1.35rem;
}

.about-section {
  padding-top: 0;
}

.about-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 900px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1rem;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--panel);
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

label span,
.small,
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 400;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(124, 63, 42, 0.18);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.full-width,
.form-note {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: fit-content;
}

.contact-card {
  padding: 1.5rem;
}

.contact-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.contact-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.legal-page {
  max-width: 850px;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.legal-page h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0;
  margin-top: 2rem;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 4.4rem;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(16rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .gallery-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero-image {
    transform: none;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
