:root {
  --ink: #25211d;
  --muted: #756e66;
  --line: #ded8cf;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --accent: #a93622;
  --accent-dark: #7f2416;
  --green: #355947;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 249, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { text-decoration: none; line-height: 1; }
.brand span { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: 0; }
.brand small { display: block; margin-top: 5px; font-size: 14px; font-weight: 700; }
.nav { display: flex; justify-content: center; gap: 26px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.nav a, .phone-link { text-decoration: none; }
.phone-link { font-weight: 800; white-space: nowrap; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.flash {
  position: fixed;
  right: 24px;
  top: 100px;
  z-index: 30;
  max-width: 420px;
  padding: 14px 18px;
  background: var(--green);
  color: white;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.flash.error { background: var(--accent-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  min-height: calc(100vh - 180px);
  border-bottom: 1px solid var(--line);
}
.hero-media { min-height: 460px; overflow: hidden; background: #ddd3c8; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  background: var(--paper);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: 0; }
h3 { font-size: 22px; line-height: 1.15; }
.hero-copy p:not(.eyebrow) { max-width: 590px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button.primary { border-color: var(--accent); background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); }
.button.ghost:hover { background: var(--ink); color: white; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.stats div { padding: 28px clamp(18px, 4vw, 56px); border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 44px; line-height: 1; color: var(--green); }
.stats span { display: block; margin-top: 8px; color: var(--muted); }

.section { padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 56px); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}
.text-flow { color: var(--muted); font-size: 19px; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.adv-grid article {
  min-height: 285px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.adv-grid span { color: var(--accent); font-weight: 800; }
.adv-grid p { color: var(--muted); }

.lead-band {
  display: grid;
  grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: center;
  padding: 46px clamp(18px, 4vw, 56px);
  background: var(--green);
  color: white;
}
.lead-band .eyebrow { color: #f3c6ba; }
.inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
label span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
.lead-band input { border-color: rgba(255,255,255,.35); }
.captcha input { max-width: 120px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card { border: 1px solid var(--line); background: var(--white); }
.project-open { width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.project-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card div { padding: 16px; }
.project-card h3 { margin-bottom: 8px; font-size: 20px; }
.project-card p { color: var(--muted); font-size: 15px; }

.request {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, .75fr);
  gap: clamp(30px, 8vw, 100px);
  background: var(--paper);
}
.request > div p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.card-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}
.agree {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.inline-form .agree {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.82);
}
.inline-form .agree button { color: white; }
.agree input { width: auto; margin-top: 2px; }
.agree button, .link-button {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: white;
}
.footer strong { display: block; font-size: 34px; line-height: 1; }
.footer span, .footer address { color: rgba(255,255,255,.72); font-style: normal; }
.footer a { color: white; }

.modal {
  width: min(720px, calc(100vw - 32px));
  border: 0;
  padding: 32px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.modal::backdrop { background: rgba(20, 16, 12, .62); }
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}
.gallery-modal { width: min(1040px, calc(100vw - 32px)); }
.gallery-modal img { width: 100%; max-height: 72vh; object-fit: contain; background: #17120f; }
.gallery-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.menu-modal {
  width: min(420px, calc(100vw - 28px));
  margin-top: 18px;
}
.menu-nav {
  display: grid;
  gap: 16px;
  padding-top: 12px;
}
.menu-nav a {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.menu-phone {
  display: inline-flex;
  margin-top: 26px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .hero, .split, .lead-band, .request, .footer { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media { min-height: 420px; }
  .stats, .adv-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 74px;
  }
  .brand span { font-size: 34px; }
  .nav, .phone-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-media { min-height: 320px; }
  h1 { font-size: 36px; }
  .stats, .adv-grid, .portfolio-grid, .inline-form { grid-template-columns: 1fr; }
  .stats div { border-right: 0; border-bottom: 1px solid var(--line); }
  .card-form { padding: 18px; }
  .footer { grid-template-columns: 1fr; }
}
