:root {
  --ember: #c4502b;
  --ember-dark: #9c3b1e;
  --charcoal: #241f1d;
  --charcoal-soft: #3a3230;
  --cream: #faf3ea;
  --cream-dark: #f0e4d4;
  --ink: #241f1d;
  --muted: #6b5f58;
  --border: #e4d7c6;
  --radius: 10px;
  --maxw: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

a { color: var(--ember-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* Header */
header.site-header {
  background: var(--charcoal);
  color: var(--cream);
  padding: 16px 0;
}
header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.brand span { color: var(--ember); }
nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.92rem;
}
nav.main-nav a { color: var(--cream-dark); }
nav.main-nav a:hover { color: var(--ember); text-decoration: none; }

/* Hero — full-bleed photo */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,0.15) 0%, rgba(16,12,10,0.55) 55%, rgba(12,9,8,0.92) 100%);
}
.hero .hero-row {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 64px 0 44px;
}
.hero .hero-copy { max-width: 680px; }
.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  max-width: 720px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero p.lead {
  color: var(--cream-dark);
  font-size: 1.08rem;
  max-width: 600px;
}
.hero .tag {
  display: inline-block;
  background: var(--ember);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.hero .photo-credit {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 10px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
}
.hero .photo-credit a { color: rgba(255,255,255,0.7); }

/* Page banner (sub-pages) — full-width photo with overlay */
.page-banner {
  position: relative;
  height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(36,31,29,0.18);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,14,0.1) 0%, rgba(14,11,10,0.86) 100%);
}
.page-banner .banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  width: 100%;
}
.page-banner .icon-badge {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.16);
}
.page-banner .icon-badge svg { stroke: #fff; }
.page-banner h1 { color: #fff; margin-bottom: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }

/* Icon badges */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f8e8de;
  flex-shrink: 0;
}
.icon-badge svg { width: 60%; height: 60%; }
.icon-badge.dark { background: rgba(196, 80, 43, 0.18); }

/* Main content */
main { padding: 44px 0 60px; }
main .wrap > p:first-of-type { font-size: 1.1rem; color: var(--muted); }

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 28px 0 10px;
}
.cluster-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(36,31,29,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cluster-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(36,31,29,0.14);
}
.cluster-card .thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.cluster-card .card-body { padding: 18px 20px 20px; }
.cluster-card .icon-badge {
  margin-top: -38px;
  margin-bottom: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(36,31,29,0.2);
}
.cluster-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.cluster-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 10px;
}
.cluster-card a.more { font-size: 0.88rem; font-weight: 700; }

/* Pick / comparison cards */
.pick-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 20px 0;
}
.pick-card .pick-label {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-dark);
  background: #f8e8de;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.pick-card h3 { margin-bottom: 4px; }
.pick-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.cta-btn {
  display: inline-block;
  background: var(--ember);
  color: #fff !important;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: 6px;
  margin-top: 6px;
}
.cta-btn:hover { background: var(--ember-dark); text-decoration: none; }

/* Inline content photo */
.inline-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 26px 0;
  box-shadow: 0 10px 24px rgba(36,31,29,0.16);
}
.photo-caption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin: -18px 0 20px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.95rem;
}
table caption { text-align: left; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; }
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { font-family: "Helvetica Neue", Arial, sans-serif; background: var(--cream-dark); }

/* Callouts */
.callout {
  background: var(--cream-dark);
  border-left: 4px solid var(--ember);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 20px 0;
  font-size: 0.95rem;
}
.callout.safety { border-left-color: #9c3b1e; }

.disclosure {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 18px 0 28px;
}

/* Breadcrumb */
.crumb {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a { color: var(--muted); }

/* Footer */
footer.site-footer {
  background: var(--charcoal);
  color: var(--cream-dark);
  padding: 32px 0;
  margin-top: 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
}
footer.site-footer a { color: var(--cream-dark); }
footer.site-footer .foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer.site-footer .fine {
  color: #a89a8f;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .hero { min-height: 360px; }
  .hero h1 { font-size: 1.6rem; }
  .page-banner { height: 170px; }
  .inline-photo { height: 220px; }
  nav.main-nav ul { gap: 12px; font-size: 0.85rem; }
}
