:root {
  color-scheme: light;
  --ink: #242923;
  --muted: #64695f;
  --line: #dce0d5;
  --accent: #38543b;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fffefa; color: var(--ink); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #729675; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 880px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -90px; padding: 10px 18px; background: #fffefa; z-index: 2; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 23px; }
.brand { font-size: 19px; font-weight: 750; letter-spacing: -.6px; text-decoration: none; }
.header-label { font-size: 14px; color: var(--muted); }
.page-heading { padding: 58px 0 30px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0 0 16px; font-size: clamp(34px, 5vw, 48px); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; }
.intro { margin: 0; color: var(--muted); font-size: 17px; }
.required-note { margin: 0 0 30px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 28px; }
label, .attachments h2 { display: block; margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.5; }
input, textarea { display: block; width: 100%; min-width: 0; padding: 12px 15px; background: #fff; color: var(--ink); border: 1px solid #a9afa6; border-radius: 5px; }
input { min-height: 52px; }
textarea { min-height: 238px; resize: vertical; line-height: 1.65; }
input:hover, textarea:hover { border-color: var(--muted); }
input:focus, textarea:focus { border-color: var(--accent); }
.field-hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.description-hint { max-width: 720px; margin: -3px 0 13px; font-size: 14px; }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; }
.attachment-note { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px dashed #a7b4a3; border-radius: 5px; background: #f3f5ee; color: var(--muted); }
.attachment-note svg { flex: 0 0 auto; color: var(--accent); }
.attachment-note p { margin: 0; font-size: 14px; }
.send-area { margin: 34px 0 0; }
.submit-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 23px; border: 1px solid var(--accent); border-radius: 5px; color: white; background: var(--accent); font-size: 15px; font-weight: 550; cursor: pointer; }
.submit-button:hover { background: #2b432e; }
.send-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.form-status { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 5px; background: #f3f5ee; font-size: 14px; overflow-wrap: anywhere; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 8px; }
.form-status p:empty { display: none; }
.text-button { padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { padding-block: 18px; }
  .page-heading { padding-top: 38px; }
  .intro { font-size: 16px; }
  .field { margin-bottom: 24px; }
  input, textarea { font-size: 16px; }
  textarea { min-height: 240px; }
  .attachment-note { padding: 17px; align-items: flex-start; }
  .submit-button { width: 100%; }
  footer { margin-top: 40px; }
}

.attachment-note > div { min-width: 0; }
.attachment-note input { border: 0; background: transparent; padding: 0; min-height: 0; font-size: 14px; }
.attachment-note input::file-selector-button { padding: 8px 12px; margin: 0 12px 8px 0; border: 1px solid #a7b4a3; border-radius: 4px; background: #fffefa; color: var(--accent); font: inherit; cursor: pointer; }
.attachment-note .field-hint { font-size: 12px; }
.attachment-note.dragging { outline: 2px solid var(--accent); background: #e7eddf; }
.file-list { padding: 0; margin: 10px 0 0; list-style: none; }
.file-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.file-list span { min-width: 0; overflow-wrap: anywhere; }
.file-list button { flex: 0 0 auto; border: 0; background: none; color: var(--accent); text-decoration: underline; cursor: pointer; }
.field-error, .form-status[data-error="true"] { color: #97352a; }
.field-error { margin: 8px 0; font-size: 13px; }
.form-status[data-error="true"] { border-color: #d9a89f; background: #fff4ee; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit-button:disabled { cursor: wait; opacity: .65; }
.confirmation-dialog { width: min(430px, calc(100% - 40px)); max-height: calc(100% - 40px); margin: auto; padding: 34px; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; color: var(--ink); box-shadow: 0 20px 80px #17203333; text-align: center; }
.confirmation-dialog::backdrop { background: #17203380; }
body:has(.confirmation-dialog[open]) { overflow: hidden; }
.confirmation-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #e7eddf; color: var(--accent); }
.confirmation-dialog h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; letter-spacing: -.035em; }
.confirmation-dialog p { margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.confirmation-dialog strong { font-weight: 550; color: var(--ink); }
.confirmation-dialog .submit-button { width: 100%; }
@media (max-width: 600px) { .confirmation-dialog { padding: 28px 24px; } }
