:root {
  color-scheme: dark;
  --cream: #f4efe4;
  --muted: #c9bfae;
  --amber: #d99a52;
  --ink: #17130f;
  --line: rgba(255, 255, 255, .17);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink) url('/assets/houtmagazijn.webp') center / cover fixed;
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(16, 12, 8, .94) 0%, rgba(16, 12, 8, .80) 49%, rgba(16, 12, 8, .62) 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
}

.intro,
.contact { padding: clamp(2rem, 5vw, 5.5rem); }

.intro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: .82rem;
}

.brand-mark {
  width: 2.6rem;
  height: .75rem;
  border-top: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: skewX(-28deg);
}

.copy { max-width: 52rem; }
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--amber);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 8.8rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.06em;
}

.lead {
  max-width: 30rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.footnote { margin: 0; color: var(--muted); font-size: .9rem; }

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(18, 14, 10, .62);
  backdrop-filter: blur(16px);
}

h2 {
  margin: 0;
  font: 400 clamp(2rem, 4vw, 3.25rem)/1.05 Georgia, "Times New Roman", serif;
}

.contact > div > p:last-child { color: var(--muted); line-height: 1.6; }
form { display: grid; gap: .7rem; margin-top: 2rem; }
label { margin-top: .4rem; color: var(--muted); font-size: .82rem; font-weight: 650; }

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .07);
  color: var(--cream);
  font: inherit;
  outline: none;
  transition: border-color .2s, background .2s;
}

input:focus,
textarea:focus { border-color: var(--amber); background: rgba(255, 255, 255, .1); }
textarea { resize: vertical; }

button {
  margin-top: .8rem;
  border: 0;
  border-radius: 2px;
  padding: 1rem 1.25rem;
  background: var(--amber);
  color: #1d140b;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

button:hover { background: #e7ab67; }
.notice { margin: 1.25rem 0 0; padding: .85rem 1rem; border-left: 3px solid var(--amber); background: rgba(255, 255, 255, .08); }
.notice p { margin: .2rem 0; }
.success { border-color: #9dc078; }
.error { border-color: #d87a67; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  body { background-attachment: scroll; }
  .page { grid-template-columns: 1fr; }
  .intro { min-height: 72vh; border-right: 0; border-bottom: 1px solid var(--line); gap: 5rem; }
  .contact { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
