:root {
  --sand: #efe6d8;
  --ink: #1f1a14;
  --dust: #8a7a64;
  --rust: #a4572f;
  --line: rgba(31, 26, 20, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px);
}
.wordmark {
  font-family: var(--sans); font-weight: 600;
  letter-spacing: 0.32em; font-size: 13px;
  text-decoration: none; text-transform: uppercase;
}
.nav a {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}
.on-image .site-header { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.25); }

/* ---------- Home ---------- */
.hero {
  position: fixed; inset: 0;
  background: #c9b79a;
}
.hero picture, .hero img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 38% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), rgba(0,0,0,0) 22%);
}
.home-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 20px clamp(16px, 4vw, 48px);
  color: #fff; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}

/* ---------- Contact ---------- */
.contact {
  min-height: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
}
.contact-image { position: relative; background: #c9b79a; }
.contact-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 35% 50%;
}
.contact-body {
  padding: 120px clamp(16px, 6vw, 88px) 64px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 640px;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--dust);
  margin-bottom: 18px;
}
h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 60px); line-height: 1.02; margin-bottom: 18px;
}
.lede { color: #4a4034; line-height: 1.6; margin-bottom: 40px; max-width: 42ch; }

form { display: grid; gap: 22px; }
.field label {
  display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dust); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 8px 0 10px; border-radius: 0; outline: none;
  transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button {
  justify-self: start; margin-top: 8px;
  font: inherit; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--sand); background: var(--ink); border: 0;
  padding: 16px 34px; cursor: pointer; transition: background .2s;
}
button:hover { background: var(--rust); }
button:disabled { opacity: .5; cursor: default; }

.status { min-height: 1.4em; font-size: 14px; line-height: 1.5; }
.status.ok { color: #3f5b34; }
.status.err { color: var(--rust); }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact-image { height: 42vh; }
  .contact-body { padding: 40px 16px 56px; max-width: none; }
  .on-image .site-header { position: absolute; }
}

/* Contact page: nav sits over the sand panel on desktop */
@media (min-width: 861px) {
  .contact-page .nav { color: var(--ink); text-shadow: none; }
}
