/* Bare Metal Crossover — warm editorial theme. */

:root {
  --bm-bg: #1a1410;
  --bm-panel: #231a14;
  --bm-panel-2: #2b1f16;
  --bm-border: #3a2a1d;
  --bm-text: #f5ede0;
  --bm-muted: #a89580;
  --bm-amber: #d97706;
  --bm-amber-soft: #f59e0b;
  --bm-amber-bg: #2a1d10;
  --bm-code-bg: #14100c;
  --bm-rule: #4a3526;
  --bm-max: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bm-bg);
  color: var(--bm-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--bm-amber-soft); text-decoration: underline; text-decoration-color: rgba(245, 158, 11, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--bm-amber-soft); }

.bm-wrap { max-width: var(--bm-max); margin: 0 auto; padding: 0 24px; }

/* Non-sticky bar — different from main site header */
.bm-bar {
  border-bottom: 1px solid var(--bm-border);
  padding: 14px 0;
  margin-bottom: 40px;
}
.bm-bar .bm-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.bm-bar .brand {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--bm-muted);
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.bm-bar .brand:hover { color: var(--bm-text); text-decoration: none; }
.bm-bar nav { font-size: 14px; }
.bm-bar nav a { color: var(--bm-muted); margin-left: 22px; text-decoration: none; }
.bm-bar nav a:hover { color: var(--bm-amber-soft); text-decoration: none; }

/* Hero */
.bm-eyebrow {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--bm-amber);
  font-size: 14px;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
h1.bm-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.bm-deck {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--bm-muted);
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.bm-byline {
  color: var(--bm-muted);
  font-size: 13.5px;
  margin: 18px 0 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bm-rule);
  letter-spacing: 0.3px;
}

/* Drop cap on first paragraph */
.bm-lead::first-letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  font-weight: 700;
  line-height: 0.85;
  float: left;
  margin: 6px 10px 0 0;
  color: var(--bm-amber);
}
.bm-lead { font-size: 18px; }

/* Section heads — serif, with rule */
h2.bm-h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.25;
  margin: 56px 0 18px;
  letter-spacing: -0.2px;
}
h2.bm-h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  background: var(--bm-amber);
  margin-bottom: 16px;
}

h3.bm-h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 19px;
  margin: 28px 0 8px;
}

/* Numbered signs list */
.bm-signs { list-style: none; padding: 0; margin: 24px 0; }
.bm-signs li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--bm-rule);
}
.bm-signs li:last-child { border-bottom: 0; }
.bm-signs .num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--bm-amber);
  line-height: 1;
}
.bm-signs h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 18px; }
.bm-signs p { margin: 0; color: var(--bm-muted); font-size: 15.5px; }

/* Table — magazine compare */
.bm-table-wrap { overflow-x: auto; margin: 22px 0; }
table.bm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--bm-panel);
  border: 1px solid var(--bm-border);
}
table.bm-table th, table.bm-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--bm-border);
  vertical-align: top;
}
table.bm-table th {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  background: var(--bm-panel-2);
  color: var(--bm-amber-soft);
  font-size: 13.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
table.bm-table td:first-child {
  font-weight: 600;
  color: var(--bm-text);
  width: 38%;
}
table.bm-table tr:last-child td { border-bottom: 0; }

/* Decision tree boxes */
.bm-flow { margin: 28px 0; }
.bm-q {
  background: var(--bm-amber-bg);
  border: 1px solid var(--bm-amber);
  border-radius: 4px;
  padding: 16px 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--bm-text);
  margin: 18px 0 0;
}
.bm-a {
  border-left: 3px solid var(--bm-amber);
  margin: 0 0 0 14px;
  padding: 8px 0 8px 18px;
  color: var(--bm-muted);
  font-size: 15.5px;
}
.bm-a strong { color: var(--bm-text); font-family: Georgia, serif; font-style: normal; }

/* Pull quote */
.bm-pull {
  border: 0;
  border-top: 1px solid var(--bm-rule);
  border-bottom: 1px solid var(--bm-rule);
  padding: 24px 0;
  margin: 36px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--bm-amber-soft);
  text-align: center;
}

/* Tags */
.bm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.bm-tag {
  display: inline-block;
  border: 1px solid var(--bm-border);
  background: var(--bm-panel);
  color: var(--bm-muted);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.3px;
}

/* Footer */
.bm-foot {
  border-top: 1px solid var(--bm-rule);
  margin-top: 60px;
  padding: 24px 0 40px;
  color: var(--bm-muted);
  font-size: 13.5px;
  font-family: Georgia, serif;
  font-style: italic;
}
.bm-foot a { color: var(--bm-muted); }
.bm-foot a:hover { color: var(--bm-amber-soft); }

@media (max-width: 600px) {
  h1.bm-title { font-size: 32px; }
  .bm-lead::first-letter { font-size: 54px; }
  .bm-pull { font-size: 18px; }
  table.bm-table { font-size: 13.5px; }
  .bm-signs li { grid-template-columns: 42px 1fr; gap: 12px; }
  .bm-signs .num { font-size: 30px; }
}
