:root {
  color-scheme: light;
  --surface: #f1e8ed;
  --surface-raised: #f8f3f6;
  --text: #3c182d;
  --muted: #6e5362;
  --border: #cdbfc7;
  --accent: #3c182d;
  --error: #8d2334;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); }
main { width: min(880px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 5rem; }
.archive-link { color: var(--text); font-size: .9rem; text-decoration: none; }
header { max-width: 720px; margin: 4rem auto 3.5rem; text-align: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3rem, 8vw, 5rem); font-weight: 100; line-height: 1.02; }
.introduction { max-width: 650px; margin: 1.25rem auto 0; color: var(--muted); font-size: 1.2rem; line-height: 1.55; }
form, .success { padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--border); border-radius: 1.25rem; background: color-mix(in srgb, var(--surface-raised) 78%, transparent); }
fieldset { margin: 0 0 2.5rem; padding: 0; border: 0; }
legend, h2 { margin: 0 0 1.25rem; font-size: 1.4rem; font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.choice { display: flex; gap: .8rem; min-height: 105px; padding: 1rem; border: 1px solid var(--border); border-radius: .8rem; background: var(--surface-raised); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.choice input { flex: 0 0 auto; width: auto; margin-top: .25rem; accent-color: var(--accent); }
.choice span { display: flex; flex-direction: column; gap: .35rem; }
.choice small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.fields { display: grid; gap: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label > span { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 650; }
input, textarea { width: 100%; border: 1px solid var(--border); border-radius: .6rem; background: #fff; color: var(--text); font: inherit; padding: .85rem .9rem; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.honeypot { position: absolute; left: -10000px; }
.photo-section { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.photo-section > p { color: var(--muted); line-height: 1.5; }
.file-picker { display: inline-flex; margin-top: .4rem; }
.file-picker span { display: inline-block; margin: 0; border: 1px solid var(--text); border-radius: 999px; padding: .75rem 1.2rem; cursor: pointer; }
.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.limits { font-size: .85rem; }
.upload-list { display: grid; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.upload-list li { display: grid; grid-template-columns: 1fr auto; gap: .75rem; padding: .7rem .85rem; border-radius: .5rem; background: var(--surface-raised); font-size: .88rem; }
.upload-list .file-status { color: var(--muted); }
.agreement { display: flex; gap: .8rem; margin: 2rem 0; align-items: flex-start; line-height: 1.5; }
.agreement input { width: auto; margin-top: .3rem; accent-color: var(--accent); }
.agreement span { margin: 0; font-weight: 400; }
.submit-button { border: 0; border-radius: 999px; background: var(--accent); color: #fff; padding: .9rem 1.5rem; font: inherit; font-weight: 650; cursor: pointer; }
.submit-button:disabled { opacity: .55; cursor: wait; }
.form-message { margin: 1rem 0; border-left: 3px solid var(--error); padding: .75rem 1rem; background: #fff5f5; color: var(--error); }
.success { text-align: center; }
.success h2 { font-size: 2rem; font-weight: 300; }
.success p { line-height: 1.6; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  main { width: min(100% - 1.25rem, 880px); padding-top: 1.25rem; }
  header { margin: 3rem auto 2.5rem; }
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .choice { min-height: 0; }
  form { border-radius: .85rem; }
}
