/* Blog alignment with the portfolio's framed route language.
   Deliberately limited to blog to avoid destabilizing About / Work. */
body[data-page="blog"] { --chrome-page-accent:#8fff86;--chrome-page-tint:rgba(94,174,91,.19); }
body[data-page="blog"] #frame-content{
 background:#0d0f0e;
 background-image:radial-gradient(ellipse 44% 58% at 101% 9%,rgba(51,107,59,.26),transparent 84%),
 radial-gradient(ellipse 48% 63% at -9% 95%,rgba(39,95,47,.24),transparent 82%);
}
body[data-page="blog"] .blog-frame main{overflow:visible;min-width:0}
body[data-page="blog"] .blog-shell{width:min(1080px,calc(100% - 92px));margin-inline:auto}
body[data-page="blog"] .blog-hero{
 position:relative;display:flex;align-items:center;justify-content:center;
 min-height:calc(100dvh - 98px);height:calc(100dvh - 98px);
 padding:70px 30px 85px;overflow:hidden;text-align:center;
 isolation:isolate;
 background:transparent!important;
}
body[data-page="blog"] .blog-hero::before{
 content:"";position:absolute;inset:0;z-index:-1;
 background:radial-gradient(ellipse 44% 48% at 94% 15%,rgba(67,148,65,.22),transparent 83%),
 radial-gradient(ellipse 43% 56% at 0% 92%,rgba(53,114,59,.23),transparent 80%);
 pointer-events:none;
}
body[data-page="blog"] .blog-hero::after{display:none!important}
body[data-page="blog"] .blog-hero-inner{
 position:relative;display:flex;flex-direction:column;align-items:center;
 padding:0!important;max-width:1000px;z-index:2;
}
body[data-page="blog"] .blog-ghost-word{
 position:absolute;z-index:-1;top:50%;left:50%;transform:translate(-50%,-52%);
 font:800 clamp(155px,29vw,460px)/1 var(--font);
 letter-spacing:-.12em;color:rgba(3,8,4,.27);white-space:nowrap;pointer-events:none;
 user-select:none;
}
body[data-page="blog"] .blog-hero .route-eyebrow{
 font:400 12px/1.4 var(--font);letter-spacing:.01em;
 color:#a8b1a9;text-transform:lowercase;
}
body[data-page="blog"] .blog-hero h1{
 font:400 clamp(50px,6.3vw,94px)/1.03 var(--font);
 letter-spacing:-.065em;color:#f5f5f5;margin:22px 0 23px;
 width:100%;max-width:1050px;white-space:normal;
}
body[data-page="blog"] .blog-hero h1 em{color:#8fff86;font-style:normal}
body[data-page="blog"] .blog-hero p{
 font:400 clamp(13px,1.2vw,16px)/1.72 var(--mono);
 color:#a4a9a4;letter-spacing:-.018em;
 max-width:610px;margin:0 auto;
}
body[data-page="blog"] .blog-hero-down{
 position:absolute;top:calc(50vh - 10px);left:50%;transform:translateX(-50%);
 font:25px/1 var(--font);color:#bec4be;opacity:.8;transition:transform .28s,opacity .28s;
}
body[data-page="blog"] .blog-hero-down:hover{transform:translate(-50%,6px);opacity:1}
body[data-page="blog"] .blog-section{padding-top:95px;padding-bottom:125px;min-height:calc(100dvh - 98px)}
body[data-page="blog"] .blog-section-head{
 border:0;padding:0 0 38px;align-items:end
}
body[data-page="blog"] .blog-section-head h2{
 font:400 clamp(38px,4.8vw,68px)/1.09 var(--font);letter-spacing:-.055em;margin:12px 0 0
}
body[data-page="blog"] .blog-searchbar{margin:0 0 25px}
body[data-page="blog"] .blog-searchbar label{min-height:48px;background:rgba(12,14,12,.85)}
body[data-page="blog"] .filter-pill{min-height:41px}
body[data-page="blog"] .blog-grid{grid-template-columns:1fr;gap:17px}
body[data-page="blog"] .post-card{
 grid-template-columns:1fr!important;grid-template-rows:40px minmax(150px,auto) auto!important;
 min-height:240px;border:1px solid #454d45;border-radius:4px;
 background:rgba(13,16,14,.91);box-shadow:0 14px 42px rgba(0,0,0,.17);
 transform:none;
}
body[data-page="blog"] .post-card:hover{transform:translateY(-3px);border-color:#8fff86}
body[data-page="blog"] .post-card::after{
 right:48px;top:80px;width:98px;height:98px;font-size:50px
}
body[data-page="blog"] .post-card-top{grid-column:1;grid-row:1;padding:0 20px}
body[data-page="blog"] .post-card-body{
 grid-column:1;grid-row:2;padding:28px min(25%,225px) 25px 30px;margin:0
}
body[data-page="blog"] .post-card h3{font-size:clamp(27px,3vw,43px)}
body[data-page="blog"] .post-card-bottom{grid-column:1;grid-row:3;margin:0 27px}
body[data-page="blog"] .blog-bottom-cta{
 min-height:380px;align-items:center;border-color:#454c45;
 padding:70px 0 100px;
}
body[data-page="blog"] .blog-bottom-cta h2{font-size:clamp(32px,4vw,55px);max-width:650px;line-height:1.1}
body[data-page="blog"] .blog-action{
 background:transparent;color:#d0d9d0;border-color:#576457;
 font:500 12px var(--mono);
}
body[data-page="blog"] .blog-action:hover,
body[data-page="blog"] .blog-action.ghost:hover{
 color:#101611;background:#8fff86;border-color:#8fff86
}
body[data-page="blog"] .blog-footer-note{border-color:#454c45;color:#909a91}
@media(max-width:900px){
 body[data-page="blog"] .blog-shell{width:calc(100% - 54px)}
 body[data-page="blog"] .blog-hero h1{font-size:clamp(46px,8.5vw,76px)}
 body[data-page="blog"] .blog-section{padding-top:75px}
 body[data-page="blog"] .blog-bottom-cta{flex-direction:column;align-items:flex-start;gap:30px}
}
@media(max-width:600px){
 body[data-page="blog"] .blog-shell{width:calc(100% - 34px)}
 body[data-page="blog"] .blog-hero{
  height:auto;min-height:calc(100dvh - 98px);
  padding:66px 12px 82px;
 }
 body[data-page="blog"] .blog-hero h1{font-size:clamp(39px,10.9vw,55px)}
 body[data-page="blog"] .blog-hero p{font-size:12px;max-width:335px}
 body[data-page="blog"] .blog-ghost-word{font-size:140px}
 body[data-page="blog"] .blog-hero-down{top:auto;bottom:-50px}
 body[data-page="blog"] .blog-section{padding-top:60px;padding-bottom:85px}
 body[data-page="blog"] .blog-section-head{align-items:start;gap:12px}
 body[data-page="blog"] .blog-section-head h2{font-size:38px}
 body[data-page="blog"] .blog-section-head .count{font-size:10px;white-space:nowrap}
 body[data-page="blog"] .post-card{min-height:220px}
 body[data-page="blog"] .post-card::after{display:none}
 body[data-page="blog"] .post-card-body{padding:22px 20px}
 body[data-page="blog"] .post-card h3{font-size:28px}
 body[data-page="blog"] .blog-bottom-cta{min-height:300px;padding:65px 0}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="blog"] .post-card,body[data-page="blog"] .blog-hero-down{transition:none}
}
