/* =========================================================================
   CONTACT — minimal centered form (Linear / Vercel style)
   ========================================================================= */

.contact-body { background: var(--bg-primary); }

.contact-min {
  min-height: calc(100vh - var(--nav-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 120px;
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at top, rgba(51, 112, 255, 0.06) 0%, transparent 50%);
}

.contact-min-wrap {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.contact-min-head {
  text-align: center;
  margin-bottom: 48px;
}
.contact-min-head .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
}
.contact-min-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.05;
  color: var(--fg-primary);
}
.contact-min-sub {
  margin: 0 auto;
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.contact-min-sub b { font-weight: 600; color: var(--brand-blue-deep); }

.contact-min-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-min-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-min-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Borderless by default; fill-only. Borders appear only on focus. */
.contact-min-input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: none;
  outline: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--fg-primary);
  font-family: inherit;
  font-size: 15.5px;
  padding: 13px 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-min-input::placeholder { color: var(--fg-muted); }
.contact-min-input:hover { background: rgba(15, 23, 42, 0.075); }
.contact-min-input:focus,
.contact-min-input:focus-visible {
  background: var(--white);
  box-shadow:
    inset 0 0 0 1.5px var(--brand-blue),
    0 0 0 4px rgba(51, 112, 255, 0.14);
}

.contact-min-textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.contact-min-submit {
  margin-top: 10px;
  align-self: stretch;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  gap: 8px;
}

.contact-min-success {
  margin: 20px 0 0;
  padding: 16px 18px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  color: #166534;
  font-size: 14.5px;
  text-align: center;
}

.contact-min-direct {
  margin: 36px 0 0;
  font-size: 13px;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.7;
}
.contact-min-direct a {
  color: var(--brand-blue-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.contact-min-direct a:hover { color: var(--brand-blue); }

@media (max-width: 640px) {
  .contact-min { padding: 96px 20px 80px; }
  .contact-min-head { margin-bottom: 36px; }
  .contact-min-direct { line-height: 2; }
}

/* Light nav on contact page (no dark hero band anymore) */
.contact-body .nav {
  background: rgba(248, 250, 252, .78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.contact-body .nav.is-over-dark { background: rgba(248, 250, 252, .78); }
.contact-body .nav .nav-logo img { filter: brightness(0); }
.contact-body .nav-links a { color: var(--fg-secondary); }
.contact-body .nav-links a:hover { color: var(--fg-primary); }
.contact-body .nav-cta { background: var(--ink); color: var(--white); }
.contact-body .nav-cta:hover { background: var(--charcoal); }
