/* CorpLens — /contact/ only. Builds on brand.css tokens (colours, fonts, radii, fields). */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding: clamp(24px, 6vw, 72px) 0 clamp(48px, 7vw, 96px);
}

.contact-kicker {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}
.contact-intro h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--lens);
  margin: 0 0 18px;
}
.contact-intro .lede { font-size: 1.12rem; color: var(--muted); max-width: 30rem; margin: 0 0 28px; }

.contact-topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 30rem; }
.contact-topics li {
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 18px;
  border-top: 1.5px solid var(--rule);
  position: relative;
}
.contact-topics li:last-child { border-bottom: 1.5px solid var(--rule); }
.contact-topics li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.contact-topics strong { color: var(--lens); }
.contact-topics span { color: var(--muted); font-size: 0.97rem; }

.contact-panel {
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-slip);
  padding: clamp(22px, 3.5vw, 36px);
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 70%);
}
.contact-panel h2 { font-size: 1.35rem; letter-spacing: -0.02em; color: var(--lens); margin: 0 0 18px; }

.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-optional { font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-left: 4px; }

.contact .field textarea {
  width: 100%;
  min-height: 160px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-control);
  font: 1rem/1.5 var(--sans);
  background: var(--paper);
  resize: vertical;
}
.contact .field textarea:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(97, 158, 125, 0.28); }
.contact .field [aria-invalid="true"] { border-color: #b4483d; }
.contact form .button { width: 100%; margin-top: 4px; }
.contact-privacy { margin: 14px 0 0; font-size: 0.88rem; color: var(--muted); }

/* Only robots fill it: off-screen, not display:none (some bots skip hidden fields). */

.contact-sent { text-align: left; }
.contact-sent .contact-check {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: var(--lens);
  color: var(--paper);
  font-weight: 800;
  font-size: 1.2rem;
}
.contact-sent p { color: var(--muted); margin: 0 0 12px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact-done .contact-panel { order: -1; }  /* the confirmation first, not below the intro */
}
@media (max-width: 520px) {
  .contact-row { grid-template-columns: 1fr; }
}
