/* nv-motherlode.com — one stylesheet, no external fonts or scripts.
   Palette taken from the chapter's own favicon: warm near-black and gold. */
:root {
  --bg: #1c1814;
  --surface: #26201a;
  --surface-2: #2f2820;
  --line: #3d342a;
  --text: #f3ece2;
  --muted: #cfc2ae;        /* 9:1 on --bg */
  --faint: #a8998a;
  --gold: #d29a35;         /* accents, links (6.9:1 on --bg) */
  --gold-btn: #c8922a;     /* button fill, dark text on it */
  --gold-hover: #ddaa4a;
  --on-gold: #1c1814;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold-btn); color: var(--on-gold); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(28, 24, 20, 0.95); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; }
.site-header ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--gold); }

/* Hero */
.hero { position: relative; min-height: min(72vh, 720px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-sm { min-height: 0; padding-block: clamp(72px, 12vw, 140px) clamp(48px, 8vw, 90px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.55) 0%, rgba(28, 24, 20, 0.82) 70%, var(--bg) 100%); }
.hero .wrap { width: 100%; padding-block: 64px; }
.hero h1 span { display: block; color: var(--gold); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lede { margin-inline: auto; }
.eyebrow, .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.tag { background: rgba(210, 154, 53, 0.14); border-radius: 999px; padding: 3px 10px; letter-spacing: 0.08em; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--gold-btn); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-hover); color: var(--on-gold); }
.btn-outline { border-color: var(--gold); color: var(--text); }
.btn-outline:hover { background: rgba(210, 154, 53, 0.14); color: var(--text); }
.btn-ghost { color: var(--gold); padding-inline: 8px; }

/* Stats band */
.stats { background: var(--gold-btn); color: var(--on-gold); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 28px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); }
.stats span { font-size: 0.9rem; }
@media (max-width: 640px) { .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.alt { background: var(--surface); }
.section-head { margin-bottom: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack > * + * { margin-top: 0; }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }
.rounded.tall { max-height: 640px; }
.feature { margin: 24px 0 32px; }
.note { color: var(--faint); font-size: 0.95rem; }
.meta { color: var(--faint); font-size: 0.92rem; }

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.features li { border-left: 3px solid var(--gold); padding-left: 16px; }
.features h3 { margin-bottom: 4px; }
.features p { margin: 0; color: var(--muted); }
.features.small { gap: 14px; margin-bottom: 32px; }

.quote-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 12vw, 150px); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 30ch; font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 700; font-style: italic; line-height: 1.25; }

/* Events */
.event-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-block: 16px 24px; }
.event-meta { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; color: var(--muted); }
.event-meta b { display: inline-block; min-width: 4.5rem; color: var(--faint); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.checks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 10px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Article cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card h2 { font-size: 1.25rem; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a:hover { color: var(--gold); }
.card p { color: var(--muted); }

/* Article / prose */
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--text); }
.signoff { margin-top: 1.5em; color: var(--muted); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; color: var(--faint); font-size: 0.9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: 0.85rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* News list */
.news { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.news p { color: var(--muted); margin: 0; }

/* Contact */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.contact-list b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }

/* CTA */
.cta { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 90px); text-align: center; }
.cta p { color: var(--muted); max-width: 60ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.site-footer h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 12px; }
.colophon { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.85rem; color: var(--faint); }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }
