:root {
  color-scheme: light;
  --ink: #2f2928;
  --muted: #6d6460;
  --paper: #faf9f6;
  --line: #e4ded8;
  --brand: #884544;
  --brand-dark: #683332;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand); text-underline-offset: 4px; }
a:hover { color: var(--brand-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
[hidden] { display: none !important; }
.site-header { max-width: 1120px; margin: auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--ink); text-decoration: none; font: 600 19px/1.3 Georgia, "Times New Roman", serif; letter-spacing: .025em; }
.back-link { font-size: 14px; }
.contact-main { width: min(100% - 40px, 680px); margin: 32px auto 64px; }
.contact-heading { margin-bottom: 28px; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 12px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font: 400 clamp(38px, 6vw, 52px)/1.1 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.intro { margin: 0; color: var(--muted); }
.form-card { padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 32px rgba(47, 41, 40, .035); }
.form-note { margin: 0 0 24px; font-size: 13px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { min-width: 0; margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
input, textarea, button { font: inherit; }
input, textarea { display: block; width: 100%; border: 1px solid #bdb4ae; border-radius: 7px; padding: 12px 14px; color: var(--ink); background: #fff; }
input { min-height: 48px; }
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; border: 1px solid var(--brand); border-radius: 7px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; cursor: pointer; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.button:disabled { opacity: .65; cursor: wait; }
.status { margin-top: 24px; padding: 18px 20px; border-radius: 7px; }
.status h2 { margin: 0 0 6px; font: 400 26px/1.25 Georgia, "Times New Roman", serif; }
.status p { margin: 0; }
.status-error { color: #712f2d; background: #faf0ed; border: 1px solid #e8c9c3; }
.status-success { margin-top: 0; background: #f0f5ef; border: 1px solid #cedccb; }
.site-footer { padding: 0 24px 28px; text-align: center; font-size: 12px; color: var(--muted); }
.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #fff; }
.home-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; padding: 40px 24px; text-align: center; }
.logo-link { display: block; width: min(400px, 100%); border-radius: 8px; }
.home-logo { display: block; width: 100%; height: auto; }
.home .button { padding-inline: 30px; }
.home .site-footer { padding-top: 16px; }
@media (max-width: 520px) {
  .site-header { padding: 20px; }
  .wordmark { font-size: 17px; }
  .contact-main { margin-top: 24px; margin-bottom: 40px; }
  .form-card { padding: 24px 20px; border-radius: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .form-actions .button { width: 100%; }
  .home-main { padding: 32px 24px; gap: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease, border-color .15s ease; }
}
