/* ==========================================================================
   brooskolin — black / white / greyscale design system
   ========================================================================== */

:root {
  --black: #0a0a0a;
  --near-black: #141414;
  --ink: #1c1c1c;
  --grey-900: #262626;
  --grey-700: #4d4d4d;
  --grey-500: #7a7a7a;
  --grey-300: #b3b3b3;
  --grey-150: #e2e2e2;
  --grey-100: #efefef;
  --white: #ffffff;

  --bg: var(--white);
  --fg: var(--ink);
  --muted: var(--grey-700);
  --border: var(--grey-150);
  --accent: var(--black);

  --font-display: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --font-code: ui-monospace, Menlo, Consolas, monospace;

  --container: 1120px;
  --container-narrow: 720px;
  --radius: 2px;
  --speed: 180ms;
}

/* -------------------------------------------------------------------- */
/* Reset                                                                 */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
::selection { background: var(--black); color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------- */
/* Site header / nav                                                    */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--black);
  transition: right var(--speed) ease;
}
.nav a:hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--black); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--black);
  transition: transform var(--speed);
}
.nav-toggle span { top: 11px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

@media (max-width: 720px) {
  .nav { position: fixed; inset: 61px 0 0 0; background: var(--white); flex-direction: column;
    justify-content: flex-start; align-items: flex-start; gap: 0; padding: 8px 24px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all var(--speed);
    border-top: 1px solid var(--border);
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
}

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em;
  padding: 14px 26px; border: 2px solid var(--black);
  background: var(--black); color: var(--white);
  cursor: pointer; transition: background var(--speed), color var(--speed), transform var(--speed);
}
.btn:hover { background: var(--white); color: var(--black); }
.btn:active { transform: scale(0.98); }
.btn--outline { background: transparent; color: var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn--ghost { border-color: transparent; padding-left: 0; padding-right: 0; }
.btn--ghost:hover { background: none; color: var(--grey-700); }
.btn--sm { padding: 9px 16px; font-size: 11px; }
.btn--danger { border-color: var(--black); background: var(--white); color: var(--black); }
.btn--danger:hover { background: var(--black); color: var(--white); }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 110px 24px 130px;
}
.hero__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--grey-700); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero p.lede {
  font-size: 19px; color: var(--grey-700); max-width: 46ch; margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .hero__inner { padding: 70px 20px 80px; }
}

/* -------------------------------------------------------------------- */
/* Home page — full-bleed skull background                              */
/* -------------------------------------------------------------------- */
.home-skull-bg {
  position: fixed; inset: 0; z-index: -1;
  background-image: url("../img/skull-full.png");
  background-repeat: no-repeat;
  background-position: 78% 18%;
  background-size: 190% auto;
  opacity: 0.07;
  pointer-events: none;
}
@media (max-width: 720px) {
  .home-skull-bg {
    position: absolute; height: 100%;
    background-size: 340% auto;
    background-position: 85% 10%;
  }
}

/* -------------------------------------------------------------------- */
/* Sections                                                              */
/* -------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--border-top { border-top: 1px solid var(--border); }
.section--dark { background: var(--black); color: var(--white); position: relative; z-index: 1; }
.section--dark .muted { color: var(--grey-300); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 0; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--grey-500); margin-bottom: 14px;
}
.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.tile {
  background: var(--black); color: var(--white);
  border: 1px solid var(--black); padding: 32px;
}
.tile .num { font-family: var(--font-mono); font-size: 12px; color: var(--grey-500); margin-bottom: 18px; display: block; }
.tile h3 { font-size: 18px; margin-bottom: 10px; color: var(--white); }
.tile p { color: var(--grey-300); font-size: 15px; margin-bottom: 0; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--grey-300); padding: 64px 0 32px; }
.site-footer a:hover { color: var(--white); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.footer__brand { font-family: var(--font-display); color: var(--white); font-size: 20px; letter-spacing: 0.02em; }
.footer__tag { color: var(--grey-500); font-size: 14px; margin-top: 10px; max-width: 32ch; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.15em; color: var(--grey-500); margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; font-size: 14px; margin-bottom: 10px; color: var(--grey-300); }
.footer__bottom { border-top: 1px solid var(--grey-900); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--grey-500); }

/* -------------------------------------------------------------------- */
/* Podcast page                                                         */
/* -------------------------------------------------------------------- */
.podcast-hero {
  background: var(--black); color: var(--white);
  padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden;
}
.podcast-hero img.lockup { width: 100%; display: block; margin-bottom: 40px; }
.podcast-hero p.lede {
  max-width: 52ch; margin: 0 auto; color: var(--grey-300); font-size: 18px;
  letter-spacing: 0.02em;
}

.podcast-embed {
  max-width: 720px; margin: 0 auto; border: 1px solid var(--border);
}
.podcast-embed iframe { width: 100%; border: none; display: block; background: var(--grey-100); }

.platform-badges {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  max-width: 720px; margin: 40px auto 0;
}
.platform-badges img { display: block; height: 40px; width: auto; }
.platform-badges a { display: flex; align-items: center; transition: opacity var(--speed); }
.platform-badges a:hover { opacity: 0.7; }

/* -------------------------------------------------------------------- */
/* Blog — public                                                        */
/* -------------------------------------------------------------------- */
.blog-list { display: flex; flex-direction: column; }
.post-card {
  padding: 40px 0; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 140px 1fr; gap: 32px;
}
.post-card:first-child { padding-top: 0; }
.post-card__date { font-family: var(--font-mono); font-size: 12px; color: var(--grey-500); padding-top: 6px; }
.post-card h2 { font-size: 26px; text-transform: none; margin-bottom: 10px; letter-spacing: -0.01em; }
.post-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-card p { color: var(--grey-700); margin-bottom: 14px; }
.post-card .read-more { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; border-bottom: 2px solid var(--black); padding-bottom: 2px; }
@media (max-width: 620px) { .post-card { grid-template-columns: 1fr; gap: 8px; } }

.pagination { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.pagination a, .pagination span { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.pagination a:hover { text-decoration: underline; }
.pagination .disabled { color: var(--grey-300); }

.post-header { padding: 72px 0 40px; border-bottom: 1px solid var(--border); }
.post-header .kicker { margin-bottom: 20px; }
.post-header h1 { font-size: clamp(32px, 5vw, 52px); text-transform: none; letter-spacing: -0.01em; max-width: 20ch; }
.post-header__meta { display: flex; gap: 16px; color: var(--grey-500); font-size: 13px; font-family: var(--font-mono); margin-top: 20px; }

.prose { font-size: 18px; line-height: 1.75; max-width: var(--container-narrow); }
.prose h2 { font-size: 28px; text-transform: none; margin-top: 1.6em; letter-spacing: -0.01em; }
.prose h3 { font-size: 21px; text-transform: none; margin-top: 1.4em; }
.prose p { margin-bottom: 1.4em; }
.prose img { margin: 2em 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--grey-700); }
.prose blockquote {
  margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--black);
  font-family: var(--font-display); font-size: 22px; text-transform: none; line-height: 1.4;
}
.prose code { font-family: var(--font-code); background: var(--grey-100); padding: 2px 6px; font-size: 0.85em; }
.prose pre { background: var(--near-black); color: var(--white); padding: 20px; overflow-x: auto; margin: 1.6em 0; font-family: var(--font-code); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose ul, .prose ol { margin-bottom: 1.4em; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 3em 0; }

.post-footer { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }

.empty-state { padding: 80px 0; text-align: center; color: var(--grey-500); }

/* -------------------------------------------------------------------- */
/* Admin                                                                 */
/* -------------------------------------------------------------------- */
.admin-body { background: var(--grey-100); min-height: 100vh; }
.admin-bar {
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; font-size: 13px;
}
.admin-bar a { color: var(--grey-300); font-weight: 600; letter-spacing: 0.04em; }
.admin-bar a:hover { color: var(--white); }
.admin-bar strong { color: var(--white); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; }
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 48px 24px 80px; }

.auth-card {
  max-width: 380px; margin: 12vh auto; background: var(--white);
  border: 1px solid var(--border); padding: 44px 36px;
}
.auth-card h1 { font-size: 20px; margin-bottom: 6px; }
.auth-card p.hint { color: var(--grey-500); font-size: 13px; margin-bottom: 28px; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--grey-700); }
.field input[type=text], .field input[type=password], .field input[type=date], .field input[type=email], .field textarea, .field select {
  width: 100%; border: 1px solid var(--grey-300); background: var(--white); color: var(--fg);
  padding: 12px 14px; font-family: var(--font-body); font-size: 15px; border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--black); }
.field .field-hint { font-size: 12px; color: var(--grey-500); margin-top: 6px; }
.field-row { display: flex; gap: 20px; }
.field-row .field { flex: 1; }
.checkbox-field { display: flex; align-items: center; gap: 10px; }
.checkbox-field input { width: 16px; height: 16px; }
.checkbox-field label { margin: 0; text-transform: none; font-size: 14px; font-weight: 600; }

.alert { padding: 14px 18px; font-size: 14px; margin-bottom: 24px; border: 1px solid var(--border); }
.alert--error { border-color: var(--black); background: var(--grey-100); }
.alert--success { border-color: var(--black); background: var(--white); }

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); }
.admin-table th, .admin-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-table th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); font-weight: 700; }
.admin-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--grey-300); }
.status-pill--live { border-color: var(--black); background: var(--black); color: var(--white); }
.row-actions { display: flex; gap: 14px; }
.row-actions a, .row-actions button { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: none; border: none; padding: 0; cursor: pointer; color: var(--grey-700); }
.row-actions a:hover, .row-actions button:hover { color: var(--black); text-decoration: underline; }

.editor-shell { background: var(--white); border: 1px solid var(--border); }
.editor-toolbar { display: flex; gap: 2px; padding: 10px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.editor-toolbar button {
  background: none; border: 1px solid transparent; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--grey-700); border-radius: var(--radius);
}
.editor-toolbar button:hover { background: var(--grey-100); color: var(--black); }
.editor-toolbar .sep { width: 1px; background: var(--border); margin: 4px 6px; }
.editor-toolbar .spacer { flex: 1; }
.editor-toolbar .tab-btn { width: auto; padding: 0 14px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.editor-toolbar .tab-btn.is-active { background: var(--black); color: var(--white); }

#content-editor {
  width: 100%; min-height: 440px; border: none; padding: 24px; font-family: var(--font-code);
  font-size: 14.5px; line-height: 1.7; resize: vertical;
}
#content-editor:focus { outline: none; }
#preview-pane { padding: 24px; min-height: 440px; display: none; }
#preview-pane.is-active { display: block; }
#content-editor.is-hidden { display: none; }

.upload-progress { font-size: 12px; color: var(--grey-500); padding: 6px 10px; }

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.form-actions .right { display: flex; gap: 12px; }

@media (max-width: 620px) {
  .admin-wrap { padding: 32px 16px 60px; }
  .field-row { flex-direction: column; gap: 0; }
}

/* -------------------------------------------------------------------- */
/* Coming soon / holding page                                           */
/* -------------------------------------------------------------------- */
.coming-soon {
  min-height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  text-align: center;
  background: var(--white);
}
.coming-soon__logo { width: 120px; height: auto; }
.coming-soon__email {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--grey-700);
}
.coming-soon__email:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.coming-soon__links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.coming-soon__link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey-500);
}
.coming-soon__link:hover { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------------- */
/* Mini menu bar (home + /dontfilterme)                                 */
/* -------------------------------------------------------------------- */
.mini-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mini-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 16px 24px;
}
.mini-brand {
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: 0.02em;
}
.mini-nav { display: flex; align-items: center; gap: 28px; }
.mini-nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  position: relative; padding: 4px 0; text-transform: lowercase;
}
.mini-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--black); transition: right var(--speed) ease;
}
.mini-nav a:hover::after, .mini-nav a.is-active::after { right: 0; }

.mini-nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}
.mini-nav-toggle span, .mini-nav-toggle span::before, .mini-nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--black);
}
.mini-nav-toggle span { top: 11px; }
.mini-nav-toggle span::before { top: -8px; }
.mini-nav-toggle span::after { top: 8px; }

@media (max-width: 620px) {
  .mini-nav {
    position: fixed; inset: 61px 0 0 0; background: var(--white);
    flex-direction: column; justify-content: flex-start; align-items: flex-start;
    gap: 0; padding: 8px 24px 24px; border-top: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all var(--speed);
  }
  .mini-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mini-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .mini-nav-toggle { display: block; }
}

/* -------------------------------------------------------------------- */
/* /dontfilterme podcast page                                           */
/* -------------------------------------------------------------------- */
.dfm-banner {
  width: 100%; display: block; height: auto;
  background: var(--black);
}
.dfm { padding: 64px 0 88px; }
.dfm .container { max-width: 860px; }
.dfm-block + .dfm-block { margin-top: 64px; }
.dfm-title {
  font-size: clamp(32px, 6vw, 56px); text-transform: lowercase;
  margin-bottom: 12px;
}
.dfm-lede {
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.02em;
  color: var(--grey-700); margin-bottom: 36px;
}
.dfm-subtitle {
  font-size: clamp(22px, 3.5vw, 30px); text-transform: lowercase;
  margin-bottom: 24px;
}
.dfm-embed { width: 100%; border: 1px solid var(--border); background: var(--grey-100); }
.dfm-embed iframe { width: 100%; height: 535px; border: 0; display: block; }

.dfm-links {
  display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center;
}
.dfm-links a { display: inline-flex; transition: opacity var(--speed); }
.dfm-links a:hover { opacity: 0.65; }
.dfm-links img { height: 48px; width: auto; display: block; }

@media (max-width: 480px) {
  .dfm-links img { height: 42px; }
}

.dfm-footer {
  background: var(--black); color: var(--grey-500);
  padding: 28px 0; font-size: 12px;
}
.dfm-footer .container {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.dfm-footer a:hover { color: var(--white); }
