/* Follows wrfr.org: warm near-black sections with yellow type, white "bright"
   sections with black type, Poppins 500 headings, Helvetica body,
   white buttons with black text, orange as the small accent. */
:root {
  --ink: #100704;
  --honey: #FFDF52;
  --orange: #FF9D00;
  --paper: #FFFFFF;
  --mist: #F2F2F2;
  --grey: #7A7A7A;
  --line: #e4e0d6;
  --ok: #2f7d4a;
  --warn: #b35c00;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--honey); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.005em; }
button, input, textarea, select { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Demo strip */
.demo-bar { background: var(--orange); color: var(--ink); font: 500 13px/1.3 var(--head); }
.demo-bar .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.demo-bar label { display: flex; gap: 6px; align-items: center; }
.demo-bar select { border: 1px solid var(--ink); background: #fff7e6; border-radius: 3px; padding: 2px 6px; font-size: 13px; }
.demo-bar .spacer { flex: 1; }

/* Header: dark console photo, like wrfr.org */
.site-header { position: relative; background: #000 center/cover no-repeat; border-bottom: 3px solid var(--honey); }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,7,4,.92) 0%, rgba(16,7,4,.72) 55%, rgba(16,7,4,.55) 100%); }
.site-header .wrap { position: relative; display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 74px; width: auto; display: block; }
.brand .mark-fallback { display: none; width: 52px; height: 74px; border: 2px solid var(--honey); border-radius: 26px 26px 6px 6px; font: 700 13px/1 var(--head); color: var(--honey); align-items: center; justify-content: center; text-align: center; }
.brand .words { display: flex; flex-direction: column; }
.brand .words b { font: 500 24px/1.1 var(--head); color: var(--honey); }
.brand .words small { font: 400 12px/1.3 var(--head); color: #fff; opacity: .85; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 22px; align-items: center; margin-left: auto; }
.nav a { text-decoration: none; color: var(--honey); font-size: 15px; white-space: nowrap; }
.nav a:hover, .nav a.active { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.btn-live { background: var(--paper); color: var(--ink) !important; font: 500 13px/1 var(--head) !important; letter-spacing: .08em; padding: 11px 16px; border-radius: 2px; text-decoration: none !important; display: inline-flex; gap: 8px; align-items: center; }
.btn-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0261b; box-shadow: 0 0 0 3px rgba(224,38,27,.25); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--honey); color: var(--honey); border-radius: 2px; padding: 6px 10px; }
.back-link { font-size: 13px; opacity: .8; }

/* Sections */
.band-dark { background: var(--ink); color: var(--honey); }
.band-light { background: var(--paper); color: var(--ink); }
.band-mist { background: var(--mist); color: var(--ink); }
.pad { padding: 56px 0; }
.pad-sm { padding: 32px 0; }

/* Hero */
.hero h1 { font-size: clamp(32px, 5vw, 52px); max-width: 16ch; }
.hero p { color: #fff; opacity: .9; max-width: 56ch; font-size: 18px; }
.hero .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.eyebrow { font: 500 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 2px; padding: 11px 18px; font: 500 15px/1 var(--head); cursor: pointer; text-decoration: none; }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--honey); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn:hover { filter: brightness(.95); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.linkish { background: none; border: 0; padding: 0; color: var(--grey); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* Feed */
.feed-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 13px; font: 500 13px/1.2 var(--head); cursor: pointer; }
.chip.on { background: var(--ink); color: var(--honey); }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,7,4,.12); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 20px; margin: 0; }
.card p { margin: 0; color: #3b332e; font-size: 15px; }
.card .meta { margin-top: auto; padding-top: 8px; }
.kind { display: inline-flex; gap: 6px; align-items: center; font: 500 11px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.kind i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.meta { font-size: 13px; color: var(--grey); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.meta b { color: var(--ink); font-weight: 600; }
.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.feature .body { padding: 28px; justify-content: center; }
.feature h3 { font-size: 28px; }

/* Media placeholders (sample art, no real photos) */
.art { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.art .label { position: absolute; left: 10px; bottom: 8px; font: 500 11px/1 var(--head); color: rgba(255,255,255,.75); letter-spacing: .06em; }
.art-harbor { background: linear-gradient(180deg, #2b3d4f 0%, #6b7f8f 45%, #c9a96b 46%, #3c4b55 47%, #1d2a33 100%); }
.art-harbor::after { content: ""; position: absolute; left: 18%; bottom: 38%; width: 22%; height: 18%; background: #100704; clip-path: polygon(0 100%, 100% 100%, 85% 60%, 50% 60%, 50% 0, 46% 0, 46% 60%, 10% 60%); }
.art-street { background: repeating-linear-gradient(90deg, #6e3b26 0 14%, #8a5034 14% 28%, #5b2f1e 28% 42%), #6e3b26; }
.art-street::after { content: ""; position: absolute; inset: 55% 0 0 0; background: #2a211d; }
.art-field { background: linear-gradient(180deg, #f3c76a 0%, #e89a3c 40%, #4b5e2f 41%, #2d3b1c 100%); }
.art-lights { background: radial-gradient(circle at 20% 40%, #FFDF52 0 3%, transparent 4%), radial-gradient(circle at 45% 30%, #FF9D00 0 2.5%, transparent 3.5%), radial-gradient(circle at 70% 45%, #FFDF52 0 3%, transparent 4%), radial-gradient(circle at 85% 25%, #fff 0 2%, transparent 3%), linear-gradient(180deg, #1b1430, #100704); }
.art-school { background: linear-gradient(180deg, #a9c6d9 0 50%, #b74a2f 50% 80%, #6a6a6a 80%); }
.art-school::after { content: ""; position: absolute; left: 30%; top: 32%; width: 40%; height: 48%; background: repeating-linear-gradient(90deg, #f2efe6 0 10%, #b74a2f 10% 20%); }

.video-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #2a1d14, #100704); display: grid; place-items: center; }
.video-thumb .play { width: 68px; height: 48px; border-radius: 12px; background: #e0261b; display: grid; place-items: center; }
.video-thumb .play::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.video-thumb .label { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #fff; opacity: .7; }

/* Audio player */
.audio { background: var(--ink); color: var(--honey); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.audio .pp { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--honey); cursor: pointer; display: grid; place-items: center; }
.audio .pp::after { content: ""; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.audio.playing .pp::after { border: 0; width: 14px; height: 16px; margin: 0; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.wave { flex: 1; display: flex; gap: 2px; align-items: center; height: 40px; }
.wave span { flex: 1; background: rgba(255,223,82,.3); border-radius: 1px; }
.wave span.on { background: var(--honey); }
.audio .time { font: 500 12px/1 var(--head); min-width: 76px; text-align: right; }
.card .audio { padding: 12px 14px; }
.card .audio .pp { width: 36px; height: 36px; }
.card .wave { height: 28px; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); }
.article .lede { font-size: 20px; color: #3b332e; }
.article .byline { display: flex; gap: 12px; align-items: center; margin: 18px 0 26px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--honey); color: var(--ink); display: grid; place-items: center; font: 600 15px/1 var(--head); flex: 0 0 auto; }
.avatar.sm { width: 32px; height: 32px; font-size: 12px; }
.article .media { margin: 0 0 28px; border-radius: 4px; overflow: hidden; }
.prose p { margin: 0 0 1.1em; }
.badge { display: inline-block; font: 500 11px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 2px; background: var(--honey); color: var(--ink); }
.badge.grey { background: var(--mist); color: #555; }
.badge.warn { background: #ffe9cc; color: var(--warn); }
.badge.ok { background: #dff0e3; color: var(--ok); }

/* Comments */
.comments { max-width: 720px; margin: 40px auto 0; }
.comments h2 { font-size: 24px; }
.comment { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.comment .who { font-size: 14px; }
.comment .who b { font-weight: 600; }
.comment .who span { color: var(--grey); }
.comment p { margin: 4px 0 6px; }
.comment.held { opacity: .7; }
.compose { background: var(--mist); border-radius: 4px; padding: 18px; margin: 10px 0 20px; }
.compose textarea { width: 100%; min-height: 88px; border: 1px solid #cfc9bc; border-radius: 3px; padding: 10px 12px; resize: vertical; background: #fff; }
.compose .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gate { background: var(--ink); color: var(--honey); border-radius: 4px; padding: 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 10px 0 20px; }
.gate p { margin: 4px 0 0; color: #fff; opacity: .85; font-size: 15px; }
.notice { border-left: 4px solid var(--orange); background: #fff7e6; color: var(--ink); padding: 12px 14px; border-radius: 0 3px 3px 0; font-size: 15px; margin: 12px 0; }
.notice.ok { border-color: var(--ok); background: #eef7f0; }
.notice.bad { border-color: #c0392b; background: #fdeceb; }

/* Forms */
.panel { max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 32px; }
.panel.wide { max-width: 720px; }
.field { margin: 0 0 18px; }
.field label { display: block; font: 500 14px/1.3 var(--head); margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--grey); margin-top: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field textarea, .field select { width: 100%; border: 1px solid #cfc9bc; border-radius: 3px; padding: 10px 12px; background: #fff; }
.zip-row { display: flex; gap: 10px; align-items: center; }
.zip-row input { max-width: 130px; }
.zip-town { font: 500 15px/1.2 var(--head); }
.zip-town.ok { color: var(--ok); }
.zip-town.bad { color: #c0392b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); }
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span { flex: 1; height: 4px; background: var(--line); border-radius: 2px; }
.steps span.on { background: var(--orange); }
.privacy-note { font-size: 13px; color: var(--grey); background: var(--mist); padding: 10px 12px; border-radius: 3px; }
.checks { display: flex; gap: 18px; flex-wrap: wrap; }

/* Standards */
.rules { counter-reset: r; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.rules li::before { content: counter(r); width: 44px; height: 44px; border-radius: 50%; background: var(--honey); color: var(--ink); display: grid; place-items: center; font: 500 18px/1 var(--head); }
.rules b { font-family: var(--head); font-weight: 500; font-size: 18px; display: block; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 500 13px/1.2 var(--head); letter-spacing: .04em; color: var(--grey); text-transform: uppercase; }

/* Admin */
.admin-grid { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.tabs { display: flex; flex-direction: column; gap: 4px; }
.tab { text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 3px; cursor: pointer; display: flex; justify-content: space-between; font: 500 15px/1.2 var(--head); color: var(--ink); }
.tab.on { background: var(--ink); color: var(--honey); }
.tab .count { background: var(--orange); color: var(--ink); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.tab .count.zero { background: var(--line); color: var(--grey); }
.q-item { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 18px; margin-bottom: 14px; }
.q-item .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: start; }
.q-item blockquote { margin: 10px 0; padding: 10px 14px; background: var(--mist); border-radius: 3px; font-size: 15px; }
.q-item .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.q-empty { color: var(--grey); padding: 30px; text-align: center; border: 1px dashed var(--line); border-radius: 4px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; font-size: 14px; margin: 8px 0; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; }

/* Footer, like wrfr.org's black strip */
.site-footer { background: var(--ink); color: var(--honey); border-top: 3px solid var(--honey); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.site-footer a { color: var(--honey); }
.site-footer .muted { color: #fff; opacity: .65; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--honey); border: 1px solid var(--honey); padding: 12px 18px; border-radius: 3px; font: 500 14px/1.3 var(--head); opacity: 0; transition: .2s; pointer-events: none; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.report-menu { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }

@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: flex-start; padding: 16px 24px; gap: 14px; border-bottom: 3px solid var(--honey); z-index: 10; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 56px; }
  .brand .words b { font-size: 20px; }
  .feature { grid-template-columns: 1fr; }
  .feature .body { padding: 18px; }
  .admin-grid { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; }
  .tab { white-space: nowrap; gap: 8px; }
  .panel { padding: 22px 18px; }
  .feed { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .pad { padding: 36px 0; }
}
