/* =========================================================
   insights.css
   Layered on top of styles.css. Tokens come from there.
   Page rhythm: cream hero, bone band, cream body, brand CTA.
   ========================================================= */

.eyebrow {
  display: inline-block;
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary, #2C5F5D);
  margin-bottom: 12px;
}

/* ---------- Insights index ---------- */

.insight-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 16px;
}
.insight-hero .lede { max-width: 62ch; }

.insight-filter {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.insight-filter__btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--ink, #1F1B16);
  color: var(--ink, #1F1B16);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.insight-filter__btn:hover { background: var(--ink, #1F1B16); color: var(--bone, #FAF6EF); }
.insight-filter__btn.is-active { background: var(--ink, #1F1B16); color: var(--bone, #FAF6EF); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.insight-grid__item--featured { grid-column: span 3; }

@media (max-width: 900px) {
  .insight-grid { grid-template-columns: 1fr; gap: 24px; }
  .insight-grid__item--featured { grid-column: span 1; }
}

/* ---------- Featured card ---------- */

.insight-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--cream, #F5EFE6);
  border: 1px solid var(--hairline, rgba(31, 27, 22, 0.12));
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.insight-featured:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(31, 27, 22, 0.35); }
.insight-featured__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.insight-featured__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.insight-featured__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-primary, #2C5F5D);
  margin-bottom: 14px;
}
.insight-featured__body h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  margin: 0 0 14px;
}
.insight-featured__body .lede { font-size: 17px; margin-bottom: 18px; }
.insight-featured__meta {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 13px;
  color: var(--ink-soft, #3D362E);
  margin-bottom: 18px;
}
.insight-featured__cta {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-primary, #2C5F5D);
}
@media (max-width: 900px) {
  .insight-featured { grid-template-columns: 1fr; }
  .insight-featured__body { padding: 28px; }
}

/* ---------- Standard card ---------- */

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--cream, #F5EFE6);
  border: 1px solid var(--hairline, rgba(31, 27, 22, 0.12));
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
  height: 100%;
}
.insight-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -22px rgba(31, 27, 22, 0.35); }
.insight-card__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.insight-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight-card__pillar {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary, #2C5F5D);
}
.insight-card__body h3 { font-size: 22px; line-height: 1.2; margin: 0; }
.insight-card__body p { color: var(--ink-soft, #3D362E); font-size: 15px; margin: 0; flex: 1; }
.insight-card__meta {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 12px;
  color: var(--ink-soft, #3D362E);
}

/* ---------- Insight CTA strips ---------- */

.insight-cta { text-align: center; max-width: 760px; margin: 0 auto; }
.insight-cta h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.insight-cta .lede { margin: 0 auto 24px; max-width: 56ch; }
.insight-cta .cta-row { justify-content: center; }

/* .lede defaults to var(--ink-soft) which is unreadable on dark surfaces.
   Match the headline color treatment for brand/ink sections. */
.section--brand .lede,
.section--ink .lede { color: var(--bone, #FAF6EF); }

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

.insight-article__hero { padding-bottom: 0 !important; }
.insight-article__hero .wrap { max-width: 760px; }
.insight-article__back {
  display: inline-block;
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft, #3D362E);
  text-decoration: none;
  margin-bottom: 24px;
}
.insight-article__back:hover { color: var(--brand-primary, #2C5F5D); }
.insight-article__hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.insight-article__byline {
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 14px;
  color: var(--ink-soft, #3D362E);
  margin: 0 0 8px;
}

.insight-article__photo-band { padding-top: 32px !important; padding-bottom: 32px !important; }
.insight-article__hero-photo {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.insight-article__hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.insight-article__body-section { padding-top: 48px !important; }
.insight-article__body {
  max-width: 65ch;
  font-family: var(--serif, "Source Serif 4", Georgia, serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink, #1F1B16);
}
.insight-article__body p { margin: 0 0 1.2em; }
.insight-article__body h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 1.6em 0 0.5em;
}
.insight-article__body h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  margin: 1.4em 0 0.4em;
}
.insight-article__body strong { font-weight: 600; }
.insight-article__body em { font-style: italic; }
.insight-article__body a {
  color: var(--brand-primary, #2C5F5D);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.insight-article__body a:hover { color: var(--brand-primary-deep, #1F4644); }
.insight-article__body ul, .insight-article__body ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
}
.insight-article__body li { margin-bottom: 0.4em; }
.insight-article__body blockquote {
  margin: 1.4em 0;
  padding: 0 1.2em;
  border-left: 3px solid var(--brand-primary, #2C5F5D);
  font-style: italic;
  color: var(--ink-soft, #3D362E);
}
.insight-article__body hr {
  border: 0;
  height: 1px;
  background: var(--hairline, rgba(31, 27, 22, 0.12));
  margin: 2em 0;
}

.insight-inline-cta {
  margin: 2em 0;
  padding: 22px 26px;
  background: var(--bone, #FAF6EF);
  border: 1px solid var(--hairline, rgba(31, 27, 22, 0.12));
  border-left: 4px solid var(--brand-primary, #2C5F5D);
  border-radius: 8px;
  font-family: var(--sans, "Inter Tight", system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink, #1F1B16);
}
.insight-inline-cta p { margin: 0; }
.insight-inline-cta a { color: var(--brand-primary, #2C5F5D); font-weight: 600; }

.insight-related h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 28px;
}

@media (max-width: 700px) {
  .insight-article__body { font-size: 18px; }
  .insight-article__hero-photo { border-radius: 8px; }
  .insight-inline-cta { padding: 18px 20px; font-size: 15px; }
}
