/* Grey Oak Ventures / Heartwood: minimal variations (review build). Locked palette only. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/sourceserif4-latin-var.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --slate: #1A2530;
  --gold: #C5A059;
  --paper: #F7F5F0;   /* background only, never text */
  --white: #FFFFFF;
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  font-family: var(--serif); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.page {
  flex: 1; width: 100%; margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.brand { margin: 0; line-height: 0; }
.logo { display: block; width: clamp(200px, 52vw, 240px); height: auto; margin: 0 auto; }
.rule { display: block; width: 2.5rem; height: 1px; margin: 2.75rem auto 2.75rem; background: var(--gold); }

.contact { width: 100%; max-width: 22rem; }
.form { width: 100%; }
.field { margin: 0 0 0.75rem; }
input {
  display: block; width: 100%; margin: 0;
  padding: 0.9rem 1rem;
  font-family: var(--serif); font-size: 1rem; line-height: 1.4; text-align: center;
  border-radius: 2px; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus { outline: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { margin: 0 0 0.75rem; font-size: 0.9375rem; }
.button {
  display: block; width: 100%; padding: 1rem 1.25rem;
  font-family: var(--sans); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button:focus-visible { outline-offset: 3px; }
.button[disabled] { opacity: .6; cursor: progress; }
.thanks { padding: 0.5rem 0; outline: none; }
.thanks p { margin: 0; }
.thanks-title { font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem !important; }
.footer { padding: 1.5rem 1.5rem 2rem; text-align: center; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.06em; }
.footer p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- V1 Paper ---------- */
.v1 { background: var(--paper); color: var(--slate); }
.v1 input { color: var(--slate); background: var(--white); border: 1px solid rgba(26,37,48,.55); }
.v1 input::placeholder { color: rgba(26,37,48,.72); opacity: 1; }
.v1 input:focus { border-color: var(--slate); box-shadow: 0 0 0 1px var(--slate); }
.v1 .button { color: var(--white); background: var(--slate); border: 1px solid var(--slate); }
.v1 .button:hover { background: var(--gold); border-color: var(--gold); color: var(--slate); }
.v1 .button:focus-visible { outline: 2px solid var(--slate); }
.v1 .error { color: var(--slate); }
.v1 .footer { color: rgba(26,37,48,.72); }

/* ---------- V2 Slate ---------- */
.v2 { background: var(--slate); color: var(--white); }
.v2 input { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.55); }
.v2 input::placeholder { color: rgba(255,255,255,.7); opacity: 1; }
.v2 input:focus { border-color: var(--white); box-shadow: 0 0 0 1px var(--white); }
.v2 .button { color: var(--slate); background: var(--gold); border: 1px solid var(--gold); }
.v2 .button:hover { background: var(--white); border-color: var(--white); color: var(--slate); }
.v2 .button:focus-visible { outline: 2px solid var(--white); }
.v2 .error { color: var(--white); }
.v2 .footer { color: rgba(255,255,255,.7); }

/* ---------- V3 Split: slate band with gold lockup, paper form area ---------- */
.v3 { background: var(--paper); color: var(--slate); }
.v3 .band {
  background: var(--slate);
  min-height: 56vh; min-height: 56svh;
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
}
.v3 .page { justify-content: flex-start; padding-top: clamp(2.5rem, 7vh, 4rem); }
.v3 input { color: var(--slate); background: var(--white); border: 1px solid rgba(26,37,48,.55); }
.v3 input::placeholder { color: rgba(26,37,48,.72); opacity: 1; }
.v3 input:focus { border-color: var(--slate); box-shadow: 0 0 0 1px var(--slate); }
.v3 .button { color: var(--white); background: var(--slate); border: 1px solid var(--slate); }
.v3 .button:hover { background: var(--gold); border-color: var(--gold); color: var(--slate); }
.v3 .button:focus-visible { outline: 2px solid var(--slate); }
.v3 .error { color: var(--slate); }
.v3 .footer { color: rgba(26,37,48,.72); }
@media (max-width: 600px) { .v3 .band { min-height: 50vh; min-height: 50svh; } }
