/*
Theme Name: Brocessor
Theme URI: https://brocessor.com/
Author: Brocessor
Description: A lightweight editorial WordPress theme for budget tech reviews, software tutorials, and student-friendly gear guides.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: brocessor
*/

:root {
  --paper: #f4efe4;
  --paper-2: #ebe4d6;
  --ink: #101a2d;
  --ink-2: #18243b;
  --red: #f05a3c;
  --lime: #c8f34a;
  --white: #fffdf7;
  --muted: #667085;
  --line: rgba(16,26,45,.18);
  --shadow: 8px 8px 0 var(--ink);
  --radius: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  background: var(--ink);
  color: var(--white);
  border-bottom: 5px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding { text-decoration: none; }
.site-title {
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.035em;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
}
.site-description { display: none; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font: 700 .78rem/1 JetBrains Mono, ui-monospace, monospace;
  letter-spacing: .04em;
}
.main-nav a:hover { color: var(--lime); }

.menu-toggle {
  display: none;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 10px 12px;
  font: 700 .75rem JetBrains Mono, monospace;
}

.hero {
  background: var(--paper);
  padding: 90px 0 75px;
  border-bottom: 2px solid var(--ink);
}
.eyebrow {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  padding: 7px 11px;
  font: 800 .72rem/1 JetBrains Mono, monospace;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero h1 {
  max-width: 980px;
  margin: 24px 0 18px;
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: .86;
  letter-spacing: -.045em;
}
.hero p {
  max-width: 700px;
  font-size: 1.15rem;
  margin: 0;
}

.section { padding: 72px 0; }
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.section-title {
  margin: 0;
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: .9;
}
.mono {
  font-family: JetBrains Mono, ui-monospace, monospace;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
}

.featured {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  min-height: 520px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.featured-image {
  min-height: 360px;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-art {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: repeating-linear-gradient(135deg, var(--red) 0 22px, var(--lime) 22px 44px);
  display: grid;
  place-items: center;
}
.placeholder-art span {
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  font: 800 1rem JetBrains Mono, monospace;
  transform: rotate(-4deg);
}
.featured-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.category { color: var(--red); font: 800 .72rem JetBrains Mono, monospace; text-transform: uppercase; }
.featured h2 {
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.03em;
  margin: 14px 0 18px;
}
.featured .excerpt { color: #dbe0ea; }

.scorecard {
  margin-top: 28px;
  border-top: 2px solid rgba(255,255,255,.3);
  padding-top: 20px;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.score-number {
  font: 900 3.2rem/1 JetBrains Mono, monospace;
  color: var(--lime);
}
.score-label {
  font: 800 .75rem JetBrains Mono, monospace;
  text-transform: uppercase;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.card-image { aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
  height: 100%;
  background: var(--red);
  position: relative;
}
.card-placeholder:after {
  content: "BROCESSOR";
  position: absolute;
  inset: auto 14px 12px auto;
  background: var(--lime);
  color: var(--ink);
  padding: 6px 8px;
  font: 800 .65rem JetBrains Mono, monospace;
}
.card-body { padding: 22px; }
.card-body h3 {
  margin: 8px 0 10px;
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: .95;
}
.card-body h3 a { text-decoration: none; }
.card-meta { color: var(--muted); font: 700 .7rem JetBrains Mono, monospace; text-transform: uppercase; }

.verdict {
  background: var(--red);
  color: var(--ink);
  padding: 65px 0;
  border-block: 3px solid var(--ink);
}
.verdict-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  align-items: center;
}
.verdict h2 {
  margin: 0;
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .85;
}
.benchmark {
  display: grid;
  gap: 13px;
}
.benchmark-row {
  display: grid;
  grid-template-columns: 130px 1fr 45px;
  align-items: center;
  gap: 12px;
  font: 800 .72rem JetBrains Mono, monospace;
  text-transform: uppercase;
}
.bar { height: 14px; border: 2px solid var(--ink); background: var(--paper); }
.bar span { display: block; height: 100%; background: var(--ink); }

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 55px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.site-footer h2 {
  margin: 0 0 12px;
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: .9;
}
.site-footer p { color: #cbd2de; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: var(--white); text-decoration: none; font: 700 .8rem JetBrains Mono, monospace; }

.single-wrap { padding: 70px 0; }
.single-header { max-width: 900px; margin-bottom: 42px; }
.single-header h1 {
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: .87;
  letter-spacing: -.04em;
  margin: 15px 0 20px;
}
.single-meta { font: 700 .72rem JetBrains Mono, monospace; text-transform: uppercase; color: var(--muted); }
.single-featured { margin: 0 0 42px; }
.single-content { max-width: 800px; font-size: 1.08rem; }
.single-content h2, .single-content h3 {
  font-family: Impact, Anton, "Arial Black", sans-serif;
  text-transform: uppercase;
  line-height: .95;
}
.single-content h2 { font-size: 2.8rem; margin-top: 2.2em; }
.single-content h3 { font-size: 2rem; margin-top: 1.8em; }
.single-content blockquote {
  margin: 35px 0;
  padding: 25px;
  border-left: 8px solid var(--red);
  background: var(--paper-2);
  font-weight: 700;
}

@media (max-width: 800px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--ink); padding: 20px; border-bottom: 3px solid var(--red); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .hero { padding: 65px 0 55px; }
  .featured, .verdict-inner, .footer-grid { grid-template-columns: 1fr; }
  .featured-copy { padding: 30px; }
  .posts-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
