/*
Theme Name: Reviewatron
Description: Test-bench identity for reviewatron.com. Graphite ink on bench off-white,
safety-orange needle, monospace for anything measured. Custom classic theme, no builder.
Version: 1.0
Author: reviewatron
Text Domain: reviewatron
*/

:root {
  --ink: #23262B;
  --paper: #F4F1EA;
  --needle: #E8590C;
  --tan: #C9BFAC;
  --pass: #2F9E44;
  --fail: #C92A2A;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

a { color: var(--needle); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; }

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header — instrument faceplate */
.site-head {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.site-head .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1rem;
}
.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
  text-transform: lowercase;
}
.site-title a { color: var(--ink); text-decoration: none; }
.site-title a:hover { color: var(--needle); }
.site-title .tld { color: var(--needle); }
.site-tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .65;
}
.site-nav { font-family: var(--mono); font-size: .8rem; text-transform: lowercase; }
.site-nav a { color: var(--ink); text-decoration: none; margin-left: 1.1rem; }
.site-nav a:hover { color: var(--needle); }

/* Calibration tick strip under section heads */
.ticks {
  height: 8px;
  margin: .35rem 0 1.4rem;
  background:
    repeating-linear-gradient(90deg,
      var(--tan) 0, var(--tan) 1px, transparent 1px, transparent 12px);
  background-size: 60px 8px;
  position: relative;
}
.ticks::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 60px;
  background:
    repeating-linear-gradient(90deg,
      var(--needle) 0, var(--needle) 2px, transparent 2px, transparent 12px);
}

/* Content */
.site-main { padding: 2.6rem 0 3.5rem; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 2rem; font-weight: 800; margin: 0 0 .3rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }

/* Provenance strip — tops every review */
.provenance {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-left: 6px solid var(--needle);
  padding: .5rem .8rem;
  margin: 0 0 1.6rem;
  background: #fff;
}

/* Bench report — measured facts, mono */
.bench-report {
  font-family: var(--mono);
  font-size: .85rem;
  border: 1px solid var(--tan);
  background: #fff;
  padding: 1rem 1.2rem;
  margin: 1.6rem 0;
}
.bench-report table { width: 100%; border-collapse: collapse; }
.bench-report td { padding: .3rem 0; border-bottom: 1px dashed var(--tan); vertical-align: top; }
.bench-report td:first-child { opacity: .6; padding-right: 1.2rem; white-space: nowrap; }
.bench-report tr:last-child td { border-bottom: 0; }

/* Pros / cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.6rem 0; }
@media (max-width: 560px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons ul { list-style: none; margin: 0; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--tan); }
.pros-cons li { padding-left: 1.4rem; position: relative; margin: .45rem 0; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--pass); font-weight: 700; }
.cons li::before { content: "✕"; position: absolute; left: 0; color: var(--fail); font-weight: 700; }

/* Verdict box — the meter lives here */
.verdict {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 1.4rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.verdict .score { font-family: var(--mono); font-size: 2rem; font-weight: 700; }
.verdict .score small { font-size: 1rem; opacity: .55; }
.verdict .stamp {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .18em;
  border: 3px solid var(--needle);
  color: var(--needle);
  padding: .25rem .8rem;
  transform: rotate(-4deg);
  text-transform: uppercase;
}
.verdict .stamp.pass { border-color: var(--pass); color: var(--pass); }
.verdict .stamp.fail { border-color: var(--fail); color: var(--fail); }
.verdict p { flex-basis: 100%; margin: .4rem 0 0; }

/* Post lists */
.review-card {
  border-top: 1px solid var(--tan);
  padding: 1.5rem 0;
}
.review-card h2 { margin: 0 0 .3rem; font-size: 1.25rem; }
.review-card h2 a { color: var(--ink); text-decoration: none; }
.review-card h2 a:hover { color: var(--needle); }
.review-card .meta { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }

/* Homepage hero */
.hero { padding: 3rem 0 2.2rem; }
.hero h1 { font-size: 2.4rem; max-width: 32rem; }
.hero .sub { font-size: 1.15rem; max-width: 34rem; }
.hero .mono-note { font-family: var(--mono); font-size: .8rem; color: var(--needle); margin-top: 1.2rem; }

/* Footer */
.site-foot {
  border-top: 2px solid var(--ink);
  padding: 1.6rem 0 2.2rem;
  font-family: var(--mono);
  font-size: .75rem;
}
.site-foot a { color: var(--ink); margin-right: 1.2rem; }
.site-foot .fine { opacity: .55; margin-top: .6rem; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: .85rem;
  text-transform: lowercase;
  background: var(--needle);
  color: #fff;
  padding: .6rem 1.1rem;
  text-decoration: none;
  border: 2px solid var(--needle);
}
.btn:hover { background: transparent; color: var(--needle); }
