/* Focused Scopes — The Punch List (blog hub + articles). New design system
   (2026-07-21): builds on homepage.css shared components (nav, buttons,
   footer, scrollbar); tokens only. Replaces the per-page inline styles.

   Typography note: long-form reading copy is the one place the brand's
   italic rule relaxes — article content is deliberately upright; the site
   chrome around it stays italic. */

.blog-hero, .blog-grid, .breadcrumb, .article-header, .article-body,
.about-section, .related { font-style: normal; }

/* ---------------------------------------------------------------- Hub hero */
.blog-hero { padding: calc(var(--space-10) + var(--space-7)) var(--gutter) var(--space-6); text-align: center; position: relative; overflow: hidden; }
.blog-hero::before { content: ""; position: absolute; inset: 0; background: var(--spotlight); pointer-events: none; }
.blog-hero > * { position: relative; z-index: 1; }
.blog-hero h1 { font-size: var(--step-5); font-weight: var(--weight-black); font-style: italic;
  line-height: var(--leading-display); letter-spacing: var(--tracking-display);
  color: var(--text-primary); margin: 0 0 var(--space-4); }
.blog-hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p { color: var(--text-secondary); font-size: var(--step-1); line-height: var(--leading-body);
  max-width: 600px; margin: 0 auto; }

/* ---------------------------------------------------------------- Hub grid */
.blog-grid { max-width: var(--container); margin: 0 auto; padding: var(--space-5) var(--gutter) var(--section-y);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.blog-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5) var(--space-5);
  box-shadow: var(--elev-2); display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo); }
.blog-card:hover { transform: var(--lift); box-shadow: var(--elev-3), var(--glow); }
.blog-card h2 { font-size: var(--step-1); font-weight: var(--weight-extrabold); letter-spacing: -.01em;
  color: var(--text-primary); margin: 0 0 var(--space-3); line-height: 1.3; }
.blog-card h2 a { color: var(--text-primary); }
.blog-card h2 a:hover { color: var(--accent-light); }
.blog-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; flex: 1; margin: 0 0 var(--space-4); }
.card-hero { height: 180px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: calc(var(--space-6) * -1) calc(var(--space-5) * -1) var(--space-4);
  background-size: cover; background-position: center; position: relative; overflow: hidden; }
.card-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(1,24,32,0) 40%, rgba(1,24,32,.6) 100%); }

.tag { display: inline-block; width: fit-content; font-size: 10.5px; font-style: normal;
  font-weight: var(--weight-extrabold); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow);
  color: var(--accent-light); background: var(--accent-dim); padding: 4px 11px;
  border-radius: var(--radius-pill); box-shadow: var(--ring-subtle); margin-bottom: var(--space-4); }
.read-more { font-size: 13.5px; font-weight: var(--weight-bold); color: var(--accent-light);
  display: inline-flex; align-items: center; gap: 6px; transition: gap var(--dur) var(--ease-out-expo); }
.read-more:hover { color: var(--accent); gap: 10px; }
.read-more::after { content: '\2192'; }

/* ---------------------------------------------------------------- Article */
.breadcrumb { max-width: 760px; margin: 0 auto; padding: calc(var(--space-10)) var(--gutter) 0;
  font-size: 12.5px; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }
.article-header { max-width: 760px; margin: 0 auto; padding: var(--space-10) var(--gutter) var(--space-6); text-align: center; }
.breadcrumb + .article-header, .breadcrumb ~ .article-header { padding-top: var(--space-6); }
.article-header h1 { font-size: var(--step-4); font-weight: var(--weight-black);
  line-height: var(--leading-heading); letter-spacing: var(--tracking-display);
  color: var(--text-primary); margin: 0 0 var(--space-4); text-wrap: balance; }
.article-header .meta { color: var(--text-muted); font-size: 13px; margin: 0; }

.article-body { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) var(--space-8);
  font-size: var(--step-0); color: var(--text-secondary); line-height: 1.75; }
.article-body h2 { font-size: var(--step-2); font-weight: var(--weight-extrabold); color: var(--text-primary);
  letter-spacing: -.01em; line-height: var(--leading-heading); margin: var(--space-7) 0 var(--space-4); }
.article-body h3 { font-size: var(--step-1); font-weight: var(--weight-extrabold); color: var(--text-primary);
  margin: var(--space-6) 0 var(--space-3); }
.article-body p { margin: 0 0 var(--space-4); }
.article-body a { color: var(--accent-light); }
.article-body a:hover { color: var(--accent); }
.article-body strong { color: var(--text-primary); }
.article-body ul, .article-body ol { margin: 0 0 var(--space-4); padding-left: 1.3em; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5);
  background: var(--bg-card); border-left: 3px solid var(--accent); border-radius: var(--radius);
  color: var(--text-primary); }

/* comparison table */
.comparison-table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0;
  font-size: 13.5px; display: block; overflow-x: auto; border-radius: var(--radius-lg);
  box-shadow: var(--elev-1); background: var(--bg-card); }
.comparison-table thead th { background: var(--bg-elevated); color: var(--text-primary);
  font-weight: var(--weight-extrabold); text-align: left; padding: 12px 16px; white-space: nowrap; }
.comparison-table tbody td { padding: 11px 16px; border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary); min-width: 140px; }
.comparison-table tbody td:first-child { color: var(--text-primary); font-weight: var(--weight-semibold); }

/* ROI box */
.roi-box { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--elev-2); border-top: 2px solid var(--accent); margin: var(--space-5) 0; }
.roi-box h3 { margin-top: 0; }
.roi-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: 9px 0; border-bottom: 1px solid var(--border-subtle); font-size: 13.5px; }
.roi-row:last-child { border-bottom: none; }
.roi-label { color: var(--text-secondary); }
.roi-value { color: var(--accent-light); font-weight: var(--weight-extrabold); white-space: nowrap; }

/* numbered pipeline */
.pipeline-steps { margin: var(--space-5) 0; display: flex; flex-direction: column; gap: var(--space-3); }
.pipeline-steps > div, .pipeline-steps li { display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--bg-card); border-radius: var(--radius); padding: var(--space-4); box-shadow: var(--elev-1); }
.step-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: var(--weight-extrabold); color: var(--accent-light);
  background: var(--accent-dim); box-shadow: var(--ring-subtle); }
.step-text { flex: 1; min-width: 0; }

/* CTA + about boxes */
.cta-box { text-align: center; margin: var(--space-7) 0;
  background: var(--glass-bg-strong); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius-xl); padding: var(--space-6);
  box-shadow: var(--elev-3), var(--edge-top); }
.cta-box h3 { margin: 0 0 var(--space-3); font-size: var(--step-1); font-weight: var(--weight-extrabold); color: var(--text-primary); }
.cta-box p { max-width: 44ch; margin-inline: auto; }
.cta-btn { display: inline-block; font-style: italic; font-weight: var(--weight-bold); font-size: 15px;
  border-radius: var(--radius); padding: 14px 28px; background: var(--grad); color: var(--bg-deep);
  box-shadow: var(--glow); transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo); }
.cta-btn:hover { transform: var(--lift); box-shadow: var(--elev-3), var(--glow); color: var(--bg-deep); }

.about-section { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) var(--space-8); }
.about-box { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--elev-1); font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.about-box h3 { margin: 0 0 var(--space-2); font-size: var(--step-0); font-weight: var(--weight-extrabold); color: var(--text-primary); }
.about-box p { margin: 0; }

/* related articles */
.related { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) var(--section-y); }
.related h2 { font-size: var(--step-2); font-weight: var(--weight-extrabold); color: var(--text-primary);
  margin: 0 0 var(--space-5); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.related-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: var(--space-2);
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease-out-expo); }
.related-card:hover { transform: var(--lift); box-shadow: var(--ring-accent), var(--elev-2); }
.related-card h3 { font-size: 15px; font-weight: var(--weight-extrabold); line-height: 1.35; margin: 0; }
.related-card h3 a, .related-card a { color: var(--text-primary); }
.related-card h3 a:hover { color: var(--accent-light); }
.related-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; margin: 0; flex: 1; }
.related-card .read-more { margin-top: var(--space-2); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .card-hero { height: 150px; }
}
@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-header { padding-top: var(--space-9); }
  .article-header h1 { font-size: var(--step-3); }
}
