:root {
  --paper: #fffdf8;
  --paper-deep: #f4ede1;
  --ink: #13233f;
  --ink-soft: #536078;
  --line: #d9d1c4;
  --blue: #3147c7;
  --blue-dark: #26389e;
  --orange: #ef6a4d;
  --mint: #48b98b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(19, 35, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.72 "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 7%, rgba(239, 106, 77, .10), transparent 24rem),
    radial-gradient(circle at 5% 38%, rgba(49, 71, 199, .08), transparent 26rem);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 209, 196, .82);
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(14px);
}
.site-nav { min-height: 74px; display: flex; align-items: center; gap: 34px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; min-width: 177px; }
.brand-symbol { display: block; flex: 0 0 41px; width: 41px; height: 46px; overflow: hidden; }
.brand-symbol img { width: 206px; max-width: none; height: 46px; }
.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .075em;
}
.brand-wordmark::after {
  content: "";
  position: absolute;
  left: 1px;
  right: .1em;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563eb, #60a5fa 72%, #f59e0b);
}
.brand-wordmark em { font-style: normal; }
.nav-links { display: flex; justify-content: center; gap: 28px; flex: 1; color: var(--ink-soft); font-size: .88rem; font-weight: 600; }
.nav-links a:hover, .text-link:hover { color: var(--blue); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: .86rem;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); background: var(--blue); border-color: var(--blue); }
.button.secondary { background: transparent; color: var(--ink); border-color: #bdb4a7; }
.button.secondary:hover { color: var(--blue); border-color: var(--blue); }

.blog-hero { padding: 94px 0 76px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 16px; color: var(--orange); font: 800 .75rem/1.2 "Segoe UI", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.blog-hero h1, .article-hero h1 { margin: 0; max-width: 980px; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .95; letter-spacing: -.065em; }
.blog-hero .lead { max-width: 710px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1.08rem, 2vw, 1.38rem); }
.issue-mark { display: flex; gap: 14px; align-items: center; margin-top: 36px; color: var(--ink-soft); font-size: .84rem; }
.issue-mark::before { content: ""; width: 46px; height: 2px; background: var(--orange); }

.posts { padding: 70px 0 110px; }
.posts-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.posts-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3.1rem); letter-spacing: -.04em; }
.posts-head p { max-width: 450px; margin: 0; color: var(--ink-soft); }
.post-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .68); transition: transform .18s ease, box-shadow .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .visual { display: grid; place-items: center; aspect-ratio: 16 / 10; min-height: 280px; background: var(--ink); overflow: hidden; }
.post-card .visual img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.post-card .visual.word { display: grid; align-content: end; padding: 34px; color: var(--paper); background: linear-gradient(145deg, #13233f, #26389e); }
.post-card .visual.word strong { display: block; max-width: 420px; font-size: clamp(2rem, 4.7vw, 4rem); line-height: .94; letter-spacing: -.05em; }
.post-card .body { padding: 30px; }
.post-card .meta { color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0 12px; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.08; letter-spacing: -.035em; }
.post-card p { margin: 0; color: var(--ink-soft); }
.post-card .read { display: inline-block; margin-top: 22px; color: var(--blue); font-weight: 750; }

.crumbs { padding-top: 30px; color: #7b8190; font-size: .8rem; }
.crumbs a:hover { color: var(--blue); }
.article-hero { padding: 58px 0 56px; }
.article-hero h1 { max-width: 1030px; font-size: clamp(2.8rem, 6.5vw, 6.1rem); }
.dek { max-width: 790px; margin: 28px 0 0; color: #3f4b62; font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.58; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--ink-soft); font-size: .84rem; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 26%; }
.byline strong { display: block; color: var(--ink); }
.byline span { display: block; }

.article-shell { display: grid; grid-template-columns: minmax(0, 780px) 230px; justify-content: space-between; gap: 70px; padding-bottom: 100px; }
.article-body { min-width: 0; }
.article-body > p, .article-body li { color: var(--ink-soft); font-size: 1.075rem; line-height: 1.85; }
.article-body > p { margin: 0 0 25px; }
.article-body h2 { margin: 70px 0 24px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.article-body h3 { margin: 36px 0 13px; font-size: 1.22rem; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.opening { padding-left: 25px; border-left: 3px solid var(--orange); color: #344158 !important; font-size: 1.25rem !important; }
.pullquote { margin: 56px 0; padding: 36px 0; border-block: 1px solid var(--line); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 760; line-height: 1.18; letter-spacing: -.04em; }
.pullquote span { color: var(--orange); }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 24px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.metric { padding: 25px 22px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; }
.metric b { display: block; color: var(--ink); font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; }
.metric span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .76rem; line-height: 1.4; }
.figure { width: 100%; margin: 50px 0 54px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.figure img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 7px; }
.figure figcaption { padding: 13px 7px 2px; color: #697286; font-size: .78rem; line-height: 1.55; }
.note { margin: 36px 0; padding: 25px 28px; border-left: 4px solid var(--blue); background: #edf0ff; color: #3b4964; }
.note strong { display: block; margin-bottom: 6px; }
.story-steps { margin: 32px 0; padding: 0; list-style: none; counter-reset: story; }
.story-steps li { position: relative; margin: 0; padding: 22px 0 22px 58px; border-top: 1px solid var(--line); }
.story-steps li::before { counter-increment: story; content: counter(story, decimal-leading-zero); position: absolute; left: 0; top: 24px; color: var(--orange); font: 800 .8rem/1 "Segoe UI", sans-serif; letter-spacing: .08em; }
.story-steps b { display: block; margin-bottom: 3px; }
.article-aside { align-self: start; position: sticky; top: 104px; padding-top: 8px; }
.article-aside h2 { margin: 0 0 15px; color: #7b8190; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.article-aside a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; line-height: 1.4; }
.article-aside a:hover { color: var(--blue); }
.article-aside .aside-cta { margin-top: 26px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper-deep); }
.article-aside .aside-cta p { margin: 0 0 14px; color: var(--ink-soft); font-size: .8rem; }
.article-aside .button { width: 100%; }
.article-aside a.button { color: var(--white); }
.final-cta { margin-top: 70px; padding: 46px; border-radius: 14px; color: var(--white); background: var(--ink); }
.final-cta .eyebrow { color: #ff9a80; }
.final-cta h2 { margin: 0 0 16px; max-width: 600px; color: var(--white); }
.final-cta p { max-width: 610px; color: #c8d1df; }
.final-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.final-cta .button { background: var(--white); color: var(--ink); border-color: var(--white); }
.final-cta .button.secondary { background: transparent; color: var(--white); border-color: #6f7d94; }
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; margin-top: 36px; padding: 26px; border: 1px solid var(--line); border-radius: 11px; }
.author-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.author-card h2 { margin: 0 0 4px; font-size: 1.25rem; }
.author-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.author-card a { color: var(--blue); font-weight: 700; }

.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding: 58px 0 34px; }
.footer-grid h2 { margin: 0 0 12px; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid p, .footer-grid a { display: block; margin: 0; padding: 4px 0; color: #71798a; font-size: .84rem; }
.footer-grid a:hover { color: var(--blue); }
.footer-brand p { max-width: 310px; margin-top: 24px; }
.legal { padding: 20px 0 30px; border-top: 1px solid var(--line); color: #858b98; font-size: .75rem; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .site-nav { justify-content: space-between; }
  .post-grid { grid-template-columns: 1fr; }
  .article-shell { display: block; width: 100%; }
  .article-body, .article-hero { width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .byline > div { min-width: 0; }
  .byline span { white-space: normal; }
  .article-aside { display: none; }
  .figure { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 30px, 1160px); }
  .site-nav > .button { display: none; }
  .blog-hero { padding: 66px 0 54px; }
  .blog-hero h1, .article-hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .posts-head { display: block; }
  .posts-head p { margin-top: 12px; }
  .post-card .visual, .post-card .visual img { min-height: 220px; }
  .article-hero { padding-top: 42px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
  .opening { padding-left: 16px; }
  .final-cta { padding: 32px 23px; }
  .author-card { grid-template-columns: 68px 1fr; padding: 20px; }
  .author-card img { width: 68px; height: 68px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .site-header, .article-aside, .final-cta, .site-footer { display: none; }
  body { background: white; }
  .article-shell { display: block; }
  .figure { width: 100%; box-shadow: none; break-inside: avoid; }
}
