/* jasoncsummers.com — blog post styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A0A0A;
  --amber: #C8960A;
  --green: #1B4332;
  --green-l: #2D6A4F;
  --red: #B03A2E;
  --paper: #F5F0EB;
  --paper-2: #FDFAF6;
  --border: #E2DDD6;
  --text: #2A2520;
  --muted: #7A7068;
  --grotesk: 'Space Grotesk', system-ui, sans-serif;
  --lora: 'Lora', Georgia, serif;
  --max: 800px;
}

html { font-size: 17px; scroll-behavior: smooth; }
body {
  background: var(--paper-2);
  color: var(--text);
  font-family: var(--lora);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* nav */
nav { background: var(--ink); padding: 0 2rem; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-logo { font-family: var(--grotesk); font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.9); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-family: var(--grotesk); font-size: .78rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: rgba(255,255,255,.9); }
.nav-cta { background: var(--amber) !important; color: var(--ink) !important; padding: .4rem 1rem; font-weight: 600 !important; }

/* header */
.crumb { max-width: var(--max); margin: 0 auto; padding: 1.25rem 2rem 0; font-family: var(--grotesk); font-size: .65rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--amber); }

header.post { max-width: var(--max); margin: 0 auto; padding: 3rem 2rem 2.5rem; }
.post-tag { font-family: var(--grotesk); font-size: .65rem; font-weight: 500; color: var(--amber); letter-spacing: .04em; margin-bottom: 1.25rem; display: block; }
header.post h1 { font-family: var(--grotesk); font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 700; color: var(--ink); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 1.25rem; }
.deck { font-family: var(--lora); font-size: 1.1rem; font-style: italic; color: var(--muted); max-width: 58ch; line-height: 1.65; margin-bottom: 2rem; }
.byline { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-family: var(--grotesk); font-size: .65rem; color: var(--muted); }
.byline a { color: var(--ink); border-bottom: 1px solid var(--amber); text-decoration: none; }

/* body */
article { max-width: var(--max); margin: 0 auto; padding: 3rem 2rem 5rem; }
article p { max-width: 66ch; margin-bottom: 1.5rem; font-size: 1rem; color: var(--text); line-height: 1.85; }
article h2 { font-family: var(--grotesk); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin: 3rem 0 1rem; }
article h3 { font-family: var(--grotesk); font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; margin: 2.25rem 0 .75rem; }
article a { color: var(--ink); border-bottom: 1px solid var(--amber); text-decoration: none; }
article a:hover { color: var(--amber); }
article strong { color: var(--ink); font-weight: 600; }
article code { background: var(--ink); color: #C8C0B8; padding: .1rem .35rem; font-family: var(--grotesk); font-size: .8rem; }

.answer { background: var(--paper); border-left: 3px solid var(--amber); padding: 1rem 1.5rem; margin: 1.5rem 0; max-width: 66ch; }
.answer span { font-family: var(--grotesk); font-size: .6rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; display: block; }
.answer p { margin: 0; font-size: .95rem; }

.quote { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); padding: 1.5rem 0; margin: 2.5rem 0; max-width: 58ch; }
.quote p { font-family: var(--lora); font-size: 1.3rem; font-style: italic; color: var(--ink); line-height: 1.4; margin: 0; }

/* figures */
.fig { margin: 2.5rem 0; max-width: 66ch; }
.fig svg { width: 100%; height: auto; display: block; border: 1px solid var(--border); }
.fig figcaption { font-family: var(--grotesk); font-size: .68rem; color: var(--muted); margin-top: .65rem; line-height: 1.55; }

/* tables */
table.data { width: 100%; max-width: 66ch; border-collapse: collapse; margin: 2rem 0; font-size: .85rem; }
table.data caption { font-family: var(--grotesk); font-size: .65rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--amber); text-align: left; padding-bottom: .75rem; }
table.data th { font-family: var(--grotesk); font-size: .65rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; padding: .65rem .85rem; border-bottom: 1px solid var(--ink); }
table.data td { padding: .7rem .85rem; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; line-height: 1.6; }
table.data tr:nth-child(even) td { background: rgba(0,0,0,.015); }
table.data td strong { color: var(--ink); }
.yes { color: var(--green-l); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }

/* code block */
.codeblock { background: var(--ink); color: #C8C0B8; padding: 1.25rem 1.5rem; font-family: var(--grotesk); font-size: .8rem; line-height: 1.7; overflow-x: auto; margin: 1.5rem 0; max-width: 66ch; }
.codeblock .c { color: #7A7068; }
.codeblock .k { color: var(--amber); }

/* cta */
.cta { background: var(--ink); padding: 2.5rem; margin: 3rem 0; max-width: 66ch; }
.cta h3 { font-family: var(--grotesk); font-size: 1.3rem; font-weight: 700; color: #FDFAF6; letter-spacing: -.02em; margin-bottom: .75rem; }
.cta p { font-size: .88rem; color: rgba(245,240,235,.55); margin-bottom: 1.5rem; max-width: 44ch; line-height: 1.65; }
.cta a { display: inline-block; background: var(--amber); color: var(--ink); padding: .7rem 1.75rem; font-family: var(--grotesk); font-size: .75rem; font-weight: 700; text-decoration: none; border: none; transition: background .2s; }
.cta a:hover { background: #DFA820; }

/* faq */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; max-width: 66ch; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { font-family: var(--grotesk); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .7rem; }
.faq-a { font-size: .9rem; color: var(--text); line-height: 1.7; margin: 0; }

/* bio */
.bio { border: 1px solid var(--border); padding: 1.75rem 2rem; margin: 3rem 0; max-width: 66ch; }
.bio-name { font-family: var(--grotesk); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.bio-name a { color: var(--ink); border-bottom: 1px solid var(--amber); text-decoration: none; }
.bio-role { font-family: var(--grotesk); font-size: .65rem; color: var(--amber); margin-bottom: .75rem; }
.bio-text { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* sources */
.sources { max-width: 66ch; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 2.5rem; }
.sources h4 { font-family: var(--grotesk); font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.sources ol { padding-left: 1.25rem; font-size: .8rem; color: var(--muted); line-height: 1.65; }
.sources a { color: var(--muted); border-bottom: 1px solid var(--border); text-decoration: none; }

/* footer */
footer { background: var(--ink); padding: 2.5rem 2rem; margin-top: 4rem; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-family: var(--grotesk); font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-family: var(--grotesk); font-size: .7rem; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-egg { font-family: var(--lora); font-size: .68rem; font-style: italic; color: rgba(27,67,50,.55); }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  table.data { font-size: .78rem; }
  table.data td, table.data th { padding: .5rem .6rem; }
}
