:root {
  color-scheme: light;
  --green: #173f34;
  --dark: #172e27;
  --gold: #a36c38;
  --line: #cbd4cc;
  font: 16px/1.55 "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f7f6f1; color: var(--dark); }
a { color: var(--green); text-underline-offset: 3px; }
.top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: .5rem 1.5rem; padding: 1rem clamp(1.25rem, 6vw, 6rem);
  color: #fff; background: var(--green);
}
.top a { color: inherit; }
.brand { font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.brand span { color: #f2d3a6; font-size: .85rem; margin-left: .35rem; }
main { width: min(100% - 2rem, 48rem); margin: clamp(2rem, 6vw, 4.5rem) auto; }
.intro { margin-bottom: 2.4rem; }
h1 { font-size: clamp(2.2rem, 5.8vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 1rem; }
.intro p { max-width: 39rem; }
.response-time { border-left: 3px solid var(--gold); padding-left: .75rem; font-weight: 650; }
fieldset { min-width: 0; margin: 0 0 1.5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: .75rem; background: #fff; }
legend { padding: 0 .35rem; font-size: 1.2rem; font-weight: 700; }
label { display: block; font-weight: 600; }
small { display: block; color: #43574e; font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
input:not([type=checkbox]), select, textarea {
  display: block; width: 100%; min-height: 2.7rem; margin-top: .3rem;
  border: 1px solid #899d91; border-radius: .4rem; padding: .45rem .65rem;
  font: inherit; color: inherit; background: #fff;
}
textarea { resize: vertical; }
input[type=file] { height: auto; }
.extras { margin: 1.25rem 0; padding: .65rem .75rem .85rem; }
.extras legend { font-size: 1rem; }
.extras small { display: inline; }
.checks { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.checks label { display: flex; align-items: center; gap: .3rem; font-weight: 500; min-height: 2rem; }
.checks input { accent-color: var(--green); }
.photos, fieldset > label + .grid { margin-top: 1rem; }
#photo-list { list-style: none; padding: 0; }
#photo-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-block: .25rem; overflow-wrap: anywhere; }
#photo-list button { background: #fff; color: var(--green); border: 1px solid var(--line); padding: .35rem .6rem; }
button { border: 1px solid transparent; border-radius: .4rem; background: var(--green); color: white; padding: .75rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.contact-note { color: #43574e; font-size: .9rem; }
#submit-status:empty, #photo-status:empty, #photo-list:empty { display: none; }
#submit-status { padding: .75rem; border-left: 3px solid var(--green); background: white; }
#submit-status[data-error], #photo-status { color: #8a2624; }
#submit-status[data-error] { border-color: #8a2624; }
@media (max-width: 35rem) { .grid { grid-template-columns: 1fr; } }
