:root {
  --green: #16413A;
  --ink: #0F2E29;
  --brass: #B07A34;
  --sage: #8FB3A2;
  --soft-brass: #C9A06A;
  --candle: #F6E3C4;
  --gold: #E6B422;
  --paper: #FBF0DC;
  --error: #7A2E22;
  --field: #FFFBF3;
  --line: rgba(176, 122, 52, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Figtree, "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  background-image:
    linear-gradient(180deg, rgba(143, 179, 162, 0.16), transparent 11rem);
}

.page {
  width: min(36rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 9.5rem;
}

.intro { margin-bottom: 2.1rem; }

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

h1 {
  margin: 0 0 0.7rem;
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green);
}

.deck {
  margin: 0;
  max-width: 32rem;
  color: var(--ink);
}

.deck, .thanks p { font-size: 1.05rem; }

fieldset {
  border: 0;
  margin: 0 0 2.15rem;
  padding: 0;
}

legend {
  padding: 0;
  margin: 0 0 1rem;
  width: 100%;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green);
}

.office {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 0 0 1.15rem 0.95rem;
  border-left: 2px solid var(--brass);
}

.office + .office {
  border-left-color: var(--soft-brass);
  padding-top: 0.15rem;
}

.office-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.office-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.field { margin: 0 0 0.85rem; }

label, .choice-legend {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  font-weight: 500;
}

input[type="text"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  appearance: none;
}

input[type="text"]:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.address-wrap { position: relative; }

.suggestions {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  background: var(--field);
  border: 1px solid var(--soft-brass);
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(15, 46, 41, 0.08);
  max-height: 16rem;
  overflow: auto;
}

.suggestions[hidden] { display: none; }

.suggestions button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.suggestions button[aria-selected="true"],
.suggestions button:hover {
  background: rgba(143, 179, 162, 0.28);
}

.brand-list, .choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 24rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 2.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--field);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--green);
  background: rgba(143, 179, 162, 0.22);
}

.choice input {
  margin: 0.2rem 0 0;
  accent-color: var(--green);
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.choice span { flex: 1; }

.text-btn, .remove {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.text-btn { margin: 0.15rem 0 0; min-height: 2.75rem; }

.remove {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.8;
}

.other-field { margin-top: 0.9rem; }

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0;
  color: var(--error);
  font-weight: 500;
}

.actions {
  position: sticky;
  bottom: 0;
  z-index: 8;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.submit {
  width: 100%;
  min-height: 3.15rem;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.submit:hover { background: #12352f; }
.submit:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
.submit:disabled { opacity: 0.7; cursor: wait; }

.thanks {
  padding: 3rem 0 4rem;
}

.thanks h1 { margin-bottom: 0.8rem; }

.field.invalid input,
.choice-list.invalid .choice {
  border-color: var(--error);
}

@media (min-width: 720px) {
  .page { padding-top: 3.25rem; padding-bottom: 4rem; }
  .actions {
    position: static;
    width: auto;
    margin-left: 0;
    padding: 0;
    background: none;
    border-top: 0;
  }
  .submit { width: auto; min-width: 16rem; padding: 0 1.4rem; }
}
