/* ============================================================
   Gracefully Research Hub — shared styles
   Extends landing design language: same scenes, serif display,
   terracotta accent. Article-optimized reading column.
   ============================================================ */

.article-wrap { width: min(720px, calc(100% - clamp(32px, 6vw, 64px))); margin: 0 auto; }
.article-hero { padding: clamp(90px, 14vh, 140px) 0 clamp(36px, 6vh, 60px); }
.article-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.1; font-weight: 400;
  letter-spacing: -0.01em; text-wrap: balance; margin-top: 16px; color: #fff;
}
.article-hero .dek { font-size: clamp(16px, 2.2vw, 19px); color: rgba(255,255,255,.66); margin-top: 18px; max-width: 56ch; line-height: 1.55; }
.byline { margin-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.byline b { color: rgba(255,255,255,.75); font-weight: 600; }

.toc-strip { background: #f6f5f2; border-bottom: 1px solid #e4e2dd; padding: 13px 0; }
.toc-inner { width: min(720px, calc(100% - clamp(32px, 6vw, 64px))); margin: 0 auto; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.toc-inner::-webkit-scrollbar { display: none; }
.toc-strip a { color: #5c5a56; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; margin-right: 26px; }
.toc-strip a:hover { color: #c2571f; }

.article-body { padding: clamp(40px, 7vh, 72px) 0; }
.prose { font-size: clamp(15.5px, 2vw, 17.5px); line-height: 1.75; color: #2a2926; }
.prose p { margin: 0 0 1.25em; }
.prose h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 500;
  font-size: clamp(23px, 3.4vw, 30px); line-height: 1.15;
  margin: 2em 0 .6em; letter-spacing: -0.01em; color: #1a1a18;
}
.prose h3 { font-size: clamp(17px, 2.4vw, 20px); font-weight: 700; margin: 1.6em 0 .5em; color: #1a1a18; }
.prose ul, .prose ol { margin: 0 0 1.3em 1.3em; }
.prose li { margin-bottom: .55em; }
.prose a { color: #c2571f; text-decoration: underline; text-decoration-color: rgba(194,87,31,.35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #c2571f; }
.prose strong { color: #1a1a18; }
.prose blockquote {
  border-left: 3px solid #c2571f; margin: 1.5em 0; padding: 6px 0 6px 24px;
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.12em; color: #44423e;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92em; }
.prose th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8f8d88; padding: 10px 12px; border-bottom: 2px solid #1a1a18; }
.prose td { padding: 11px 12px; border-bottom: 1px solid #e4e2dd; vertical-align: top; }

.callout {
  background: #fff; border: 1px solid #e4e2dd; border-left: 3px solid #c2571f;
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 1.6em 0; font-size: .95em;
}
.callout b { display: block; margin-bottom: 4px; }
.faq-item { border-bottom: 1px solid #e4e2dd; padding: 4px 0; }
.faq-item summary {
  cursor: pointer; min-height: 48px; display: flex; align-items: center;
  font-weight: 600; color: #1a1a18; list-style: none; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+"; font-family: Georgia, serif; font-size: 22px; color: #c2571f; flex-shrink: 0; width: 20px; }
.faq-item[open] summary::before { content: "–"; }
.faq-item .faq-a { padding: 4px 0 18px 32px; color: #44423e; }

.refs { margin-top: 48px; padding-top: 28px; border-top: 2px solid #1a1a18; }
.refs h2 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; font-family: Inter, sans-serif; font-weight: 700; margin-bottom: 14px; }
.refs ol { margin-left: 1.2em; font-size: 13px; color: #5c5a56; }
.refs li { margin-bottom: 8px; }
.refs a { color: #c2571f; }

.review-note {
  background: #f6f5f2; border: 1px solid #e4e2dd; border-radius: 10px;
  padding: 16px 20px; font-size: 13px; color: #5c5a56; margin-top: 36px;
}

.article-footer-nav { background: #0b0b0a; color: #fff; padding: clamp(56px, 9vh, 88px) 0; }
.af-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px,100%),1fr)); gap: 16px; margin-top: 36px; }
.af-card {
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 26px;
  text-decoration: none; transition: border-color .2s, transform .2s; display: block;
}
.af-card:hover { border-color: rgba(194,87,31,.55); transform: translateY(-3px); }
.af-card .kicker { margin-bottom: 8px; display: block; }
.af-card h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 21px; color: #fff; margin: 0 0 8px; }
.af-card p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0; }

.hub-list { display: grid; gap: 0; margin-top: 40px; }
.hub-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: baseline;
  padding: 24px 4px; border-bottom: 1px solid rgba(255,255,255,.12);
  text-decoration: none; transition: background .15s;
}
.hub-row:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.hub-row:hover { background: rgba(255,255,255,.03); }
.hub-date { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hub-row h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: clamp(18px, 2.6vw, 24px); color: #fff; margin: 0 0 4px; }
.hub-row p { font-size: 13.5px; color: rgba(255,255,255,.55); margin: 0; max-width: 52ch; }
.hub-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c2571f; white-space: nowrap; }
@media (max-width: 640px) {
  .hub-row { grid-template-columns: 1fr; gap: 6px; }
}
