:root {
  --orange: #e26007;
  --dark: #1c1c1c;
  --dark-2: #2a2a2a;
  --cream: #faf8f5;
  --text: #262422;
  --text-muted: #6b6862;
  --border: #e5e1da;
  --radius: 8px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.logo span { color: var(--orange); }
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #b9b6ae;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  color: #eae8e4;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
nav.main-nav a:hover { color: var(--orange); }
nav.main-nav a.current { color: var(--orange); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 780px) {
  nav.main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid #333; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--dark);
  color: #fff;
  padding: 90px 0 70px;
}
.hero.compact { padding: 60px 0 50px; }
.hero h1 { font-size: 40px; max-width: 720px; }
.hero p.lead { font-size: 18px; color: #eee; max-width: 600px; }
.hero .phone { font-size: 15px; color: #ddd; margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #c65505; text-decoration: none; }
.btn.secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn.secondary:hover { background: rgba(255,255,255,.12); }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: 28px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
  display: block;
}

/* Cards / grid */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 780px) {
  .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Image placeholder */
.img-placeholder {
  background: repeating-linear-gradient(135deg, #ece8e1, #ece8e1 10px, #e4e0d8 10px, #e4e0d8 20px);
  border: 1px dashed #cfcabf;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a39c8d;
  font-size: 13px;
  text-align: center;
  padding: 20px;
  min-height: 180px;
}

/* Project entry */
.project-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
@media (max-width: 780px) { .project-entry { grid-template-columns: 1fr; } }
.tag {
  display: inline-block;
  background: #f1ece2;
  color: #7a5a20;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Form */
form.contact-form { display: grid; gap: 16px; max-width: 520px; }
form.contact-form label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #cfccc5;
  padding: 44px 0 26px;
  margin-top: 40px;
  font-size: 14px;
}
.site-footer a { color: #cfccc5; }
.site-footer .foot-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer .brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.site-footer .copyright { border-top: 1px solid #3a3a3a; padding-top: 18px; color: #918e88; font-size: 13px; }

/* Cookie banner */
#cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  padding: 20px;
  z-index: 100;
}
#cookie-banner p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#cookie-banner button {
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--dark);
  background: #fff;
  color: var(--dark);
}
#cookie-banner button.accept-all { background: var(--dark); color: #fff; }
#cookie-banner[hidden] { display: none; }

/* Honeypot field — hidden from people, reachable by bots. */
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#contact-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}
