/* Insights · index + article template */

/* ───── Index ───── */
.insights-hero {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(2.4rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, #f9f5ec 0%, #f3eedc 100%);
}
.insights-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 14px 0 18px;
  max-width: 22ch;
}
.insights-hero h1 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.insights-hero p {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 60ch;
  color: var(--ink-soft, #3a4a42);
  margin: 0;
}

.insights-list {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #ffffff;
  border-top: 1px solid rgba(31, 58, 46, 0.06);
  border-bottom: 1px solid rgba(31, 58, 46, 0.06);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.insight-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem;
  border: 1px solid rgba(31, 58, 46, 0.06);
  box-shadow: 0 6px 18px rgba(20, 36, 28, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 36, 28, 0.10);
}
.insight-card-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9c089;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.insight-card h2 {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.insight-card h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.insight-card h2 a { color: inherit; text-decoration: none; }
.insight-card h2 a:hover { text-decoration: underline; text-decoration-color: #d9c089; text-underline-offset: 4px; }
.insight-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft, #3a4a42);
  margin: 0 0 1rem;
}
.insight-card-meta {
  margin-top: auto;
  font-size: 0.84rem;
  color: var(--ink-soft, #3a4a42);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.insight-card-meta span::before {
  content: "·";
  margin-right: 0.6rem;
  color: rgba(31, 58, 46, 0.3);
}
.insight-card-meta span:first-child::before { content: ""; margin: 0; }

/* ───── Article hero · editorial, magazine-style ───── */
.insight-article-hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(ellipse at 80% -10%, rgba(217, 192, 137, 0.18) 0%, rgba(217, 192, 137, 0) 60%),
    linear-gradient(180deg, #f9f5ec 0%, #fbf7ec 100%);
  border-bottom: 1px solid rgba(31, 58, 46, 0.08);
  overflow: hidden;
}
.insight-article-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 3rem));
  height: 4px;
  background: linear-gradient(90deg, transparent, #d9c089 20%, #d9c089 80%, transparent);
  opacity: 0.5;
}
.insight-article-hero .container { max-width: 880px; position: relative; }

.insight-article-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b8a76;
  font-weight: 700;
  margin: 0 0 1.6rem;
}
.insight-article-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #d9c089;
}
.insight-article-eyebrow a { color: inherit; text-decoration: none; }
.insight-article-eyebrow a:hover { color: #1f3a2e; }

.insight-article-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 1.8rem;
  max-width: 22ch;
}
.insight-article-hero h1 em { font-style: italic; color: var(--brand-green); font-weight: 400; }

.insight-meta {
  font-size: 0.9rem;
  color: var(--ink-soft, #3a4a42);
  display: flex;
  gap: 0.4rem 1.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 1.4rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(31, 58, 46, 0.12);
  border-bottom: 1px solid rgba(31, 58, 46, 0.12);
  letter-spacing: 0.01em;
}
.insight-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.insight-meta span + span::before {
  content: "·";
  color: #d9c089;
  font-weight: 700;
  margin-right: 1rem;
}
.insight-meta strong { color: #1f3a2e; font-weight: 600; }

.insight-disclaimer {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.55;
  color: #4a5a52;
  border-left: 3px solid #d9c089;
  padding: 0.85rem 1.2rem;
  background: rgba(217, 192, 137, 0.12);
  border-radius: 0 6px 6px 0;
  max-width: 60ch;
}

/* ───── Article body · richer editorial layout ───── */
.insight-body {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4rem);
  background: #fbf9f3;
  position: relative;
}
.insight-body .container { max-width: 760px; }

/* TL;DR pulled half-out of the hero feel */
.insight-tldr {
  position: relative;
  background: linear-gradient(180deg, #1f3a2e 0%, #14241c 100%);
  color: #f5f0e1;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.2rem) clamp(2.2rem, 4vw, 3rem);
  border-radius: 14px;
  margin: -3rem 0 clamp(2.2rem, 4vw, 3.2rem);
  box-shadow: 0 24px 50px rgba(20, 36, 28, 0.18);
  border: 1px solid rgba(217, 192, 137, 0.18);
}
.insight-tldr::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 0.9rem;
  width: 3px;
  background: #d9c089;
  border-radius: 2px;
}
.insight-body .insight-tldr p {
  font-family: 'Afacad', 'Inter', system-ui, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(245, 240, 225, 0.94);
  margin: 0 0 0.7rem;
  max-width: none;
}
.insight-body .insight-tldr p:first-child {
  font-family: 'Afacad', 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9c089;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}
.insight-body .insight-tldr p:last-child { margin: 0; }
.insight-body .insight-tldr strong {
  color: #ffffff;
  font-weight: 600;
}

/* Numbered H2 with thin gold rule above and a marker for the leading number */
.insight-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: var(--tr-snug);
  color: var(--ink);
  margin: clamp(2.6rem, 4vw, 3.2rem) 0 1rem;
  line-height: 1.2;
  position: relative;
  padding-top: 1.4rem;
}
.insight-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.insight-body h2:first-child { margin-top: 0; }
.insight-body h2 em { font-style: italic; color: var(--green); font-weight: 400; }

.insight-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: var(--tr-snug);
  color: var(--ink);
  margin: 1.8rem 0 0.6rem;
  line-height: 1.3;
}
.insight-body h3 em { font-style: italic; color: var(--green); font-weight: 400; }

.insight-body p,
.insight-body li {
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}
.insight-body strong { font-weight: 600; color: #1f3a2e; }
.insight-body em { font-style: italic; }
.insight-body ul,
.insight-body ol { padding-left: 1.4rem; margin: 0 0 1.4rem; }
.insight-body li { margin-bottom: 0.55rem; }
.insight-body a { color: #1f3a2e; text-decoration: underline; text-decoration-color: rgba(217, 192, 137, 0.7); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color 160ms ease; }
.insight-body a:hover { text-decoration-color: #1f3a2e; }

/* Drop cap on the very first body paragraph (after TL;DR + first h2) */
.insight-body .insight-tldr + h2 + p::first-letter {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 500;
  font-size: 4.4em;
  line-height: 0.88;
  float: left;
  padding: 0.18em 0.16em 0 0;
  color: var(--green);
}

/* Inline reference superscripts */
.insight-body sup {
  font-size: 0.62em;
  color: #6b8a76;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin: 0 0.05em;
}
.insight-body sup a {
  color: inherit;
  text-decoration: none;
  padding: 0.05em 0.18em;
  border-radius: 3px;
  background: rgba(217, 192, 137, 0.18);
  transition: background 160ms ease;
}
.insight-body sup a:hover {
  background: rgba(217, 192, 137, 0.4);
  color: #1f3a2e;
}

/* Callout · pull quote feel */
.insight-callout {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(31, 58, 46, 0.08);
  border-left: 4px solid #d9c089;
  padding: 1.2rem 1.4rem 1.2rem 2.6rem;
  border-radius: 4px 10px 10px 4px;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #2c3a32;
  box-shadow: 0 6px 18px rgba(20, 36, 28, 0.05);
}
.insight-callout::before {
  content: "→";
  position: absolute;
  top: 1.2rem;
  left: 1rem;
  color: #d9c089;
  font-weight: 700;
  font-size: 1.1rem;
}
.insight-callout strong { color: #1f3a2e; }

/* References section · numbered tags in gold */
.insight-refs {
  margin-top: clamp(2.6rem, 4vw, 3.5rem);
  padding: 1.8rem 0 0;
  border-top: 2px solid rgba(31, 58, 46, 0.12);
}
.insight-refs h2 {
  margin-top: 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b8a76;
  font-weight: 700;
  font-family: 'Afacad', 'Inter', system-ui, sans-serif;
  padding-top: 0;
}
.insight-refs h2::before { display: none; }
.insight-refs ol {
  list-style: none;
  padding-left: 0;
  counter-reset: ref;
}
.insight-refs li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #4a5a52;
  margin-bottom: 0.9rem;
  padding-left: 2.4rem;
  position: relative;
  counter-increment: ref;
}
.insight-refs li::before {
  content: counter(ref, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Afacad', 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d9c089;
  background: rgba(31, 58, 46, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.insight-refs li[id]::before { /* respect explicit IDs */ }
.insight-refs a { word-break: break-word; color: #1f3a2e; }

/* CTA */
.insight-cta {
  background: linear-gradient(135deg, #1f3a2e 0%, #14241c 100%);
  color: #f5f0e1;
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(20, 36, 28, 0.16);
  border: 1px solid rgba(217, 192, 137, 0.18);
}
.insight-body .insight-cta p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 44ch;
  color: rgba(245, 240, 225, 0.94);
  font-family: var(--font-body);
}
.insight-body .insight-cta strong { color: var(--gold-soft); font-weight: 600; }
.insight-body .insight-cta a:not(.btn) { color: var(--gold-soft); }
.insight-body .insight-cta .btn-primary {
  background: var(--gold-soft);
  color: var(--ink);
  border: 0;
  font-weight: 600;
}
.insight-body .insight-cta .btn-primary:hover { background: var(--honey); color: var(--ink); }
.insight-body .insight-cta .btn-primary .arrow { stroke: var(--ink); }
.insight-body .insight-cta .btn-secondary {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid color-mix(in srgb, var(--gold-soft) 50%, transparent);
  font-weight: 600;
}
.insight-body .insight-cta .btn-secondary:hover {
  background: color-mix(in srgb, var(--gold-soft) 14%, transparent);
  color: var(--gold-soft);
}

/* Author band */
.insight-author-band {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  background: rgba(31, 58, 46, 0.05);
  border-radius: 10px;
  margin: clamp(2rem, 3vw, 2.5rem) 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a5a52;
  font-family: var(--font-body);
  font-style: italic;
}
.insight-author-band strong { color: #1f3a2e; font-style: normal; }

/* Related */
.insight-related {
  background: #ffffff;
  padding: clamp(3rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(31, 58, 46, 0.06);
}
.insight-related .container { max-width: 1080px; }
.insight-related h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 500;
  margin: 0 0 1.6rem;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.insight-related h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.insight-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 720px) {
  .insight-tldr { margin-top: -1.5rem; padding-left: 1.6rem; }
  .insight-tldr::before { left: 0.7rem; }
  .insight-body .insight-tldr + h2 + p::first-letter { font-size: 3.6em; }
}

/* ───── Home insights promo band ───── */
.insights-promo {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: #ffffff;
  border-top: 1px solid rgba(31, 58, 46, 0.06);
  border-bottom: 1px solid rgba(31, 58, 46, 0.06);
}
.insights-promo-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.insights-promo-head .eyebrow { display: inline-flex; }
.insights-promo-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 14px 0 14px;
  color: var(--ink);
}
.insights-promo-head h2 em { font-style: italic; color: var(--brand-green); font-weight: 400; }
.insights-promo-head p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft, #3a4a42);
  margin: 0;
}
.insights-promo-foot {
  text-align: center;
  margin: 1.6rem 0 0;
}
.insights-promo-foot .btn-soft {
  background: rgba(31, 58, 46, 0.08);
  color: #1f3a2e;
  border: 0;
}
.insights-promo-foot .btn-soft:hover { background: rgba(31, 58, 46, 0.16); }
