/* Augmented Mind — research section — extends /style.css */

/* ---- Hero ---- */

.hero--research {
  padding: 72px 0 40px;
}
.hero--research h1 {
  font-size: clamp(32px, 5.5vw, 48px);
}
.hero--research .lede {
  margin-bottom: 20px;
}

.eyebrow-link {
  color: var(--accent);
  text-decoration: none;
}
.eyebrow-link:hover { color: var(--accent-hover); text-decoration: underline; }

.byline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--ink-muted);
}
.byline a { color: var(--ink-muted); }
.byline a:hover { color: var(--accent); }

/* ---- Article ---- */

.post .wrap,
.hero--research.hero--post .wrap { max-width: 860px; }

.post-section {
  padding: 56px 0 8px;
}
.post-section + .post-section {
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}
.post-section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.post-section h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.post-section p,
.post-section ul {
  font-size: 16.5px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.post-section ul { padding-left: 22px; }
.post-section li { margin-bottom: 6px; }

.post-section .note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.post code {
  font-family: var(--font-mono);
  font-size: .86em;
  padding: 1px 5px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* ---- Tables ---- */

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 18px;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.45;
}
.table-wrap th,
.table-wrap td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.table-wrap th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-muted);
  border-bottom-width: 2px;
  white-space: nowrap;
}
.table-wrap .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---- Expandable matrices ---- */

.post details {
  margin: 20px 0;
  padding: 14px 18px;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.post details code { background: var(--paper); }
.post summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
}
.post details[open] summary { margin-bottom: 12px; }

/* ---- Footer nav ---- */

.post-nav {
  margin: 56px 0 0;
  padding: 24px 0 64px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

@media (max-width: 520px) {
  .hero--research { padding: 56px 0 32px; }
  .post-section { padding-top: 40px; }
}
