/* ═══════════════════════════════════════
   ECHO — contact.css  (contact.html)
   One screen, three fields, no detours. Uses base.css tokens only.
   The form keeps the homepage contract so JS/forms.js runs unchanged.
   ═══════════════════════════════════════ */


.cp {
  position: relative;
  padding-top: clamp(7.5rem, 13vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
/* echo rings behind the heading */
.cp::before {
  content: '';
  position: absolute;
  left: -14rem; top: -10rem;
  width: 36rem; height: 36rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, rgba(91, 43, 224, 0.07) 46px 47px);
  pointer-events: none;
}

.cp__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "intro form"
    "aside form";
  gap: 2.5rem clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.cp__intro { grid-area: intro; }
.cp__form  { grid-area: form; }
.cp__aside { grid-area: aside; }

.cp__eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.cp__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(3.25rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--text);
}
.cp__lead {
  max-width: 26rem;
  margin-top: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── form card ── */
.cp__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(30, 16, 64, 0.08);
}
.cp__field { display: flex; flex-direction: column; gap: 0.45rem; }
.cp__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.cp__opt { font-weight: 400; color: var(--text-muted); }
.cp__field input,
.cp__field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;            /* 16px: no zoom-on-focus on iOS */
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cp__field textarea { resize: vertical; min-height: 7rem; line-height: 1.6; }
.cp__field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.cp__field input:focus,
.cp__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 43, 224, 0.15);
}
.cp__submit { margin-top: 0.25rem; padding-block: 1rem; font-size: 1rem; }
.cp__consent {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}
.cp__consent a { text-decoration: underline; text-underline-offset: 2px; }
.cp__success {
  display: none;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
}

/* ── direct contact + next steps ── */
.cp__aside { display: grid; gap: 2rem; }
.cp__aside-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.cp__email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
/* body face on purpose: the display face draws the 0 in "ech0" like an "o" */
.cp__email {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 5px;
  user-select: all;
  overflow-wrap: anywhere;
}
.cp__email:hover,
.cp__email:focus-visible { text-decoration-color: var(--accent); }
.cp__copy {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  min-height: 2rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.cp__copy:hover,
.cp__copy:focus-visible { border-color: var(--accent); background: rgba(91, 43, 224, 0.06); }
.cp__aside-note { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); }
.cp__aside-note a { text-decoration: underline; text-underline-offset: 3px; padding-block: 0.3rem; display: inline-block; }

.cp__next ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: cp;
  display: grid;
  gap: 0.65rem;
}
.cp__next li {
  counter-increment: cp;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.cp__next li::before {
  content: counter(cp, decimal-leading-zero);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

/* ── phone: heading, then the form straight away, then alternatives ── */
@media (max-width: 860px) {
  .cp__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "form" "aside";
    gap: 2rem;
  }
  .cp__lead { margin-top: 1rem; }
}
