/* KABOOMSU — built on the shared hankelsner.tech tokens (light default,
   dark via [data-theme] + prefers-color-scheme). Doge-warm accent layered
   over the house trust-blue for the collection surfaces only. */

:root{
  --doge:#c98a2e; --doge-2:#e0a648; --doge-soft:#fdf3e2;
  --maxw:1120px;
}
:root[data-theme="dark"]{ --doge:#e6ae5c; --doge-2:#f0c47f; --doge-soft:#2a2113; }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){
  --doge:#e6ae5c; --doge-2:#f0c47f; --doge-soft:#2a2113; }}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.2; letter-spacing:-.02em; margin:0}
code{font-family:var(--mono); font-size:.9em; background:var(--inset);
  padding:.12em .4em; border-radius:6px; border:1px solid var(--line)}

/* ---------- top bar ---------- */
.top{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter:saturate(1.6) blur(12px);
  border-bottom:1px solid var(--line);
}
.top-in{display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding-top:12px; padding-bottom:12px}
.brand{display:flex; align-items:center; gap:12px; color:inherit}
.brand:hover{text-decoration:none}
.mark{
  width:38px; height:38px; flex:none; display:grid; place-items:center;
  border-radius:11px; font-weight:800; font-size:19px; color:#2a1c07;
  background:linear-gradient(145deg,var(--doge-2),var(--doge));
  box-shadow:var(--shadow);
}
.brand-name{font-weight:800; letter-spacing:.06em; font-size:15px}
.brand-sub{font-size:12px; color:var(--dim); letter-spacing:.02em}
.nav{display:flex; align-items:center; gap:6px}
.nav>a{
  color:var(--ink-2); font-size:14px; font-weight:600;
  padding:8px 12px; border-radius:var(--r-pill);
}
.nav>a:hover{background:var(--surface-2); text-decoration:none; color:var(--ink)}
.nav-admin{color:var(--dim) !important; border:1px dashed var(--line-2)}
.theme{
  display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  font:inherit; font-size:13px; font-weight:600; color:var(--ink-2);
  background:var(--surface-2); border:1px solid var(--line);
  padding:8px 13px; border-radius:var(--r-pill); margin-left:6px;
}
.theme:hover{border-color:var(--line-2); color:var(--ink)}
.theme-ico{font-size:14px; line-height:1}
@media (max-width:640px){ .nav>a[href^="#"]{display:none} }

/* ---------- hero ---------- */
.hero{padding:76px 20px 52px; text-align:center}
.tag{
  display:inline-block; font-size:12px; font-weight:700; letter-spacing:.13em;
  text-transform:uppercase; color:var(--doge);
  background:var(--doge-soft); border:1px solid color-mix(in srgb,var(--doge) 26%,transparent);
  padding:6px 14px; border-radius:var(--r-pill); margin-bottom:22px;
}
.hero h1{font-size:clamp(30px,5.4vw,58px); font-weight:800; margin-bottom:22px}
.grad{
  background:linear-gradient(100deg,var(--doge),var(--doge-2) 60%,var(--accent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.grad em{font-style:italic}
.lede{
  max-width:660px; margin:0 auto; font-size:clamp(16px,1.9vw,19px);
  color:var(--ink-2);
}
.hero-actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:32px}
.btn{
  display:inline-block; font-weight:700; font-size:15px;
  padding:12px 24px; border-radius:var(--r-pill);
  background:var(--accent); color:var(--accent-ink); border:1px solid transparent;
  box-shadow:var(--shadow);
}
.btn:hover{background:var(--accent-2); text-decoration:none}
.btn-ghost{background:var(--surface); color:var(--ink-2); border-color:var(--line-2); box-shadow:none}
.btn-ghost:hover{background:var(--surface-2); color:var(--ink)}

/* ---------- sections ---------- */
.strip{padding:44px 20px 8px; text-align:center}
.strip h2{font-size:clamp(23px,3.2vw,32px); font-weight:800; margin-bottom:12px}
.section-lede{max-width:560px; margin:0 auto; color:var(--dim); font-size:15px}

/* ---------- gallery ---------- */
.grid{
  display:grid; gap:22px; padding:32px 20px 8px;
  grid-template-columns:repeat(auto-fit,minmax(258px,1fr));
}
.cand{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cand:hover{transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--doge)}
.cand-img{
  display:block; width:100%; aspect-ratio:1/1; object-fit:cover;
  background:var(--inset); cursor:zoom-in; border:0;
}
.cand-body{padding:15px 17px 17px}
.cand-top{display:flex; align-items:baseline; justify-content:space-between; gap:10px}
.cand-id{font-weight:800; font-size:15px; letter-spacing:.04em}
.cand-px{font-family:var(--mono); font-size:11px; color:var(--dim)}
.cand-note{font-size:13.5px; color:var(--ink-2); margin:7px 0 0}

/* ---------- provenance ---------- */
.prov{
  background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--doge);
  border-radius:var(--r); padding:26px 28px; margin:44px 0 8px; box-shadow:var(--shadow);
}
.prov h3{font-size:19px; font-weight:800; margin-bottom:12px}
.prov p{margin:0 0 12px; color:var(--ink-2); font-size:15px}
.prov p:last-child{margin-bottom:0}

/* ---------- on-chain explainer ---------- */
.onchain{background:var(--surface-2); border-top:1px solid var(--line);
  border-bottom:1px solid var(--line); margin-top:56px; padding:56px 0}
.onchain h2{font-size:clamp(23px,3.2vw,32px); font-weight:800;
  text-align:center; margin-bottom:38px}
.steps{display:grid; gap:20px; grid-template-columns:repeat(auto-fit,minmax(228px,1fr))}
.step{background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:22px}
.step-n{font-family:var(--mono); font-size:12px; font-weight:700;
  color:var(--doge); letter-spacing:.1em; margin-bottom:10px}
.step h4{font-size:16px; font-weight:700; margin-bottom:8px}
.step p{margin:0; font-size:14px; color:var(--ink-2)}
.onchain-foot{max-width:660px; margin:34px auto 0; text-align:center;
  color:var(--dim); font-size:15px}

/* ---------- status ---------- */
.status-wrap{padding:52px 20px 64px}
.status{
  display:flex; gap:16px; align-items:flex-start;
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r); padding:24px 26px; box-shadow:var(--shadow);
}
.status-dot{
  width:11px; height:11px; border-radius:50%; flex:none; margin-top:7px;
  background:var(--doge); box-shadow:0 0 0 4px color-mix(in srgb,var(--doge) 22%,transparent);
}
.status h3{font-size:17px; font-weight:800; margin-bottom:7px}
.status p{margin:0; color:var(--ink-2); font-size:14.5px}

/* ---------- footer ---------- */
.foot-bar{border-top:1px solid var(--line); background:var(--surface);
  padding:22px 0; font-size:13px; color:var(--dim)}
.foot-in{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.dim{color:var(--dim)}

/* ---------- lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:100; display:grid; place-items:center;
  background:rgba(8,12,18,.88); padding:26px; backdrop-filter:blur(3px);
}
.lightbox[hidden]{display:none}
.lightbox img{
  max-width:min(94vw,1024px); max-height:82vh; border-radius:10px;
  box-shadow:0 20px 60px rgba(0,0,0,.6); background:#111;
}
.lb-cap{color:#e6ecf3; font-size:13px; margin-top:14px; text-align:center;
  font-family:var(--mono)}
.lb-close{
  position:absolute; top:18px; right:22px; width:42px; height:42px;
  border-radius:50%; border:1px solid rgba(255,255,255,.28); cursor:pointer;
  background:rgba(255,255,255,.1); color:#fff; font-size:26px; line-height:1;
}
.lb-close:hover{background:rgba(255,255,255,.2)}

@media (prefers-reduced-motion:reduce){ *{transition:none !important} }
