:root {
  font-family: "DM Sans", sans-serif;
  color: #262b25;
  background: #f6f1e9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.shell {
  max-width: 1100px;
  margin: auto;
  padding: 0 48px;
}
.masthead {
  height: 96px;
  border-bottom: 1px solid #d7d3c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.mark {
  background: #b9573b;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 17px;
  letter-spacing: -0.08em;
  padding-right: 3px;
}
.masthead-note {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #77776d;
}
.star {
  color: #bc613f;
  font-size: 16px;
  margin: 0 7px;
}
.intro {
  padding: 94px 0 79px;
  max-width: 790px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #a45237;
}
.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: #a45237;
}
.intro h1 {
  font:
    500 clamp(58px, 8vw, 100px) / 1.02 "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.052em;
  margin: 27px 0 27px;
}
.intro h1 em {
  font-weight: 500;
  color: #ba5a3b;
}
.intro p {
  color: #676b60;
  font-size: 17px;
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}
form {
  border-top: 1px solid #d7d3c8;
}
.form-heading {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin: 46px 0 24px;
}
.form-heading > span {
  font-size: 11px;
  font-weight: 700;
  color: #b9573b;
}
.form-heading h2 {
  font:
    500 28px/1.2 "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.025em;
  margin: 0;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border: 0;
  padding: 0;
  margin: 0;
}
.city-card {
  position: relative;
  background: #fbf9f4;
  border: 1px solid #ddd9cf;
  min-height: 151px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    transform 0.15s,
    background 0.15s;
}
.city-card:hover {
  transform: translateY(-2px);
  border-color: #ba5a3b;
}
.city-card:has(input:checked) {
  background: #f1e7d9;
  border: 2px solid #b9573b;
  padding: 21px;
}
.city-card:has(input:focus-visible) {
  outline: 3px solid #624d3a;
  outline-offset: 3px;
}
.city-card input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.city-number {
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #898a7f;
}
.city-card strong {
  font:
    500 30px "Playfair Display",
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.city-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  color: #b9573b;
  font-size: 22px;
}
.second {
  margin-top: 64px;
}
.field-wrap {
  max-width: 540px;
}
.field-wrap label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 11px;
}
.field-wrap input {
  width: 100%;
  height: 58px;
  background: #fbf9f4;
  border: 1px solid #d5d2ca;
  border-radius: 0;
  padding: 0 18px;
  font:
    16px "DM Sans",
    sans-serif;
  color: #262b25;
}
.field-wrap input:focus {
  outline: 2px solid #b9573b;
  outline-offset: 1px;
}
.field-wrap input::placeholder {
  color: #a3a399;
}
.field-wrap p {
  font-size: 12px;
  color: #898a7f;
  line-height: 1.5;
  margin: 10px 0 0;
}
.third {
  margin-top: 64px;
}
.dropzone {
  min-height: 220px;
  border: 1px dashed #bbb7ac;
  background: #fbf9f4;
  display: grid;
  place-items: center;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.dropzone.dragover,
.dropzone:hover {
  background: #f0e9df;
  border-color: #b9573b;
}
.dropzone:focus-within {
  outline: 2px solid #b9573b;
  outline-offset: 2px;
}
.dropzone input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.drop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px;
  cursor: pointer;
}
.drop-icon {
  width: 46px;
  height: 46px;
  border: 1px solid #c8a695;
  border-radius: 50%;
  color: #b9573b;
  font-size: 29px;
  line-height: 40px;
  margin-bottom: 18px;
  font-family: Arial, sans-serif;
}
.drop-label strong {
  font-size: 16px;
  font-weight: 600;
}
.drop-label strong span {
  color: #b9573b;
}
.drop-label small {
  font-size: 12px;
  color: #898a7f;
  margin-top: 10px;
}
.preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.preview:empty {
  display: none;
}
.preview-item {
  background: #eee9e0;
  min-width: 0;
}
.preview-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.preview-item .file-icon {
  height: 110px;
  display: grid;
  place-items: center;
  color: #b9573b;
  font:
    500 18px Georgia,
    serif;
}
.preview-item span {
  font-size: 11px;
  color: #585a50;
  padding: 9px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 30px 0 70px;
}
.submit-row p {
  font-size: 12px;
  line-height: 1.6;
  color: #898a7f;
  margin: 0;
}
.submit-row button {
  background: #b9573b;
  color: #fff;
  border: 0;
  min-width: 234px;
  height: 58px;
  padding: 0 22px;
  font:
    600 14px "DM Sans",
    sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.submit-row button:hover {
  background: #93432d;
}
.submit-row button:disabled {
  background: #ab9e92;
  cursor: wait;
}
.submit-row button span {
  font-size: 21px;
  font-weight: 400;
}
.status {
  margin: -42px 0 50px;
  padding: 17px 19px;
  background: #e8efe6;
  color: #2b5836;
  font-size: 14px;
  line-height: 1.5;
}
.status.error {
  background: #f6e2d9;
  color: #843b2a;
}
.progress {
  height: 4px;
  background: #dfdbd1;
  margin: -32px 0 56px;
}
.progress > div {
  height: 100%;
  background: #b9573b;
  width: 0;
  transition: width 0.15s;
}
footer {
  border-top: 1px solid #d7d3c8;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #929389;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.dot {
  color: #b9573b;
  padding: 0 7px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 700px) {
  .shell {
    padding: 0 22px;
  }
  .masthead {
    height: 76px;
  }
  .masthead-note {
    display: none;
  }
  .intro {
    padding: 72px 0 66px;
  }
  .intro h1 {
    font-size: clamp(53px, 12vw, 80px);
  }
  .intro p {
    font-size: 15px;
  }
  .city-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .city-card {
    min-height: 89px;
    flex-direction: row;
    align-items: center;
    padding: 17px 20px;
  }
  .city-card:has(input:checked) {
    padding: 16px 19px;
  }
  .city-card strong {
    font-size: 26px;
  }
  .city-number {
    max-width: 90px;
    line-height: 1.4;
  }
  .city-arrow {
    position: static;
    margin-left: auto;
  }
  .form-heading {
    margin-top: 39px;
  }
  .second,
  .third {
    margin-top: 54px;
  }
  .submit-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .submit-row button {
    width: 100%;
  }
  footer {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 26px 0;
    min-height: 0;
  }
}
