    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --ink:    #1a1410;
      --paper:  #f5f0e8;
      --cream:  #ede7d5;
      --gold:   #b8860b;
      --gold2:  #d4a017;
      --rust:   #8b3a1e;
      --muted:  #7a7060;
      --border: #c8bfa8;
      --error:  #9b2020;
      --ok:     #2a6b3a;
    }

    html { scroll-behavior: smooth; }

    body {
      background-color: var(--paper);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 60px 20px 80px;
      background-image:
        radial-gradient(ellipse at 10% 0%, rgba(184,134,11,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 100%, rgba(139,58,30,.06) 0%, transparent 55%);
    }

    /* ── Header ─────────────────────────────────────── */
    .header {
      text-align: center;
      max-width: 580px;
      margin-bottom: 52px;
    }
    .header-eyebrow {
      font-size: 11px;
      font-weight: 500;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 14px;
    }
    .header h1 {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      line-height: 1.15;
      color: var(--ink);
      margin-bottom: 16px;
    }
    .header p {
      font-size: 15px;
      font-weight: 300;
      color: var(--muted);
      line-height: 1.7;
    }
    .divider {
      width: 48px;
      height: 2px;
      background: linear-gradient(90deg, var(--gold), var(--gold2));
      margin: 22px auto 0;
      border-radius: 2px;
    }

    /* ── Card ────────────────────────────────────────── */
    .card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 48px 52px 52px;
      width: 100%;
      max-width: 580px;
      box-shadow: 0 4px 32px rgba(26,20,16,.07), 0 1px 4px rgba(26,20,16,.04);
    }
    @media (max-width: 620px) {
      .card { padding: 32px 24px 36px; }
    }

    /* ── Section labels ──────────────────────────────── */
    .section-label {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 20px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--cream);
    }

    /* ── Fields ──────────────────────────────────────── */
    .fields { display: grid; gap: 18px; margin-bottom: 36px; }
    .row-2 { grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

    .field { display: flex; flex-direction: column; gap: 6px; }
    label {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: .04em;
      color: var(--muted);
    }
    label span.req { color: var(--gold); margin-left: 2px; }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
      font-size: 15px;
      font-weight: 400;
      color: var(--ink);
      background: var(--paper);
      border: 1px solid var(--border);
      border-radius: 3px;
      padding: 11px 14px;
      outline: none;
      transition: border-color .18s, box-shadow .18s, background .18s;
    }
    input:focus {
      border-color: var(--gold);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(184,134,11,.1);
    }
    input.invalid {
      border-color: var(--error);
      box-shadow: 0 0 0 3px rgba(155,32,32,.09);
    }
    .field-error {
      font-size: 12px;
      color: var(--error);
      display: none;
    }
    .field-error.show { display: block; }

    /* ── Upload zone ─────────────────────────────────── */
    .upload-section { margin-bottom: 36px; }

    .drop-zone {
      border: 2px dashed var(--border);
      border-radius: 4px;
      padding: 40px 24px;
      text-align: center;
      cursor: pointer;
      transition: border-color .2s, background .2s;
      position: relative;
      background: var(--paper);
    }
    .drop-zone:hover, .drop-zone.dragover {
      border-color: var(--gold);
      background: #faf7f0;
    }
    .drop-zone input[type="file"] {
      position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
    }
    .drop-icon {
      font-size: 32px;
      margin-bottom: 10px;
      line-height: 1;
    }
    .drop-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--ink);
      margin-bottom: 4px;
    }
    .drop-hint {
      font-size: 12px;
      color: var(--muted);
    }

    /* ── File list ───────────────────────────────────── */
    #file-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

    .file-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--cream);
      border: 1px solid var(--border);
      border-radius: 3px;
      padding: 9px 12px;
      font-size: 13px;
      animation: slideIn .2s ease;
    }
    @keyframes slideIn {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .file-thumb {
      width: 36px; height: 36px;
      object-fit: cover;
      border-radius: 2px;
      border: 1px solid var(--border);
      flex-shrink: 0;
    }
    .file-info { flex: 1; min-width: 0; }
    .file-name {
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--ink);
    }
    .file-size { font-size: 11px; color: var(--muted); margin-top: 1px; }
    .file-remove {
      background: none; border: none; cursor: pointer;
      color: var(--muted); font-size: 16px; line-height: 1;
      padding: 4px; border-radius: 2px;
      transition: color .15s;
      flex-shrink: 0;
    }
    .file-remove:hover { color: var(--error); }

    /* ── Upload message (error/ok) ───────────────────── */
    #upload-msg {
      font-size: 12px;
      margin-top: 8px;
      display: none;
    }
    #upload-msg.error { color: var(--error); display: block; }
    #upload-msg.ok    { color: var(--ok);    display: block; }

    /* ── Submit button ───────────────────────────────── */
    .submit-btn {
      display: block;
      width: 100%;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #fff;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
      border: none;
      border-radius: 3px;
      padding: 15px 24px;
      cursor: pointer;
      transition: opacity .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 2px 12px rgba(184,134,11,.25);
    }
    .submit-btn:hover {
      opacity: .9;
      transform: translateY(-1px);
      box-shadow: 0 4px 18px rgba(184,134,11,.35);
    }
    .submit-btn:active { transform: translateY(0); }
    .submit-btn:disabled {
      opacity: .55; cursor: not-allowed; transform: none;
    }

    /* ── Success / Error state ───────────────────────── */
    #form-result {
      display: none;
      text-align: center;
      padding: 20px 0 4px;
    }
    #form-result.show { display: block; }
    #form-result .result-icon { font-size: 40px; margin-bottom: 12px; }
    #form-result .result-title {
      font-size: 22px;
      margin-bottom: 8px;
      color: var(--ink);
    }
    #form-result .result-msg {
      font-size: 14px;
      font-weight: 300;
      color: var(--muted);
      line-height: 1.6;
    }
    #form-result.success .result-icon::before { content: '✉️'; }
    #form-result.failure .result-icon::before { content: '⚠️'; }

    /* ── Notes ───────────────────────────────────────── */
    .note {
      font-size: 12px;
      color: var(--muted);
      text-align: center;
      margin-top: 28px;
      line-height: 1.6;
    }
    .note a {
      color: var(--muted);
    }
    .note a:hover {
      color: var(--gold);
    }
