:root {
  --bg: #0c0b09;
  --bg-2: #141310;
  --bg-3: #1c1a16;
  --bone: #e7e1d4;
  --muted: #9a9186;
  --faint: #6e675e;
  --line: rgba(231, 225, 212, 0.12);
  --gold: #c4a46a;
  --gold-2: #e4d0a4;
  --ink: #1a140c;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: 20px;
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
#mb-root { min-height: 100vh; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 11, 9, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--pad) 10px;
}
.top-row, .nav, .search { max-width: var(--max); margin: 0 auto; }
.top-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.logo {
  font-family: var(--serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--bone);
  line-height: 1.2;
}
.logo i { display: none; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--gold); margin-left: 10px; }
.nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 8px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav a.on, .nav a:hover { color: var(--bone); }
.search { margin-top: 4px; }
.search input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-bottom-color: var(--gold); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 72px; }

.hero {
  position: relative;
  min-height: calc(100svh - 118px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #090807;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.28) 0%, rgba(12, 11, 9, 0.45) 42%, rgba(12, 11, 9, 0.94) 100%);
}
.hero .copy { position: relative; z-index: 1; padding: 28px var(--pad) 36px; max-width: 780px; }
.kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 12px;
}
.hero h1 { font-size: clamp(52px, 14vw, 104px); line-height: 0.88; color: var(--bone); }
.slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.15;
  margin: 14px 0 12px;
  color: var(--gold-2);
}
.lede { color: #d9d2c6; max-width: 38rem; margin: 0 0 22px; font-weight: 300; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  appearance: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  min-height: 48px;
  padding: 0 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn.ghost.on, .btn.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn:hover { filter: brightness(1.06); }
.stats {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stats b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
}

.sec { padding: 36px 0 8px; }
.sec h2 { font-size: clamp(32px, 6vw, 48px); }
.sec .sub { color: var(--muted); margin: 6px 0 18px; font-weight: 300; }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--bone);
}
.card .pic { aspect-ratio: 3 / 2; overflow: hidden; background: #090807; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .pic img { transform: scale(1.04); }
.card .bd { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 26px; line-height: 1.05; }
.card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 300; }
.meta { color: var(--faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.lab { color: var(--muted); }
.lab-fact { color: var(--gold); }
.lab-deb { color: var(--faint); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.chip.on { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.cat {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  min-height: 88px;
}
.cat img { width: 118px; height: 78px; object-fit: cover; }
.cat b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.cat span { color: var(--muted); font-size: 13px; font-weight: 300; }

.frame { margin: 0 calc(var(--pad) * -1); position: relative; height: min(62vw, 460px); overflow: hidden; background: #090807; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.crumb { color: var(--faint); font-size: 13px; padding: 16px 0 8px; }
.crumb a { color: var(--muted); }
h1.entry { font-size: clamp(40px, 9vw, 72px); line-height: 0.92; margin: 8px 0 10px; }
.decide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 8px; }
.decide .btn { width: 100%; }
.fine { color: var(--faint); font-size: 13px; margin: 0 0 18px; }

.cols { display: grid; gap: 12px; }
.box { background: var(--bg-2); border: 1px solid var(--line); padding: 16px; }
.box h3 { font-size: 26px; margin-bottom: 8px; }
.box p, .box li { color: #d5cec2; font-weight: 300; }
.box ul { margin: 0; padding-left: 18px; }
.box li { margin: 6px 0; }
.tl { display: grid; gap: 14px; }
.tl b { display: block; color: var(--gold); font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.note, .warn {
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  margin: 12px 0;
}
.warn { border-color: rgba(196, 164, 106, 0.45); color: var(--gold-2); }

.wall { columns: 2; column-gap: 10px; }
.tile { break-inside: avoid; margin: 0 0 10px; position: relative; display: block; color: white; }
.tile img { width: 100%; }
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(12, 11, 9, 0.92));
}
.tile .cap b { font-family: var(--serif); font-size: 20px; font-weight: 400; display: block; line-height: 1.05; }
.tile .cap span { color: #d5cec2; font-size: 12px; }

.acct { display: grid; gap: 6px; }
.acct .who { font-family: var(--serif); font-size: 28px; }
.mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 16px;
}

.frm { display: grid; gap: 12px; max-width: 640px; }
.frm label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }
.frm input, .frm textarea, .frm select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 0;
  width: 100%;
}
.frm input:focus, .frm textarea:focus { outline: 1px solid var(--gold); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); padding: 6px 10px; color: var(--bone); letter-spacing: 0; }
.checks input { width: auto; }
.hp { position: absolute; left: -9999px; }

.ledger { display: grid; gap: 18px; }
.vote-yes { color: var(--gold); }
.vote-no { color: var(--muted); }

footer.foot {
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  font-weight: 300;
  padding: 28px var(--pad) 48px;
  max-width: var(--max);
  margin: 0 auto;
}
footer.foot a { color: var(--muted); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.scroll { overflow-x: auto; }

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .grid.three { grid-template-columns: 1fr 1fr 1fr; }
  .wall { columns: 3; }
  .cols.two { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .ledger { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .logo i { display: inline; }
}
@media (min-width: 1040px) {
  .wall { columns: 4; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
