:root {
  --bg: #f7f1e8;
  --surface: #fffaf4;
  --surface-soft: #f0e6da;
  --surface-muted: #e6d8c8;
  --ink: #1f1711;
  --ink-soft: #5a4a3f;
  --brown-900: #2b1a0f;
  --brown-800: #3d2b1f;
  --brown-700: #6a4122;
  --brown-600: #8b501a;
  --tan: #dec1af;
  --line: rgba(61, 43, 31, 0.14);
  --line-strong: rgba(61, 43, 31, 0.28);
  --shadow: 0 18px 40px rgba(43, 26, 15, 0.1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(222, 193, 175, 0.18), transparent 28%),
    linear-gradient(180deg, #fbf6ef 0%, #f3eadf 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.92);
  border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
h1,
h2,
h3,
.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
}

.brand {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.site-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brown-600);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 40px;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: var(--brown-600);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brown-900);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image-placeholder {
  background:
    linear-gradient(120deg, rgba(139, 80, 26, 0.2), rgba(43, 26, 15, 0.42)),
    radial-gradient(circle at 20% 30%, rgba(222, 193, 175, 0.22), transparent 22%),
    linear-gradient(135deg, #6c4529, #2f1d13 60%, #1f130d);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(31, 23, 17, 0.35), rgba(31, 23, 17, 0.78));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 7rem 0;
  color: #fff7ef;
}

.eyebrow,
.section-label,
.contact-form span,
.contact-label,
.feature-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  margin: 0 0 0.9rem;
  color: var(--brown-600);
}

.hero .eyebrow {
  color: #efd3b7;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(222, 193, 175, 0.45);
  border-radius: 999px;
  background: rgba(61, 43, 31, 0.22);
  color: #f4deca;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.3rem);
  line-height: 0.95;
}

.hero-subtitle {
  margin: 1rem 0 1.2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #efdcc8;
}

.hero-copy,
.section-copy,
.feature-card p,
.about-copy p,
.stat-card span,
.footer-copy {
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 247, 239, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.45rem;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brown-600);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brown-700);
}

.button-secondary {
  border: 1px solid rgba(255, 247, 239, 0.4);
  color: #fff7ef;
  background: rgba(255, 255, 255, 0.05);
}

.button-full {
  width: 100%;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.section-rule {
  width: 96px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--brown-600);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card {
  grid-column: span 5;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.8);
  box-shadow: var(--shadow);
}

.feature-card-large,
.feature-card-wide {
  grid-column: span 7;
}

.feature-card-dark {
  background: var(--brown-800);
  color: #f7eee2;
  border-color: rgba(222, 193, 175, 0.14);
}

.feature-card-dark p,
.feature-card-dark .feature-index {
  color: rgba(247, 238, 226, 0.75);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: rgba(139, 80, 26, 0.12);
  color: var(--brown-600);
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card-dark .feature-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #f0d0b1;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brown-600);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-tags,
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.feature-tags span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(222, 193, 175, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: #f0d0b1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.swatch-dark {
  background: #4a2c16;
}

.swatch-black {
  background: #26170c;
}

.swatch-brown {
  background: #8b501a;
}

.swatch-tan {
  background: #d2c4bc;
}

.feature-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.feature-list li + li {
  margin-top: 0.5rem;
}

.stitched-divider {
  height: 1px;
  background-image: linear-gradient(to right, var(--brown-600) 50%, transparent 50%);
  background-size: 10px 1px;
  opacity: 0.4;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-media-frame {
  position: relative;
  padding: 1rem;
}

.about-media-frame::before,
.about-media-frame::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
  border-color: rgba(139, 80, 26, 0.35);
}

.about-media-frame::before {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.about-media-frame::after {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.about-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  object-fit: cover;
}

.about-image-placeholder {
  background:
    linear-gradient(135deg, rgba(43, 26, 15, 0.08), rgba(139, 80, 26, 0.12)),
    linear-gradient(180deg, #efe4d8, #d9c4b0);
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.76);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.gallery {
  background: rgba(255, 250, 244, 0.45);
}

.narrow {
  max-width: 650px;
  margin: 1rem auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.82);
  box-shadow: var(--shadow);
}

.gallery-image {
  display: block;
  width: 100%;
  height: auto;
}

.contact {
  background: var(--brown-900);
  color: #f8efe4;
}

.contact .section-label,
.contact .section-copy,
.contact h2 {
  color: inherit;
}

.contact-intro {
  display: grid;
  gap: 1rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  border: 1px solid rgba(222, 193, 175, 0.16);
  border-radius: 8px;
  background: rgba(61, 43, 31, 0.8);
}

.contact-card strong {
  font-size: 1.2rem;
  line-height: 1.4;
}

.contact-form-panel {
  padding: 2rem;
  border: 1px solid rgba(222, 193, 175, 0.18);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: var(--surface-soft);
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer {
  padding: 2rem 0 6rem;
  background: #24160f;
  border-top: 1px solid rgba(222, 193, 175, 0.12);
  color: #e7d6c5;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-copy,
.footer-links a,
.site-footer p:last-child {
  color: rgba(231, 214, 197, 0.8);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.mobile-dock {
  display: none;
}

@media (max-width: 980px) {
  .services-grid,
  .gallery-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-wide {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .header-call {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fbf6ef;
    border-bottom: 1px solid rgba(61, 43, 31, 0.08);
  }

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 6rem 0 5rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .stats-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.8rem 0.5rem calc(0.8rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(61, 43, 31, 0.12);
    background: rgba(251, 246, 239, 0.97);
    backdrop-filter: blur(12px);
  }

  .mobile-dock a {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .button {
    width: 100%;
  }

  .about-image {
    min-height: 190px;
  }

  .contact-form-panel,
  .feature-card {
    padding: 1.25rem;
  }
}
