/* Contact page + Thank You page
   Layered on .simple-page (page.css): hero band, content panel and
   base typography come from there. This file only adds form and
   confirmation styling, scoped to its own page classes. */

/* 1. Contact page: lead text */
.simple-page.contact-page .entry-content .contact-lead {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--body);
  max-width: 620px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* 2. Form layout */
.simple-page.contact-page .contact-form {
  display: block;
}

.simple-page.contact-page .field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin-bottom: 8px;
}

.simple-page.contact-page .field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.simple-page.contact-page .field.full {
  grid-column: 1 / -1;
}

.simple-page.contact-page .field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}

.simple-page.contact-page .field label .req {
  color: var(--r);
  margin-left: 3px;
}

.simple-page.contact-page .field input,
.simple-page.contact-page .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  background-color: var(--pw);
  border: 1px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--g);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.simple-page.contact-page .field textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.65;
}

.simple-page.contact-page .field input::placeholder,
.simple-page.contact-page .field textarea::placeholder {
  color: var(--steel);
}

.simple-page.contact-page .field input:focus,
.simple-page.contact-page .field textarea:focus {
  outline: none;
  background-color: var(--w);
  border-color: var(--r);
  box-shadow: 0 0 0 1px var(--r);
}

/* 3. Submit row */
.simple-page.contact-page .form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.simple-page.contact-page .entry-content .form-hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 400px;
}

/* 4. Thank You page — the card sits centered and its content is centered too,
   so the short confirmation copy reads as one balanced block. */
.simple-page.thank-you-page .page-panel {
  padding-left: clamp(26px, 4vw, 56px);
}

.simple-page.thank-you-page .entry-content {
  text-align: center;
}

.simple-page.thank-you-page .thank-you-mark {
  width: 58px;
  height: 6px;
  margin: 0 auto 30px;
  background-color: var(--r);
  transform: skewX(-38deg);
}

.simple-page.thank-you-page .entry-content .thank-you-lead {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--g);
  max-width: 620px;
  margin: 0 auto 16px;
}

.simple-page.thank-you-page .entry-content .thank-you-body {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto;
}

.simple-page.thank-you-page .thank-you-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* 5. Thank You page hero: centered to match the card below */
.simple-page.thank-you-page .page-hero {
  text-align: center;
}

.simple-page.thank-you-page .page-hero-title {
  margin-left: auto;
  margin-right: auto;
}

.simple-page.thank-you-page .page-hero .slogan-cut {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* 5. Responsive */
@media (max-width: 720px) {
  .simple-page.contact-page .field-grid {
    grid-template-columns: 1fr;
  }
  .simple-page.contact-page .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .simple-page.contact-page .form-actions .btn {
    width: 100%;
  }
  .simple-page.contact-page .entry-content .form-hint {
    order: 2;
    text-align: center;
    max-width: none;
  }
}

/* 6. Inquiry form: honeypot field + submission notice
   (added with the real submission handler in inc/inquiry-form.php) */
.simple-page.contact-page .contact-form .hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.simple-page.contact-page .entry-content .form-notice {
  max-width: 620px;
  margin: 0 0 30px;
  padding: 14px 16px;
  border-left: 3px solid var(--r);
  background-color: var(--pw);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
