/* IRONHOLD — dark forge theme. Shared brand family with KEYHOLD.
   Blacks and dark greys, ember accents. No frameworks, no webfonts. */

:root {
  --bg: #141417;
  --bg-deep: #1b1b20;
  --ink: #d6d6da;
  --ink-soft: #9a9aa2;
  --ink-faint: #6e6e76;
  --ember: #d08a4e;         /* forge ember */
  --line: #26262c;
  --card: #1b1b20;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  line-height: 1.25;
  color: #f2f2f4;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.5rem; margin: 2.2rem 0 0.75rem; border-bottom: 2px solid #3a3a42; padding-bottom: 0.3rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }

a { color: #e8e8ec; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }

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

.container { max-width: 1024px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- header ---------- */
.site-header {
  background: #101013;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand {
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.08em;
}
.brand small {
  display: block; font-weight: 400; font-size: 0.72rem;
  color: var(--ink-soft); letter-spacing: 0.22em; margin-top: 0.25rem;
}
.brand-logo { height: 40px; width: 40px; border-radius: 8px; vertical-align: middle; margin-right: 0.6rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding: 2.2rem 0 1.8rem;
}
.hero p.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
.updated {
  display: inline-block; margin-top: 0.8rem; font-size: 0.85rem;
  background: #1e1e24; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.9rem; color: var(--ink-soft);
}
.updated strong { color: #fff; }

/* ---------- honesty box ---------- */
.notice {
  background: #211c11;
  border: 1px solid #8a6d2f;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  margin: 1.4rem 0;
  color: var(--ink);
}
.notice strong { color: #f2f2f4; }

/* ---------- comparison table ---------- */
.table-wrap {
  overflow-x: auto; margin: 1.2rem 0 2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
}
table.compare {
  border-collapse: collapse; width: 100%; min-width: 640px;
  font-size: 0.93rem; background: var(--card); margin: 0;
}
table.compare caption {
  text-align: left; font-weight: 700; padding: 0.8rem 1rem;
  background: var(--bg-deep); color: #f2f2f4;
}
table.compare th, table.compare td {
  text-align: left; padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
table.compare thead th { background: #1e1e24; color: #fff; white-space: nowrap; }
table.compare tbody tr:nth-child(even) td { background: #131316; }
table.compare tbody tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; background: #2c2c34; color: #e8e8ec;
  border: 1px solid #3a3a44;
  font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.55rem;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.4px;
  white-space: nowrap;
}

/* ---------- pick cards ---------- */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin: 1.6rem 0 0.4rem; }
.pick-grid .pick { margin: 0; }
@media (max-width: 800px) { .pick-grid { grid-template-columns: 1fr; } }

.pick {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.4rem 0;
  position: relative;
}
.pick > .badge {
  position: absolute; top: -0.85rem; left: 1.2rem;
}
.pick h3 { margin: 0.6rem 0 0.5rem; font-size: 1.35rem; }
.pick .verdict { margin: 0.4rem 0 0.8rem; color: var(--ink); }
.pick p { margin: 0.6rem 0; }

.tagline {
  font-style: italic; font-size: 1.05rem; color: var(--ember);
  margin: 0.5rem 0 0.8rem; line-height: 1.45;
}

.pick-img {
  display: block;
  width: 100%;
  max-width: 340px;
  max-height: 260px;
  object-fit: contain;
  background: #0a0a0c;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1rem 0;
  padding: 0.75rem;
}

.spec-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.4rem 0.9rem; list-style: none; margin: 0.6rem 0; padding: 0;
  font-size: 0.92rem;
}
.spec-list li { background: #1c1c21; border-radius: 6px; padding: 0.35rem 0.6rem; }
.spec-list strong { color: var(--ink-faint); font-weight: 600; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.6rem 0 0; }
.pros-cons h4 { margin: 0.2rem 0 0.3rem; font-size: 0.95rem; color: #f2f2f4; }
.pros-cons ul { margin: 0.2rem 0; padding-left: 1.2rem; font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }

.hist-link { font-size: 0.85rem; margin: 0.9rem 0 0; color: var(--ink-faint); }
.hist-link a { color: var(--ink-faint); }
.hist-link a:hover { color: var(--ember); }

/* ---------- blog ---------- */
.post-list { list-style: none; margin: 1.2rem 0; padding: 0; }
.post-list li {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem;
}
.post-list h2, .post-list h3 { margin: 0 0 0.3rem; font-size: 1.25rem; border: none; padding: 0; }
.post-list time { font-size: 0.85rem; color: var(--ink-soft); }
.post-list p { margin: 0.4rem 0 0; color: var(--ink-soft); }

article.post h1 { font-size: 1.8rem; line-height: 1.3; margin: 1.6rem 0 0.3rem; }
article.post .byline { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
article.post h2 { margin-top: 1.8rem; font-size: 1.35rem; }
article.post h3 { margin-top: 1.4rem; font-size: 1.12rem; }
article.post figure { margin: 1.2rem 0; }
article.post ul { padding-left: 1.3rem; }
article.post li { margin-bottom: 0.45rem; }
.read-more { font-weight: 600; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 3rem;
  background: #101013;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.site-footer .container { padding-top: 1.6rem; padding-bottom: 2.2rem; }
.site-footer nav ul {
  list-style: none; margin: 0 0 0.8rem; padding: 0;
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.site-footer a { color: #e8e8ec; }
.site-footer p { margin: 0.4rem 0; }

/* ---------- accessibility ---------- */
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; background: #fff; color: #000;
  padding: 0.5rem 1rem; z-index: 99; border: 2px solid var(--ember);
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .pick { padding: 1.1rem; }
}

/* ---------- fresh updates box ---------- */
.fresh-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin: 1.6rem 0;
}
.fresh-box h2 {
  margin: 0 0 0.5rem; font-size: 1.02rem; letter-spacing: 0.05em;
  text-transform: uppercase; border: none; padding: 0;
}
.fresh-box ul { margin: 0; padding: 0; list-style: none; }
.fresh-box li { margin: 0.35rem 0; font-size: 0.93rem; color: var(--ink-soft); }
.fresh-box time { color: var(--ember); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

/* Stamped seals on shortlist + detail cards (shared language with KEYHOLD) */
.dwarf-approved {
  position: absolute; top: -22px; right: 12px; width: 104px; height: 104px;
  background: #1b1b20; border: 2px solid var(--ember); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(8deg); box-shadow: 0 4px 18px rgba(0,0,0,0.6); z-index: 2;
}
.dwarf-approved img { width: 52px; height: 52px; border-radius: 50%; }
.dwarf-approved span { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  color: #d6d6da; text-align: center; line-height: 1.25; margin-top: 2px; }
.budget-pick { transform: rotate(5deg); border-color: #b08050; box-shadow: 0 4px 18px rgba(176,128,80,0.22); }
.pick-recommended { border-color: #4a4a55; }
.pick .price { color: var(--ink-soft); font-weight: 400; font-size: 1rem; }
.pick .more { margin-top: 0.6rem; font-size: 0.95rem; }
