:root {
  --wall: #e3e1db;
  --ink: #171816;
  --pigment: #1e3f38;
  --quiet: #5e615c;
  --line: #c4c1b8;
  --paper: #f7f6f3;
}
* { box-sizing: border-box; }
html { background: var(--pigment); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--wall);
  color: var(--ink);
  font-family: "Public Sans", "Avenir Next", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  border-left: 28px solid var(--pigment);
}
a { color: inherit; }
.frame { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 72px; }
.mark {
  font-family: "Bodoni Moda", "Didot", serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
nav { display: flex; gap: 18px; margin: 18px 0 56px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
nav a { text-decoration: none; border-bottom: 1px solid transparent; }
nav a[aria-current="page"] { border-bottom-color: var(--pigment); }
h1 {
  font-family: "Bodoni Moda", "Didot", serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
p { font-size: 1.05rem; max-width: 38rem; }
.quiet { color: var(--quiet); }
form { display: grid; gap: 14px; max-width: 32rem; margin-top: 28px; }
label { display: grid; gap: 6px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
input, textarea {
  font: inherit;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
button {
  justify-self: start;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pigment);
  color: var(--paper);
  border: 0;
  padding: 14px 18px;
  cursor: pointer;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--pigment);
  outline-offset: 3px;
}
.message { min-height: 1.4em; }
@media (max-width: 640px) {
  body { border-left-width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
