/* =====================================================================
   Trade Pros page — lead form. Scoped to .tp-* classes so it never
   collides with styles.css.
   ===================================================================== */

.tp-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tp-form[hidden],
.tp-thankyou[hidden] {
  display: none !important;
}

.tp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-field label {
  font-size: var(--label);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--taupe-on-light);
  font-weight: 500;
}

.tp-field .tp-optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--taupe-soft-on-light);
  font-weight: 400;
}

.tp-field input,
.tp-field select,
.tp-field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--greige);
  border-radius: 2px;
  padding: 11px 14px;
}

.tp-field textarea {
  resize: vertical;
  min-height: 96px;
}

.tp-field input:invalid,
.tp-field select:invalid,
.tp-field textarea:invalid {
  box-shadow: none; /* no UA red glow; errors are shown inline below */
}

.tp-error {
  font-size: .82rem;
  color: var(--rust-on-light);
  min-height: 1.1em;
}

.tp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.tp-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tp-submit {
  margin-top: 6px;
  align-self: flex-start;
}

.tp-form-status {
  font-size: .9rem;
  min-height: 1.2em;
}

.tp-form-status[data-state="error"] { color: var(--rust-on-light); }
.tp-form-status[data-state="success"] { color: var(--ink-soft); }

.tp-thankyou {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
  padding: 32px 0;
}

/* Layout pass: two-column hero, stats strip, dense benefit grid,
   split sections with photography. Scoped to .tp-* only. */
.tp-eyebrow { font-size: var(--label, .78rem); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-on-light); margin: 0 0 .75rem; }
.tp-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); }
.tp-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-hero .crumb { margin-bottom: 1.25rem; }
.tp-hero .page-hero__headline { margin: 0 0 1.25rem; }
.tp-lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 58ch; margin: 0 0 1rem; }
.tp-who { font-weight: 500; font-size: .92rem; color: var(--ink-soft); margin: 0 0 1.75rem; }
.tp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.tp-hero__figure, .tp-split__figure { margin: 0; }
.tp-hero__figure .frame img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

.tp-stats { border-top: 1px solid var(--greige); border-bottom: 1px solid var(--greige); background: var(--paper); }
.tp-stats__list { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tp-stats__list li { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 2px solid var(--rust); }
.tp-stats__big { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); }
.tp-stats__label { font-size: .9rem; color: var(--ink-soft); max-width: 28ch; }

.tp-section { padding: clamp(40px, 5vw, 72px) 0; }
.tp-section + .tp-section { padding-top: 0; }
.tp-h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 1.5rem; }

.tp-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--greige); border: 1px solid var(--greige); }
.tp-benefits li { background: var(--ivory); padding: 24px 24px 26px; }
.tp-benefits h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin: 0 0 .5rem; }
.tp-benefits p { margin: 0; line-height: 1.55; font-size: .96rem; }

.tp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-split__figure .frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.tp-steps { list-style: none; counter-reset: tp; margin: 0 0 1.75rem; padding: 0; }
.tp-steps li { counter-increment: tp; position: relative; padding: 0 0 1rem 3rem; line-height: 1.55; }
.tp-steps li::before { content: counter(tp, decimal-leading-zero); position: absolute; left: 0; top: -.1em; font-family: var(--serif); font-size: 1.5rem; color: var(--rust); }
.tp-staging { border-top: 1px solid var(--greige); padding-top: 1.25rem; }
.tp-staging h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0 0 .4rem; }
.tp-staging p { margin: 0; }

.tp-hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 1rem 0; }
.tp-hours dt { font-weight: 500; }
.tp-hours dd { margin: 0; }
.tp-address { color: var(--ink-soft); }

.tp-inquiry { background: var(--paper); border-top: 1px solid var(--greige); padding-top: clamp(40px, 5vw, 72px) !important; }
.tp-inquiry__lede { margin: -.75rem 0 1.5rem; }
.tp-inquiry .tp-form { max-width: 820px; }

@media (max-width: 860px) {
  .tp-hero__grid, .tp-split { grid-template-columns: 1fr; }
  .tp-split--reverse .tp-split__figure { order: 2; }
  .tp-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tp-stats__list, .tp-benefits { grid-template-columns: 1fr; }
}
