/* Big Growth Group: shared article stylesheet for /insights/<slug>/ pages.
   Restyles the existing article markup (prose, models, stat-row, watch, art-fig, ptable, check, cta-card, next). */

:root {
  --bg: #070605;
  --card: #0e0c0a;
  --cream: #E9E3D6;
  --cream-dim: #b8b2a4;
  --ink: #cfc9bc;
  --muted: #7c766a;
  --faint: #4a463e;
  --line: rgba(233,227,214,0.14);
  --line-soft: rgba(233,227,214,0.08);
  --terra: #C8664E;
  --sage: #7FA89A;
  --cta: #3E5A4D; --cta-hover: #4A6A5B; --cta-ink: #F4EEE3;
  --gut: clamp(16px, 4vw, 56px);
  --col: 700px;
  --wide: 1040px;
  --wrap-pad: clamp(24px, 6vw, 104px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--cream); font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
em { font-style: italic; }
.label { font-size: 11px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--sage); z-index: 200; }

/* NAV */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 28px var(--gut); }
.nav .logo img { height: 40px; width: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(20px, 2.6vw, 40px); align-items: center; }
.nav ul a { font-size: 13px; letter-spacing: 0.04em; color: var(--cream-dim); transition: color .25s ease; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--cream); }
.nav .cta { color: var(--cream); border: 1px solid rgba(233,227,214,0.5); padding: 11px 18px; border-radius: 2px; transition: background .25s ease, color .25s ease; }
.nav .cta:hover { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }

/* HEADER */
.art-head { max-width: 1040px; margin: 0 auto; padding: 70px var(--wrap-pad) 64px; }
.crumb { display: flex; gap: 12px; align-items: center; }
.crumb a { color: var(--muted); transition: color .2s ease; }
.crumb a:hover { color: var(--cream); }
.crumb .sep { color: var(--faint); }
.crumb .cat { color: var(--cream-dim); }
.art-head h1 { margin-top: 34px; max-width: 20ch; font-weight: 300; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.04em; }
.art-head .standfirst { margin-top: 28px; max-width: 60ch; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.45; color: var(--cream-dim); font-weight: 300; }
.art-meta { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.art-meta .who { display: flex; align-items: center; gap: 12px; }
.art-meta .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 26%; }
.art-meta .name { color: var(--cream); font-size: 14px; }
.art-meta .role { font-size: 12px; }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* BODY: warm paper for reading. Components use the same tokens, redefined here for a light surface. */
.article { padding: 86px var(--wrap-pad) 100px; background: #EEE8DC;
  --cream: #1b1814; --ink: #3a352d; --cream-dim: #575146; --muted: #7a7366; --faint: #b3ab9c;
  --line: rgba(27,24,20,0.16); --line-soft: rgba(27,24,20,0.08); --bg: #F5F1E8; --card: #E4DDCF;
  --terra: #B0563F; --sage: #4E7A6B; color: var(--cream); }
.article .prose p, .article .prose ul li, .article .prose ol li, .article .ptable td { font-weight: 400; }
.article .model, .article .stat { background: var(--bg); }
.article .watch, .article .check, .article .callout, .article .ptable { background: var(--bg); }
.article .watch .ico { border-color: rgba(27,24,20,0.45); }
.article .watch .ico::before { border-left-color: var(--cream); }
.article .art-video, .article .embed > div { border-color: rgba(27,24,20,0.12); }
.article .cta-card { background: #070605; border: 0; border-radius: 3px; color: #E9E3D6;
  --cream: #E9E3D6; --cream-dim: #b8b2a4; --muted: #7c766a; }
.article .cta-card h3 { color: var(--cream); }
.prose { max-width: 68ch; margin: 0 auto; }
.article.wide .prose { max-width: 800px; }
.prose p { font-size: 19px; line-height: 1.75; color: var(--ink); font-weight: 300; margin-bottom: 24px; }
.prose p strong, .prose li strong { color: var(--cream); font-weight: 500; }
.prose .lead { font-size: clamp(21px, 1.9vw, 24px); line-height: 1.6; color: var(--cream); }
.prose a.inline, .prose p a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(127,168,154,0.6); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease; }
.prose a.inline:hover, .prose p a:hover { text-decoration-color: var(--cream); }
.prose h2 { margin: 58px 0 22px; font-weight: 400; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -0.03em; color: var(--cream); }
.prose h3 { margin: 42px 0 16px; font-weight: 500; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.2; letter-spacing: -0.02em; color: var(--cream); }
.prose ul, .prose ol { margin: 0 0 26px; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 19px; line-height: 1.65; color: var(--ink); font-weight: 300; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 1px; background: var(--terra); }
.prose ul.list-green li::before { background: var(--sage); }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; padding-left: 46px; margin-bottom: 22px; }
.prose ol > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 3px; font-size: 13px; letter-spacing: 0.1em; color: var(--muted); }
.prose ol > li strong { display: block; margin-bottom: 4px; }
.prose ol > li .desc { color: var(--ink); }
.prose .hl-red { color: var(--cream); padding-left: 18px; border-left: 1px solid var(--terra); }
.pull { margin: 52px 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--cream); }
.pull p { margin: 0; font-weight: 300; font-style: italic; font-size: clamp(21px, 2vw, 27px); line-height: 1.32; letter-spacing: -0.02em; color: var(--cream); }
.pull cite, .pull .pull-by { display: block; margin-top: 16px; font-style: normal; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.rule, .prose hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }

/* Before / after */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 36px 0 40px; background: var(--line); border: 1px solid var(--line); }
.model { background: var(--bg); padding: 28px 26px; }
.model .tag { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terra); }
.models .model:last-child .tag { color: var(--sage); }
.model h3 { margin: 12px 0 18px; font-size: 21px; }
.model ul { margin: 0; }
.model ul li { font-size: 16px; line-height: 1.55; margin-bottom: 10px; padding-left: 22px; }
.model ul li::before { top: 12px; width: 9px; }
.models .model:last-child ul li::before { background: var(--sage); }
.model p { font-size: 16px; line-height: 1.55; margin: 0; }

/* Numbers */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 36px 0 40px; background: var(--line); border: 1px solid var(--line); }
.stat-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--bg); padding: 24px 20px; }
.stat .n { font-weight: 300; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.035em; color: var(--cream); }
.stat .l { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Media */
.art-video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 48px; overflow: hidden; background: #000; border: 1px solid var(--line); border-radius: 3px; }
.art-video wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art-video wistia-player:not(:defined) { filter: blur(5px); background-position: center; background-size: contain; background-repeat: no-repeat; }
.art-fig { margin: 36px 0 42px; }
.art-fig img, .art-fig video { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 3px; background: var(--card); }
.art-fig figcaption, .embed-cap, .x-embed figcaption { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; letter-spacing: 0; text-transform: none; }
.embed { margin: 40px 0; }
.embed > div { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: #000; }
.embed .yt { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; cursor: pointer; background-size: cover; background-position: center; position: relative; }
.embed .yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(7,6,5,0.55); border: 1px solid rgba(233,227,214,0.6); transition: background .25s ease; }
.embed .yt-play::before { content: ""; position: absolute; left: 29px; top: 24px; border-left: 18px solid var(--cream); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.embed .yt:hover .yt-play { background: var(--cta); border-color: var(--cta); }
.x-embed { margin: 36px 0 42px; text-align: center; }
.x-embed > a { display: block; max-width: 554px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.watch { display: flex; align-items: center; gap: 18px; margin: 36px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 3px; }
.watch .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(233,227,214,0.5); display: grid; place-items: center; }
.watch .ico::before { content: ""; margin-left: 3px; border-left: 11px solid var(--cream); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.watch .wt { font-size: 16px; color: var(--cream); }
.watch .ws { margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Callouts and tables */
.check, .callout { margin: 32px 0; padding: 20px 24px; border: 1px solid var(--line); border-left: 1px solid var(--sage); }
.callout { border-left-color: var(--terra); }
.check .ct, .callout .ct { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage); }
.callout .ct { color: var(--terra); }
.check p, .callout p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--cream); }
.ptable { margin: 36px 0; border: 1px solid var(--line); overflow-x: auto; }
.ptable table { width: 100%; min-width: 520px; border-collapse: collapse; }
.ptable th { text-align: left; padding: 14px 18px; font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.ptable td { padding: 15px 18px; font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 300; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td + td, .ptable th + th { border-left: 1px solid var(--line-soft); }
.ptable td:first-child { color: var(--cream); font-weight: 400; }

/* End CTA */
.cta-card { margin: 72px 0 0; padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.cta-card .ccg, .cta-card .signoff { display: none; }
.cta-card .label { display: block; }
.cta-card h3 { margin: 18px auto 0; max-width: 22ch; font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; color: var(--cream); }
.cta-card p { margin: 18px auto 0; max-width: 50ch; font-size: 17px; line-height: 1.6; color: var(--cream-dim); }
.btn { display: inline-block; margin-top: 30px; font-size: 14px; letter-spacing: 0.02em; padding: 16px 26px; border-radius: 2px; background: var(--cta); color: var(--cta-ink); transition: background .25s ease; }
.btn:hover { background: var(--cta-hover); }
.cta-card p.by { margin-top: 26px; font-size: 14px; font-style: italic; color: var(--muted); }

/* Keep reading */
.next { border-top: 1px solid var(--line); padding: clamp(64px, 10vh, 100px) var(--gut); }
.next > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.next-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.next-head h2 { margin-top: 18px; font-weight: 300; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.08; }
.next-head a { font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 3px; white-space: nowrap; transition: border-color .25s ease; }
.next-head a:hover { border-color: var(--cream); }
.next-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.next-card { display: block; border-top: 1px solid var(--line); padding-top: 22px; }
.next-card .post-meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.next-card h4 { margin-top: 14px; font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; transition: color .2s ease; }
.next-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--cream-dim); font-weight: 300; }
.next-card:hover h4 { color: #fff; }

/* Fade */
.fade { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav ul li:not(.keep) { display: none; }
  .nav .logo img { height: 32px; }
  .models, .next-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row, .stat-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-head { flex-direction: column; gap: 14px; }
  .prose p, .prose ul li, .prose ol li { font-size: 18px; }
}
@media (max-width: 600px) {
  .art-meta { gap: 14px 18px; }
  .art-meta .who { flex-basis: 100%; }
  .art-meta .dot { display: none; }
}
@media (max-width: 520px) {
  .nav .cta { padding: 9px 12px; font-size: 12px; }
  .btn { display: block; }
}
