/* ═══════════════════════════════════════════════════════════════════
   Splurjj Shout — public profile page (v1), 5 page styles
   Style is chosen with <body data-style="founder|gogetter|momentum|builder|hustler">
   NOTE: /css/* is cached immutable. Rename to shout-profile.v2.css on change.
═══════════════════════════════════════════════════════════════════ */
:root{
  --bg:#0b0b12; --panel:#13131e; --ink:#fff; --muted:#a6a6ba; --line:#23233a;
  --accent:#8b5cf6; --accent2:#e8117a; --on-accent:#fff;
  --font:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --head-font:var(--font); --radius:22px; --head-transform:none; --head-weight:900;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100vh}
a{color:inherit}
img{max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wrap{max-width:760px;margin:0 auto;padding:0 18px}

/* top bar */
.bar{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.bar a.logo{display:flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;font-size:.95rem}
.bar .dot{width:30px;height:30px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-size:.8rem}
.bar a.claim{background:var(--ink);color:var(--bg);text-decoration:none;font-weight:800;font-size:.8rem;padding:9px 16px;border-radius:999px}

/* demo style switcher */
.switcher{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:2px 0 14px}
.switcher button{font:inherit;font-weight:700;font-size:.75rem;cursor:pointer;border:1px solid var(--line);background:transparent;color:var(--muted);padding:7px 13px;border-radius:999px}
.switcher button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}

/* hero */
.hero{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:34px 26px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0 0 auto 0;height:110px;background:linear-gradient(120deg,var(--accent),var(--accent2));opacity:.9}
.avatar{position:relative;width:104px;height:104px;border-radius:50%;margin:30px auto 14px;border:4px solid var(--panel);background:linear-gradient(135deg,var(--accent),var(--accent2));display:grid;place-items:center;font-size:2.4rem;font-weight:900;color:var(--on-accent);overflow:hidden}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.name{margin:0;font-family:var(--head-font);font-weight:var(--head-weight);text-transform:var(--head-transform);font-size:clamp(1.8rem,6vw,2.6rem);line-height:1.08;letter-spacing:-.02em}
.handle{margin:6px 0 0;font-weight:800;color:var(--accent);font-size:1rem}
.tagline{margin:14px auto 0;max-width:520px;color:var(--muted);font-size:1.05rem}
.meta{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.meta a,.meta span{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;background:rgba(255,255,255,.06);border:1px solid var(--line);padding:7px 13px;border-radius:999px;text-decoration:none}
.meta a:hover{border-color:var(--accent)}
.socials{display:flex;gap:10px;justify-content:center;margin-top:18px;flex-wrap:wrap}
.socials a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid var(--line);text-decoration:none;font-size:1.1rem}
.socials a:hover{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

/* sections */
.sec{margin-top:18px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.sec h2{margin:0 0 14px;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);font-weight:800}
.prose{white-space:pre-wrap;word-wrap:break-word;overflow-wrap:anywhere;margin:0;color:inherit}
.goals{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.goals li{display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:16px;padding:14px 16px}
.goals .n{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent2));color:var(--on-accent);display:grid;place-items:center;font-weight:900}
.goals b{display:block;font-size:1.02rem;overflow-wrap:anywhere}
.goals small{display:block;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.goals code{display:inline-block;margin-top:8px;font-size:.7rem;font-weight:700;background:rgba(255,255,255,.08);padding:3px 9px;border-radius:8px;color:var(--muted)}

/* QR card */
.qrcard{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center}
.qrbox{background:#fff;border-radius:18px;padding:14px;width:200px;height:200px}
.qrbox svg{display:block;width:100%;height:100%}
.qrcard h2{margin-bottom:8px}
.qrcard p{margin:0 0 14px;color:var(--muted)}
.btns{display:flex;flex-wrap:wrap;gap:10px}
.btn{font:inherit;font-weight:800;font-size:.84rem;cursor:pointer;border:0;text-decoration:none;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:999px;background:var(--ink);color:var(--bg)}
.btn.alt{background:linear-gradient(90deg,var(--accent),var(--accent2));color:var(--on-accent)}
.btn:hover{filter:brightness(1.1)}

/* cta + states */
.cta{margin:28px 0 8px;text-align:center}
.cta a{display:inline-flex;gap:10px;align-items:center;text-decoration:none;font-weight:800;padding:15px 26px;border-radius:999px;background:linear-gradient(90deg,var(--accent),var(--accent2));color:var(--on-accent)}
.state{text-align:center;padding:90px 10px}
.state h1{font-size:1.8rem;margin:0 0 10px}
.state p{color:var(--muted);margin:0 0 22px}
.state a{display:inline-block;text-decoration:none;font-weight:800;padding:13px 24px;border-radius:999px;background:var(--ink);color:var(--bg)}
.skeleton{height:320px;border-radius:var(--radius);background:linear-gradient(90deg,#13131e,#1b1b2b,#13131e);background-size:200% 100%;animation:sh 1.2s infinite linear}
@keyframes sh{to{background-position:-200% 0}}
.foot{padding:34px 0 50px;text-align:center;color:var(--muted);font-size:.8rem}
.foot a{color:var(--muted)}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);background:#fff;color:#0b0b12;font-weight:700;padding:12px 20px;border-radius:999px;box-shadow:0 14px 34px rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:.25s;font-size:.88rem}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ═════ STYLE: founder — editorial, credibility-first ═════ */
body[data-style="founder"]{--bg:#f6f1e7;--panel:#fffdf8;--ink:#1a1712;--muted:#6a6355;--line:#e4dccb;--accent:#a8801a;--accent2:#7a5a10;--on-accent:#fff;--head-font:Georgia,'Times New Roman',serif;--head-weight:700;--radius:6px}
body[data-style="founder"] .hero::before{height:8px;background:var(--accent)}
body[data-style="founder"] .avatar{margin-top:18px;border-radius:6px;border-color:var(--panel)}
body[data-style="founder"] .sec h2{font-family:var(--head-font);text-transform:none;letter-spacing:0;font-size:1.25rem;border-bottom:2px solid var(--accent);padding-bottom:8px;color:var(--ink)}
body[data-style="founder"] .prose{font-family:Georgia,serif;font-size:1.08rem;line-height:1.75}
body[data-style="founder"] .prose::first-letter{font-size:3.2rem;float:left;line-height:.9;padding:6px 10px 0 0;color:var(--accent);font-weight:700}
body[data-style="founder"] .goals li,body[data-style="founder"] .meta a,body[data-style="founder"] .meta span,body[data-style="founder"] .socials a{background:#f3ecdb}
body[data-style="founder"] .goals .n{border-radius:6px}
body[data-style="founder"] .btn,body[data-style="founder"] .bar a.claim,body[data-style="founder"] .state a{border-radius:4px}
body[data-style="founder"] .switcher button[aria-pressed="true"]{color:#fff}

/* ═════ STYLE: gogetter — goals front and centre, bright ═════ */
body[data-style="gogetter"]{--bg:#effcf9;--panel:#fff;--ink:#0a1f1c;--muted:#456963;--line:#cdeee8;--accent:#0fb5a0;--accent2:#2f80ed;--on-accent:#fff}
body[data-style="gogetter"] .hero::before{height:100%;opacity:.12}
body[data-style="gogetter"] .goals li{background:#f3fffd;border-width:2px}
body[data-style="gogetter"] .goals .n{width:46px;height:46px;font-size:1.2rem}
body[data-style="gogetter"] .goals{grid-auto-flow:row}
body[data-style="gogetter"] .goals b{font-size:1.18rem}
body[data-style="gogetter"] .meta a,body[data-style="gogetter"] .meta span,body[data-style="gogetter"] .socials a{background:#e6f9f6}
body[data-style="gogetter"] .btn,body[data-style="gogetter"] .bar a.claim,body[data-style="gogetter"] .state a{background:#0a1f1c;color:#fff}
body[data-style="gogetter"] .btn.alt{color:#fff}

/* ═════ STYLE: momentum — streak, wins, what's next ═════ */
body[data-style="momentum"]{--bg:#0d0a1f;--panel:#16122e;--line:#2a2250;--accent:#a78bfa;--accent2:#ec4899;--muted:#b0a8d6}
body[data-style="momentum"] .goals li{position:relative;overflow:hidden}
body[data-style="momentum"] .goals li::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:var(--w,40%);background:linear-gradient(90deg,var(--accent),var(--accent2))}
body[data-style="momentum"] .goals li:nth-child(1){--w:80%}
body[data-style="momentum"] .goals li:nth-child(2){--w:62%}
body[data-style="momentum"] .goals li:nth-child(3){--w:45%}
body[data-style="momentum"] .goals li:nth-child(4){--w:30%}
body[data-style="momentum"] .goals li:nth-child(5){--w:18%}
body[data-style="momentum"] .hero::before{height:100%;opacity:.18;background:radial-gradient(circle at 50% 0,var(--accent),transparent 70%)}

/* ═════ STYLE: builder — ship log, monospace ═════ */
body[data-style="builder"]{--bg:#06101f;--panel:#0b1a30;--line:#17315a;--accent:#38bdf8;--accent2:#3b82f6;--muted:#8fb0d6;--font:'Inter',system-ui,sans-serif;--head-font:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--head-weight:700;--radius:10px;--on-accent:#04101f}
body[data-style="builder"]{background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:34px 34px;background-position:-1px -1px}
body[data-style="builder"] .sec h2,body[data-style="builder"] .handle,body[data-style="builder"] .goals .n,body[data-style="builder"] .goals code{font-family:var(--head-font)}
body[data-style="builder"] .sec h2::before{content:"// "}
body[data-style="builder"] .goals li{border-left:3px solid var(--accent);border-radius:6px}
body[data-style="builder"] .goals .n{border-radius:6px}
body[data-style="builder"] .goals .n::before{content:"#"}
body[data-style="builder"] .hero{border-style:dashed}
body[data-style="builder"] .avatar{border-radius:10px}

/* ═════ STYLE: hustler — loud, proud ═════ */
body[data-style="hustler"]{--bg:#000;--panel:#0c0c0c;--ink:#fff;--muted:#cfcfcf;--line:#333;--accent:#ffe600;--accent2:#ff2d78;--on-accent:#000;--head-transform:uppercase;--head-weight:900;--radius:4px}
body[data-style="hustler"] .name{font-size:clamp(2.4rem,11vw,4.4rem);line-height:.95;letter-spacing:-.04em}
body[data-style="hustler"] .hero{border:3px solid var(--accent)}
body[data-style="hustler"] .hero::before{background:repeating-linear-gradient(45deg,var(--accent) 0 14px,#000 14px 28px);height:34px;opacity:1}
body[data-style="hustler"] .avatar{border-radius:4px;margin-top:52px;border-color:var(--accent)}
body[data-style="hustler"] .sec{border:2px solid var(--line)}
body[data-style="hustler"] .sec h2{color:var(--accent);font-size:1rem}
body[data-style="hustler"] .goals li{border:2px solid var(--accent);border-radius:2px;background:#111}
body[data-style="hustler"] .goals .n{border-radius:2px;background:var(--accent);color:#000}
body[data-style="hustler"] .goals b{text-transform:uppercase;font-size:1.1rem}
body[data-style="hustler"] .btn,body[data-style="hustler"] .bar a.claim,body[data-style="hustler"] .cta a,body[data-style="hustler"] .state a{border-radius:2px;text-transform:uppercase}
body[data-style="hustler"] .btn{background:var(--accent);color:#000}
body[data-style="hustler"] .btn.alt,body[data-style="hustler"] .cta a{background:var(--accent2);color:#fff}
body[data-style="hustler"] .bar a.claim{background:var(--accent);color:#000}

@media (max-width:600px){
  .qrcard{grid-template-columns:1fr;justify-items:center;text-align:center}
  .btns{justify-content:center}
  .hero{padding:28px 16px}
  .sec{padding:20px 16px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
