/* ═══════════════════════ SIGNS — the enquiry form (owner, Sept 30) ═══════════
   The start page's Signs slide (a photo, not a drawing: a sign is quoted, not
   designed here), then the intake form: big answer buttons, two upload zones
   and a request sent in place. Built on the flow pages' own pieces
   (.flowcol, .flow__fee, .formgrid, .segctl). */

/* ---- the Signs slide ---- */
.pslide__art--photo { padding: 20px 92px; }
.pslide__photo {
  display: block; width: 100%; height: 100%; max-width: 560px;
  object-fit: cover; border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(20, 22, 28, 0.10), 0 18px 40px -18px rgba(20, 22, 28, 0.45);
  transition: transform .56s cubic-bezier(.22, .8, .24, 1), opacity .45s ease;
}
.pslide:not(.is-current) .pslide__photo { transform: scale(.93); opacity: .45; }
.pslide.is-current:hover .pslide__photo { transform: translateY(-4px); }
@media (max-width: 899px) {
  .pslide__art--photo { padding: 14px 56px; }
}
@media (max-width: 520px) {
  .pslide__art--photo { padding: 10px 40px; }
}

/* ---- the form ---- */
.flowcol--signage { max-width: 720px; }
.sg__form { gap: 26px; }
.sg__q { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sg__qtitle {
  display: flex; align-items: baseline; gap: 10px; padding: 0; margin-bottom: 2px;
  font-size: var(--fs-body); font-weight: 650; color: var(--ink);
}
.sg__q--follow {
  margin-top: -12px; padding: 14px 16px;
  border-left: 2px solid var(--accent-line); background: var(--paper);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.sg__q.is-invalid .segctl { border-color: var(--warn, #b4441c); }
.sg__lead { font-size: var(--fs-small); line-height: 1.55; color: var(--ink-70); }
.sg__tip { font-size: var(--fs-small); color: var(--muted); }

/* big answer buttons: the pill control, grown into cards */
.segctl.segctl--cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; padding: 0; border: 0; background: none; border-radius: 0; width: 100%;
}
.segctl--cards .segctl__btn {
  flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  min-height: 64px; padding: 12px 16px; white-space: normal; text-align: left;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper);
  font-size: var(--fs-body); color: var(--ink);
}
.segctl--cards .segctl__btn:hover:not(.is-on) { border-color: var(--accent-line); }
.segctl--cards .segctl__btn.is-on {
  border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), 0 3px 10px -4px rgba(20, 22, 28, 0.18);
  background: var(--accent-soft);
}
.segctl--cards .segctl__label { font-weight: 600; }
.segctl--cards .segctl__sub { font-size: var(--fs-small); font-weight: 400; font-variant-numeric: normal; }

/* uploads */
.sg__zone {
  display: flex; border: 1.5px dashed var(--line); border-radius: var(--r-md);
  background: var(--paper); transition: border-color var(--dur, .15s) ease, background var(--dur, .15s) ease;
}
.sg__zone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.sg__pick {
  flex: 1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px;
  min-height: 72px; padding: 14px; border-radius: var(--r-md);
  color: var(--accent); font-weight: 600; font-size: var(--fs-body);
}
.sg__pick:hover { background: var(--accent-soft); }
.sg__pickicon { flex: 0 0 auto; }
.sg__pickn { color: var(--muted); font-weight: 400; font-size: var(--fs-small); }
.sg__files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sgfile {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px;
  border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--paper); min-width: 0;
}
.sgfile__thumb {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--workspace, #f0f0f3); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.sgfile__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sgfile__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sgfile__name { font-size: var(--fs-small); font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgfile__meta { font-size: 12.5px; color: var(--muted); }
.sgfile__meta.is-bad { color: var(--warn-ink, #8a2e0c); }
.sgfile__bar { height: 3px; border-radius: 3px; background: var(--line-soft); overflow: hidden; }
.sgfile__fill { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s ease; }
.sgfile[data-status="done"] .sgfile__bar,
.sgfile[data-status="failed"] .sgfile__bar { visibility: hidden; }
.sgfile__retry { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.sgfile__retry:hover { background: var(--accent-soft); }
.sgfile__remove {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
}
.sgfile__remove:hover { background: var(--line-soft); color: var(--ink); }

.sg__who .formgrid { margin-top: 2px; }
.sg__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ---- sent ---- */
.sg__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sg__num {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 22px;
  border-radius: var(--r-md); background: var(--accent-soft);
}
.sg__numlabel { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sg__numval { font-size: 30px; font-weight: 800; letter-spacing: .01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sg__nexttitle { margin: 6px 0 0; font-size: var(--fs-body); font-weight: 700; color: var(--ink); }
.sg__steps { margin: 0; padding: 0; list-style: none; counter-reset: sgstep; display: flex; flex-direction: column; gap: 14px; }
.sg__step { position: relative; padding-left: 42px; display: flex; flex-direction: column; gap: 2px; counter-increment: sgstep; }
.sg__step::before {
  content: counter(sgstep); position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700;
}
.sg__steptitle { font-weight: 650; color: var(--ink); }
.sg__stepbody { font-size: var(--fs-small); color: var(--ink-70); line-height: 1.5; }

@media (max-width: 560px) {
  .flowcol--signage .formgrid { grid-template-columns: 1fr; }
  .segctl.segctl--cards { grid-template-columns: 1fr; }
  .sg__q--follow { margin-top: -8px; }
}

/* the file setup fee note under the artwork upload (owner, Oct 6) */
.sg__feenote {
  font-size: var(--fs-small); line-height: 1.55; color: var(--ink-70);
  padding: 10px 14px; border-left: 2px solid var(--accent-line); background: var(--paper);
  border-radius: 0 var(--r-sm, 8px) var(--r-sm, 8px) 0; max-width: 66ch;
}
