/* Damocles Edge v2 design system */
:root{
  --navy-950:#071120; --navy-900:#0a1628; --navy-800:#0f2140; --navy-700:#17305a; --line:#27406b;
  --blue-600:#1d4ed8; --blue-500:#2563eb; --blue-300:#7fb2ff; --blue-100:#dbe8ff;
  --white:#ffffff; --grey-50:#f5f7fa; --grey-100:#eef2f7; --grey-300:#cfd8e3; --grey-600:#4b5a70; --ink:#0b1b33; --muted:#b4c2d6;
  --serif:"Iowan Old Style","Charter","Georgia","Times New Roman",serif;
  --sans:"Inter","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;
  --r:10px; --max:1160px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;background:var(--navy-900);color:var(--white);font:16.5px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--blue-300)} a:hover{color:var(--white)}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.15;margin:0 0 .6rem;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,5.2vw,3.9rem)} h2{font-size:clamp(1.7rem,3.2vw,2.4rem)} h3{font-size:1.2rem}
p{margin:0 0 1rem}
.container{max-width:var(--max);margin:0 auto;padding:0 1.5rem}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:var(--white);color:var(--ink);padding:.5rem 1rem;z-index:99}
:focus-visible{outline:3px solid var(--blue-300);outline-offset:2px}

/* top bar */
.topbar{position:sticky;top:0;z-index:50;background:rgba(7,17,32,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.logo{display:flex;align-items:center;gap:.6rem;color:var(--white);text-decoration:none;font-weight:700;letter-spacing:.02em}
.logo svg{width:30px;height:30px}
.logo small{display:block;font-weight:500;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);line-height:1}
.menu{display:flex;align-items:center;gap:.25rem}
.menu a{color:var(--grey-300);text-decoration:none;font-size:.93rem;padding:.45rem .7rem;border-radius:6px}
.menu a:hover{color:var(--white);background:var(--navy-800)}
.menu a[aria-current=page]{color:var(--white);box-shadow:inset 0 -2px 0 var(--blue-300)}
.menu a.live{background:var(--blue-500);color:var(--white);font-weight:600;display:inline-flex;align-items:center;gap:.45rem}
.menu a.live:hover{background:var(--blue-600)}
.menu a.live[aria-current=page]{box-shadow:none;outline:2px solid var(--blue-300)}
.dot{width:8px;height:8px;border-radius:50%;background:#7dffb0;box-shadow:0 0 0 3px rgba(125,255,176,.25)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;font:600 1rem var(--sans);padding:.8rem 1.3rem;border-radius:8px;text-decoration:none;border:2px solid var(--blue-500);background:var(--blue-500);color:var(--white);cursor:pointer}
.btn:hover{background:var(--blue-600);border-color:var(--blue-600);color:var(--white)}
.btn.line{background:transparent;border-color:var(--grey-300);color:var(--white)}
.btn.line:hover{border-color:var(--white);background:rgba(255,255,255,.06)}
.row{display:flex;flex-wrap:wrap;gap:.75rem}

/* blocks */
.band{padding:5rem 0}
.light{background:var(--grey-100);color:var(--ink)}
.light a:not(.btn){color:var(--blue-600)}
.white{background:var(--white);color:var(--ink)}
.white a:not(.btn){color:var(--blue-600)}
.eyebrow{font:600 .78rem var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--blue-300);margin:0 0 .8rem}
.light .eyebrow,.white .eyebrow{color:var(--blue-600)}
.lead{font-size:1.18rem;color:var(--grey-300);max-width:40rem}
.light .lead,.white .lead{color:var(--grey-600)}
.section-head{max-width:44rem;margin-bottom:2.2rem}

/* hero */
.hero{position:relative;padding:5.5rem 0 4.5rem;background:radial-gradient(1200px 500px at 85% -10%,rgba(37,99,235,.35),transparent 60%),linear-gradient(180deg,var(--navy-950),var(--navy-900));border-bottom:1px solid var(--line)}
.hero h1{max-width:17ch}
.hero .lead{margin-bottom:1.8rem}
.page-hero{padding:4rem 0 3rem;background:linear-gradient(180deg,var(--navy-950),var(--navy-900));border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(2rem,4.2vw,3rem)}

/* panels / cards */
.panel{background:var(--navy-800);border:1px solid var(--line);border-radius:var(--r);padding:1.4rem}
.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem;font-size:.85rem;color:var(--muted)}
.panel-head strong{color:var(--white);font-size:.95rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2.5rem;align-items:start}
.tile{background:var(--white);border:1px solid var(--grey-300);border-radius:var(--r);padding:1.5rem}
.tile .ico{width:38px;height:38px;border-radius:8px;background:var(--blue-100);color:var(--blue-600);display:grid;place-items:center;font-weight:800;margin-bottom:.9rem;font-family:var(--serif)}
.tile p{color:var(--grey-600);margin:0}
.cta-band{background:linear-gradient(120deg,var(--blue-600),#1e3a8a);padding:3.5rem 0}
.cta-band .container{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.cta-band h2{margin:0;max-width:30ch}
.cta-band .btn{background:var(--white);color:var(--ink);border-color:var(--white)}
.cta-band .btn:hover{background:var(--grey-100)}

/* service rows */
.service{display:grid;grid-template-columns:220px 1fr;gap:2rem;padding:2rem 0;border-top:1px solid var(--grey-300)}
.service:last-child{border-bottom:1px solid var(--grey-300)}
.service .tag{font:600 .78rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-600)}
.service ul{margin:.5rem 0 0;padding-left:1.1rem;color:var(--grey-600)}
.service ul li{margin:.2rem 0}
.price{display:inline-block;margin-top:.8rem;font-size:.85rem;font-weight:600;color:var(--ink);background:var(--blue-100);padding:.2rem .65rem;border-radius:999px}

/* about */
.bio{display:grid;grid-template-columns:300px 1fr;gap:3rem;align-items:start}
.bio figure{margin:0;border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.facts{list-style:none;padding:0;margin:1.5rem 0 0;border-top:1px solid var(--line)}
.facts li{padding:.8rem 0;border-bottom:1px solid var(--line);color:var(--grey-300)}
.cred-card{display:flex;gap:1rem;align-items:center;margin-top:1rem}
.cred-card picture{flex:none}.cred-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid var(--blue-300)}
.cred-card p{margin:0;font-size:.88rem;color:var(--muted)}

/* contact aside */
.aside{background:var(--white);border:1px solid var(--grey-300);border-radius:var(--r);padding:1.5rem}
.aside dt{font-size:.8rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-600);margin-top:1rem}
.aside dt:first-child{margin-top:0}
.aside dd{margin:.15rem 0 0}

/* footer */
.foot{background:var(--navy-950);border-top:1px solid var(--line);padding:2.5rem 0;color:var(--muted);font-size:.9rem}
.foot .container{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}
.foot nav a{color:var(--grey-300);margin-left:1rem;text-decoration:none}
.foot nav a:hover{color:var(--white)}

/* feed (timeline) */
.tl{max-width:620px;margin:0 auto;border-left:1px solid var(--line);border-right:1px solid var(--line);min-height:70vh;background:var(--navy-900)}
.tl-bar{position:sticky;top:64px;z-index:20;background:rgba(10,22,40,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.tl-title{display:flex;justify-content:space-between;align-items:baseline;padding:.9rem 1rem .3rem}
.tl-title h1{font-size:1.45rem;margin:0}
.tl-title a{font-size:.85rem}
.tl-tabs{display:flex}
.tl-tabs button{flex:1;background:none;border:0;color:var(--muted);font:600 .92rem var(--sans);padding:.85rem 0;cursor:pointer;border-bottom:3px solid transparent}
.tl-tabs button:hover{background:var(--navy-800);color:var(--white)}
.tl-tabs button[aria-selected=true]{color:var(--white);border-bottom-color:var(--blue-500)}
.tl-regions{display:flex;gap:.4rem;overflow-x:auto;padding:.6rem 1rem;border-top:1px solid var(--line);scrollbar-width:none}
.tl-regions button{flex:0 0 auto;background:none;border:1px solid var(--line);color:var(--grey-300);border-radius:999px;padding:.3rem .8rem;font:500 .82rem var(--sans);cursor:pointer}
.tl-regions button[aria-pressed=true]{background:var(--blue-500);border-color:var(--blue-500);color:var(--white)}
.post{display:grid;grid-template-columns:42px 1fr;gap:.75rem;padding:1rem;border-bottom:1px solid var(--line)}
.post-av{width:42px;height:42px}
.post-body{min-width:0}
.post-hd{display:flex;gap:.35rem;align-items:baseline;font-size:.95rem;flex-wrap:wrap}
.post-hd strong{color:var(--white)} .post-hd time{color:var(--muted)}
.post-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin:.3rem 0 .25rem}
.badge{font-size:.72rem;font-weight:600;padding:.12rem .5rem;border-radius:4px;border:1px solid var(--line);color:var(--grey-300)}
.badge.src{background:var(--navy-700);color:var(--white);border-color:var(--navy-700)}
.badge.cat-government{color:#9fd0ff}.badge.cat-policy{color:#c7b8ff}.badge.cat-municipal{color:#8fe3c6}
.post-text{margin:.2rem 0 .7rem;line-height:1.45}
.post-card{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit}
.post-card:hover{background:var(--navy-800);color:inherit}
.post-card img{width:100%;aspect-ratio:1.91/1;object-fit:cover;border-bottom:1px solid var(--line)}
.post-card-meta{display:block;padding:.65rem .8rem}
.post-src{display:block;color:var(--muted);font-size:.8rem}
.post-title{display:block;color:var(--white);font-size:.95rem;line-height:1.35}
.post-video{position:relative;aspect-ratio:16/9;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.post-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.post-empty,.tl-more{color:var(--muted);text-align:center;padding:2rem 1rem;margin:0}
.tl-noscript{list-style:none;margin:0;padding:0}.tl-noscript li{padding:1rem;border-bottom:1px solid var(--line);color:var(--grey-300)}
.tl-foot{padding:1rem;font-size:.85rem;color:var(--muted)}
/* preview variant (home) */
.preview .post{padding:.9rem 0}
.preview .post:last-child{border-bottom:0}
.preview .post-card img{display:none}

@media (max-width:980px){
  .grid-2,.bio{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:1fr}
    .bio figure{max-width:280px}
}
@media (max-width:720px){
  body{font-size:16px}
  .topbar{position:static}
  .topbar .container{flex-direction:column;align-items:flex-start;padding-top:.6rem;padding-bottom:.4rem;gap:.3rem}
  .menu{flex-wrap:wrap;margin-left:-.7rem}
  .menu a{padding:.4rem .6rem;font-size:.9rem}
  .band{padding:3.5rem 0}
  .service{grid-template-columns:1fr;gap:.4rem}
  .tl-bar{top:0}
  .tl{border:0}
  .foot nav a{margin:0 1rem 0 0}
}
.form-wrap{grid-template-columns:1.6fr 1fr}
.aside dd{overflow-wrap:anywhere}
@media (max-width:980px){.form-wrap{grid-template-columns:1fr}}
.bio figure img{width:100%;height:auto}
.post-av img{width:42px;height:42px;border-radius:50%;background:#fff;object-fit:contain;padding:5px;display:block}
.post-av-init{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font:700 .85rem var(--sans)}
.tl-topics{border-top:0;padding-top:0}
.preview .post-card{display:flex;align-items:stretch}
.preview .post-card img{display:block;width:96px;min-width:96px;aspect-ratio:1/1;height:auto;border-bottom:0;border-right:1px solid var(--line)}
/* home: collapsible feed window on the right */
.home-layout{display:block;transition:padding-right .3s ease}
.home-layout main .container{max-width:var(--max)}
.rail-open .home-layout{padding-right:420px}
.rail-open .home-layout main .container{max-width:900px;padding:0 2.5rem}
.feed-rail{position:fixed;right:0;top:65px;bottom:0;width:420px;max-width:100vw;overflow-y:auto;background:var(--navy-800);border-left:1px solid var(--line);box-shadow:-12px 0 32px rgba(0,0,0,.35);padding:1.2rem 1.4rem;z-index:40;transform:translateX(100%);visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s}
.rail-open .feed-rail{transform:none;visibility:visible;transition:transform .3s ease}
.feed-rail .panel-head{position:sticky;top:-1.2rem;background:var(--navy-800);padding:.6rem 0;margin:-.6rem 0 .4rem;z-index:1}
.rail-actions{display:flex;align-items:center;gap:.8rem}
.rail-close{background:none;border:1px solid var(--line);color:var(--white);width:30px;height:30px;border-radius:8px;font-size:1.2rem;line-height:1;cursor:pointer}
.rail-close:hover{background:var(--navy-900)}
.rail-tab{position:fixed;right:0;top:50%;transform:translateY(-50%) rotate(180deg);writing-mode:vertical-rl;z-index:41;background:var(--blue-600);color:#fff;border:0;border-radius:0 10px 10px 0;padding:1.1rem .65rem;font:600 .9rem var(--sans);letter-spacing:.04em;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35);display:flex;align-items:center;gap:.5rem;transition:right .3s ease}
.rail-tab .dot{width:8px;height:8px;border-radius:50%;background:#4ade80}
.rail-tab:hover{background:#1d4ed8}
.rail-open .rail-tab{right:420px}
@media (max-width:980px){.rail-open .home-layout{padding-right:0}.rail-open .rail-tab{right:min(420px,100vw)}.rail-open .rail-tab{display:none}}
/* services: sample deep-dive */
.sample-stats .tile h3{font-family:var(--serif);font-size:2rem;color:var(--blue-600);margin:0 0 .4rem}
.sample-body{margin-top:2.5rem}
.sample-fig{margin:0;background:#f7f5f0;border:1px solid var(--grey-300);border-radius:var(--r);padding:1rem}
.sample-fig img{width:100%;height:auto;display:block}
.sample-fig figcaption{font-size:.8rem;color:#5b6472;margin-top:.6rem}
/* home: fuller bio card */
.hero .cred-card{align-items:flex-start;max-width:640px;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:var(--r);padding:1.2rem 1.3rem;margin-top:2rem}
.hero .cred-card img{width:88px;height:88px}
.hero .cred-card p{font-size:.98rem;line-height:1.6;color:#d6deeb;margin:0 0 .6rem}
.hero .cred-card p:last-child{margin-bottom:0}
.hero .cred-card .cred-name{font-size:1.05rem;font-weight:700;color:#fff;margin-bottom:.4rem}
.hero .cred-card .cred-name span{font-weight:500;color:#93c5fd;font-size:.85rem;margin-left:.4rem;letter-spacing:.04em;text-transform:uppercase}
.hero .cred-card a{color:#93c5fd}
/* home: hero split, vertically centred */
.home-layout .hero{padding:4.5rem 0}
.hero-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:3rem;align-items:center}
.hero-split .row{margin-bottom:0}
.hero .hero-split .cred-card{margin-top:0;max-width:none}
.rail-open .hero-split{grid-template-columns:1fr;gap:2rem}
@media (max-width:980px){.hero-split{grid-template-columns:1fr;gap:2rem}}
/* home: headline on its own line above the split */
.hero-split{row-gap:2rem}
.hero-head{grid-column:1/-1}
.hero .hero-head h1{max-width:none;margin-bottom:0;font-size:clamp(2.2rem,4.4vw,3.6rem);line-height:1.1}
.hero-split .lead{margin-top:0}
/* home: compact bio card */
.hero .cred-card{padding:1rem 1.1rem;gap:.9rem}
.hero .cred-card img{width:64px;height:64px}
.hero .cred-card p{font-size:.9rem;line-height:1.55}
.hero .cred-card .cred-name{font-size:.98rem;margin-bottom:.3rem}

/* mailto + ops */
.mail-card{background:var(--white);border:1px solid var(--grey-300);border-radius:var(--r);padding:1.75rem}
.mail-card h2{margin-top:0}.mail-card hr{border:0;border-top:1px solid var(--grey-300);margin:1.5rem 0}
.mail-addr{font-size:.95rem;color:var(--grey-600);margin:.8rem 0 0}
.mail-addr .addr{font-weight:600;color:var(--ink);user-select:all;overflow-wrap:anywhere}
.mail-addr.on-dark{color:#dbe8ff;user-select:all;margin-top:.6rem}
.service .row{margin:1rem 0 .5rem}
.cta-mail{text-align:left}

/* media types */
a.post-video{display:block;position:relative;aspect-ratio:16/9;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:#fff;text-decoration:none;background:#000}
a.post-video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9}
.play-badge{position:absolute;left:50%;top:44%;width:62px;height:44px;margin:-22px 0 0 -31px;border-radius:12px;background:rgba(220,38,38,.92);box-shadow:0 4px 14px rgba(0,0,0,.4)}
.play-badge::after{content:"";position:absolute;left:25px;top:12px;border-style:solid;border-width:10px 0 10px 17px;border-color:transparent transparent transparent #fff}
a.post-video:hover .play-badge{background:#dc2626}
.post-video-title{position:absolute;left:0;right:0;bottom:0;padding:1.6rem .8rem .6rem;background:linear-gradient(transparent,rgba(0,0,0,.85));display:block}
.post-video-title .post-src,.post-video-title .post-title{display:block;color:#fff}
.post-video-title .post-src{font-size:.75rem;opacity:.85}
.post-video-title .post-title{font-weight:600;line-height:1.3}
.post-pod{display:flex!important;align-items:stretch}
.post-pod img{width:110px!important;min-width:110px;aspect-ratio:1/1!important;border-bottom:0!important;border-right:1px solid var(--line)}
.post.is-note .post-text{font-size:1rem;white-space:pre-line}
.post-note-link{font-size:.85rem;color:var(--blue-300);text-decoration:none}
.post-note-link:hover{text-decoration:underline}
.badge.cat-video{background:rgba(220,38,38,.15);color:#fca5a5}
.badge.cat-podcast{background:rgba(124,58,237,.18);color:#c4b5fd}
.badge.cat-note{background:rgba(14,116,144,.2);color:#67e8f9}
.preview a.post-video .post-video-title .post-title{font-size:.85rem}

/* offer cards (services) */
.offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem;align-items:stretch}
.offer{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--grey-300);border-radius:var(--r);padding:1.5rem;scroll-margin-top:90px}
.offer-stage{display:flex;align-items:center;gap:.55rem;margin:0 0 .8rem;font:600 .78rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-600)}
.offer-stage span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--blue-100);font-family:var(--serif);letter-spacing:0}
.offer h3{margin:0 0 .6rem;min-height:2.6em}
.offer-promise{margin:0 0 .8rem;color:var(--ink)}
.offer-best{margin:0 0 .6rem;font-size:.9rem;color:var(--grey-600)}
.offer ul{margin:0 0 1.2rem;padding-left:1.1rem;color:var(--grey-600);font-size:.93rem}
.offer ul li{margin:.25rem 0}
.offer-foot{margin-top:auto;display:flex;flex-direction:column;align-items:flex-start;gap:.7rem}
.offer-foot .price{margin-top:0}
a.stage-tile{text-decoration:none;color:inherit;display:block}
a.stage-tile:hover{border-color:var(--blue-500)}
a.stage-tile h3{color:var(--ink)}
@media (max-width:1100px){.offer-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.offer-grid{grid-template-columns:1fr}.offer h3{min-height:0}}
.offer-foot{align-items:stretch}.offer-foot .btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:3.4rem;width:100%}.offer-foot .price{align-self:flex-start}
.offer{padding:1.4rem 1.2rem}.offer-foot .btn{font-size:.86rem;padding-left:.5rem;padding-right:.5rem;white-space:nowrap;min-height:3rem}@media (max-width:1180px) and (min-width:1101px){.offer-foot .btn{white-space:normal}}

/* X posts */
.badge.cat-x{background:#000;color:#fff;border-color:#000}
.post-handle{color:var(--muted);font-size:.85rem}
.post.is-x .post-text{white-space:pre-line}
.post-inline-link{color:var(--blue-300);word-break:break-all}
.post-x-media{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:.5rem}
.post-x-media img{width:100%;max-height:340px;object-fit:cover;display:block}

/* ===== polish layer: shared tokens & utilities ===== */
:root{--space-1:.5rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;--space-6:3rem;
  --section-y:5rem;--hero-y:4.5rem;--gutter:3rem;--prose:68ch;--radius-btn:8px;--btn-h:3rem}
body{display:flex;flex-direction:column;min-height:100vh}
body>main,.home-layout{flex:1 0 auto}
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
.eyebrow{margin:0 0 var(--space-2);line-height:1.4}
h2{margin-bottom:var(--space-3)}
.lead{max-width:var(--prose);line-height:1.6;margin-bottom:var(--space-4)}
.lead:last-child,p:last-child{margin-bottom:0}
.band{padding:var(--section-y) 0}
.page-hero{padding:var(--hero-y) 0 calc(var(--hero-y) - 1rem)}
.page-hero .lead{margin-bottom:0}
.page-hero .row{margin-top:var(--space-4)}
.section-head{max-width:48rem;margin-bottom:var(--space-5)}
.section-head h2{margin-bottom:0}
.section-head .lead{margin-top:var(--space-3)}
/* buttons: one primary, one secondary, same height everywhere */
.btn{min-height:var(--btn-h);padding:0 1.3rem;border-radius:var(--radius-btn);line-height:1.2;justify-content:center;font-size:1rem;transition:background .15s,border-color .15s,color .15s}
.btn.line{background:transparent;border-color:rgba(127,178,255,.55);color:var(--white)}
.btn.line:hover{border-color:var(--blue-300);background:rgba(127,178,255,.1);color:var(--white)}
.light .btn.line,.white .btn.line,.mail-card .btn.line{background:transparent;border-color:rgba(37,99,235,.5);color:var(--blue-600)}
.light .btn.line:hover,.white .btn.line:hover,.mail-card .btn.line:hover{background:var(--blue-100);border-color:var(--blue-500);color:var(--blue-600)}
.row{gap:var(--space-2);align-items:center}
/* split bands: heading on top, two top-aligned columns below */
.grid-2{gap:var(--gutter)}
/* contact */
dl.aside{margin:0}
.mail-card h3{margin-top:0}
/* about */
.bio>div>p:not(.lead):not(.eyebrow){max-width:var(--prose)}
.facts{max-width:var(--prose)}
/* services sample */
.sample-body p{max-width:var(--prose)}
/* footer & tap targets */
.foot nav{display:flex;flex-wrap:wrap;gap:.25rem}
.foot nav a{margin:0;padding:.5rem .6rem;display:inline-block}
.foot nav a:last-child{margin-right:-.6rem}
.tl-tabs button{min-height:44px}
.cta-band h2{text-wrap:balance}
@media (max-width:980px){:root{--gutter:2rem}}
@media (max-width:720px){
  :root{--section-y:3.5rem;--hero-y:3rem}
  .menu a{min-height:40px;display:inline-flex;align-items:center}
  .foot nav{margin-left:-.6rem}.foot nav a:last-child{margin-right:0}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}
  .tile{padding:1.1rem}
  .rail-tab{top:auto;bottom:1rem;right:1rem;transform:none;writing-mode:horizontal-tb;border-radius:999px;padding:.7rem 1rem;min-height:44px}
  .row .btn{flex:1 1 auto}
}
.bio-actions{margin-top:var(--space-4)}
.mail-card,.aside{padding:var(--space-4)}
.page-hero .bio .lead{margin-bottom:var(--space-3)}
/* pass 2: one heading->content rhythm, top-aligned columns */
h1,.page-hero h1{margin-bottom:var(--space-3)}
.section-head{margin-bottom:var(--space-5)}
.hero-split,.rail-open .hero-split{align-items:start;row-gap:var(--space-5)}
.hero .hero-head h1{margin-bottom:0}
@media (max-width:720px){.menu{flex-wrap:nowrap;gap:0;margin-left:-.5rem}.menu a{padding:.4rem .5rem;font-size:.86rem;white-space:nowrap}.menu a.live{margin-left:.25rem;gap:.35rem}}
@media (max-width:720px){.foot nav{gap:0;margin-left:-.5rem}.foot nav a{padding:.6rem .5rem}}
@media (max-width:720px){.foot nav a{padding:.6rem .4rem;font-size:.86rem}.foot nav{margin-left:-.4rem}}
/* pass 3: two-column bands share one composition */
/* pass 4: optical balance in homepage bands */
/* band 1 variant B: buttons span beneath both columns */
.feature{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:var(--space-6);align-items:center}
.feature-copy h2{font-size:clamp(2rem,4vw,3rem);margin-bottom:var(--space-3)}
.feature-copy .lead{margin:0;max-width:34rem}
.hc-panel{background:var(--white);border:1px solid var(--grey-300);border-top:4px solid var(--blue-500);border-radius:var(--r);padding:var(--space-5);box-shadow:0 18px 40px -24px rgba(11,27,51,.35);display:flex;flex-direction:column;align-items:flex-start}
.hc-panel h3{font-size:1.5rem;margin:0 0 var(--space-2)}
.hc-panel p:not(.eyebrow){color:var(--grey-600);margin:0 0 var(--space-4)}
.hc-panel .btn{width:100%}
.text-link{margin-top:var(--space-3);font-weight:600;font-size:.95rem;text-decoration:none;align-self:center;padding:.4rem .2rem}
.text-link:hover{text-decoration:underline}
.statement-band{padding:4rem 0;background:var(--navy-900)}
.statement{text-align:center}
.statement-text{font-family:var(--serif);font-size:clamp(1.3rem,2.3vw,1.75rem);line-height:1.4;max-width:46ch;margin:0 auto;color:var(--white);text-wrap:balance}
.feed-band-head{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--space-5);margin-bottom:var(--space-5)}
.feed-band-head .lead{margin:0;max-width:40rem}
.feed-band-head .btn{flex:none}
.feed-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);min-height:22rem}
.fp-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--grey-300);border-radius:var(--r);overflow:hidden;text-decoration:none;color:var(--ink);transition:border-color .15s,box-shadow .15s,transform .15s}
.white a.fp-card{color:var(--ink)}
.fp-card:hover{border-color:var(--blue-500);box-shadow:0 14px 30px -20px rgba(11,27,51,.45);transform:translateY(-2px)}
.fp-media{position:relative;display:block;aspect-ratio:16/9;background:var(--navy-800);overflow:hidden}
.fp-media img{width:100%;height:100%;object-fit:cover}
.fp-media.is-blank{background:linear-gradient(135deg,var(--navy-800),var(--blue-600))}
.fp-body{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--space-3) var(--space-3) var(--space-4);flex:1}
.fp-meta{display:flex;align-items:center;gap:var(--space-1);min-width:0}
.fp-tag{flex:none;font:600 .7rem var(--sans);letter-spacing:.08em;text-transform:uppercase;padding:.15rem .45rem;border-radius:4px;background:var(--blue-100);color:var(--blue-600)}
.fp-tag.tag-video{background:#fee2e2;color:#b91c1c}.fp-tag.tag-podcast{background:#ede9fe;color:#6d28d9}.fp-tag.tag-note{background:#cffafe;color:#0e7490}.fp-tag.tag-x{background:#000;color:#fff}
.fp-src{font-size:.82rem;color:var(--grey-600);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-title{font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fp-date{margin-top:auto;padding-top:var(--space-1);font-size:.8rem;color:var(--grey-600)}
.feed-preview-empty{grid-column:1/-1;color:var(--grey-600);margin:0;align-self:center;text-align:center}
.footnote-line{margin:var(--space-4) 0 0;font-size:.85rem;color:var(--grey-600)}
.footnote-line span{font:600 .7rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-600);margin-right:.5rem}
@media (max-width:980px){.feature{grid-template-columns:1fr;gap:var(--space-5)}.feature-copy .lead{max-width:var(--prose)}.hc-panel{max-width:36rem}}
@media (max-width:860px){.feed-band-head{flex-direction:column;align-items:flex-start}
  .feed-preview{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:var(--space-2);margin:0 -1.5rem;padding:0 1.5rem .5rem;scrollbar-width:thin;min-height:0}
  .fp-card{flex:0 0 78%;scroll-snap-align:start}}
@media (max-width:720px){.statement-band{padding:3rem 0}.hc-panel{padding:var(--space-4)}}
@media (max-width:720px){.hc-panel .btn{font-size:.95rem;padding:0 .75rem;white-space:nowrap}}
/* services: how-it-works stage tiles on dark band */
.band:not(.light):not(.white) .stage-tile{background:var(--navy-800);border-color:var(--line)}
.band:not(.light):not(.white) .stage-tile h3{color:var(--white)}
.band:not(.light):not(.white) .stage-tile p{color:var(--grey-300)}
.band:not(.light):not(.white) .stage-tile .ico{background:rgba(127,178,255,.15);color:var(--blue-300)}

/* ===== QA fixes 2026-10-17 ===== */
.nowrap{white-space:nowrap}
@media (max-width:600px){.hero .eyebrow .sep{display:none}.hero .eyebrow .nowrap{display:block;white-space:normal}}
/* rail tab: only where there is room beside the content */
@media (max-width:1180px){.rail-tab{display:none}.rail-open .home-layout{padding-right:0}}
@media (max-width:720px){.feed-rail{top:0;z-index:60}}
/* feed: never scroll sideways */
.post-text,.post-title,.post-inline-link,.tl-noscript li{overflow-wrap:anywhere}
.post-body{max-width:100%}
/* feed: chip rows show they scroll */
.tl-regions{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
/* home preview carousel keeps the gutter */
@media (max-width:860px){.feed-preview{scroll-padding-inline:1.5rem}}
/* video title legibility */
.post-video-title{background:linear-gradient(transparent,rgba(0,0,0,.6) 35%,rgba(0,0,0,.92));text-shadow:0 1px 2px rgba(0,0,0,.6)}
/* contact: equal card headings */
.h3,.mail-card h2.h3{font-size:1.2rem;margin:0 0 .6rem}
/* about: single rule before footer */
.page-hero:has(.bio){border-bottom:0}
/* footer */
@media (max-width:768px){.foot nav{margin-left:-.4rem}}
/* stage tiles single column on small phones */
@media (max-width:480px){.grid-4{grid-template-columns:1fr}}
/* services sample chart (HTML, legible) */
.sample-chart{background:var(--white);padding:var(--space-4)}
.sc-group{margin:0 0 var(--space-4)}
.sc-title{font:600 .85rem var(--sans);color:var(--ink);margin:0 0 .5rem}
.sc-row{display:grid;grid-template-columns:8.5rem 1fr 4.5rem;align-items:center;gap:.6rem;font-size:.85rem;margin:.3rem 0;color:var(--grey-600)}
.sc-bar{height:12px;background:var(--grey-100);border-radius:6px;overflow:hidden}
.sc-bar i{display:block;height:100%;width:var(--v);background:var(--blue-600);border-radius:6px}
.sc-bar i.alt{background:var(--blue-300)}.sc-bar i.oecd{background:var(--grey-300)}
.sc-val{text-align:right;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.sample-chart figcaption{font-size:.8rem;line-height:1.5;color:var(--grey-600);margin-top:0}
@media (max-width:420px){.sc-row{grid-template-columns:6.5rem 1fr 3.8rem}}

/* QA round 2 */
.pull{margin:var(--space-4) 0 0;padding:var(--space-2) 0 var(--space-2) var(--space-4);border-left:3px solid var(--blue-500);font-family:var(--serif);font-size:1.15rem;line-height:1.5;color:var(--white);max-width:var(--prose)}
main>.page-hero:last-child{border-bottom:0}
.tl-intro{margin:0;padding:0 1rem .7rem;font-size:.9rem;line-height:1.5;color:var(--grey-300);max-width:none}
.tl-rss{display:inline-flex;align-items:center;min-height:36px;padding:0 .5rem;margin-right:-.5rem}
.tl-regions button{min-height:36px;padding:.35rem .9rem}
@media (min-width:721px){.tl-regions{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}}
@media (max-width:720px){.tl-regions button{min-height:40px}}
.post-x-link,.post-note-link{display:inline-flex;align-items:center;min-height:36px}
.offer,#sample,section[id]{scroll-margin-top:calc(var(--header-h,64px) + 16px)}
@media (max-width:720px){:root{--header-h:98px}}
@media (min-width:721px) and (max-width:980px){.hc-panel{max-width:none}}
.mail-card .row .btn{width:100%}
@media (max-width:420px){.foot nav{margin-left:-.3rem}.foot nav a{padding:.6rem .3rem;font-size:.84rem}}
