/* /upload/ — client file upload. Pure black, white text; orange only on focus / progress / dropzone hover border. */
html { background: #000; }
body.up-page { background: #000; }
body.up-page::before { content: none; display: none; }          /* page-wide photo off */
body.up-page::after { background: #000; }                       /* pure black, no overlay tint */

.up { padding: clamp(96px, 9vw, 116px) 0 72px; min-height: 70vh; }
.up-wrap { max-width: 720px; margin: 0 auto; padding-inline: 20px; }

.up-back {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 12px;
  font: 600 13px/1 'Geist', sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; opacity: .8;
}
.up-back:hover, .up-back:focus-visible { opacity: 1; text-decoration: underline; }

.up-title {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  font-size: clamp(32px, 7vw, 48px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 16px; color: #fff;
}
.up-lead { margin: 0 0 32px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.55; max-width: 60ch; }

.up-card {
  background: #000; border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  padding: clamp(20px, 4vw, 36px);
}

.up-field { margin: 0 0 22px; }
.up-field label, .up-label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 600; color: #fff; }
.up-req { color: #fff; opacity: .8; }
.up-field input[type="text"], .up-field input[type="email"], .up-field input[type="tel"], .up-field textarea {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  background: #000; color: #fff; border: 1px solid #767676; border-radius: 8px;
  font: 400 16px/1.4 'Inter', 'Geist', system-ui, sans-serif;
  box-shadow: none; -webkit-appearance: none; appearance: none;
}
.up-field textarea { min-height: 128px; resize: vertical; }
.up-field input:focus, .up-field textarea:focus { outline: 2px solid rgba(255,87,34,1); outline-offset: 1px; border-color: rgba(255,87,34,1); }
.up-field input.is-bad, .up-field textarea.is-bad { border-color: #ff8a80; }

/* honeypot: off-screen, not display:none (bots fill display:none-aware less often than off-screen) */
.up-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* dropzone */
.up-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  border: 1px dashed #8a8a8a; border-radius: 12px; padding: 32px 20px;
  color: #fff; transition: border-color .15s ease;
}
.up-drop:hover, .up-drop.is-over { border-color: rgba(255,87,34,1); }
.up-drop.is-over { border-style: solid; }
.up-drop-ico { color: #fff; }
.up-drop-text { margin: 0; font-size: 17px; font-weight: 600; }
.up-hint { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; max-width: 46ch; }
.up-pick {
  min-height: 48px; padding: 0 24px; border: 1px solid #fff; border-radius: 999px;
  background: transparent; color: #fff; font: 600 15px/1 'Geist', 'Inter', sans-serif;
}
.up-pick:hover { background: #fff; color: #000; }
.up-pick:focus-visible, .up-submit:focus-visible, .up-x:focus-visible, .up-back:focus-visible, .up-lang:focus-visible {
  outline: 2px solid rgba(255,87,34,1); outline-offset: 3px;
}

/* file rows */
.up-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.up-list:empty { display: none; }
.up-row {
  display: grid; grid-template-columns: 28px 1fr 44px; align-items: center; column-gap: 12px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 10px 4px 12px 14px;
}
.up-row.is-fail { border-color: #ff8a80; }
.up-row.is-done { border-color: rgba(255,255,255,.5); }
.up-row-ico { color: #fff; opacity: .85; }
.up-row-main { min-width: 0; }
.up-row-name { font-size: 15px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-row-meta { margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.72); }
.up-row.is-fail .up-row-meta { color: #ff8a80; }
.up-x {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; border-radius: 50%; font-size: 22px; line-height: 1;
}
.up-x:hover { background: rgba(255,255,255,.12); }
.up-x[disabled] { opacity: .35; cursor: not-allowed; background: none; }
.up-bar { grid-column: 2 / 4; height: 3px; margin: 8px 10px 0 0; background: rgba(255,255,255,.16); border-radius: 2px; overflow: hidden; }
.up-bar > span { display: block; height: 100%; width: 0; background: rgba(255,87,34,1); }
.up-row.is-fail .up-bar > span { background: #ff8a80; }

.up-ts { margin: 4px 0 18px; min-height: 0; }
.up-error { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #ff8a80; border-radius: 8px; color: #ff8a80; font-size: 15px; line-height: 1.5; }
.up-error[hidden] { display: none; }

.up-submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px;
  background: #fff; color: #000; border: 1px solid #fff; border-radius: 999px;
  font: 700 16px/1 'Geist', 'Inter', sans-serif; letter-spacing: .01em;
}
.up-submit:hover { background: #e9e9e9; }
.up-submit[disabled] { opacity: .6; cursor: progress; }
.up-privacy { margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; text-align: center; }

.up-done { text-align: center; padding: 48px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.up-done[hidden] { display: none; }
.up-done h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(26px, 5vw, 34px); line-height: 1.2; margin: 16px 0 0; color: #fff; }
.up-done-warn { margin: 16px auto 0; max-width: 46ch; color: #ff8a80; font-size: 15px; }
.up-done-warn[hidden] { display: none; }
.up-done:focus { outline: none; }

@media (min-width: 720px) {
  .up-drop { padding: 44px 28px; }
  .up-submit { width: auto; min-width: 220px; padding: 0 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .up-drop, .up-bar > span { transition: none !important; }
}

/* tap target (2026-11-23): label row >= 44 px high (was 23) */
.up-field label { display: flex; align-items: flex-end; min-height: 44px; margin: 0; padding-bottom: 6px; box-sizing: border-box; }
