:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --ink: #0f2a3d;
  --muted: #5b6b77;
  --accent: #b8863b;
  --line: rgba(15, 42, 61, .14);
  --field: #ffffff;
  --ok: #1f7a4d;
  --err: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1a24;
    --surface: #11232f;
    --ink: #eef1f3;
    --muted: #9aa9b4;
    --accent: #d6a55a;
    --line: rgba(238, 241, 243, .14);
    --field: #0c1a24;
    --ok: #6fd3a0;
    --err: #ff8a80;
  }
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 500; letter-spacing: .02em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.nav-link { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-link:hover { color: var(--ink); }

main { flex: 1; }
.hero { min-height: calc(100vh - 190px); display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 72px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(44px, 9vw, 96px); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 14px; }
.rule { width: 64px; height: 2px; background: var(--accent); margin: 32px 0; }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); max-width: 30em; }

.btn {
  display: inline-block; align-self: flex-start; margin-top: 32px;
  background: var(--ink); color: var(--bg); border: 0; border-radius: 999px;
  padding: 13px 24px; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
}
.btn:hover { opacity: .9; }
.btn:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.contact { border-top: 1px solid var(--line); padding: 88px 0; }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .card { padding: 32px; } }
.row { display: grid; gap: 16px; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.req { color: var(--accent); }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--field);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.card .btn { margin-top: 4px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; font-size: 15px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
