/* Off Grid Beggar: desert at night. Black base, olive drab panels, sunset orange accent, copper coin. */
:root {
  --bg: #0b0b0a;
  --bg-2: #141412;
  --panel: #1b1d15;
  --panel-2: #262a1c;
  --ammo: #2f3a1f;
  --ammo-2: #3b4727;
  --line: #34372a;
  --text: #ece4d2;
  --muted: #a49c88;
  --orange: #f26a1b;
  --orange-2: #ff8a3d;
  --red: #e0201b;
  --copper: #c47a3f;
  --green: #3e7a22;
  --green-2: #4f9a2c;
  --parchment: #e9dcc0;
  --parchment-ink: #2a2116;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --radius: 12px;
  --head: "Bebas Neue", "Oswald", Impact, sans-serif;
  --brush: "Permanent Marker", "Bebas Neue", cursive;
  --stencil: "Saira Stencil One", "Bebas Neue", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  --bg: #f4ede0;
  --bg-2: #ebe2d1;
  --panel: #fffaf0;
  --panel-2: #f1e8d6;
  --ammo: #dfe3cf;
  --ammo-2: #cfd6b8;
  --line: #d8ccb4;
  --text: #1d1a14;
  --muted: #6b6253;
  --shadow: 0 8px 22px rgba(60, 40, 10, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 7, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2a2a24;
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.logo { height: 44px; width: auto; }
.brand img.coin { height: 40px; width: 40px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  color: #d9d1bd; text-decoration: none; font-family: var(--head);
  font-size: 1.25rem; letter-spacing: .06em; padding: 6px 12px; border-bottom: 3px solid transparent;
}
.nav a { transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible { color: var(--orange); }
.nav a[aria-current="page"] { color: var(--orange); border-bottom-color: var(--orange); }
.nav { position: relative; }
.nav.has-indicator a[aria-current="page"] { border-bottom-color: transparent; }
.nav-indicator {
  position: absolute; bottom: 0; left: 0; height: 3px; width: 0;
  background: var(--orange); border-radius: 2px; pointer-events: none;
  transition: left .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1), opacity .2s;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle {
  background: transparent; border: 1px solid #3a3a32; color: #d9d1bd;
  width: 40px; height: 40px; border-radius: 8px; cursor: pointer; font-size: 1.1rem;
}
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-size: 1.3rem; letter-spacing: .06em;
  padding: 10px 20px; border-radius: 8px; border: 0; cursor: pointer;
  text-decoration: none; color: #fff; transition: transform .12s, filter .12s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-tip { background: linear-gradient(180deg, var(--orange-2), var(--orange)); box-shadow: 0 4px 0 #a8420a; }
.btn-big { font-size: 2.2rem; padding: 14px 40px; }
.btn-green { background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 4px 0 #23480f; }
.btn-red { background: linear-gradient(180deg, #ef3b2e, #b9160f); box-shadow: 0 4px 0 #6e0d09; flex-direction: column; gap: 0; line-height: 1.05; }
.btn-red small, .btn-green small { font-family: var(--body); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.btn-ghost { background: transparent; border: 2px solid var(--orange); color: var(--orange); }
.jar { width: 1.1em; height: 1.1em; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .03em; line-height: 1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.7rem; }
.brush { font-family: var(--brush); font-weight: 400; }
.kicker { font-family: var(--head); letter-spacing: .12em; color: var(--muted); font-size: 1.15rem; }
.torn {
  display: inline-block; background: var(--orange); color: #111; padding: .12em .5em .02em;
  clip-path: polygon(1% 8%, 12% 0, 30% 6%, 52% 1%, 74% 7%, 99% 0, 97% 52%, 100% 94%, 80% 100%, 55% 93%, 33% 100%, 10% 94%, 0 100%, 3% 50%);
}
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { margin: 0; }

/* ---------- hero ---------- */
.hero {
  padding: 40px 0 10px;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(242, 106, 27, .28), transparent 60%),
    linear-gradient(180deg, #1a0f08 0%, var(--bg) 100%);
}
:root[data-theme="light"] .hero { background: radial-gradient(ellipse at 75% 20%, rgba(242, 106, 27, .25), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(3.2rem, 7vw, 6rem); color: #fff; }
:root[data-theme="light"] .hero-copy h1 { color: var(--text); }
.hero-copy .hl { color: var(--orange); }
.hero-sub { font-size: 1.25rem; margin: 0 0 6px; }
.hero-tag { font-size: 1.6rem; color: var(--copper); margin: 0 0 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; height: auto; max-height: 86vh; object-fit: cover; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6); border: 1px solid #3a2a1c;
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pillar { text-align: center; padding: 6px 12px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar svg { width: 38px; height: 38px; color: var(--orange); }
.pillar b { display: block; font-family: var(--head); font-size: 1.6rem; letter-spacing: .06em; font-weight: 400; margin-top: 4px; }
.pillar span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- scoreboard ---------- */
.scoreboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.score {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-align: center;
}
.score b { display: block; font-family: var(--head); font-size: 2.4rem; color: var(--orange); line-height: 1; }
.score span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- quote wall ---------- */
.sort-tabs { display: flex; gap: 6px; }
.sort-tabs button {
  font-family: var(--head); font-size: 1.15rem; letter-spacing: .08em;
  background: var(--panel); color: var(--muted); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.sort-tabs button[aria-pressed="true"] { color: #111; background: var(--orange); border-color: var(--orange); }

.quote-wall { display: grid; gap: 14px; }
.post {
  display: grid; grid-template-columns: 56px 1fr; gap: 0;
  background: linear-gradient(180deg, var(--ammo-2), var(--ammo));
  border: 1px solid #4a5634; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); scroll-margin-top: 90px;
}
:root[data-theme="light"] .post { border-color: #b9c29c; }
.post:target { outline: 3px solid var(--orange); }
.votes {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 0;
  background: rgba(0, 0, 0, .22);
}
:root[data-theme="light"] .votes { background: rgba(0, 0, 0, .05); }
.votes button {
  background: none; border: 0; cursor: pointer; padding: 2px; color: var(--muted); line-height: 0;
}
.votes button svg { width: 22px; height: 22px; }
.votes button:hover { color: var(--text); }
.votes button.up[aria-pressed="true"] { color: var(--orange); }
.votes button.down[aria-pressed="true"] { color: #7aa7ff; }
.votes .count { font-family: var(--head); font-size: 1.4rem; line-height: 1; }
.post-body { padding: 14px 18px 16px; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; background: #111; border: 2px solid rgba(0,0,0,.4); }
.avatar img, .avatar svg { width: 100%; height: 100%; object-fit: cover; }
.handle { font-family: var(--stencil); color: var(--text); font-size: 1.05rem; letter-spacing: .03em; }
.persona { display: block; font-size: .78rem; font-style: italic; }
.quote {
  font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .02em;
  margin: 10px 0 12px; line-height: 1.1;
}
.reply {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
  background: rgba(0, 0, 0, .3); border-left: 3px solid var(--orange);
  border-radius: 8px; padding: 10px 12px;
}
:root[data-theme="light"] .reply { background: rgba(255, 255, 255, .6); }
.reply img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.reply .who { font-weight: 700; color: var(--orange); font-size: .9rem; }
.reply .pin { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.reply p { margin: 2px 0 0; }
.post-actions { display: flex; gap: 14px; margin-top: 10px; font-size: .85rem; }
.post-actions button, .post-actions a {
  background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; text-decoration: none;
}
.post-actions button:hover, .post-actions a:hover { color: var(--text); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--orange); color: #111; font-weight: 700; padding: 10px 18px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 70px 0 80px;
  background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)), url("../img/banner-rolling.jpg") center/cover;
  color: #fff;
}
.cta-band p { font-family: var(--brush); font-size: 1.4rem; margin: 0 0 18px; text-shadow: 0 2px 6px #000; }

/* ---------- about ---------- */
.page-hero { padding: 0; background: #000; }
.page-hero img { width: 100%; max-height: 70vh; object-fit: cover; }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.prose p { margin: 0 0 1em; }
.prose .punch { font-family: var(--brush); font-size: 1.35rem; line-height: 1.35; }

.owned {
  margin-top: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
}
.owned svg { width: 64px; height: 64px; color: var(--red); }
.owned h3 { margin-bottom: .2em; }
.stamp {
  display: inline-block; font-family: var(--head); font-size: 1.3rem; letter-spacing: .06em;
  color: var(--red); border: 3px solid var(--red); padding: 2px 10px; transform: rotate(-3deg); margin-top: 6px;
}

.spec {
  background: linear-gradient(180deg, #c9a878, #a9875a);
  color: #2a1d0f; border-radius: 6px; padding: 18px 18px 10px;
  border: 6px solid #5a3b1d; box-shadow: var(--shadow), inset 0 0 40px rgba(60, 30, 0, .35);
  position: relative;
}
.spec::before, .spec::after {
  content: ""; position: absolute; top: 8px; width: 10px; height: 10px; border-radius: 50%;
  background: #3a2510; box-shadow: 0 0 0 2px #7a5a33;
}
.spec::before { left: 8px; } .spec::after { right: 8px; }
.spec h3 { text-align: center; font-size: 2.2rem; color: #2a1d0f; margin-bottom: 4px; }
.spec h3 small { display: block; font-size: 1rem; letter-spacing: .3em; }
.spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { padding: 7px 4px; border-top: 1px dashed rgba(42, 29, 15, .35); margin: 0; }
.spec dt { font-family: var(--stencil); letter-spacing: .04em; padding-right: 14px; }
.spec dd { font-size: .92rem; }

.diogenes {
  background: linear-gradient(180deg, var(--parchment), #d9c59d); color: var(--parchment-ink);
  border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center;
}
.diogenes img { border-radius: 8px; width: 180px; }
.diogenes blockquote { margin: 0 0 14px; font-family: var(--brush); font-size: 2rem; line-height: 1.15; }
.diogenes cite { display: block; font-family: var(--body); font-size: .95rem; font-style: normal; margin-top: 6px; }
.diogenes .closer { font-family: var(--brush); font-size: 1.5rem; margin: 10px 0 0; }

.banner-img { padding: 0; }
.banner-img img { width: 100%; max-height: 260px; object-fit: cover; }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tiers .btn { font-size: 2rem; padding: 12px 6px; }
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.uses div { padding: 16px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.uses svg { width: 34px; height: 34px; color: var(--orange); }
.uses b { display: block; font-family: var(--head); font-size: 1.3rem; letter-spacing: .05em; font-weight: 400; margin-top: 6px; }
.uses span { font-size: .82rem; color: var(--muted); }
.jar-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.jar-band img { border-radius: var(--radius); width: 100%; }

/* ---------- shop ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.item .thumb { background: #f3efe6; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; }
.item .thumb img { max-height: 100%; width: auto; object-fit: contain; image-rendering: auto; }
.item .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item b { font-family: var(--head); font-size: 1.5rem; letter-spacing: .04em; font-weight: 400; }
.item .price { color: var(--orange); font-weight: 700; }
.item .btn { margin-top: auto; font-size: 1.1rem; padding: 8px 12px; }
.tag-soon { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: #050505; color: #bdb5a1; padding: 44px 0 30px; border-top: 1px solid #222; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.site-footer img.coin { width: 110px; height: 110px; }
.site-footer .motto { font-family: var(--head); letter-spacing: .14em; color: var(--copper); font-size: 1.2rem; }
.site-footer small { display: block; font-size: .8rem; color: #8b836f; margin-top: 6px; max-width: 60ch; }
.site-footer nav { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.site-footer nav a { color: #d9d1bd; text-decoration: none; font-family: var(--head); font-size: 1.15rem; letter-spacing: .06em; }
.site-footer nav a { transition: color .2s ease; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--orange); }

/* ---------- responsive ---------- */
@media (prefers-reduced-motion: reduce) { .nav-indicator { transition: none; } }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #0b0b0a; border-bottom: 1px solid #2a2a24; padding: 8px 16px 14px;
  }
  .nav.open { display: flex; }
  .nav-indicator { display: none; }
  .nav.has-indicator a[aria-current="page"] { border-bottom-color: var(--orange); }
  .header-actions .btn-tip span { display: none; }
  .split, .support-grid, .jar-band, .diogenes, .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { max-height: none; }
  .diogenes img { width: 140px; }
  .scoreboard { grid-template-columns: repeat(2, 1fr); }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .site-footer nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; text-align: center; }
}
@media (max-width: 560px) {
  .brand img.logo { height: 34px; }
  .brand img.coin { display: none; }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .pillar + .pillar { border-left: 0; }
  .tiers .btn { font-size: 1.6rem; }
  .btn-big { font-size: 1.7rem; padding: 12px 28px; }
  .post { grid-template-columns: 44px 1fr; }
  .post-body { padding: 12px 12px 14px; }
  .reply { grid-template-columns: 34px 1fr; }
  .reply img { width: 34px; height: 34px; }
}

/* ---------- bio ---------- */
.bio-hero {
  padding: 70px 0 50px; text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(242, 106, 27, .35), transparent 65%),
    linear-gradient(180deg, #1a0f08 0%, var(--bg) 100%);
}
:root[data-theme="light"] .bio-hero { background: radial-gradient(ellipse at 50% 0%, rgba(242, 106, 27, .25), transparent 65%), var(--bg); }
.bio-hero h1 { color: #fff; }
.bio-hero .kicker { color: var(--orange); }
.bio-hero .brush { font-size: 1.5rem; color: var(--copper); margin: 0; }
:root[data-theme="light"] .bio-hero h1 { color: var(--text); }
.bio-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; padding: 30px 0 70px; }
.bio-toc { position: sticky; top: 88px; }
.bio-toc summary { font-family: var(--head); font-size: 1.3rem; letter-spacing: .08em; color: var(--muted); cursor: pointer; list-style: none; }
.bio-toc summary::-webkit-details-marker { display: none; }
.bio-toc ol { list-style: none; margin: 8px 0 0; padding: 0; border-left: 2px solid var(--line); }
.bio-toc a {
  display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; font-size: .92rem;
}
.bio-toc a:hover { color: var(--text); }
.bio-toc a.active { color: var(--orange); border-left-color: var(--orange); }
.bio { max-width: 68ch; font-size: 1.08rem; line-height: 1.7; }
.bio p { margin: 0 0 .75em; }
.bio-sec { scroll-margin-top: 90px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.bio-sec:last-child { border-bottom: 0; }
.bio h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--orange); margin-bottom: .5em; }
.bio h3 { font-size: 1.7rem; margin: 1.6em 0 .5em; color: var(--text); border-left: 4px solid var(--copper); padding-left: 12px; }
.bio-lead { font-size: 1.35rem; font-weight: 700; }
.bio .beats { padding-left: 14px; border-left: 2px dotted var(--line); color: var(--text); }
.bio .pull { margin: 1.4em 0; padding: 0 0 0 18px; border-left: 5px solid var(--orange); }
.bio .pull p { font-family: var(--brush); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; margin: 0; }
.bio .shout { font-family: var(--head); font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; color: var(--orange); margin: .6em 0; }
.bio .models { padding-left: 1.4em; margin: 0 0 1em; }
.bio .models li { margin-bottom: .5em; }
.bio-fig { margin: 1.6em 0; }
.bio-fig img { border-radius: var(--radius); width: 100%; max-height: 640px; object-fit: cover; }
.bio-fig.side { float: right; width: 170px; margin: 0 0 14px 22px; }
.bio-sec::after { content: ""; display: block; clear: both; }
.bio-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
@media (max-width: 860px) {
  .bio-layout { grid-template-columns: 1fr; gap: 20px; }
  .bio-toc { position: static; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
  .bio-fig.side { width: 120px; }
}
