:root {
  --bg: #f4efe6;
  --paper: #fbf7f0;
  --ink: #2b1c14;
  --muted: #7a6658;
  --line: #e4d6c5;
  --terra: #b85c38;
  --terra-2: #9a4528;
  --gold: #c4a574;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Fraunces", "Georgia", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: "Source Sans 3", sans-serif; }
.sans { font-family: "Source Sans 3", "Segoe UI", sans-serif; }
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244,239,230,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo {
  font-size: 13px;
  letter-spacing: .14em;
  line-height: 1.35;
  max-width: min(480px, 52%);
}
.logo span { color: var(--terra); }
.menu { display: flex; gap: 26px; align-items: center; font-family: "Source Sans 3", sans-serif; font-size: 14px; }
.menu a { color: var(--muted); }
.menu a.active, .menu a:hover { color: var(--terra); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; background: var(--terra); color: #fff;
  border: none; cursor: pointer; letter-spacing: .12em; font-size: 13px;
}
.btn:hover { background: var(--terra-2); }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; }

.hero {
  min-height: 86vh;
  display: grid; place-items: end;
  background:
    linear-gradient(180deg, rgba(43,28,20,.1), rgba(43,28,20,.62)),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #fff;
}
.hero-copy { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 72px; }
.hero .kicker { letter-spacing: .4em; font-size: 12px; color: var(--gold); font-family: "Source Sans 3", sans-serif; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 500; margin: 10px 0 12px; line-height: 1.15; }
.hero p { max-width: 520px; color: #f0e6d8; margin-bottom: 22px; }

.section { padding: 80px 0; }
.kicker { color: var(--terra); letter-spacing: .28em; font-size: 12px; font-family: "Source Sans 3", sans-serif; }
h2 { font-size: 34px; font-weight: 500; margin: 8px 0 16px; }
.muted { color: var(--muted); font-family: "Source Sans 3", sans-serif; }

.feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.feature img { height: 420px; width: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; font-family: "Source Sans 3", sans-serif; }
.facts div { background: var(--paper); padding: 16px; border: 1px solid var(--line); }
.facts b { display: block; font-size: 22px; color: var(--terra); font-family: "Fraunces", serif; }

.projects { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.proj { position: relative; overflow: hidden; min-height: 280px; }
.proj img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.proj figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}
.proj h3 { font-size: 24px; font-weight: 500; }

.detail-hero { height: 52vh; background-size: cover; background-position: center; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: -40px; position: relative; }
.specs div { background: var(--paper); padding: 22px; text-align: center; font-family: "Source Sans 3", sans-serif; }
.specs b { display: block; font-size: 20px; font-family: "Fraunces", serif; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.gallery .stack { display: grid; gap: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.form {
  background: var(--paper); border: 1px solid var(--line); padding: 28px; max-width: 680px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; font-family: "Source Sans 3", sans-serif; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px; outline: none;
}
textarea { min-height: 110px; }
.toast { display: none; color: var(--terra); margin-top: 10px; font-family: "Source Sans 3", sans-serif; }
.toast.show { display: block; }

.footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 13px; color: var(--muted); font-family: "Source Sans 3", sans-serif; }

.footer a { color: var(--ink); }
.footer a:hover { color: var(--terra); }

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-inner { height: auto; min-height: 74px; padding: 12px 0; }
  .logo { max-width: calc(100% - 56px); font-size: 12px; }
  .menu {
    display: none; position: absolute; inset: 74px 0 auto 0;
    background: var(--paper); flex-direction: column; padding: 18px; gap: 12px;
  }
  .menu.open { display: flex; }
  .feature, .projects, .gallery, .specs, .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
}
