:root {
  --bg: #0e0b0a;
  --bg2: #171210;
  --card: #1d1714;
  --card-light: #faf7f2;
  --gold: #d4af57;
  --gold-soft: #f0d794;
  --gold-line: rgba(212, 175, 87, .32);
  --ink: #faf6ee;
  --muted: #c2b6a3;
  --ok: #22c55e;
  --ok-bg: rgba(34, 197, 94, .14);
  --warn: #f59e0b;
  --err: #ef4444;
  --wa: #25d366;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 640px; margin: 0 auto; padding: 18px 16px 56px; }
.hero {
  background: radial-gradient(circle at 50% 0%, rgba(212,175,87,.22), rgba(14,11,10,0) 68%), var(--bg2);
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  padding: 26px 20px 24px;
  text-align: center;
  margin-bottom: 16px;
}
.hero-logo { max-width: 156px; max-height: 92px; width: auto; height: auto; display: block; margin: 0 auto 14px; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.15; margin: 0 0 10px; color: #fff; font-weight: 700; }
.hero-sub { font-size: 15px; line-height: 1.55; color: #e8dfd0; margin: 0 auto; max-width: 500px; }
.ayana-pill {
  display: inline-block; margin-top: 14px; padding: 7px 14px; border-radius: 999px;
  background: rgba(212,175,87,.12); border: 1px solid var(--gold-line);
  color: var(--gold-soft); font-size: 12.5px; font-weight: 600;
}
.prog-wrap { background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.prog-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--gold-soft); margin-bottom: 7px; }
.prog-track { height: 7px; background: rgba(255,255,255,.09); border-radius: 999px; overflow: hidden; }
.prog-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), #f6e2a7); border-radius: 999px; transition: width .25s ease; }

.step-card {
  background: var(--card);
  border: 1px solid rgba(212,175,87,.22);
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 14px;
}
.step-card.done { border-color: rgba(34,197,94,.48); }
.step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.step-num {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.step-badge { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--muted); }
.step-badge.ok { background: var(--ok-bg); color: #86efac; }
.step-title { font-family: Georgia, serif; font-size: 20px; font-weight: 700; margin: 0 0 6px; color: #fff; }
.step-desc { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--gold-line);
  background: rgba(255,255,255,.06); color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer; width: 100%; text-align: center;
}
.btn-gold { background: linear-gradient(135deg, #d4af57, #b98d32); color: #120d08; border-color: #e4c574; }
.btn-wa { background: #16a34a; color: #fff; border-color: #22c55e; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.16); color: #e8dfd0; min-height: 38px; font-size: 13.5px; margin-top: 8px; }
.btn-sm { width: auto; min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn-err { border-color: rgba(239,68,68,.45); color: #fca5a5; }
.btn-ok { background: rgba(34,197,94,.16); border-color: rgba(34,197,94,.45); color: #86efac; }

.field { margin-bottom: 11px; }
.field label { display: block; font-size: 12px; font-weight: 700; color: var(--gold-soft); margin-bottom: 5px; letter-spacing: .03em; }
.field input, .field textarea, .field select {
  width: 100%; background: #120e0c; color: #fff; border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px; padding: 11px 12px; font-size: 15px; font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.photo-drop {
  border: 1.5px dashed var(--gold-line); border-radius: 14px; padding: 16px;
  text-align: center; background: rgba(212,175,87,.05); cursor: pointer; margin-bottom: 12px;
}
.photo-preview { width: 128px; height: 128px; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); margin: 0 auto 8px; display: none; }
.photo-preview.show { display: block; }
.alert { padding: 11px 13px; border-radius: 11px; font-size: 13.5px; margin-top: 10px; display: none; line-height: 1.45; }
.alert.show { display: block; }
.alert.ok { background: var(--ok-bg); border: 1px solid rgba(34,197,94,.4); color: #bbf7d0; }
.alert.err { background: rgba(239,68,68,.14); border: 1px solid rgba(239,68,68,.4); color: #fecaca; }

.video-box { border-radius: 16px; overflow: hidden; border: 1px solid var(--gold-line); margin-bottom: 14px; background: #000; }
.video-box iframe, .video-box video { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
.hidden { display: none !important; }
.footer-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 22px; opacity: .8; }

/* Desk Styles */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tab-btn {
  padding: 11px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14);
  background: var(--card); color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.tab-btn.active { background: linear-gradient(135deg, #d4af57, #b98d32); color: #120d08; border-color: #e4c574; }
.bar { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 11px; }
.pill {
  padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
  background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.pill.on { background: rgba(34,197,94,.18); border-color: rgba(34,197,94,.5); color: #86efac; }
.pill.gold { background: rgba(212,175,87,.18); border-color: var(--gold-line); color: var(--gold-soft); }
.person {
  background: var(--card); border: 1px solid rgba(255,255,255,.1); border-radius: 15px;
  padding: 13px 14px; margin-bottom: 10px;
}
.person.done { opacity: .55; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.p-name { font-size: 16px; font-weight: 800; color: #fff; }
.p-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.p-tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(212,175,87,.16); color: var(--gold-soft); white-space: nowrap; }
.p-tag.ok { background: var(--ok-bg); color: #86efac; }
.sub-card { display: flex; gap: 12px; align-items: flex-start; }
.sub-thumb { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; border: 1.5px solid var(--gold-line); flex-shrink: 0; background: #111; }
.sum-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.68); z-index: 60; display: none; align-items: flex-end; justify-content: center; padding: 12px; }
.sum-backdrop.open { display: flex; }
.sum-sheet { width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; background: #1d1714; border: 1px solid var(--gold-line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #d4af57; color: #120d08; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 800; display: none; z-index: 90; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.toast.show { display: block; }