:root{
  --blue:#3D68D4; --blue-dark:#2A4DA3; --navy:#171A2B;
  --ink:#2B2B2E; --paper:#F8F9FC; --tint:#EAF0FC; --line:rgba(43,43,46,.12);
}
html{ max-width:100%; overflow-x:hidden; }
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,sans-serif;
  color:var(--ink); background:var(--paper); line-height:1.6; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1180px; margin:0 auto; padding:0 clamp(20px,5vw,48px); min-width:0;}
section{position:relative; overflow-x:clip;}
a{color:inherit;}
/* Fix: was a bare h1,h2,h3 selector, which matches every heading on the
   page, not just ones inside this template. Since this stylesheet only
   loads on single blog posts, that leaked onto the site-wide footer's
   own headings (which are meant to stay white) and turned them dark only
   on blog post pages. Scoping to .about-hero/.post-shell keeps the exact
   same styling for the blog template while leaving the footer alone. */
.about-hero h1, .about-hero h2, .about-hero h3,
.post-shell h1, .post-shell h2, .post-shell h3 {
  font-weight:800; letter-spacing:-.02em; line-height:1.12; color:var(--ink); margin:0;
}
.lede{font-size:clamp(15px,1.4vw,17px); color:#4a4a52;}
.btn{display:inline-flex; align-items:center; gap:10px; background:var(--blue); color:#fff; font-weight:600; font-size:15px; padding:15px 26px; border-radius:100px; border:none; cursor:pointer; text-decoration:none; transition:transform .35s cubic-bezier(.2,.8,.2,1), background .3s;}
.btn:hover{background:var(--blue-dark); transform:translateY(-2px);}
.btn.line{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55);}
.btn.line:hover{background:rgba(255,255,255,.14);}

/* ---------- HERO ---------- */
.about-hero{min-height:56vh; min-height:56svh; display:grid; place-items:center; text-align:center; color:#fff; padding:120px 0 70px; overflow:hidden;
  background:radial-gradient(60% 70% at 78% 20%, rgba(61,104,212,.55), transparent 70%), radial-gradient(50% 60% at 10% 90%, rgba(61,104,212,.35), transparent 70%), var(--navy);}
.about-hero .wrap{position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;}
.crumbs{font-size:13.5px; color:rgba(255,255,255,.7); display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:center; margin-bottom:22px;}
.crumbs a{text-decoration:none; transition:color .25s;} .crumbs a:hover{color:#fff;}
.about-hero h1{font-size:clamp(30px,4.4vw,50px); max-width:22ch; color:#fff;}
.about-hero .lede{margin:20px auto 0; color:rgba(255,255,255,.82);}
.cimg{position:absolute; border-radius:50%; z-index:1; opacity:.38; border:1.5px solid rgba(255,255,255,.35); box-shadow:0 0 0 14px rgba(255,255,255,.05);
  background:linear-gradient(145deg,#6E92F0 0%,#3D68D4 55%,#2A4DA3 100%) center/cover no-repeat;}
.cimg-1{width:clamp(100px,14vw,190px); aspect-ratio:1; top:12%; left:6%;}
.cimg-2{width:clamp(130px,18vw,260px); aspect-ratio:1; bottom:12%; right:6%;}

/* ---------- POST SHELL ---------- */
.post-shell{padding:64px 0 110px;}
.post-shell{ overflow-x: visible; overflow-y: visible; }
.sblob{position:absolute; border-radius:50%; filter:blur(48px); opacity:.22; background:radial-gradient(circle at 35% 32%, var(--blue), transparent 72%); z-index:0; pointer-events:none;}
.sblob-1{width:260px; height:260px; top:80px; left:-100px;}
.sblob-2{width:220px; height:220px; bottom:60px; right:-80px;}
/* Fix: align-items:start was removed here. It forced .post-side to
   shrink to the CTA box's own height, leaving no extra room for the
   box to scroll through — which is what position:sticky needs in
   order to actually stick. The default (stretch) lets .post-side
   match .post-main's full height instead. */
.post-grid{position:relative; z-index:1; display:grid; grid-template-columns:7fr 3fr; gap:48px; min-width:0;}
.post-main{min-width:0;}

.post-thumb{border-radius:22px; overflow:hidden; margin-bottom:26px; box-shadow:0 30px 60px -34px rgba(42,77,163,.5);}
.post-thumb img{width:100%; height:auto; display:block;}

.post-meta{display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-bottom:34px; font-size:13.5px; color:#7a7a82;}
.post-meta i{color:var(--blue); margin-right:6px;}
.post-cat{background:var(--tint); color:var(--blue-dark); font-weight:700; font-size:12.5px; letter-spacing:.03em; text-transform:uppercase; padding:6px 14px; border-radius:100px; text-decoration:none; transition:background .25s;}
.post-cat:hover{background:var(--blue); color:#fff;}

/* ---------- CONTENT TYPOGRAPHY ---------- */
.post-content{font-size:16.5px; color:#3a3a40; min-width:0;}
.post-content > *{max-width:100%;}
.post-content p{margin:0 0 22px; line-height:1.8;}
.post-content h2{font-size:clamp(24px,2.6vw,30px); margin:44px 0 18px;}
.post-content h3{font-size:clamp(20px,2.2vw,23px); margin:36px 0 14px;}
.post-content h4{font-size:18px; margin:28px 0 12px;}
.post-content ul, .post-content ol{margin:0 0 22px; padding-left:26px;}
.post-content li{margin-bottom:10px; line-height:1.7;}
.post-content li::marker{color:var(--blue); font-weight:700;}
.post-content a{color:var(--blue); text-decoration:underline; text-underline-offset:3px;}
.post-content a:hover{color:var(--blue-dark);}
.post-content strong{color:var(--ink); font-weight:700;}
.post-content blockquote{margin:28px 0; padding:20px 26px; border-left:4px solid var(--blue); background:var(--tint); border-radius:0 14px 14px 0; font-style:italic; color:var(--ink);}
.post-content blockquote p{margin:0;}
.post-content img{width:100%; height:auto; border-radius:16px; margin:28px 0; display:block; box-shadow:0 20px 40px -26px rgba(23,26,43,.4);}
.post-content figure{margin:28px 0;}
.post-content figcaption{font-size:13.5px; color:#8a8a92; text-align:center; margin-top:8px;}
.post-content hr{border:none; border-top:1px solid var(--line); margin:40px 0;}
.post-content table{width:100%; border-collapse:collapse; margin:28px 0; font-size:15px; overflow-x:auto; display:block;}
.post-content th, .post-content td{padding:12px 16px; border:1px solid var(--line); text-align:left;}
.post-content th{background:var(--tint); font-weight:700;}
.post-content code{background:var(--tint); color:var(--blue-dark); padding:2px 7px; border-radius:6px; font-size:.92em;}
.post-content pre{background:var(--navy); color:#e8ecf7; padding:20px 22px; border-radius:14px; overflow-x:auto; margin:28px 0;}
.post-content pre code{background:none; color:inherit; padding:0;}

.post-tags{display:flex; flex-wrap:wrap; gap:10px; margin-top:36px; padding-top:26px; border-top:1px solid var(--line);}
.post-tags a{font-size:13px; font-weight:600; background:#fff; border:1px solid var(--line); color:#5a5a62; padding:7px 14px; border-radius:100px; text-decoration:none; transition:background .25s, color .25s, border-color .25s;}
.post-tags a:hover{background:var(--tint); color:var(--blue-dark); border-color:var(--blue);}

.post-back{margin-top:28px;}
.post-back a{display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:14.5px; color:var(--blue); text-decoration:none;}
.post-back a:hover{color:var(--blue-dark);}

/* ---------- STICKY CTA (same style as Services page CTA) ---------- */
.post-side{min-width:0;}
.ctabox{position:sticky; top:100px; overflow:hidden; border-radius:24px; padding:38px 30px; text-align:left; color:#fff;
  background:linear-gradient(120deg,var(--blue) 0%,var(--blue-dark) 55%,var(--navy) 140%);
  box-shadow:0 34px 70px -30px rgba(42,77,163,.55); transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;}
.ctabox:hover{transform:translateY(-5px); box-shadow:0 44px 80px -26px rgba(42,77,163,.65);}
.ctabox .o{position:absolute; border-radius:50%; background:rgba(255,255,255,.1); pointer-events:none;}
.ctabox .o1{width:200px; height:200px; top:-80px; right:-60px;}
.ctabox .o2{width:140px; height:140px; bottom:-50px; left:-40px;}
.ctabox > *:not(.o){position:relative; z-index:1;}
.ctabox h2{color:#fff; font-size:22px; margin-bottom:14px;}
.ctabox p{color:rgba(255,255,255,.85); font-size:14.5px; line-height:1.7; margin-bottom:26px;}
.ctabox .btns{display:flex; flex-direction:column; gap:12px;}
.ctabox .btn{width:100%; justify-content:center; background:#fff; color:var(--blue-dark);}
.ctabox .btn:hover{background:#eef2fc;}

@media (prefers-reduced-motion: reduce){ *{animation-duration:.01ms !important; transition-duration:.01ms !important;} }

@media (max-width:960px){
  .post-grid{grid-template-columns:1fr;}
  .ctabox{position:static;}
}
@media (max-width:560px){
  .about-hero{padding:104px 0 56px;}
  .cimg-1{top:8%; left:-4%;} .cimg-2{bottom:6%; right:-6%;}
  .post-shell{padding:44px 0 80px;}
}