:root {
  --ink: #232b26;
  --muted: #62685f;
  --linen: #f5f3ec;
  --line: #d6d6ca;
  --accent: #4e634f;
  --white: #faf9f5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 17px/1.6 "DM Sans", sans-serif; }
.contact { width: min(100% - 40px, 680px); margin: clamp(36px, 7vw, 90px) auto; }
.contact h1 { margin: 0; font: 400 clamp(64px, 10vw, 104px)/.95 "Instrument Serif", Georgia, serif; }
.contact > p { color: var(--muted); }
.contact form { display: grid; gap: 18px; margin-top: 28px; padding: clamp(18px, 4vw, 32px); background: var(--white); border: 1px solid var(--line); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact label { display: grid; gap: 5px; font-weight: 600; }
.contact input, .contact textarea { width: 100%; padding: 10px 12px; border: 1px solid #a8ab9e; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
.contact textarea { resize: vertical; }
.contact button { justify-self: start; padding: 11px 20px; border: 0; border-radius: 4px; background: #35543d; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.contact button:hover { background: #294332; }
.contact button:disabled { opacity: .7; cursor: wait; }
.contact :is(input,textarea,button,a):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.contact-status { margin: 0; color: #365a40; }
.contact-status.error { color: #8c3526; }
.contact-email { font-size: 15px; overflow-wrap: anywhere; }
.contact-email a { color: var(--ink); }
.contact-footer { padding: 24px clamp(20px, 5vw, 80px); border-top: 1px solid var(--line); color: var(--muted); font: 12px "DM Mono", monospace; }
@media (max-width: 550px) { .contact-fields { grid-template-columns: 1fr; } }
