/* Insights pages: same tokens and type as the homepage. */
:root {
  --navy: #022a37; --teal: #006c6a; --teal-dark: #005451; --mint: #8fd8d1; --mint-soft: #eaf6f4;
  --orange: #d1432d; --ink: #082638; --muted: #4d6470; --line: #d7e5e4; --surface: #f5faf9; --white: #fff;
  --shadow-sm: 0 8px 24px rgba(8, 38, 56, .07); --shadow-md: 0 18px 44px rgba(8, 38, 56, .11);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", Arial, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #ffb199; outline-offset: 3px; }
.wrap { width: min(100% - 40px, 1100px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }

.site-header { background: var(--navy); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Sora", "Manrope", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .08em; color: var(--mint); }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.header-links { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.header-links a:hover { color: var(--mint); }

.page-head { padding: 64px 0 36px; background: var(--surface); border-bottom: 1px solid #e2eeec; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-family: "Sora", "Manrope", sans-serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.lede { margin: 0; color: var(--muted); font-size: 18px; max-width: 62ch; }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding: 44px 0 72px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card h2 { margin: 0; font-family: "Sora", "Manrope", sans-serif; font-size: 21px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); flex: 1; }
.meta { color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.more { color: var(--orange); font-weight: 800; }

article.post { padding: 44px 0 72px; font-size: 17px; }
article.post h2 { margin: 36px 0 10px; font-family: "Sora", "Manrope", sans-serif; font-size: 24px; line-height: 1.3; }
article.post p, article.post li { max-width: 68ch; }
article.post ul { padding-left: 22px; }
article.post li { margin-bottom: 6px; }
.note { margin: 32px 0 0; padding: 18px 20px; border-radius: 12px; background: var(--mint-soft); color: var(--ink); }
.cta { margin-top: 36px; padding: 26px; border-radius: 16px; background: var(--navy); color: var(--white); }
.cta h2 { margin: 0 0 8px !important; color: var(--white); }
.cta p { margin: 0 0 16px; color: #cfe3df; }
.button { display: inline-flex; min-height: 46px; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--orange); color: var(--white); font-weight: 800; }

.site-footer { padding: 28px 0; background: var(--navy); color: #cfe3df; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-inner a { color: var(--mint); }
@media (max-width: 640px) { .header-links { gap: 14px; font-size: 14px; } .brand span { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Post thumbnails: brand gradient + pixel pattern, text drawn live in the site fonts. */
.thumb { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; aspect-ratio: 16 / 9; padding: 18px 20px; border-radius: 12px; overflow: hidden; color: #fff;
  background: url("/assets/insights/pixels.svg") right center / auto 100% no-repeat, radial-gradient(120% 140% at 85% 30%, #124b5a 0%, #0d3b4a 45%, #0b2530 100%); }
.thumb-kicker { display: flex; align-items: center; gap: 8px; color: #c7ebe8; font: 700 10.5px/1 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.thumb-kicker::before { content: ""; width: 18px; height: 2px; background: #ff7a00; }
.thumb-stats { display: flex; gap: 18px; font: 800 20px/1 "Manrope", sans-serif; }
.thumb-stats span { display: flex; flex-direction: column; gap: 4px; }
.thumb-stats small { color: #9fb6bf; font: 700 9px/1 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.post-card .thumb { margin: -10px -10px 8px; }
.thumb--open { background-image: url("/assets/insights/pixels-open.svg"), radial-gradient(120% 140% at 85% 30%, #124b5a 0%, #0d3b4a 45%, #0b2530 100%); }
.thumb-words { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 800 17px/1.1 "Manrope", sans-serif; }

/* Photo thumbnails */
.thumb-photo { aspect-ratio: 16 / 9; margin: -10px -10px 8px; border-radius: 12px; overflow: hidden; background: var(--surface); }
.thumb-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.post-card:hover .thumb-photo img { transform: scale(1.04); }
