/* ── Page hero ── */
.page-hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 32px 52px;
  text-align: center;
}
.page-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
}
.page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 20px;
}
.page-title em { font-style: italic; font-weight: 300; }
.page-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Form container ── */
.form-wrap {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 32px 100px;
}

.form-group { margin-bottom: 22px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(125, 155, 106, 0.25);
}

input::placeholder,
textarea::placeholder { color: var(--text-muted); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* Submit button — uses --forest-bg so cream text passes WCAG AA. */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: var(--forest-bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.submit-btn:hover,
.submit-btn:focus-visible {
  background: var(--forest-bg-hover);
  transform: translateY(-1px);
}
.submit-btn:active { transform: translateY(0); }

/* ── Thank-you ── */
.thank-you {
  display: none;
  text-align: center;
  padding: 52px 32px 100px;
  max-width: 520px;
  margin: 0 auto;
}
.thank-you.visible { display: block; }
.thank-you-icon { font-size: 2.4rem; margin-bottom: 20px; line-height: 1; }
.thank-you h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 14px;
}
.thank-you p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 28px;
}
.thank-you a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--forest-bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s;
}
.thank-you a:hover,
.thank-you a:focus-visible { background: var(--forest-bg-hover); }

/* ── Mobile ── */
@media (max-width: 768px) {
  .page-hero { padding: 52px 20px 36px; }
  .form-wrap { padding: 0 20px 72px; }
  .submit-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  input[type="text"],
  input[type="email"],
  select,
  textarea { font-size: 1rem; }
}
