:root {
  --ebony: #0a0907;
  --lacquer: #14120e;
  --lacquer-2: #1d1a14;
  --line: #3a3426;
  --brass: #d4a24c;
  --brass-hi: #ecd9a8;
  --brass-dim: #8a6a2c;
  --linen: #f3efe6;
  --linen-line: #e3dac3;
  --ink: #17140f;
  --ivory: #f2ead8;
  --dust: #a39a85;
  --ember: #e8806d;
  --moss: #86d39d;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ebony);
  color: var(--ivory);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--brass); border-radius: 6px;
  background: transparent; color: var(--brass-hi);
  font-weight: 600; text-decoration: none; letter-spacing: .01em;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: rgba(212, 162, 76, .14); }
.btn.solid { background: var(--brass); color: var(--ebony); }
.btn.solid:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn.quiet { border-color: var(--line); color: var(--ivory); }
.btn.danger { border-color: #6a3a32; color: var(--ember); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 14px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; color: var(--dust); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  background: var(--lacquer); border: 1px solid var(--line); border-radius: 6px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 3px rgba(212, 162, 76, .18); }
.field .err { color: var(--ember); font-size: 13px; }

.num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
