/* RBE Ultimate — editorial minimal, fast */
:root{
  --bg:#0b0d12;
  --text:#f6f7fb;
  --muted:#a4a7b3;
  --line:#222531;
  --soft:#161826;
  --surface:#10131a;
  --accent:#d6c7a1;
  --max:1180px;
  --content:760px;
  --radius:18px;
  --shadow: 0 10px 26px rgba(0,0,0,.38);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto}

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

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:60;
  background:#000;
  border-bottom:1px solid #111;
}
.header__bar{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:14px 0;
}
.brand{
  font-weight:760;letter-spacing:.2px;
  display:flex;align-items:baseline;gap:10px;
}
.brand small{color:var(--muted);font-weight:600}
.nav{
  display:flex;gap:14px;flex-wrap:wrap;
  color:var(--muted);font-size:14px;
}
.nav a{padding:6px 0}
.nav a:hover{color:var(--text)}
.header__actions{display:flex;align-items:center;gap:10px}
.btn-ghost{
  border:1px solid var(--line);padding:8px 10px;border-radius:999px;
  font-size:14px;background:var(--surface);color:var(--text);
}

/* Hero with your B/W image */
.hero{
  padding:26px 0 10px;
}
.hero__wrap{
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  background:var(--surface, #10131a);
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: 1.05fr .95fr;
}
@media (max-width: 920px){
  .hero__wrap{grid-template-columns:1fr}
}
.hero__text{
  padding:28px 26px 26px;
}
.hero__text h1{
  margin:0;
  font-size:36px;
  line-height:1.15;
  letter-spacing:-.2px;
}
.hero__text p{
  margin:10px 0 0;
  color:var(--muted);
  max-width:70ch;
}
.hero__cta{
  margin-top:16px;display:flex;gap:10px;flex-wrap:wrap;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface, #10131a);font-weight:700;font-size:14px;
}
.btn--solid{
  background:var(--text);
  color:var(--bg);border-color:var(--text);
}
.hero__img{
  min-height:260px;
  background-color:#000;
  background-size:cover;
  background-position:center;
  filter: grayscale(100%) contrast(1.08) brightness(.78);
}
.hero__img img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter: grayscale(100%) contrast(1.08) brightness(.78);
  transform: scale(1.01);
}

/* Tiles */
.section-title{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:12px;margin:26px 0 12px;
}
.section-title h2{margin:0;font-size:18px;letter-spacing:.2px}
.section-title a{color:var(--muted);font-size:14px}
.section-title a:hover{color:var(--text)}

.tiles{
  display:grid;grid-template-columns:repeat(6,1fr);
  gap:14px;padding:0 0 18px;
}
@media (max-width:1000px){.tiles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:560px){.tiles{grid-template-columns:repeat(2,1fr)}}
.tile{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:var(--surface, #10131a);
  min-height:92px;
  display:flex;align-items:flex-end;justify-content:space-between;
  box-shadow: 0 1px 0 rgba(15,15,18,.03);
}
.tile span{font-weight:750}
.tile small{color:var(--muted);display:block;margin-top:6px}

/* Cards */
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:18px;padding:10px 0 40px;
}
@media (max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid{grid-template-columns:1fr}}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface, #10131a);
  display:flex;flex-direction:column;
  min-height:100%;
  box-shadow: var(--shadow);
}
.card__img{
  aspect-ratio:16/9;
  background:#000;
  position:relative;
}
.card__img img{width:100%;height:100%;object-fit:cover;display:block}
.card__body{padding:16px 16px 18px}
.meta{
  display:flex;gap:10px;align-items:center;
  color:var(--muted);font-size:13px;margin-bottom:8px;flex-wrap:wrap
}
.chip{
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  color:var(--muted);
  background:var(--surface, #10131a);
}
.card h3{margin:0 0 8px;font-size:18px;line-height:1.25}
.card p{margin:0 0 12px;color:var(--muted)}
.readmore{display:inline-block;margin-top:6px;font-weight:800;font-size:14px}

/* Single/Post */
.prose{padding:26px 0 40px}
.prose h1{font-size:34px;line-height:1.15;margin:0 0 10px}
.prose .submeta{color:var(--muted);font-size:14px;margin-bottom:18px}
.prose .wp-block-image, .prose img{border-radius:18px}
.prose p{margin:0 0 14px}
.prose h2{margin:26px 0 10px;line-height:1.25}
.prose h3{margin:18px 0 8px;line-height:1.25}
.prose blockquote{
  margin:18px 0;padding:14px 16px;
  border-left:3px solid var(--line);
  background: #fafafa;border-radius:12px;
}
.prose code{background:#f6f6f6;padding:2px 6px;border-radius:8px}
.prose pre{background:#0b0d12;color:#fff;padding:14px;border-radius:14px;overflow:auto}

/* Pagination */
.pager{display:flex;justify-content:space-between;gap:10px;margin:10px 0 40px}
.pager a{
  border:1px solid var(--line);padding:10px 12px;border-radius:12px;
  color:var(--muted);font-weight:700;background:var(--surface, #10131a);
}
.pager a:hover{color:var(--text)}

/* Footer */
.footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:14px}
.footer__wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* Light mode (optional) */
@media (prefers-color-scheme: light){
  :root{
    --bg:#ffffff;
    --text:#0b0d12;
    --muted:#6b7280;
    --line:#e5e7eb;
    --soft:#f3f4f6;
    --accent:#6b5b2e;
    --surface:#ffffff;
    --shadow: 0 6px 18px rgba(15, 15, 18, .06);
  }
  .header{
  position:sticky;
  top:0;
  z-index:60;
  background:#000;
  border-bottom:1px solid #111;
}
  .prose blockquote{background:#fafafa}
  .prose code{background:#f6f6f6}
  .btn--solid{color:#fff}
}



.header a,
.header .brand,
.header .nav a{
  color:#fff;
}

.header .nav a{
  font-weight:600;
  opacity:.85;
}

.header .nav a:hover{
  opacity:1;
}

.header__actions{
  display:none;
}

/* Ultra-minimal header */
.header__bar{
  min-height:54px;
}
.brand{
  font-size:15px;
  letter-spacing:.25em;
  font-weight:800;
}
