/* =============================================================
   contact.css — styles for the anti-scraping contact features
   Pairs with assets/js/contact.js. Reuses site.css tokens
   (--ink, --accent, --rule, --ink-mute) so nothing is hard-coded.
   ============================================================= */

/* Honeypot ----------------------------------------------------
   Off-screen, NOT display:none. Real users never see it, but
   it's still reachable by automated browsers that fill every
   input they find. display:none would make many bots skip it. */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Phone reveal ------------------------------------------------ */
.phone-reveal {
  cursor: pointer;
}

.phone-slot {
  display: inline-block;
  opacity: 0;
  transition: opacity 300ms ease;
}

.phone-slot.is-revealed {
  opacity: 1;
}

.phone-slot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.phone-slot a:hover {
  color: var(--accent);
}

/* Form feedback ---------------------------------------------- */
.field-error,
[data-form-error] {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  min-height: 1.2em;
  padding: 8px 0;
}

[data-form-success] {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  min-height: 1.2em;
  padding: 8px 0;
}

/* Demo page scaffolding (contact-preview.html only) ----------- */
.preview-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.preview-wrap h1 {
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 600;
  font-stretch: 75%;
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 8px;
  color: var(--ink);
}

.preview-wrap .lede {
  color: var(--ink-dim);
  font-size: 15px;
  margin: 0 0 48px;
  max-width: 60ch;
}

.preview-block {
  border-top: 1px solid var(--rule);
  padding: 24px 0 32px;
}

.preview-block h2 {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin: 0 0 16px;
}

.preview-email a {
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 600;
  font-stretch: 75%;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.preview-email a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
