/* Humboldt Group — Field Notes
   Shared stylesheet for /field-notes/ hub and essay pages.
   Nav and footer markup mirror the live humboldtllc.com index.html exactly. */

:root {
  --red: #B31B1B;
  --red-dark: #8f1515;
  --red-light: #fdf2f2;
  --charcoal: #1c1c1c;
  --gray: #4a4a4a;
  --mid: #7a7a7a;
  --rule: #e5e5e5;
  --bg: #ffffff;
  --off: #f8f7f5;
  --max: 720px;
  --max-wide: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color .15s ease; }

/* ── NAV (matches live humboldtllc.com markup verbatim) ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--rule);
  padding: 0 5%; display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark {
  width: 32px; height: 32px; background: var(--red); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.nav-mark span { color: white; font-weight: 700; font-size: 14px; letter-spacing: 0.5px; }
.nav-name { font-size: 15px; font-weight: 600; color: var(--charcoal); letter-spacing: -0.2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--mid); text-decoration: none; transition: color 0.15s; }
.nav-link:hover { color: var(--charcoal); }
.nav-link.active { color: var(--red); }
.nav-cta {
  background: var(--red); color: white; text-decoration: none;
  font-size: 13px; font-weight: 600; padding: 9px 20px; border-radius: 4px;
  letter-spacing: 0.2px; transition: background 0.15s;
}
.nav-cta:hover { background: var(--red-dark); }

/* ── SECTION LABEL (matches live site) ── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}

/* ── HUB HERO ── */
.hub-hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 90px 5% 50px;
  border-bottom: 1px solid var(--rule);
}
.hub-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 52px); line-height: 1.12;
  color: var(--charcoal); max-width: 820px;
  margin-bottom: 24px; letter-spacing: -0.5px;
}
.hub-hero h1 em { font-style: italic; color: var(--red); }
.hub-hero p {
  font-size: 18px; line-height: 1.65; color: var(--gray);
  max-width: 680px; margin-bottom: 12px;
}

/* ── ESSAY GRID ── */
.essay-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 56px 5% 96px;
}
.essay-card {
  display: block;
  border-bottom: 1px solid var(--rule);
  padding: 36px 0;
  color: inherit;
  text-decoration: none;
}
.essay-card:hover h2 { color: var(--red); }
.essay-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid);
  margin-bottom: 14px;
}
.essay-meta .pillar { color: var(--red); font-weight: 600; }
.essay-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--charcoal);
  transition: color .15s ease;
  letter-spacing: -0.3px;
}
.essay-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 720px;
}

/* ── ESSAY HEADER ── */
.essay-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 32px;
}
.essay-header .breadcrumb {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mid);
  margin-bottom: 28px;
}
.essay-header .breadcrumb a { color: var(--mid); text-decoration: none; }
.essay-header .breadcrumb a:hover { color: var(--red); }
.essay-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--charcoal);
  letter-spacing: -0.3px;
}
.essay-header h1 em { color: var(--red); font-style: italic; }
.essay-header .essay-byline {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mid);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  margin-top: 24px;
}
.essay-header .essay-byline strong { color: var(--charcoal); font-weight: 600; }
.essay-header .essay-byline .dot { color: var(--rule); }

/* ── ESSAY BODY ── */
.essay-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 64px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--charcoal);
}
.essay-body p { margin-bottom: 22px; }
.essay-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  margin: 48px 0 18px;
  color: var(--charcoal);
  letter-spacing: -0.2px;
}
.essay-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 36px 0 12px;
  color: var(--charcoal);
}
.essay-body em { color: var(--red); font-style: italic; }
.essay-body strong { color: var(--charcoal); font-weight: 600; }
.essay-body blockquote {
  border-left: 3px solid var(--red);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--charcoal);
}
.essay-body ul, .essay-body ol {
  margin-bottom: 22px;
  padding-left: 22px;
}
.essay-body li { margin-bottom: 10px; }
.essay-body hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
}

/* ── AUTHOR BIO ── */
.author-bio {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  background: var(--off);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.author-bio .section-label { margin-bottom: 10px; }
.author-bio h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.author-bio p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 12px;
}
.author-bio a { font-weight: 500; }
.author-bio a:hover { color: var(--red-dark); }

/* ── ESSAY CTA ── */
.essay-cta {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 36px 24px;
  text-align: center;
}
.essay-cta p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.essay-cta .cta-button {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s ease;
}
.essay-cta .cta-button:hover { background: var(--red-dark); }

/* ── RELATED ── */
.related {
  max-width: var(--max);
  margin: 64px auto 0;
  padding: 0 24px 64px;
}
.related .section-label { margin-bottom: 24px; }
.related-list { list-style: none; padding: 0; }
.related-list li {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.related-list li:first-child { border-top: 1px solid var(--rule); }
.related-list a {
  display: block;
  color: var(--charcoal);
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.2px;
}
.related-list a:hover { color: var(--red); }
.related-list .pillar-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 6px;
}

/* ── FOOTER (matches live humboldtllc.com markup verbatim) ── */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 5%; border-top: 1px solid var(--rule); flex-wrap: wrap; gap: 12px;
}
.footer-brand { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.footer-copy { font-size: 12px; color: var(--mid); }
.footer-link { font-size: 12px; color: var(--mid); text-decoration: none; }
.footer-link:hover { color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hub-hero { padding: 56px 5% 32px; }
  .essay-grid { padding: 32px 5% 64px; }
  .essay-card h2 { font-size: 24px; }
  .essay-header { padding: 40px 20px 24px; }
  .essay-body { padding: 16px 20px 48px; font-size: 17px; }
  .essay-body h2 { font-size: 22px; }
  .essay-body blockquote { font-size: 19px; padding-left: 18px; }
  .author-bio, .essay-cta, .related { padding-left: 20px; padding-right: 20px; }
}
