/* Rachel Reviews — "The Receipt": every page is one itemized slip of paper
   on a dark counter. Monospace throughout, on purpose — this is the one
   wild swing, so nothing else here competes with it. */

@import url("../fonts/fonts.css");

:root {
  --counter: #211f1a;
  --paper: #fbf8f0;
  --paper-line: rgba(42, 42, 38, 0.16);
  --ink: #2a2a26;
  --ink-soft: #6f6a5e;
  --stamp: #a5342a;
  --stamp-soft: #8a7f6a;
  --font: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--counter);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: 1.15rem; line-height: 1.4; }
h2 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }

/* ---------- utility nav (sits on the counter, not the paper) ---------- */
.utility-nav {
  width: 100%;
  max-width: var(--max);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px 14px;
  color: #d8d2c2;
  font-size: 12px;
}
.utility-nav a { color: #d8d2c2; text-decoration: none; }
.utility-nav a:hover { color: #fff; }
.utility-nav .links { display: flex; gap: 16px; }
.utility-nav .wordmark { font-weight: 700; letter-spacing: 0.02em; }

.cat-index {
  width: 100%;
  max-width: var(--max);
  color: #a49c86;
  font-size: 11px;
  padding: 0 4px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.cat-index a { color: #a49c86; text-decoration: none; }
.cat-index a:hover { color: #fff; }

/* ---------- the paper ---------- */
.paper {
  width: 100%;
  max-width: var(--max);
  background: var(--paper);
  padding: 30px 26px 26px;
  margin-bottom: 60px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.paper::before, .paper::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background:
    linear-gradient(-45deg, var(--paper) 6px, transparent 0) 0 6px,
    linear-gradient(45deg, var(--paper) 6px, transparent 0) 0 6px;
  background-size: 12px 12px;
  filter: drop-shadow(0 0 0 var(--counter));
}
.paper::before { top: -6px; }
.paper::after { bottom: -6px; transform: rotate(180deg); }

.center { text-align: center; }

.store {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.store-sub {
  text-align: center;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.photo-row { display: flex; justify-content: center; margin: 18px 0; }
.photo-row img {
  width: 68px; height: 68px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
}
.photo-row.wide img {
  width: 100%; height: auto; border-radius: 0; aspect-ratio: 4/5; object-fit: cover;
}

.lead { font-size: 13px; text-align: center; color: var(--ink); margin: 0 0 4px; }
.lead a { font-weight: 700; }

hr.dash { border: none; border-top: 1px dashed var(--paper-line); margin: 18px 0; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- itemized line rows (categories, reviews, meta) ---------- */
.item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  padding: 7px 0;
}
.item img {
  width: 30px; height: 30px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--paper-line);
}
.item .name { font-size: 12.5px; white-space: nowrap; }
.item .dots { flex: 1; border-bottom: 1px dotted var(--paper-line); margin: 0 6px; height: 1px; transform: translateY(-3px); }
.item .count { font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item:hover .name { text-decoration: underline; }

.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  padding: 5px 0;
  font-variant-numeric: tabular-nums;
}
.meta-line .k { color: var(--ink-soft); flex-shrink: 0; }
.meta-line .v { font-weight: 700; text-align: left; }

/* ---------- verdict stamp ---------- */
.stamp-block { text-align: center; margin: 22px 0; }
.stamp {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border: 2px solid var(--stamp);
  color: var(--stamp);
  transform: rotate(-3deg);
}
.stamp.tier-high { background: var(--stamp); color: var(--paper); }
.stamp.tier-low { border-color: var(--stamp-soft); color: var(--stamp-soft); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px dashed var(--paper-line); padding: 12px 0; }
.faq summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  list-style: none;
  display: flex;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--stamp); flex-shrink: 0; }
.faq p { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 0 22px; }
.faq p .a { color: var(--stamp); margin-right: 6px; }

/* ---------- pros/cons ---------- */
.pros-cons { margin: 20px 0; }
.pros-cons .group { margin-bottom: 16px; }
.pros-cons h4 { font-size: 11px; letter-spacing: 0.06em; margin: 0 0 8px; }
.pros-cons ul { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.pros-cons li { padding: 4px 0 4px 18px; position: relative; }
.pros-cons .pro li::before { content: "+"; position: absolute; left: 0; font-weight: 700; }
.pros-cons .con li::before { content: "\2212"; position: absolute; left: 0; font-weight: 700; color: var(--stamp); }

.verdict { font-size: 13px; }
.verdict p { max-width: none; }

.methodology-box {
  border: 1px dashed var(--paper-line);
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 12px;
  color: var(--ink-soft);
}
.methodology-box .section-label { color: var(--ink); }

.disclosure {
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.6;
}
.disclosure strong { color: var(--ink); }

.barcode {
  height: 34px;
  margin: 22px auto 14px;
  width: 70%;
  background: repeating-linear-gradient(90deg,
    var(--ink) 0 2px, transparent 2px 4px,
    var(--ink) 4px 6px, transparent 6px 9px,
    var(--ink) 9px 10px, transparent 10px 14px);
}

.back-link { display: block; margin-top: 20px; font-size: 12px; font-weight: 700; }

.breadcrumb { font-size: 10.5px; color: var(--ink-soft); margin: 0 0 14px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

@media (max-width: 480px) {
  .paper { padding: 24px 18px 20px; }
}
