/* Signup page only. Navy band, cream page, Fraunces headings, one red button. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/fraunces-700-latin.woff2) format("woff2");
}
.signup {
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --cream: #f6f0e4;
  background: var(--cream);
}
.signup .site-header { border-bottom-width: 0; }
.signup .site-footer { margin-top: 0; }

.claim-hero { background: var(--navy); color: #fff; padding: 12px 0 28px; }
.claim-hero h1 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; color: #fff; font-size: 2rem; line-height: 1.1; margin: 0 0 0.4em; }
.claim-hero .lede { margin: 0; font-size: 1.1rem; max-width: 34em; color: #eef1f7; }

.signup .page { padding-top: 20px; padding-bottom: 32px; }
.signup .form { gap: 16px; }
.signup h2, .signup legend { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.signup .card { padding: 16px; border-color: #e6dfce; }
.signup .card > h2 { font-size: 1.3rem; margin: 0 0 12px; }
.signup fieldset.card { gap: 16px; }
.signup legend { font-size: 1.3rem; padding: 0 6px; margin-left: -6px; }
.signup .fields { display: grid; gap: 16px; }
.signup .fields[hidden] { display: none; }

/* The one-line summary of the prefilled department */
.summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.summary-text { margin: 0; font-weight: 700; color: var(--navy); line-height: 1.4; overflow-wrap: anywhere; }
.btn-link {
  flex: none; font: inherit; font-weight: 700; color: var(--red-dark); background: transparent;
  border: 2px solid var(--red-dark); border-radius: var(--radius); padding: 6px 16px; min-height: 44px; cursor: pointer;
}
.btn-link:hover { background: var(--red-dark); color: #fff; }
.notice { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid #e2c277; font-weight: 700; }
.notice[hidden] { display: none; }
.notice button { font: inherit; font-weight: 700; color: var(--red-dark); background: none; border: 0; padding: 8px 0 0; display: block; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* More details */
.more { background: var(--card); border: 1px solid #e6dfce; border-radius: var(--radius); }
.more > summary {
  list-style: none; cursor: pointer; font-weight: 700; color: var(--navy); min-height: 52px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: var(--radius);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform 0.15s;
}
.more[open] > summary::after { transform: rotate(-135deg); }
.more-body { display: grid; gap: 16px; padding: 4px 16px 18px; }

.checks { display: grid; gap: 12px; }
.signup .check label { font-size: 1rem; }
.btn-claim { min-height: 60px; font-size: 1.2rem; }
.signup .btn-ghost { border-color: var(--navy); }

/* After submit */
.done { text-align: left; }
.done > h2 { font-size: 1.6rem !important; margin-top: 0 !important; }
.done-lede { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.done .form { margin-top: 16px; }

@media (min-width: 640px) {
  .claim-hero { padding: 16px 0 36px; }
  .claim-hero h1 { font-size: 2.6rem; }
  /* Tablet and desktop only: the firehouse painting sits behind the title. Phones keep the plain navy band,
     so the form stays exactly where it was. The background is a CSS image, so phones never download it.
     A navy wash on the left keeps the text at 4.5:1; the picture's sky is already dark there. */
  .claim-hero {
    min-height: 210px; display: flex; align-items: center;
    background:
      linear-gradient(90deg, rgba(15, 27, 45, 0.92) 0, rgba(15, 27, 45, 0.8) 40%, rgba(15, 27, 45, 0) 66%),
      image-set(url(/img/art/signup-hero-960.avif) type("image/avif"), url(/img/art/signup-hero-960.webp) type("image/webp"), url(/img/art/signup-hero-960.jpg) type("image/jpeg"))
      right 30% / cover no-repeat var(--navy);
  }
  .claim-hero .wrap { max-width: 1100px; }
  .claim-hero h1, .claim-hero .lede { max-width: min(30rem, 46%); }
  .signup .card { padding: 22px; }
}
@media (min-width: 960px) {
  .claim-hero {
    min-height: 300px;
    background:
      linear-gradient(90deg, rgba(15, 27, 45, 0.92) 0, rgba(15, 27, 45, 0.8) 40%, rgba(15, 27, 45, 0) 66%),
      image-set(
        url(/img/art/signup-hero-1920.avif) type("image/avif") 1x, url(/img/art/signup-hero-2560.avif) type("image/avif") 2x,
        url(/img/art/signup-hero-1920.webp) type("image/webp") 1x, url(/img/art/signup-hero-2560.webp) type("image/webp") 2x,
        url(/img/art/signup-hero-1920.jpg) type("image/jpeg") 1x, url(/img/art/signup-hero-2560.jpg) type("image/jpeg") 2x)
      right 30% / cover no-repeat var(--navy);
  }
}

/* Sign up in a minute: progress, search and steps */
.progress { margin: 0 0 16px; }
.progress-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.progress-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; color: var(--muted); font-weight: 700; font-size: 0.9rem; line-height: 1.2; }
.progress-steps .pnum {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid currentColor; font-size: 0.9rem; background: transparent;
}
.progress-steps .plabel { min-width: 0; overflow-wrap: break-word; }
.progress-steps li[aria-current="step"] { color: var(--navy); }
.progress-steps li[aria-current="step"] .pnum { background: var(--navy); border-color: var(--navy); color: #fff; }
.progress-steps li.is-done { color: var(--pine, #2f6b3f); }
.progress-steps li.is-done .pnum { background: var(--pine, #2f6b3f); border-color: var(--pine, #2f6b3f); color: #fff; }
.progress-bar { height: 8px; border-radius: 4px; background: #e6dfce; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33%; background: var(--red-dark); border-radius: 4px; transition: width 0.25s; }
.signup .step[hidden], .signup .card[hidden] { display: none; }
.signup .summary-text { white-space: pre-line; }
.step h2:focus { outline: none; }
.step h2:focus-visible { outline: 3px solid var(--gold, #f2b043); outline-offset: 4px; border-radius: 4px; }
.step-for { margin: -4px 0 12px; overflow-wrap: anywhere; }
.step-nav { margin-top: 16px; }
.step-nav[hidden] { display: none; }
.step-nav-2 { display: flex; gap: 12px; flex-wrap: wrap; }
.step-nav-2 .btn-ghost { flex: 0 0 auto; min-height: 60px; padding-left: 24px; padding-right: 24px; }
.step-nav-2 .btn-claim { flex: 1 1 12em; }
.step .form-error { margin-top: 12px; }

.find .field { margin-bottom: 4px; }
.find-status { margin: 6px 0 8px; min-height: 1.4em; }
.find-results { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.find-results:empty { display: none; }
.find-item { margin: 0; }
.find-pick, .find-taken {
  display: grid; gap: 2px; width: 100%; text-align: left; font: inherit; color: var(--navy);
  background: #fff; border: 2px solid #d9d0bb; border-radius: var(--radius); padding: 12px 14px; min-height: 56px;
}
.find-pick { cursor: pointer; }
.find-pick:hover { border-color: var(--red-dark); }
.find-pick:focus-visible, .find-signin:focus-visible { outline: 3px solid var(--gold, #f2b043); outline-offset: 2px; }
.find-name { font-weight: 700; overflow-wrap: anywhere; }
.find-where { color: #4a5568; overflow-wrap: anywhere; }
.find-tag { font-size: 0.95rem; color: var(--red-dark); font-weight: 700; }
.find-taken { background: #f3eee1; border-color: #e0d8c4; }
.find-tag-on { color: #3d4757; }
.find-signin { justify-self: start; font-weight: 700; color: var(--red-dark); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.btn-plain { font: inherit; font-weight: 700; color: var(--red-dark); background: none; border: 0; padding: 0; min-height: 44px; text-decoration: underline; cursor: pointer; justify-self: start; }
#find-none { height: auto; min-height: 52px; white-space: normal; }


@media (min-width: 640px) {
  .progress-steps li { flex-direction: row; align-items: center; gap: 10px; font-size: 1.05rem; }
  .step-nav .btn-block { width: auto; min-width: 12em; }
}

/* "Print a one-pager" (round 46): a small link under the Next button on the first step. */
.step-chief { margin: 14px 0 0; }
.step-chief a { display: inline-block; padding: 8px 2px; }
