  :root{
    --ink:#0E2233;
    --blue-900:#0B3D62;
    --blue-800:#0F4C75;
    --blue-700:#14588A;
    --blue-500:#2E86C1;
    --blue-300:#7EC8E3;
    --blue-100:#D6EAF7;
    --blue-050:#EEF6FC;
    --white:#FFFFFF;
    --line:#C7DCEB;
    --line-soft:#DCEAF5;
    --shadow: 0 10px 30px -12px rgba(11,61,98,0.25);
    --radius: 10px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
  }
  body{
    margin:0;
    font-family:'Inter',sans-serif;
    color:var(--ink);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Space Grotesk',sans-serif;
    margin:0;
    letter-spacing:-0.01em;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
  .eyebrow{
    font-family:'IBM Plex Mono',monospace;
    font-size:12px;
    letter-spacing:0.16em;
    text-transform:uppercase;
    color:var(--blue-700);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:22px;height:1px;
    background:var(--blue-500);
    display:inline-block;
  }

  /* ---------- Header ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line-soft);
  }
  .nav{
    max-width:1180px; margin:0 auto; padding:0 28px;
    height:68px; display:flex; align-items:center; justify-content:space-between;
  }
  .brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
  .brand-mark{
    width:54px; height:54px; display:block; object-fit:contain; flex:none; margin:-4px -4px -4px -6px;
  }
  .brand-name{ font-weight:700; font-size:15.5px; line-height:1.15; }
  .brand-name span{ display:block; font-family:'IBM Plex Mono'; font-weight:400; font-size:10.5px; letter-spacing:0.1em; color:var(--blue-700); text-transform:uppercase; }
  nav.links{ display:flex; gap:30px; align-items:center; }
  nav.links a{
    font-size:14px; font-weight:500; text-decoration:none; color:var(--ink);
    position:relative; padding:4px 0;
  }
  nav.links a::after{
    content:""; position:absolute; left:0; bottom:-2px; width:0; height:1.5px;
    background:var(--blue-500); transition:width .25s ease;
  }
  nav.links a:hover::after{ width:100%; }
  .nav-cta{
    background:var(--blue-900); color:white; padding:9px 18px; border-radius:6px;
    font-size:13.5px; font-weight:600; text-decoration:none;
    transition:background .2s ease, transform .2s ease;
  }
  .nav-cta:hover{ background:var(--blue-700); transform:translateY(-1px); }
  .menu-toggle{ display:none; align-items:center; justify-content:center; background:none; border:1px solid var(--line); border-radius:6px; width:40px; height:40px; cursor:pointer; color:var(--ink); }
  .menu-toggle:hover{ border-color:var(--blue-500); }
  nav.links a.current{ color:var(--blue-700); }
  nav.links a.current::after{ width:100%; }
  .mobile-menu{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:rgba(255,255,255,0.98); border-bottom:1px solid var(--line-soft);
    padding:8px 28px 22px; flex-direction:column; box-shadow:0 18px 30px -18px rgba(11,61,98,0.3);
  }
  .mobile-menu.open{ display:flex; }
  .mobile-menu a{ padding:13px 0; font-size:15px; font-weight:500; text-decoration:none; border-top:1px dashed var(--line-soft); }
  .mobile-menu a:first-child{ border-top:none; }
  .mobile-menu a.current{ color:var(--blue-700); }
  .mobile-menu .nav-cta{ margin-top:12px; text-align:center; color:white; border-top:none; padding:12px 18px; }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    margin-top:68px;
    background: radial-gradient(1200px 500px at 15% -10%, rgba(46,134,193,0.35), transparent),
                linear-gradient(180deg,var(--blue-900) 0%, #0A3455 100%);
    color:white;
    overflow:hidden;
    padding:96px 0 110px;
  }
  .blueprint-grid{
    position:absolute; inset:0; opacity:0.55; pointer-events:none;
  }
  .blueprint-grid line{
    stroke:rgba(255,255,255,0.14);
    stroke-width:1;
    stroke-dasharray:1200;
    stroke-dashoffset:1200;
    animation:draw 2.4s ease forwards;
  }
  .blueprint-grid .major{ stroke:rgba(126,200,227,0.28); }
  @keyframes draw{ to{ stroke-dashoffset:0; } }

  .hero-inner{ position:relative; z-index:2; }
  .hero-tag{
    display:inline-flex; align-items:center; gap:8px;
    font-family:'IBM Plex Mono'; font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--blue-300); border:1px solid rgba(126,200,227,0.35);
    padding:6px 14px; border-radius:999px; margin-bottom:26px;
    opacity:0; animation:riseIn .7s ease .1s forwards;
  }
  .hero-tag i{ width:6px; height:6px; border-radius:50%; background:var(--blue-300); box-shadow:0 0 0 3px rgba(126,200,227,0.2); }
  h1.hero-h{
    font-size:clamp(36px,5.4vw,64px);
    line-height:1.05;
    font-weight:700;
    max-width:780px;
    opacity:0; animation:riseIn .8s ease .22s forwards;
  }
  .hero-h em{ font-style:normal; color:var(--blue-300); }
  .hero-sub{
    max-width:560px; margin-top:22px; font-size:16.5px; line-height:1.65;
    color:rgba(255,255,255,0.78);
    opacity:0; animation:riseIn .8s ease .36s forwards;
  }
  @keyframes riseIn{ from{opacity:0; transform:translateY(16px);} to{opacity:1; transform:translateY(0);} }

  .hero-stats{
    margin-top:56px;
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
    border-top:1px solid rgba(255,255,255,0.16);
    padding-top:30px;
    opacity:0; animation:riseIn .8s ease .5s forwards;
  }
  .stat{ border-left:1px solid rgba(255,255,255,0.16); padding:0 24px; }
  .stat:first-child{ border-left:none; padding-left:0; }
  .stat .num{ font-family:'Space Grotesk'; font-weight:700; font-size:clamp(24px,3vw,34px); color:white; }
  .stat .num::after{ content: attr(data-suffix); color:var(--blue-300); }
  .stat .label{ font-family:'IBM Plex Mono'; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.55); margin-top:6px; }

  /* ---------- Section shell ---------- */
  section{ padding:96px 0; }
  .section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:44px; flex-wrap:wrap; }
  .section-head h2{ font-size:clamp(26px,3.4vw,36px); margin-top:12px; max-width:560px; }
  .section-head p{ max-width:420px; color:#4C6478; font-size:14.5px; line-height:1.6; margin-top:12px; }

  .reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  /* ---------- Capabilities ---------- */
  .cap-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
  .cap-card{ background:white; padding:32px 28px; }
  .cap-card .idx{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--blue-500); letter-spacing:0.1em; }
  .cap-card h3{ font-size:19px; margin-top:10px; color:var(--blue-900); }
  .cap-card ul{ margin:18px 0 0; padding:0; list-style:none; }
  .cap-card li{
    font-size:13.5px; color:#3B5468; padding:8px 0 8px 18px; position:relative;
    border-top:1px dashed var(--line-soft);
  }
  .cap-card li:first-child{ border-top:none; }
  .cap-card li::before{ content:"—"; position:absolute; left:0; color:var(--blue-300); }

  /* ---------- Project cards ---------- */
  .projects-toolbar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px; align-items:center; }
  .chip{
    font-family:'IBM Plex Mono'; font-size:12px; padding:8px 14px; border-radius:999px;
    border:1px solid var(--line); background:white; color:#3B5468; cursor:pointer;
    transition:all .2s ease; letter-spacing:0.02em;
  }
  .chip:hover{ border-color:var(--blue-500); color:var(--blue-700); }
  .chip.active{ background:var(--blue-900); border-color:var(--blue-900); color:white; }
  .search-box{
    margin-left:auto; position:relative;
  }
  .search-box input{
    font-family:'Inter'; font-size:13.5px; padding:9px 14px 9px 34px;
    border:1px solid var(--line); border-radius:999px; width:220px; outline:none;
    transition:border-color .2s ease, width .2s ease;
  }
  .search-box input:focus{ border-color:var(--blue-500); width:260px; }
  .search-box svg{ position:absolute; left:12px; top:50%; transform:translateY(-50%); opacity:0.45; }

  .grid-projects{ display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr)); gap:20px; }

  .pcard{
    position:relative;
    border:1px solid var(--line); border-radius:var(--radius);
    background:white; padding:22px 22px 20px;
    transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    overflow:hidden;
  }
  .pcard::before, .pcard::after{
    content:""; position:absolute; width:12px; height:12px; border-color:var(--blue-300); opacity:0; transition:opacity .3s ease;
  }
  .pcard::before{ top:8px; left:8px; border-top:2px solid; border-left:2px solid; }
  .pcard::after{ bottom:8px; right:8px; border-bottom:2px solid; border-right:2px solid; }
  .pcard:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--blue-300); }
  .pcard:hover::before, .pcard:hover::after{ opacity:1; }

  .pcard-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
  .pcard .sr{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--blue-500); letter-spacing:0.06em; }
  .stamp{
    font-family:'IBM Plex Mono'; font-size:9.5px; letter-spacing:0.1em; text-transform:uppercase;
    padding:4px 9px; border-radius:4px; transform:rotate(3deg);
    border:1.5px solid; white-space:nowrap;
  }
  .stamp.running{ color:#B5701A; border-color:#E3AA55; background:#FFF7EA; }
  .stamp.complete{ color:var(--blue-700); border-color:var(--blue-300); background:var(--blue-050); }

  .pcard h4{ font-size:15.5px; margin-top:14px; line-height:1.35; color:var(--ink); min-height:42px; }
  .pcard .meta{ margin-top:12px; font-size:12.5px; color:#5A7488; line-height:1.7; }
  .pcard .meta b{ color:var(--ink); font-weight:600; }
  .pcard .value{
    margin-top:14px; padding-top:12px; border-top:1px dashed var(--line-soft);
    display:flex; justify-content:space-between; align-items:center;
  }
  .pcard .value .amt{ font-family:'IBM Plex Mono'; font-weight:600; font-size:14px; color:var(--blue-900); }
  .pcard .value .cat{ font-size:10.5px; color:#7A93A6; font-family:'IBM Plex Mono'; }
  .pcard .scope{
    margin-top:12px; font-size:12px; color:#6C8497; line-height:1.6;
    max-height:0; opacity:0; overflow:hidden; transition:max-height .35s ease, opacity .3s ease, margin-top .35s ease;
  }
  .pcard:hover .scope{ max-height:120px; opacity:1; margin-top:12px; }
  .pcard .scope span{ display:block; padding-left:14px; position:relative; }
  .pcard .scope span::before{ content:"·"; position:absolute; left:2px; color:var(--blue-300); }

  .load-more{
    display:block; margin:36px auto 0; background:none; border:1px solid var(--line);
    padding:11px 26px; border-radius:999px; font-family:'IBM Plex Mono'; font-size:12.5px;
    color:var(--blue-700); cursor:pointer; transition:all .2s ease;
  }
  .load-more:hover{ border-color:var(--blue-500); background:var(--blue-050); }
  .empty-state{ text-align:center; padding:50px 0; color:#7A93A6; font-family:'IBM Plex Mono'; font-size:13px; display:none; }

  /* ---------- Running section bg ---------- */
  #running{ background:var(--blue-050); }

  /* ---------- Clients ---------- */
  .clients-wrap{ display:flex; flex-wrap:wrap; gap:10px; }
  .client-chip{
    border:1px solid var(--line); padding:10px 18px; border-radius:8px;
    font-size:13px; font-weight:500; color:#3B5468; background:white;
    transition:border-color .2s ease, color .2s ease, transform .2s ease;
  }
  .client-chip:hover{ border-color:var(--blue-500); color:var(--blue-800); transform:translateY(-2px); }

  /* ---------- Offices / contact ---------- */
  .offices{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
  .office{ background:white; padding:28px; }
  .office .tag{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--blue-500); letter-spacing:0.1em; text-transform:uppercase; }
  .office h4{ font-size:17px; margin-top:8px; color:var(--blue-900); }
  .office p{ font-size:13.5px; color:#4C6478; line-height:1.7; margin-top:10px; }
  .office a{ color:var(--blue-700); text-decoration:none; font-weight:500; }

  footer{ background:var(--blue-900); color:rgba(255,255,255,0.75); padding:56px 0 30px; }
  .foot-top{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:30px; padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,0.14); }
  .foot-top h3{ color:white; font-size:20px; max-width:340px; line-height:1.4; }
  .foot-links{ display:flex; gap:44px; flex-wrap:wrap; }
  .foot-col h5{ font-family:'IBM Plex Mono'; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--blue-300); margin-bottom:12px; }
  .foot-col a{ display:block; font-size:13.5px; text-decoration:none; color:rgba(255,255,255,0.72); margin-bottom:9px; transition:color .2s ease;}
  .foot-col a:hover{ color:white; }
  .foot-bottom{ padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; font-family:'IBM Plex Mono'; color:rgba(255,255,255,0.45); }

  @media (max-width:860px){
    .cap-grid{ grid-template-columns:1fr; }
    .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
    .stat:nth-child(3){ border-left:none; }
    .offices{ grid-template-columns:1fr; }
    nav.links{ display:none; }
    .nav > .nav-cta{ display:none; }
    .menu-toggle{ display:inline-flex; }
    .search-box input{ width:150px; }
    .search-box input:focus{ width:180px; }
  }

/* =====================================================================
   BLOG  (home strip, listing page, article page)
   ===================================================================== */

/* ---------- Compact page hero (listing page) ---------- */
.hero.hero-sm{ padding:70px 0 64px; }
.hero.hero-sm h1.hero-h{ font-size:clamp(32px,4.6vw,52px); }
.crumbs{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.06em;
  color:rgba(255,255,255,0.6); margin-bottom:22px; display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  opacity:0; animation:riseIn .7s ease .05s forwards;
}
.crumbs a{ color:var(--blue-300); text-decoration:none; }
.crumbs a:hover{ text-decoration:underline; }
.crumbs i{ font-style:normal; opacity:0.5; }

/* ---------- Blog cards ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:24px; }
.bcard{
  position:relative; display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:var(--radius); background:white; overflow:hidden;
  text-decoration:none; color:inherit;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.bcard:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--blue-300); }
.bcover{
  position:relative; height:160px; overflow:hidden; flex:none;
  background:linear-gradient(155deg,var(--blue-700),var(--blue-900));
}
.bcover::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size:32px 32px;
}
.bcover::after{
  content:attr(data-idx); position:absolute; right:16px; bottom:-12px;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:96px; line-height:1;
  color:rgba(255,255,255,0.12);
}
.bcover .bcat{
  position:absolute; left:16px; top:16px; z-index:2;
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase;
  color:white; border:1px solid rgba(255,255,255,0.45); background:rgba(11,61,98,0.35);
  padding:5px 10px; border-radius:999px;
}
.bcover[data-cat="Electrical & DEWA"]{ background:linear-gradient(155deg,#C2802A,#7C4A10); }
.bcover[data-cat="Villas & Residential"]{ background:linear-gradient(155deg,#2E86C1,#0F4C75); }
.bcover[data-cat="Fit-out & MEP"]{ background:linear-gradient(155deg,#1E7A8C,#0A3F55); }
.bcover[data-cat="Industrial & Warehouse"]{ background:linear-gradient(155deg,#3F5F78,#0E2233); }
.bcover[data-cat="Site & Infrastructure"]{ background:linear-gradient(155deg,#5B7A3E,#2A3E1B); }
.bcover[data-cat="Towers & Commercial"]{ background:linear-gradient(155deg,#14588A,#0A2A47); }
.bcover[data-cat="Company News"]{ background:linear-gradient(155deg,#0F4C75,#0E2233); }

.bbody{ padding:22px 24px 22px; display:flex; flex-direction:column; flex:1; }
.bmeta{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.04em; color:#6C8497; display:flex; gap:10px; flex-wrap:wrap; }
.bmeta i{ font-style:normal; color:var(--blue-300); }
.bcard h3{ font-size:19px; line-height:1.3; margin-top:12px; color:var(--ink); }
.bcard p.bex{ font-size:14px; line-height:1.65; color:#4C6478; margin:12px 0 0; }
.bmore{
  margin-top:auto; padding-top:18px; font-family:'IBM Plex Mono',monospace; font-size:12.5px; font-weight:500;
  color:var(--blue-700); display:inline-flex; align-items:center; gap:8px;
}
.bmore span{ display:inline-block; transition:transform .25s ease; }
.bcard:hover .bmore span{ transform:translateX(5px); }

/* featured card (listing page, first post) */
.bcard.featured{ grid-column:1 / -1; flex-direction:row; }
.bcard.featured .bcover{ height:auto; min-height:280px; width:44%; }
.bcard.featured .bcover::after{ font-size:170px; }
.bcard.featured .bbody{ padding:34px 38px; justify-content:center; }
.bcard.featured h3{ font-size:clamp(22px,2.6vw,30px); }
.bcard.featured p.bex{ font-size:15.5px; max-width:520px; }
.bcard.featured .bmore{ margin-top:22px; padding-top:0; }
.feat-flag{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:#B5701A; margin-bottom:12px;
}

.blog-toolbar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:34px; align-items:center; }
.blog-empty{ text-align:center; padding:60px 0; color:#7A93A6; font-family:'IBM Plex Mono',monospace; font-size:13px; display:none; }
.section-cta{ text-align:center; margin-top:38px; }
.btn-outline{
  display:inline-block; border:1px solid var(--blue-900); color:var(--blue-900); padding:12px 26px; border-radius:6px;
  font-size:14px; font-weight:600; text-decoration:none; transition:background .2s ease, color .2s ease;
}
.btn-outline:hover{ background:var(--blue-900); color:white; }

/* ---------- Article page ---------- */
.article-hero{
  position:relative; margin-top:68px; color:white; overflow:hidden;
  background: radial-gradient(1000px 420px at 12% -10%, rgba(46,134,193,0.35), transparent),
              linear-gradient(180deg,var(--blue-900) 0%, #0A3455 100%);
  padding:64px 0 60px;
}
.article-hero .blueprint-grid{ opacity:0.45; }
.article-hero .wrap{ position:relative; z-index:2; }
.article-tag{
  display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--blue-300); border:1px solid rgba(126,200,227,0.4); padding:5px 13px; border-radius:999px; margin-bottom:22px;
}
.article-hero h1{
  font-size:clamp(30px,4.4vw,48px); line-height:1.12; font-weight:700; max-width:860px;
  opacity:0; animation:riseIn .8s ease .15s forwards;
}
.article-meta{
  margin-top:24px; display:flex; gap:22px; flex-wrap:wrap;
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; letter-spacing:0.04em; color:rgba(255,255,255,0.7);
  opacity:0; animation:riseIn .8s ease .3s forwards;
}
.article-meta b{ color:white; font-weight:500; }

.article-layout{ padding:56px 0 30px; }
.article-layout .wrap{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:64px; align-items:start; }
.prose{ max-width:720px; font-size:17px; line-height:1.78; color:#22374A; }
.prose > p:first-of-type{ font-size:19px; line-height:1.7; color:var(--ink); }
.prose p{ margin:0 0 22px; }
.prose h2{ font-size:27px; line-height:1.25; margin:52px 0 16px; color:var(--blue-900); scroll-margin-top:96px; }
.prose h3{ font-size:20px; margin:34px 0 10px; color:var(--blue-800); }
.prose ul, .prose ol{ margin:0 0 24px; padding-left:22px; }
.prose li{ margin-bottom:10px; padding-left:4px; }
.prose li::marker{ color:var(--blue-500); }
.prose a{ color:var(--blue-700); text-underline-offset:3px; }
.prose strong{ color:var(--ink); }
.callout{
  margin:30px 0; padding:20px 24px; border-left:3px solid var(--blue-500); background:var(--blue-050);
  border-radius:0 10px 10px 0; font-size:15.5px; line-height:1.7; color:#2B4257;
}
.callout b{ display:block; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.1em; text-transform:uppercase; color:var(--blue-700); margin-bottom:6px; font-weight:500; }
.checklist{ list-style:none; padding-left:0 !important; }
.checklist li{ position:relative; padding:12px 0 12px 34px; border-top:1px dashed var(--line); margin:0; }
.checklist li:last-child{ border-bottom:1px dashed var(--line); }
.checklist li::before{
  content:""; position:absolute; left:2px; top:17px; width:14px; height:14px; border:1.5px solid var(--blue-500); border-radius:3px;
}
.prose table{ width:100%; border-collapse:collapse; margin:0 0 28px; font-size:15px; }
.prose th{ text-align:left; font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--blue-700); padding:10px 12px; border-bottom:2px solid var(--blue-900); }
.prose td{ padding:12px; border-bottom:1px solid var(--line-soft); vertical-align:top; }
.disclaimer{ font-size:13.5px; color:#6C8497; border-top:1px solid var(--line); padding-top:20px; margin-top:44px; line-height:1.65; }

.article-aside{ position:sticky; top:92px; display:flex; flex-direction:column; gap:20px; }
.aside-card{ border:1px solid var(--line); border-radius:var(--radius); padding:22px; background:white; }
.aside-card h4{ font-size:15px; color:var(--blue-900); margin-bottom:12px; }
.toc{ list-style:none; margin:0; padding:0; }
.toc a{
  display:block; font-size:13.5px; line-height:1.45; color:#4C6478; text-decoration:none; padding:8px 0 8px 14px;
  border-left:2px solid var(--line-soft); transition:color .2s ease, border-color .2s ease;
}
.toc a:hover, .toc a.on{ color:var(--blue-800); border-left-color:var(--blue-500); }
.aside-cta{ background:var(--blue-900); border-color:var(--blue-900); color:rgba(255,255,255,0.85); }
.aside-cta h4{ color:white; font-size:17px; line-height:1.35; }
.aside-cta p{ font-size:13.5px; line-height:1.6; margin:0 0 16px; }
.aside-cta a.btn{
  display:block; text-align:center; background:white; color:var(--blue-900); font-weight:600; font-size:13.5px;
  padding:11px 14px; border-radius:6px; text-decoration:none; margin-top:8px; transition:background .2s ease;
}
.aside-cta a.btn:hover{ background:var(--blue-100); }
.aside-cta a.btn.alt{ background:transparent; color:white; border:1px solid rgba(255,255,255,0.4); }
.aside-cta a.btn.alt:hover{ background:rgba(255,255,255,0.1); }
.share{ display:flex; gap:8px; flex-wrap:wrap; }
.share a, .share button{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; padding:7px 12px; border:1px solid var(--line); border-radius:999px;
  background:white; color:#3B5468; text-decoration:none; cursor:pointer; transition:all .2s ease;
}
.share a:hover, .share button:hover{ border-color:var(--blue-500); color:var(--blue-700); }

.article-foot{ padding:0 0 30px; }
.back-link{
  display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace; font-size:12.5px; font-weight:500;
  color:var(--blue-700); text-decoration:none; margin-top:10px;
}
.back-link:hover{ text-decoration:underline; }
.related{ background:var(--blue-050); padding:80px 0; }

@media (max-width:980px){
  .article-layout .wrap{ grid-template-columns:1fr; gap:36px; }
  .article-aside{ position:static; }
  .aside-toc{ display:none; }
}
@media (max-width:860px){
  .bcard.featured{ flex-direction:column; }
  .bcard.featured .bcover{ width:100%; min-height:190px; }
  .bcard.featured .bbody{ padding:26px 24px; }
  .prose{ font-size:16.5px; }
  .article-hero{ padding:48px 0 46px; }
  .related{ padding:64px 0; }
}
