/* ============================================
   SNAPFIRE v2 · PEOPLE PAGES
   Page-specific styles for who-we-are.html, contact.html, privacy.html.
   Load after base.css, site.css, and page.css.
   ============================================ */

/* ---------- ABOUT: founder photos ---------- */
.page-hero--about h1 span { display: block; }
.portrait { margin: 0; }
.portrait img { width: 100%; border-radius: 22px; object-fit: cover; }
.portrait--team img { aspect-ratio: 3 / 2; object-position: center 35%; }
.portrait--work img { aspect-ratio: 4 / 5; object-position: center 60%; }
.portrait figcaption { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s7); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.portrait figcaption strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.portrait figcaption span { display: block; color: var(--accent-hi); font-size: .92rem; }

.together { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.together .h2 { margin-bottom: var(--s5); }
.together .portrait { max-width: 480px; justify-self: end; width: 100%; }
.ruled .link { margin-top: var(--s3); }

/* ---------- CONTACT ---------- */
.page-hero__grid--contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.page-hero--contact h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.page-hero--contact .prose { margin-bottom: var(--s7); }
.next { padding-top: var(--s5); border-top: 1px solid var(--line); }
.next h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; margin-bottom: var(--s4); }
.next ol { display: grid; gap: var(--s4); counter-reset: next; }
.next li { display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); align-items: start; counter-increment: next; color: var(--muted); }
.next li::before { content: counter(next); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,107,53,.14); color: var(--accent-hi); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.next li p { padding-top: 4px; }

.form-panel { position: relative; background: var(--raise); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 40px); }
.form-panel h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: var(--s5); }
.form-panel [hidden] { display: none !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-field { margin-bottom: var(--s5); min-width: 0; }
.form-field label { display: block; margin-bottom: var(--s2); font-size: .94rem; font-weight: 600; }
.form-field label span { color: var(--faint); font-weight: 400; margin-left: var(--s1); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); border-radius: 10px; }
.form-field small { display: block; margin-top: var(--s2); color: var(--faint); font-size: .88rem; line-height: 1.5; }
.workflow-fields { margin-bottom: var(--s5); padding: var(--s5); border-radius: 14px; background: var(--raise-2); border: 1px solid var(--line); }
.workflow-fields .form-field:last-child { margin-bottom: 0; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); align-items: start; margin-bottom: var(--s4); color: var(--muted); font-size: .94rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { min-height: 1.5em; margin-bottom: var(--s2); color: #ff9c8a; font-size: .94rem; }
.btn--full { width: 100%; }
.form-note { margin-top: var(--s4); text-align: center; color: var(--faint); font-size: .9rem; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-success { padding: clamp(40px, 6vw, 72px) var(--s4); text-align: center; }
.contact-success:focus { outline: none; }
.contact-success__mark { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s5); border-radius: 50%; background: rgba(60,207,122,.14); color: var(--ok); font-size: 1.6rem; }
.contact-success p { color: var(--muted); max-width: 42ch; margin: 0 auto var(--s6); }

/* ---------- PRIVACY ---------- */
.page-hero__updated { color: var(--faint); font-size: .94rem; }
.summary h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--text); margin-bottom: var(--s3); }
.summary ul { list-style: disc; margin-left: 1.2em; display: grid; gap: var(--s2); }
.summary li::marker { color: var(--accent); }
.policy section:first-child h2 { margin-top: 0; }
.policy code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--raise-2); color: var(--text); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .page-hero__grid--contact { grid-template-columns: 1fr; }
  .together { grid-template-columns: 1fr; }
  .together .portrait { justify-self: start; }
  .page-hero__grid > .portrait { max-width: 620px; }
}
@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .workflow-fields { padding: var(--s4); }
  .portrait--work img { aspect-ratio: 4 / 3; }
}
