:root {
  --ink: #1a2433;
  --paper: #f6f4ef;
  --accent: #ee5f43;
  --line: #d8d4ca;
  --muted: #64707d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.wordmark { color: var(--ink); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.06em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 650; }
.hero { padding: clamp(80px, 16vw, 180px) 0 90px; max-width: 820px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -0.055em; line-height: .98; }
h1 { font-size: clamp(3.8rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.lead { max-width: 650px; margin: 28px 0 34px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button { display: inline-flex; align-items: center; gap: 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; font: inherit; font-weight: 750; padding: 13px 19px; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover, .button:focus-visible { background: var(--accent); transform: translateY(-2px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.grid article { min-height: 250px; padding: 30px 28px 28px 0; border-bottom: 1px solid var(--line); }
.grid article + article { border-left: 1px solid var(--line); padding-left: 28px; }
.grid h2 { font-size: 1.7rem; }
.grid article p:last-child, .contact > div > p:last-child { color: var(--muted); }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); padding: 110px 0; }
.contact-form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; font-size: .9rem; font-weight: 750; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: #fffdfa; color: var(--ink); font: inherit; padding: 11px 12px; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #ee5f4326; outline: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); }
.form-status.error { color: #a3311c; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 24px 0 32px; font-size: .9rem; }
.not-found main { display: grid; align-content: center; min-height: 100vh; max-width: 800px; }
.not-found .wordmark { position: absolute; top: 28px; }
.not-found h1 { max-width: 760px; }

@media (max-width: 760px) {
  .grid, .contact { grid-template-columns: 1fr; }
  .grid article + article { border-left: 0; padding-left: 0; }
  .contact { padding: 80px 0; }
}
