:root {
  --ink: #171717;
  --muted: #6f6b66;
  --line: #e7dfd6;
  --paper: #fffaf4;
  --soft: #f4eee7;
  --brand: #b5312c;
  --brand-dark: #841f1b;
  --gold: #c39146;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(44, 32, 20, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 244, .92);
  border-bottom: 1px solid rgba(231, 223, 214, .85);
  backdrop-filter: blur(18px);
}

.site-header.compact { position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), #25201d);
  font-weight: 800;
  letter-spacing: .5px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  margin-left: auto;
  color: #3b3632;
  font-weight: 650;
  font-size: .93rem;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.header-call {
  padding: 11px 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(181, 49, 44, .26);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #221b16;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 14, 11, .86), rgba(18, 14, 11, .58) 38%, rgba(18, 14, 11, .12) 72%),
    linear-gradient(0deg, rgba(18, 14, 11, .35), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 80px 0;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffd7ae; }

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.18;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--brand);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr);
  gap: clamp(28px, 6vw, 90px);
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid h2 {
  margin-bottom: 0;
}

.intro-grid p {
  color: var(--muted);
  font-size: 1.06rem;
}

.services {
  background: var(--soft);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading p:not(.section-kicker) {
  max-width: 780px;
  margin-inline: auto;
  color: var(--muted);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.feature-copy span {
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
}

.feature-copy p,
.service-card p,
.about-panel p,
.contact-copy p,
.contact-card p,
.legal-card p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.76);
}

.wide-image {
  max-width: 1180px;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.about-panel {
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background: #211b17;
  border-radius: 8px;
}

.about-panel .section-kicker { color: #ffd7ae; }

.about-panel p {
  color: rgba(255,255,255,.76);
}

.stats {
  display: grid;
  gap: 16px;
}

.stats div {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--brand);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.stats span {
  color: var(--muted);
}

.references {
  background: #1f1a16;
  color: var(--white);
}

.references .section-kicker { color: #ffd7ae; }

.references .section-heading p:not(.section-kicker) {
  color: rgba(255,255,255,.72);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.reference-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #342b25;
}

.reference-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.24), transparent 55%);
  opacity: .75;
  pointer-events: none;
}

.reference-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.reference-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.reference-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.reference-card.wide { grid-column: span 2; }
.reference-card.tall { grid-row: span 2; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-card {
  padding: clamp(26px, 5vw, 44px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card a:not(.button) {
  display: block;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: rgba(255,255,255,.72);
  background: #17130f;
}

.site-footer strong { color: var(--white); }
.site-footer p { margin: 4px 0 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.legal-page {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 42px 18px;
}

.legal-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-card h2 { font-size: 1.45rem; }
.legal-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .main-nav.open,
  .main-nav.visible {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .header-call { margin-left: 0; }

  .intro-grid,
  .service-feature,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .header-call {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 680px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(18, 14, 11, .88), rgba(18, 14, 11, .58)),
      linear-gradient(0deg, rgba(18, 14, 11, .38), transparent 45%);
  }

  .hero-content {
    margin-inline: 18px;
    padding-top: 72px;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .service-feature img {
    min-height: 280px;
  }

  .reference-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .reference-card.large,
  .reference-card.wide,
  .reference-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }
}
