/* Portal — shared design system.
   Palette from the client's own kit: navy (crew hoodies), sage gray (van
   panels — the logo sits on a van-gray plate so black lettering reads),
   gold accent (logo / actions). Accent is per-client via --accent. */
* { box-sizing: border-box; margin: 0; }
:root {
  --accent: #e8ad1a;
  --navy-bg: #171e2c;
  --navy-card: #202a3e;
  --navy-line: #2e3950;
  --navy-well: #141a27;
  --sage: #aeb4a6;
  --sage-hi: #c6cabf;
  --ink: #ecedf1;
  --ink-dim: #aab3c7;
  --ink-faint: #8a93ab;
}
body {
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 500px at 50% -10%,
      color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    var(--navy-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 48px 20px 60px; position: relative; }
.wrap.wide { max-width: 860px; }
.wrap.center { text-align: center; }

/* ---------- client page ---------- */
.hero { text-align: center; padding: 12px 0 26px; position: relative; }
.glow {
  position: absolute; inset: -60px -40px auto -40px; height: 320px;
  background: radial-gradient(ellipse at 50% 30%,
    color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none; filter: blur(8px);
}
/* Full-width van-panel band behind the logo — the page section itself is
   light (no box that could read as part of the logo). */
.logoband {
  background: linear-gradient(180deg, var(--sage-hi), var(--sage));
  padding: 30px 20px 24px; text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.28);
  box-shadow: 0 12px 36px rgba(0,0,0,.38);
}
.logoband .logo { width: min(250px, 62vw); display: inline-block;
                  filter: drop-shadow(0 2px 5px rgba(0,0,0,.15)); }
.eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 12px;
           color: var(--accent); font-weight: 700; margin-top: 22px; }
h1 { font-size: clamp(26px, 6vw, 34px); letter-spacing: -.01em; margin: 6px 0 8px; }
.sub { color: var(--ink-dim); max-width: 40ch; margin: 0 auto; }

.card {
  background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: 18px; padding: 22px; margin-top: 22px; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 2px dashed color-mix(in srgb, var(--accent) 55%, var(--navy-line));
  border-radius: 14px; padding: 30px 16px; cursor: pointer;
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  transition: background .15s;
}
.drop:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.drop input { display: none; }
.drop-icon { font-size: 34px; }
.drop-main { font-weight: 700; font-size: 18px; }
.drop-sub { color: var(--ink-dim); font-size: 13px; }
.previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.previews img { width: 72px; height: 90px; object-fit: cover;
                border-radius: 8px; border: 1px solid var(--navy-line); }

.wo {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1px dashed var(--navy-line); border-radius: 12px;
  padding: 12px 14px; margin-top: 14px;
}
.wo:hover { background: rgba(255,255,255,.03); }
.wo input { display: none; }
.wo-icon { font-size: 22px; line-height: 1.2; }
.wo-text { font-size: 14px; }
.wo-opt { color: var(--ink-faint); font-weight: 400; }
.wo-sub { color: var(--ink-faint); font-size: 12.5px; }
.wolink { display: inline-block; color: var(--sage); font-size: 13.5px;
          font-weight: 700; text-decoration: none; margin: 8px 0 0 15px; }
.wolink:hover { text-decoration: underline; }

.formhead { text-align: center; }
.namefield { margin-top: 0; }
.nameinput {
  width: 100%; background: var(--navy-well); color: var(--ink);
  border: 1px solid var(--navy-line); border-radius: 10px;
  padding: 12px 14px; font: inherit;
}
.nameinput:focus { outline: 2px solid var(--accent); border-color: transparent; }
.adminlink { color: var(--ink-faint); text-decoration: underline; }
.adminlink:hover { color: var(--ink-dim); }
.formerr { color: #ff9da8; font-size: 13.5px; margin: 10px 0 0; }
.archlogin { margin-top: 18px; }
.archlogin .btn { width: 100%; margin-top: 12px; }
.archall { margin-top: 12px; }
.archbar { display: flex; gap: 10px; align-items: flex-start;
           flex-wrap: wrap; }
.filtermenu { position: relative; margin-top: 12px; }
.filtermenu summary {
  list-style: none; cursor: pointer; display: inline-block;
  border: 1px solid #3a4763; background: #2a3550; color: var(--ink);
  border-radius: 12px; padding: 12px 18px; font-weight: 700;
}
.filtermenu summary::-webkit-details-marker { display: none; }
.filtermenu[open] summary { background: #323f5e; }
.fm-items {
  position: absolute; z-index: 30; margin-top: 6px; min-width: 200px;
  background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.fm-items a { display: block; color: var(--ink); text-decoration: none;
              padding: 9px 12px; border-radius: 8px; font-size: 14.5px; }
.fm-items a:hover { background: rgba(255,255,255,.06); }
.fm-head { color: var(--ink-faint); font-size: 11.5px; font-weight: 800;
           text-transform: uppercase; letter-spacing: .06em;
           padding: 10px 12px 4px; }
.archjob { margin-top: 18px; }
.archgrid { display: grid; grid-template-columns: repeat(auto-fill,
            minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.archgrid img { width: 100%; aspect-ratio: 3/4; object-fit: cover;
                border-radius: 10px; border: 1px solid var(--navy-line); }
.btn.small { padding: 8px 12px; font-size: 13.5px; }
.upby { color: var(--ink-faint); font-weight: 600; font-size: 14px;
        margin-left: 6px; }
.jobchip { display: inline-block; background: var(--sage); color: #1c2130;
           font-weight: 800; font-size: 13px; letter-spacing: .08em;
           text-transform: uppercase; border-radius: 999px;
           padding: 5px 14px; margin-bottom: 14px; }

.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 14, 22, .72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal { max-width: 380px; width: 100%; text-align: center;
         padding: 32px 24px; margin-top: 0; }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.modalbtns { display: flex; flex-direction: column; gap: 10px;
             margin-top: 20px; }
.modalbtns .btn { width: 100%; padding: 14px; font-size: 16px; }

.field-label { display: block; font-size: 13px; font-weight: 700;
               letter-spacing: .04em; color: var(--ink-dim); margin: 18px 0 6px; }
textarea {
  width: 100%; background: var(--navy-well); color: var(--ink);
  resize: vertical; border: 1px solid var(--navy-line); border-radius: 10px;
  padding: 12px 14px; font: inherit;
}
textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

.btn {
  display: inline-block; border: 1px solid #3a4763; background: #2a3550;
  color: var(--ink); border-radius: 12px; padding: 12px 18px; font: inherit;
  font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn:hover { background: #323f5e; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--accent); border-color: transparent; color: #17130a; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { border-color: #64303a; color: #ff9da8; }
form > .btn.primary { width: 100%; margin-top: 18px; padding: 15px; font-size: 17px; }
.fineprint { color: var(--ink-faint); font-size: 12.5px; text-align: center; margin-top: 12px; }
.foot { text-align: center; color: #66708a; font-size: 12.5px; margin-top: 30px; }

.thanks { text-align: center; padding: 34px 22px; margin-top: 26px; }
.bigcheck {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--accent); color: #17130a; font-size: 34px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.thanks .btn { margin-top: 20px; }

/* ---------- admin queue ---------- */
.adminhead { padding: 6px 0 4px; }
.adminhead .sub { margin-top: 2px; }
.job { margin-top: 18px; }
.jobtop { display: flex; align-items: center; justify-content: space-between; }
.clientname { font-weight: 800; font-size: 17px; }
.status {
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.status.pending { background: #2b3a24; color: #a5e08c; }
.status.posted { background: #24343a; color: #8cd3e0; }
.capbox { font-size: 14px; }
.clientcard { margin-top: 18px; }
.cc-head { display: flex; align-items: center; gap: 14px; }
.cc-logo { background: linear-gradient(180deg, var(--sage-hi), var(--sage));
           border-radius: 10px; padding: 8px 12px; display: inline-flex; }
.cc-logo img { width: 90px; display: block; }
.cc-name strong { font-size: 17px; display: block; }
.cc-slug { color: var(--ink-faint); font-size: 13px; }
.statline { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 4px;
            color: var(--ink-dim); font-size: 14px; }
.statline b { color: var(--ink); }
.cc-links { display: flex; gap: 10px; align-items: center; margin-top: 10px;
            flex-wrap: wrap; }
.cc-pass { color: var(--ink-faint); font-size: 13px; }
.cc-pass code { color: var(--sage); }
.formtitle { font-size: 19px; margin-bottom: 4px; }
.colorpick { width: 64px; height: 36px; border: 1px solid var(--navy-line);
             border-radius: 8px; background: var(--navy-well); padding: 2px; }
.status.processing { background: #3a3424; color: #e6cb7c; }
.status.approved { background: #24343a; color: #8cd3e0; }
.status.rejected { background: #3a2430; color: #e08ca4; }
.status.error { background: #3a2430; color: #e08ca4; }
.processing { color: var(--ink-dim); padding: 18px 4px; }
.spin {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #4a5570; border-top-color: var(--accent);
  animation: spin 1s linear infinite; vertical-align: -2px; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.thumbs img { width: 118px; height: 148px; object-fit: cover;
              border-radius: 10px; border: 1px solid var(--navy-line); }
.desc { color: #cdd3df; font-style: italic;
        border-left: 3px solid var(--sage);
        padding: 4px 0 4px 12px; margin: 12px 0 4px; }
.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.flexgap { flex: 1; }
.empty { text-align: center; color: var(--ink-dim); padding: 40px; }
.donehead { margin: 30px 0 6px; font-size: 15px; color: var(--ink-dim); }
.doneline { display: flex; justify-content: space-between; align-items: center;
            padding: 10px 4px; border-bottom: 1px solid var(--navy-card); }

.jobbadges { display: flex; gap: 6px; align-items: center; }
.status.clientok { background: #24343a; color: #8cd3e0; }
.status.waitclient { background: #2a2f42; color: #aab3c7; }

@media (max-width: 520px) {
  .thumbs img { width: 46%; height: auto; aspect-ratio: 4/5; }
  .actions .btn { flex: 1; }
}

/* ---------- client review (swipe deck) ---------- */
[hidden] { display: none !important; }
.rwrap { max-width: 430px; padding-top: 22px; }
.rhead { display: flex; align-items: center; gap: 10px; }
.rback { color: var(--ink-dim); font-size: 30px; text-decoration: none;
         line-height: 1; padding: 0 10px 4px 0; }
.rheadmid { flex: 1; }
.rhead .eyebrow { margin: 0; }
.rtitle { font-size: 24px; margin: 0; }
.chip { background: #2b3a24; color: #a5e08c; font-weight: 800;
        font-size: 12.5px; border-radius: 999px; padding: 6px 12px;
        white-space: nowrap; }
.chip.low { background: #3a2430; color: #e08ca4; }
.rhint { text-align: center; color: var(--ink-faint); font-size: 13px;
         margin-top: 14px; }

.deck { position: relative; margin-top: 10px; height: min(64vh, 560px); }
.pcard {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: 18px; overflow: hidden; cursor: grab;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.pcard.snap { transition: transform .25s ease; }
.pcard.gone { transition: transform .3s ease, opacity .3s ease;
              opacity: 0; pointer-events: none; }
.pcard.gone.right { transform: translate(120vw, -6vh) rotate(18deg); }
.pcard.gone.left  { transform: translate(-120vw, -6vh) rotate(-18deg); }
.pimg { position: relative; flex: 1; min-height: 0; background: #0e1420; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdots { position: absolute; top: 10px; left: 0; right: 0; display: flex;
         gap: 6px; justify-content: center; }
.pdots i { width: 7px; height: 7px; border-radius: 50%;
           background: rgba(255,255,255,.35); }
.pdots i.on { background: #fff; }
.stamp { position: absolute; top: 18px; font-weight: 900; font-size: 26px;
         letter-spacing: .08em; padding: 6px 14px; border: 3px solid;
         border-radius: 10px; opacity: 0; pointer-events: none; }
.stamp.yes { left: 16px; color: #7ee787; border-color: #7ee787;
             background: rgba(20,40,20,.35); transform: rotate(-12deg); }
.stamp.no  { right: 16px; color: #ff9da8; border-color: #ff9da8;
             background: rgba(58,36,48,.35); transform: rotate(12deg); }
.pcap { padding: 14px 16px; color: #cdd3df; font-size: 14px;
        line-height: 1.45; max-height: 108px; overflow-y: auto;
        white-space: pre-line; touch-action: pan-y;
        background: var(--navy-well); }
.deckempty {
  position: absolute; inset: 0; margin-top: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; color: var(--ink-dim);
  font-weight: 700; font-size: 18px;
}
.emptyart { font-size: 40px; }
.emptysub { font-weight: 400; font-size: 13.5px; color: var(--ink-faint);
            max-width: 30ch; }

.rctl { display: flex; justify-content: center; align-items: center;
        gap: 18px; margin-top: 18px; }
.fab { width: 62px; height: 62px; border-radius: 50%; cursor: pointer;
       border: 1px solid var(--navy-line); background: var(--navy-card);
       color: var(--ink); font-size: 26px; font-weight: 800;
       box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.fab.yes { background: var(--accent); border-color: transparent;
           color: #17130a; }
.fab.no { color: #ff9da8; }
.fab.undo { width: 46px; height: 46px; font-size: 19px;
            color: var(--ink-dim); }
.fab:disabled { opacity: .35; cursor: default; }
.fab:hover:not(:disabled) { filter: brightness(1.12); }

/* paywall */
.paywall { position: fixed; inset: 0; z-index: 50; padding: 16px;
           background: rgba(10,14,22,.72); backdrop-filter: blur(6px);
           display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 520px) { .paywall { align-items: center; } }
.paycard { max-width: 420px; width: 100%; margin: 0; padding: 26px 22px; }
.paykicker { color: var(--accent); font-weight: 800; letter-spacing: .18em;
             text-transform: uppercase; font-size: 11.5px; }
.payhead { font-size: 22px; margin: 6px 0 4px; }
.paysub { color: var(--ink-dim); font-size: 14px; margin-bottom: 14px; }
.payopt { display: block; width: 100%; text-align: left; position: relative;
          background: var(--navy-well); border: 1px solid var(--navy-line);
          border-radius: 14px; padding: 14px 96px 14px 16px; margin-top: 10px;
          cursor: pointer; color: var(--ink); font: inherit; }
.payopt:hover { border-color: var(--accent); }
.payopt.best { border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--navy-well)); }
.payname { font-weight: 800; display: block; }
.paytag { display: inline-block; background: #2b3a24; color: #a5e08c;
          font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
          text-transform: uppercase; border-radius: 999px;
          padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.payprice { position: absolute; top: 14px; right: 16px; font-weight: 800;
            color: var(--accent); }
.payblurb { display: block; color: var(--ink-dim); font-size: 12.5px;
            margin-top: 2px; }
.paylater { width: 100%; margin-top: 12px; background: transparent;
            border-color: transparent; color: var(--ink-dim); }

.toast { position: fixed; left: 50%; transform: translateX(-50%);
         bottom: 26px; z-index: 60; background: #2b3a24; color: #a5e08c;
         font-weight: 800; border-radius: 999px; padding: 10px 18px;
         box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .6s; }
.toast.fade { opacity: 0; }

/* demo checkout stand-in */
.democheckout { margin-top: 40px; text-align: center; padding: 30px 24px; }
.demobadge { display: inline-block; background: #3a3424; color: #e6cb7c;
             font-weight: 800; font-size: 11.5px; letter-spacing: .14em;
             border-radius: 999px; padding: 5px 12px; }
.demotitle { font-size: 22px; margin: 12px 0 6px; }
.demoline { display: flex; justify-content: space-between; align-items: center;
            background: var(--navy-well); border: 1px solid var(--navy-line);
            border-radius: 12px; padding: 14px 16px; margin: 18px 0 6px; }
.democheckout form .btn { width: 100%; margin-top: 12px; }
.demoback { display: block; margin-top: 10px; background: transparent;
            border-color: transparent; color: var(--ink-dim); }

/* review banner on the upload page */
.reviewbanner { display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--navy-line)); }
.reviewbanner:hover { border-color: var(--accent); }
.rb-count { width: 44px; height: 44px; border-radius: 50%; flex: none;
            background: var(--accent); color: #17130a; font-weight: 800;
            font-size: 20px; display: flex; align-items: center;
            justify-content: center; }
.rb-text { line-height: 1.35; }
.rb-sub { color: var(--ink-dim); font-size: 13px; }
.rb-go { margin-left: auto; font-size: 28px; color: var(--ink-dim); }
