/* ============================================================
   markparq.com — "Other things I build" + contact form
   Everything here is prefixed .mp- so it cannot collide with
   the CSS already on markparq.com.

   TO RETHEME: change the six variables below. That is the only
   place colors are defined. If markparq.com is dark, set
   --mp-paper to your dark background and --mp-ink to a light
   text color and the rest will follow.
   ============================================================ */

.mp-scope{
  --mp-ink:#111111;
  --mp-ink-soft:#4a4a4a;
  --mp-paper:#f3f1ed;
  --mp-card:#ffffff;
  --mp-line:#e3ded6;
  --mp-accent:#c95a1b;

  --mp-slate:#0d4660;
  --mp-ministry:#55664e;
  --mp-tube:#c0392b;
  --mp-product:#8a5a2b;

  font-family:"Manrope","Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--mp-ink);
}

.mp-scope *{box-sizing:border-box}
.mp-shell{width:min(1160px,92vw);margin:0 auto}

.mp-section{padding:72px 0;background:var(--mp-paper)}
.mp-head{max-width:640px;margin:0 0 34px}
.mp-kicker{
  margin:0 0 10px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--mp-accent);
}
.mp-head h2{
  margin:0 0 12px;
  font-size:clamp(2rem,4vw,2.9rem);
  line-height:1;
  font-weight:800;
  letter-spacing:-.045em;
}
.mp-head p{margin:0;font-size:15px;line-height:1.6;color:var(--mp-ink-soft)}

/* ---------- Projects grid ---------- */
.mp-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.mp-proj{
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:22px;
  background:var(--mp-card);
  border:1px solid var(--mp-line);
  border-radius:18px;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.mp-proj:hover{
  transform:translateY(-3px);
  border-color:#d8cdbc;
  box-shadow:0 18px 36px rgba(33,26,18,.12);
}
.mp-proj:focus-visible{outline:3px solid var(--mp-accent);outline-offset:3px}

.mp-kind{
  align-self:flex-start;
  padding:4px 9px;
  border-radius:999px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#fff;
  background:var(--mp-ink-soft);
}
.mp-proj[data-kind="software"] .mp-kind{background:var(--mp-slate)}
.mp-proj[data-kind="ministry"] .mp-kind{background:var(--mp-ministry)}
.mp-proj[data-kind="youtube"]  .mp-kind{background:var(--mp-tube)}
.mp-proj[data-kind="product"]  .mp-kind{background:var(--mp-product)}

.mp-proj h3{
  margin:0;
  font-size:19px;
  font-weight:800;
  letter-spacing:-.025em;
}
.mp-proj p{
  margin:0;
  flex:1;
  font-size:13.5px;
  line-height:1.6;
  color:var(--mp-ink-soft);
}
.mp-go{
  margin-top:4px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--mp-accent);
}

/* ---------- Contact form ---------- */
.mp-contact{padding:72px 0;background:#141a1f;color:#f4f1ec}
.mp-contact-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:46px;
  align-items:start;
}
.mp-contact .mp-kicker{color:#ffb199}
.mp-contact h2{
  margin:0 0 14px;
  font-size:clamp(2rem,4vw,2.9rem);
  line-height:1;
  font-weight:800;
  letter-spacing:-.045em;
}
.mp-contact-copy p{margin:0 0 18px;font-size:15px;line-height:1.6;color:#c3bcb3}
.mp-points{display:flex;flex-wrap:wrap;gap:8px}
.mp-points span{
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  font-size:12px;
  color:#ded7cf;
}

.mp-form{
  display:grid;
  gap:13px;
  padding:26px;
  background:#1c242b;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
}
.mp-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.mp-form label{display:grid;gap:6px}
.mp-form label > span{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#a9a29a;
}
.mp-form input,
.mp-form select,
.mp-form textarea{
  width:100%;
  padding:12px 13px;
  background:#111820;
  border:1px solid rgba(255,255,255,.14);
  border-radius:11px;
  color:#f4f1ec;
  font-family:inherit;
  font-size:14px;
}
.mp-form textarea{resize:vertical;min-height:104px}
.mp-form input:focus,
.mp-form select:focus,
.mp-form textarea:focus{
  outline:none;
  border-color:var(--mp-accent);
  box-shadow:0 0 0 3px rgba(255,106,61,.20);
}
.mp-form select option{background:#111820;color:#f4f1ec}

/* Honeypot: real people never see or tab into this. Bots fill it. */
.mp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

.mp-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:4px;
  padding:14px 22px;
  border:0;
  border-radius:12px;
  background:var(--mp-accent);
  color:#fff;
  font-family:inherit;
  font-size:14px;
  font-weight:800;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease;
}
.mp-submit:hover:not(:disabled){transform:translateY(-1px);background:#e95528}
.mp-submit:disabled{opacity:.65;cursor:default}
.mp-submit:focus-visible{outline:3px solid #fff;outline-offset:3px}
.mp-status{margin:2px 0 0;min-height:18px;font-size:13px;color:#a9a29a}
.mp-frame{display:none}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .mp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mp-contact-grid{grid-template-columns:1fr;gap:30px}
}
@media (max-width:640px){
  .mp-section,.mp-contact{padding:52px 0}
  .mp-grid{grid-template-columns:1fr}
  .mp-row{grid-template-columns:1fr}
  .mp-form{padding:20px}
}

@media (prefers-reduced-motion:reduce){
  .mp-proj,.mp-submit{transition:none}
  .mp-proj:hover,.mp-submit:hover:not(:disabled){transform:none}
}
