:root {
  --ink: #f7f1e7;
  --muted: #b8aa97;
  --paper: #0c0b0a;
  --cream: #171411;
  --line: #514535;
  --olive: #b88a45;
  --gold: #d4a85f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}

.form-page {
  min-height: 100vh;
  padding: 30px clamp(20px, 5vw, 80px) 70px;
  background: radial-gradient(circle at 12% 12%, rgba(212, 168, 95, 0.16), transparent 30%), radial-gradient(circle at 88% 80%, rgba(122, 78, 25, 0.12), transparent 28%), var(--paper);
}

.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--olive); }

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 7vw, 110px);
  width: min(1120px, 100%);
  margin: clamp(55px, 10vh, 110px) auto 0;
  align-items: start;
}

.form-intro { padding-top: 20px; }

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-intro h1 {
  max-width: 520px;
  margin: 18px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.form-intro p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.intro-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #171411;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.prospect-form {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(212, 168, 95, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(31, 26, 21, 0.98), rgba(17, 15, 13, 0.98));
  box-shadow: var(--shadow);
}

.form-heading { margin-bottom: 30px; }

.form-heading h2 {
  margin: 8px 0 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }

.field span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  outline: none;
  background: #0f0e0d;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 95, 0.14);
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
  border: 0;
  border-radius: 4px;
  padding: 15px 18px;
  background: linear-gradient(135deg, #d4a85f, #9c6c2d);
  color: #171411;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.submit-button:hover { background: linear-gradient(135deg, #e2bc78, #b77d35); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: 0.7; transform: none; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; }
.form-status.success { color: #d4c080; }
.form-status.error { color: #e58f7d; }

@media (max-width: 720px) {
  .form-page { padding: 22px 16px 40px; }
  .form-layout { display: block; margin-top: 54px; }
  .form-intro { padding: 0; margin-bottom: 32px; }
  .form-intro h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .intro-note { margin-top: 28px; }
  .prospect-form { padding: 24px 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
}
