/* ============================================================
   Pinwheel — Design System stylesheet
   Frozen homepage is the reference implementation.
   Tokens, components, and rules documented in /docs.
   ============================================================ */

/* Local fonts (self-contained, no CDN) */
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/poppins-500.woff2') format('woff2')}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins-600.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500.woff2') format('woff2')}

:root{
  --violet:#775EF7; --violet-600:#5f46e6; --accent:#9484ff;
  --bg:#080c14; --surface:#111826;
  --text:#fff; --muted:rgba(255,255,255,.58); --muted-2:rgba(255,255,255,.4);
  --line:rgba(255,255,255,.08);
  --pill:100px;
  --display:clamp(3rem,6.6vw,5.9rem); --h2:clamp(1.9rem,3.4vw,2.75rem);
  --body:1.0625rem; --eyebrow:.75rem; --maxw:1160px; --gutter:clamp(1.25rem,4vw,2.5rem);
  --section-y:clamp(5rem,9vw,7.5rem);
  --gap-label:.95rem; --gap-intro:1.15rem;
  --ease:cubic-bezier(.2,.65,.25,1);
}
*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:var(--body);line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3{font-family:Poppins,sans-serif;margin:0;font-weight:500;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
p{margin:0;text-wrap:pretty}a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gutter)}
.accent{color:var(--accent)}
.eyebrow{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}

/* CTA system — filled buttons carry no icon; text links use one weight-matched arrow */
.btn{display:inline-flex;align-items:center;font-family:Poppins;font-weight:600;font-size:.98rem;padding:.92em 1.8em;border-radius:var(--pill);border:1px solid transparent;cursor:pointer;transition:background .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease)}
.btn-primary{background:var(--violet);color:#fff}
.btn-primary:hover{background:var(--violet-600);transform:translateY(-1px);box-shadow:0 10px 26px -14px rgba(119,94,247,.6)}
.btn:active{transform:translateY(0)}
.link{font-family:Poppins;font-weight:600;font-size:.98rem;color:var(--text);display:inline-flex;gap:.45em;align-items:center;transition:color .2s var(--ease)}
.link .arw{transition:transform .2s var(--ease)}
.link:hover{color:var(--accent)}.link:hover .arw{transform:translateX(3px)}

header{position:sticky;top:0;z-index:50;background:rgba(8,12,20,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:80px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:Poppins;font-weight:600;font-size:1.3rem;letter-spacing:-.02em;color:#fff;transition:opacity .2s var(--ease)}
.brand:hover{opacity:.78}
.brand svg{width:25px;height:25px;display:block}
.nav-links{display:flex;gap:2.2rem;font-family:Poppins;font-weight:500;font-size:.96rem}
.nav-links a{color:var(--muted);transition:color .2s var(--ease)}
.nav-links a:hover,.nav-links a.active{color:#fff}
.menu-btn{display:none;background:none;border:0;cursor:pointer;padding:.4rem}.menu-btn span{display:block;width:22px;height:2px;background:#fff;margin:5px 0}

/* HERO — left-set on the shared axis, effortless */
.hero{position:relative;overflow:hidden;min-height:clamp(560px,calc(100dvh - 80px),860px);display:flex;align-items:center;padding:clamp(3rem,7vw,5.5rem) 0;border-bottom:1px solid var(--line)}
/* Mobile: don't force full-viewport height — size to content so the centered hero
   doesn't float in a tall box with big dead space above/below. */
@media(max-width:640px){.hero{min-height:auto;padding:clamp(2.5rem,8vw,3.5rem) 0 clamp(3rem,10vw,4.5rem)}}
.hero .wrap{width:100%}
.hero .in{max-width:1040px;position:relative;z-index:1}
.hero .eyebrow{margin-bottom:1.6rem}
.hero h1{font-size:var(--display);letter-spacing:-.045em;line-height:1.0;max-width:16ch}
.hero .sub{color:var(--muted);font-size:clamp(1.14rem,1.6vw,1.42rem);max-width:38ch;margin-top:1.4rem;line-height:1.5}
.hero .row{display:flex;gap:1.6rem;align-items:center;margin-top:2rem;flex-wrap:wrap}

.section{padding:var(--section-y) 0;border-bottom:1px solid var(--line)}
/* Mobile: tighten the section rhythm — the 5rem floor makes every section feel airy on phones. */
@media(max-width:640px){:root{--section-y:clamp(3rem,8vw,4rem)}}
.lead{max-width:720px;margin-bottom:clamp(2.6rem,5vw,3.6rem)}
.lead h2{font-size:var(--h2);line-height:1.1;margin-top:var(--gap-label)}
.lead p{color:var(--muted);margin-top:var(--gap-intro);font-size:1.12rem;max-width:52ch;line-height:1.55}

/* one 3-column component, used by both "who we help" and "what we do" */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(2rem,3.5vw,3rem)}
.item{border-top:1px solid var(--line);padding-top:1.5rem}
.item h3{font-size:1.3rem;letter-spacing:-.02em;margin-bottom:.55rem}
.item p{color:var(--muted);font-size:.98rem;line-height:1.55}
.svc-foot{margin-top:clamp(2.4rem,4vw,3rem)}

.trust .mrow{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 clamp(3rem,5vw,4rem)}
.trust .m{padding:1.4rem 1rem;text-align:center}
.trust .m + .m{border-left:1px solid var(--line)}
.trust .num{font-family:Poppins;font-weight:600;font-size:clamp(2.6rem,5.4vw,3.9rem);letter-spacing:-.04em;line-height:1}
.trust .num span{color:var(--accent)}
.trust .d{color:var(--muted);font-size:.94rem;margin-top:.55rem}
.logos{text-align:center;margin-bottom:clamp(2.6rem,5vw,3.6rem)}
.logos p{font-family:Poppins;font-weight:500;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);margin-bottom:1.6rem}
.logo-row{display:flex;flex-wrap:wrap;gap:clamp(1.5rem,5vw,3.5rem);align-items:center;justify-content:center}
.logo-row span{font-family:Poppins;font-weight:600;font-size:1.2rem;color:var(--muted);opacity:.5;letter-spacing:-.02em;transition:opacity .2s var(--ease)}
.logo-row span:hover{opacity:.8}
.quote{max-width:760px;margin:0 auto;text-align:center}
.quote p{font-family:Poppins;font-weight:500;font-size:clamp(1.35rem,2.4vw,1.85rem);line-height:1.4;letter-spacing:-.02em;text-wrap:balance}
.quote .by{color:var(--muted);margin-top:1.5rem;font-family:Poppins;font-weight:500;font-size:.94rem;letter-spacing:.01em}
/* Homepage credibility block (Featured Engagement + logos + testimonial): tighten the internal
   gaps to the page's content rhythm so the three read as one cohesive block. */
.trust .feature{margin-bottom:clamp(2rem,3.5vw,3rem)}
.trust .logos{margin-bottom:clamp(2rem,3.5vw,3rem)}
/* Services model section: the compact Three Disciplines list sits directly under the diagram. */
.svc-model .cap-list{max-width:860px;margin:clamp(2.75rem,5vw,4rem) auto 0}
.ph{display:inline-block;font-size:.58rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);border:1px dashed var(--line);border-radius:6px;padding:.15em .5em;margin-left:.4em;vertical-align:middle}

.cta{padding:clamp(6rem,11vw,9rem) 0;text-align:center}
.cta h2{font-size:clamp(2.2rem,4vw,3.3rem);letter-spacing:-.03em;line-height:1.06;max-width:17ch;margin:0 auto}
.cta p{color:var(--muted);margin:1.3rem auto 0;max-width:44ch;line-height:1.55}
.cta .btn{margin-top:2.3rem}

footer{padding:3.4rem 0 2.6rem;border-top:1px solid var(--line)}
.foot{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;align-items:center}
.foot-links{display:flex;gap:2.2rem;font-family:Poppins;font-weight:500;font-size:.95rem}
.foot-links a{color:var(--muted);transition:color .2s var(--ease)}.foot-links a:hover{color:#fff}
.foot-base{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:2.6rem;padding-top:1.5rem;border-top:1px solid var(--line);color:var(--muted-2);font-size:.85rem;font-family:Poppins;font-weight:500}

/* motion — quiet and consistent */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .65s var(--ease),transform .65s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
.js .stagger>.reveal:nth-child(2){transition-delay:.08s}
.js .stagger>.reveal:nth-child(3){transition-delay:.16s}
@keyframes heroIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.js .hero .in>*{opacity:0;animation:heroIn .8s var(--ease) forwards}
.js .hero .in>.eyebrow{animation-delay:.04s}
.js .hero .in>h1{animation-delay:.12s}
.js .hero .in>.sub{animation-delay:.22s}
.js .hero .in>.row{animation-delay:.32s}

@media(max-width:820px){
  .grid3,.trust .mrow{grid-template-columns:1fr;gap:0}
  .item{margin-top:1.5rem}
  .trust .m + .m{border-left:0;border-top:1px solid var(--line)}
  .nav-links,.nav .btn{display:none}.menu-btn{display:block}
  .nav[data-open="true"] .nav-links{display:flex;position:absolute;top:80px;left:0;right:0;flex-direction:column;background:var(--surface);padding:1.25rem var(--gutter);gap:1.1rem;border-bottom:1px solid var(--line)}
  .foot-links{flex-wrap:wrap;gap:.8rem 1.5rem}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.js .reveal,.js .hero .in>*{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}.btn,.link .arw,.brand,.nav-links a{transition:none!important}}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}

/* ============================================================
   SYSTEM EXTENSIONS — additive, no change to homepage rendering
   ============================================================ */

/* nav action wrapper (was an inline style on the homepage) */
.nav-actions{display:flex;align-items:center;gap:1.1rem}

/* narrow lead modifier (was an inline max-width on the homepage) */
.lead--narrow{max-width:640px}

/* Interior page header — shorter variant of .hero for sub-pages
   (About, Services, Contact, Insights). Left-set on the shared axis,
   no viewport min-height. Use this on every page except the homepage. */
.page-hero{position:relative;overflow:hidden;padding:clamp(4.5rem,9vw,7rem) 0 clamp(3rem,6vw,4.5rem);border-bottom:1px solid var(--line)}
/* Mobile: trim the generous top padding so inner heroes don't feel airy above the eyebrow. */
@media(max-width:640px){.page-hero{padding:clamp(2.75rem,7vw,3.6rem) 0 clamp(2.4rem,5.5vw,3.2rem)}}
.page-hero .in{max-width:900px}
.page-hero h1{font-family:Poppins;font-weight:500;font-size:clamp(2.4rem,5vw,3.8rem);letter-spacing:-.04em;line-height:1.02;margin-top:var(--gap-label);max-width:18ch}
.page-hero .sub{color:var(--muted);font-size:clamp(1.1rem,1.5vw,1.32rem);max-width:52ch;margin-top:1.4rem;line-height:1.5}
.page-hero .row{display:flex;gap:1.6rem;align-items:center;margin-top:2rem;flex-wrap:wrap}

/* ---- Interior service-page layouts (AEO + future service pages) ----
   Additive only. Compose from tokens; no homepage or token changes.
   These give service pages a functional rhythm distinct from the
   homepage's stacked full-width sections. */

/* Editorial two-column page header: headline left, summary + teaser list right.
   Pair with .page-hero. Shorter vertical space than the base .page-hero. */
.page-hero.svc-hero{padding-block:clamp(3.5rem,7vw,5.25rem) clamp(2.5rem,5vw,3.5rem)}
.hero-grid{display:grid;grid-template-columns:1.4fr .85fr;gap:clamp(2.25rem,5vw,4.5rem);align-items:start}
.hero-aside{padding-top:.9rem}
.hero-aside .stmt{font-family:Poppins;font-weight:500;font-size:1.12rem;line-height:1.45;letter-spacing:-.015em;color:var(--text);text-wrap:balance;max-width:24ch}
.hero-aside .mini-list{list-style:none;margin:1.55rem 0 0;padding:0;display:flex;flex-direction:column}
.hero-aside .mini-list li{font-family:Poppins;font-weight:500;font-size:.92rem;color:var(--muted);border-top:1px solid var(--line);padding:.62rem 0}
@media(max-width:820px){.hero-grid{grid-template-columns:1fr;gap:2rem;align-items:start}.hero-grid .hero-main{max-width:none}}

/* Two-column problem / context: lead left, supporting prose right. */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.split .lead{margin-bottom:0}
.split .split-body p{color:var(--muted);font-size:1.05rem;line-height:1.65}
.split .split-body p + p{margin-top:1.1rem}
.split .split-body .link{margin-top:1.6rem}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:1.75rem}}

/* Left-rail capability list: sticky heading left, hairline row list right. */
.caps{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.caps .lead{margin-bottom:0}
.cap-list{display:flex;flex-direction:column}
.cap-list .cap{display:grid;grid-template-columns:1fr 1.3fr;gap:.2rem 2.25rem;align-items:baseline;border-top:1px solid var(--line);padding:1.05rem 0}
.cap-list .cap:last-child{border-bottom:1px solid var(--line)}
.cap-list .cap h3{font-size:1.05rem;letter-spacing:-.01em;line-height:1.3}
.cap-list .cap p{color:var(--muted);font-size:.92rem;line-height:1.5}
@media(min-width:1041px){.caps .lead{position:sticky;top:104px}}
@media(max-width:1040px){.caps{grid-template-columns:1fr;gap:1.9rem}}
@media(max-width:820px){.cap-list .cap{grid-template-columns:1fr;gap:.35rem;align-items:start}}

/* Vertical numbered process: hairline-separated steps threaded by a single
   quiet spine, with an accent index sitting as a node on it. The spine is the
   page's one deliberate visual moment — structural, not decorative. */
.process{display:flex;flex-direction:column;max-width:860px}
.process .step{position:relative;display:grid;grid-template-columns:2.75rem 1fr;gap:1.25rem;border-top:1px solid var(--line);padding:1.6rem 0}
.process .step .no{justify-self:center;align-self:start;position:relative;z-index:1;background:var(--bg);padding:.12rem 0 .5rem;font-family:Poppins;font-weight:600;font-size:1.05rem;color:var(--accent);letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1}
.process .step::before{content:"";position:absolute;left:1.375rem;transform:translateX(-50%);top:0;bottom:0;width:1px;background:var(--line);z-index:0}
.process .step:first-child::before{top:2.25rem}
.process .step:last-child::before{bottom:calc(100% - 2.25rem)}
.process .step h3{font-size:1.2rem;letter-spacing:-.02em;margin-bottom:.4rem}
.process .step p{color:var(--muted);font-size:.98rem;line-height:1.55;max-width:58ch}
@media(max-width:820px){.process .step{grid-template-columns:2.25rem 1fr;gap:1rem}.process .step::before{left:1.125rem}}

/* ---- Contact page: two-column form + assurance panel ---- */
.contact{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2.75rem,6vw,5.5rem);align-items:start}
@media(max-width:820px){.contact{grid-template-columns:1fr;gap:2.75rem}}

/* Form — editorial underline fields: no box, no card radius, on-system hairlines */
.form .field{display:flex;flex-direction:column;gap:.55rem;margin-bottom:1.7rem}
.form label{font-family:Poppins;font-weight:500;font-size:.82rem;letter-spacing:.02em;color:var(--muted)}
.form label .opt{color:var(--muted-2);font-weight:500}
.form input,.form textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:1.04rem;line-height:1.6;padding:.5rem 0;transition:border-color .2s var(--ease)}
.form input::placeholder,.form textarea::placeholder{color:var(--muted-2)}
.form input:focus,.form textarea:focus{border-bottom-color:var(--accent)}
.form textarea{resize:vertical;min-height:132px}
.form .btn{margin-top:.9rem}
.form .fineprint{margin-top:1.3rem;color:rgba(255,255,255,.5);font-size:.86rem;line-height:1.55;max-width:48ch}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Assurance panel — subtle trust list beside the form (borderless, hairline-separated) */
.assure .eyebrow{display:block;margin-bottom:1.35rem}
.assure-list{display:flex;flex-direction:column}
.assure-item{border-top:1px solid var(--line);padding:1.25rem 0}
.assure-item:last-child{border-bottom:1px solid var(--line)}
.assure-item h3{font-family:Poppins;font-weight:600;font-size:1rem;letter-spacing:-.01em;margin-bottom:.35rem}
.assure-item p{color:var(--muted);font-size:.92rem;line-height:1.5}

/* ---- Services overview: operating-model flow diagram ----
   A restrained vertical relationship diagram (not decorative): three nodes
   threaded by a hairline connector ending in a small accent marker. Shows how
   the disciplines feed one another. Token-only; no card, no new radius. */
.flow{max-width:600px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.flow-node .fname{font-family:Poppins;font-weight:500;font-size:clamp(1.3rem,2.6vw,1.75rem);letter-spacing:-.025em;line-height:1.12}
.flow-node .frole{color:var(--muted);font-size:.98rem;line-height:1.5;margin-top:.5rem}
.flow-conn{display:flex;flex-direction:column;align-items:center;margin:1.15rem 0}
.flow-conn::before{content:"";width:1px;height:2rem;background:var(--line)}
.flow-conn::after{content:"";margin-top:3px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--accent)}
.flow-note{text-align:center;color:var(--muted-2);font-size:.95rem;max-width:54ch;margin:clamp(2.2rem,4vw,3rem) auto 0;line-height:1.55}

/* ---- Insights: editorial publication index ----
   A reading surface, not a SaaS blog: text-forward, hairline-separated, no
   cards/badges/pills. Category labels and metadata are quiet type, not chips.
   Slightly warmer measure + line-height on excerpts for a "reading library" feel. */

/* understated topic taxonomy — a quiet browse row, never pills */
.topics{display:flex;flex-wrap:wrap;align-items:baseline;gap:.55rem 1.4rem}
.topics .t-label{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.2em;text-transform:uppercase;color:var(--muted-2)}
.topics a{font-family:Poppins;font-weight:500;font-size:.95rem;color:var(--muted);transition:color .2s var(--ease)}
.topics a:hover{color:#fff}
/* topic filter chips — buttons; mirrors the .work-filter active treatment */
.topics button{background:none;border:0;padding:0;cursor:pointer;font-family:Poppins;font-weight:500;font-size:.95rem;color:var(--muted);transition:color .2s var(--ease)}
.topics button:hover{color:#fff}
.topics button.active{color:#fff;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:5px}
.t-search{margin-left:auto;min-width:190px;background:none;border:0;border-bottom:1px solid var(--line);padding:.4rem 0;color:var(--text);font-family:Poppins;font-weight:500;font-size:.92rem;transition:border-color .2s var(--ease)}
.t-search::placeholder{color:var(--muted-2)}
.t-search:focus{outline:none;border-bottom-color:var(--accent)}
.t-search::-webkit-search-cancel-button{filter:invert(.5)}
@media(max-width:560px){.t-search{margin-left:0;width:100%;min-width:0}}
.posts a.post[hidden]{display:none}
.posts-empty{color:var(--muted);font-size:1rem;padding-top:1.8rem}

/* featured article — the flagship, given editorial scale */
.feature{max-width:820px}
.feature .cat{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.feature h2{font-size:clamp(1.9rem,3.6vw,2.8rem);letter-spacing:-.03em;line-height:1.08;margin-top:1rem;max-width:20ch}
.feature .ex{color:var(--muted);font-size:1.16rem;line-height:1.72;margin-top:1.3rem;max-width:60ch}
.feature .f-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.8rem;padding-top:1.3rem;border-top:1px solid var(--line);max-width:60ch}
.feature .meta{font-family:Poppins;font-weight:500;font-size:.86rem;color:var(--muted-2)}

/* article list — a restrained two-column reading grid, not cards */
.posts{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(2.5rem,5vw,4.5rem)}
a.post{display:block;border-top:1px solid var(--line);padding:1.8rem 0}
a.post .cat{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2);transition:color .2s var(--ease)}
a.post h3{font-size:1.22rem;letter-spacing:-.02em;line-height:1.25;margin-top:.7rem;transition:color .2s var(--ease)}
a.post .ex{color:var(--muted);font-size:.98rem;line-height:1.6;margin-top:.6rem}
a.post .meta{display:block;font-family:Poppins;font-weight:500;font-size:.82rem;color:var(--muted-2);margin-top:.9rem}
a.post:hover h3,a.post:hover .cat{color:var(--accent)}
@media(max-width:820px){.posts{grid-template-columns:1fr}}
/* Flagship leads the grid full-width (replaces the separate Featured block). */
.posts .post--lead{grid-column:1 / -1;border-top:0;padding-top:.2rem}
.post--lead .lead-tag{color:var(--accent)}
/* Author byline — avatar + name (placeholder avatar until real headshots land). */
.byline{display:inline-flex;align-items:center;gap:.45rem;vertical-align:middle}
.byline .avatar{width:22px;height:22px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line);display:inline-grid;place-items:center;overflow:hidden;flex:none}
.byline .avatar img{width:100%;height:100%;object-fit:cover}
.byline .avatar svg{width:14px;height:14px;stroke:var(--muted-2);fill:none;stroke-width:1.6}
.byline .avatar img{width:100%;height:100%;object-fit:cover}
.byline--lg .avatar{width:34px;height:34px}
.byline--lg .avatar svg{width:20px;height:20px}
/* Newsletter — borderless inline block. Dark by default; paper override inside articles (below).
   On the hub it relies on the standard .section dividers (no own top rule); the article variant
   adds a top rule since the paper reading zone has no section dividers. */
.section--flush{border-bottom:0}
.news-inline h2{font-family:Poppins;font-weight:500;font-size:clamp(1.6rem,2.8vw,2.15rem);letter-spacing:-.028em;line-height:1.12;color:var(--text);max-width:22ch}
.news-inline p{color:var(--muted);font-size:1.08rem;line-height:1.6;margin-top:.9rem;max-width:54ch}
.news-row{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.5rem;max-width:470px}
.news-row input{flex:1 1 220px;min-width:0;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:.82rem 1rem;color:var(--text);font-family:inherit;font-size:1rem;transition:border-color .2s var(--ease)}
.news-row input::placeholder{color:var(--muted-2)}
.news-row input:focus{outline:none;border-color:var(--accent)}
.news-row .btn{flex:0 0 auto}
.news-fine{color:var(--muted-2);font-family:Poppins;font-weight:500;font-size:.82rem;margin-top:.85rem}
/* Centered variant — pairs with the centered CTA on the Insights hub. */
.news-inline--center{text-align:center}
.news-inline--center h2{max-width:24ch;margin-left:auto;margin-right:auto}
.news-inline--center p{max-width:52ch;margin-left:auto;margin-right:auto}
.news-inline--center .news-row{max-width:470px;margin-left:auto;margin-right:auto;justify-content:center}
/* Newsletter — paper override inside the light article reading zone (Vercel-style). */
.article-news{background:var(--paper)}
.article-news .col{max-width:844px;margin:0 auto;padding:0 var(--gutter) clamp(2.8rem,5vw,4rem)}
.article-news .news-inline{border-top:1px solid var(--ink-line);padding-top:clamp(2.2rem,4vw,3rem)}
.article-news .news-inline h2{color:var(--ink)}
.article-news .news-inline p{color:var(--ink-soft)}
.article-news .news-row input{background:#fff;border-color:var(--ink-line);color:var(--ink)}
.article-news .news-row input::placeholder{color:var(--ink-soft)}
.article-news .news-row input:focus{border-color:var(--ink-accent)}
.article-news .news-fine{color:var(--ink-soft)}
.post--lead h3{font-size:clamp(1.7rem,3.2vw,2.35rem);letter-spacing:-.03em;line-height:1.1;max-width:24ch;margin-top:.8rem}
.post--lead .ex{font-size:1.12rem;line-height:1.65;max-width:64ch;margin-top:.9rem}

/* ---- Work: a curated, anonymized track record ----
   Not a portfolio of cards — hairline-separated executive summaries with the
   outcome metrics set prominently to the right, closer to a fund's record than
   an agency grid. Token-only; no card radius, no badges. */

/* the list sits closer to the hero than a standard section — track-record density */
.work-index{padding-top:clamp(2.5rem,5vw,4rem)}

/* understated, interactive filter row (component retained; not used on the current hub) */
.work-filter{display:flex;flex-wrap:wrap;align-items:baseline;gap:.55rem 1.5rem;margin-bottom:clamp(1.6rem,3vw,2.4rem)}
.work-filter .fl-label{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.2em;text-transform:uppercase;color:var(--muted-2)}
.work-filter button{background:none;border:0;padding:0;cursor:pointer;font-family:Poppins;font-weight:500;font-size:.95rem;color:var(--muted);transition:color .2s var(--ease)}
.work-filter button:hover{color:#fff}
.work-filter button.active{color:#fff;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:1px;text-underline-offset:5px}

/* the engagement list */
.work-list{display:flex;flex-direction:column}
a.engagement{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:start;border-top:1px solid var(--line);padding:clamp(2rem,4vw,2.9rem) 0}
.work-list a.engagement:first-child{border-top:0;padding-top:0}
a.engagement:last-child{border-bottom:1px solid var(--line)}
.eng-meta{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.eng-main h3{font-size:clamp(1.35rem,2.2vw,1.72rem);letter-spacing:-.02em;line-height:1.16;margin-top:.7rem;transition:color .2s var(--ease)}
a.engagement:hover .eng-main h3{color:var(--accent)}
.eng-sum{color:var(--muted);font-size:1.02rem;line-height:1.6;margin-top:.8rem;max-width:54ch}
.eng-svc{margin-top:1.15rem;font-family:Poppins;font-weight:500;font-size:.85rem;color:var(--muted-2);letter-spacing:.01em}
.eng-more{display:inline-flex;align-items:center;gap:.45em;margin-top:1.25rem;font-family:Poppins;font-weight:600;font-size:.95rem;color:var(--text);transition:color .2s var(--ease)}
.eng-more .arw{transition:transform .2s var(--ease)}
a.engagement:hover .eng-more{color:var(--accent)}
a.engagement:hover .eng-more .arw{transform:translateX(3px)}
/* outcome metrics, set right — one accent glyph per figure, matching the system */
.eng-metrics{display:flex;flex-direction:column;gap:1.35rem;padding-top:.35rem}
.eng-m .num{font-family:Poppins;font-weight:600;font-size:clamp(1.9rem,3vw,2.5rem);letter-spacing:-.04em;line-height:1;color:var(--text)}
.eng-m .num span{color:var(--accent)}
.eng-m .d{color:var(--muted);font-size:.9rem;margin-top:.45rem;line-height:1.4;max-width:26ch}
.work-empty{color:var(--muted);font-size:1.02rem;padding-top:1.9rem}
@media(max-width:820px){
  a.engagement{grid-template-columns:1fr;gap:1.6rem}
  .eng-metrics{flex-direction:row;flex-wrap:wrap;gap:1.5rem 2.5rem}
}

/* ---- Single engagement page — a dark executive briefing (continues Work) ----
   Metrics are the hero; charts and a representative AI-answer carry the results.
   Everything else reuses the system (page-hero, .trust metrics, .split, .caps,
   .grid3, .engagement). Additive, token-only. */
.eng-facts{margin-top:1.5rem;font-family:Poppins;font-weight:500;font-size:.92rem;color:var(--muted-2);letter-spacing:.01em;line-height:1.7;max-width:62ch}
/* metrics band closes the hero — the visual focus of the page */
.eng-hero-metrics{margin-top:clamp(2.2rem,5vw,3.2rem);border-top:1px solid var(--line);padding-top:clamp(2rem,4vw,2.6rem)}
.eng-hero-metrics .mrow{margin-bottom:0}
/* results reading column + supporting copy */
/* Results composition: the chart is the full-width centerpiece; the supporting
   copy, caption, and AI panel all share one reading column beneath it — two
   intentional widths (feature vs reading) instead of three arbitrary ones. */
.eng-body{max-width:930px}
.eng-body > :first-child{margin-top:0}
.eng-body p{color:var(--muted);font-size:1.05rem;line-height:1.7;margin-top:1.5rem;max-width:44rem}
/* results — chart figure (the centerpiece, full width of the section) */
.eng-figure{margin:clamp(1.9rem,4vw,2.6rem) 0 0}
.eng-figure svg,.eng-figure img{display:block;width:100%;height:auto}
.eng-figure figcaption{margin-top:1.1rem;font-size:.9rem;color:var(--muted-2);line-height:1.5;max-width:44rem}
.eng-figure figcaption .fig-label{display:block;font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:.4rem}
.eng-figure figcaption .fig-credit{opacity:.8}
.eng-figure figcaption .fig-credit a{color:inherit;text-decoration:underline;text-decoration-color:rgba(148,132,255,.4);text-underline-offset:2px}
/* results — a representative AI answer (illustrative, not a screenshot); joins the reading column */
.ai-answer{margin:clamp(1.9rem,4vw,2.6rem) 0 0;border:1px solid var(--line);background:var(--surface);padding:clamp(1.4rem,3vw,1.9rem);max-width:44rem}
.ai-answer .aa-label{font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2)}
.ai-answer .aa-body{font-size:1.08rem;line-height:1.62;color:var(--text);margin-top:.9rem}
.ai-answer mark{background:none;color:var(--accent);font-weight:500;text-decoration:underline;text-decoration-color:rgba(148,132,255,.45);text-underline-offset:3px}
.ai-answer figcaption{margin-top:1.1rem;font-size:.88rem;color:var(--muted-2);line-height:1.5}

/* Founder section (used on index-founder.html and the About page) */
.founder .fgrid{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(2.5rem,6vw,5rem);align-items:start}
.founder .lead{margin-bottom:0}
.people{display:flex;flex-direction:column;gap:1.6rem;padding-top:.4rem}
.person{display:flex;align-items:center;gap:1rem}
.person .av{width:60px;height:60px;border-radius:50%;flex:none;display:grid;place-items:center;color:var(--muted-2);background:var(--surface);border:1px solid var(--line)}
.person .av svg{width:24px;height:24px}
.person .who-l{display:flex;flex-direction:column;gap:.15rem}
.person .nm{font-family:Poppins;font-weight:600;font-size:1.02rem;line-height:1.2}
.person .rl{color:var(--muted);font-size:.9rem}
.founder .cred{margin-top:1.7rem;padding-top:1.5rem;border-top:1px solid var(--line);color:var(--muted-2);font-size:.95rem;max-width:44ch;line-height:1.5}
/* About — team grid (specialists). Silhouette avatars = placeholders; swap for <img> headshots. */
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(2rem,3.2vw,2.8rem) clamp(1.2rem,2.5vw,2rem);margin-top:clamp(2.4rem,4vw,3.2rem)}
.member{display:flex;flex-direction:column}
.member .av{width:clamp(56px,7vw,68px);height:clamp(56px,7vw,68px);border-radius:50%;display:grid;place-items:center;color:var(--muted-2);background:var(--surface);border:1px solid var(--line);margin-bottom:.9rem;overflow:hidden}
.member .av img{width:100%;height:100%;object-fit:cover;display:block}
.member .av svg{width:44%;height:44%}
.member .av img{width:100%;height:100%;object-fit:cover}
.member .nm{font-family:Poppins;font-weight:600;font-size:1.02rem;line-height:1.25;letter-spacing:-.01em}
.member .rl{color:var(--muted);font-size:.9rem;margin-top:.15rem}
@media(max-width:820px){.team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.founder .fgrid{grid-template-columns:1fr;gap:2.5rem}.people{padding-top:0}}

/* ============================================================
   ARTICLE — long-form reading surface (deliberate light-first)
   The one place the site goes light: a warm "research library"
   reading environment between the dark nav and the dark footer.
   Reusable components — every Insights article inherits these.
   ============================================================ */
.article{
  --paper:#faf7f0;        /* warm off-white — book paper */
  --ink:#211d16;          /* warm near-black */
  --ink-soft:#5c554b;     /* muted warm (captions, meta) */
  --ink-line:rgba(33,29,22,.14);
  --ink-accent:#5b43e0;   /* violet, tuned for contrast on paper */
}

/* editorial sticky nav (article pages only) — transparent over the dark cover,
   then lifts into a quiet warm bar over the reading surface. `.lifted` is
   toggled by the article's scroll script as the cover passes the nav. */
body.reading header{background:transparent;border-bottom-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;transition:background .35s var(--ease),border-color .35s var(--ease)}
body.reading header.lifted{background:rgba(250,247,240,.82);-webkit-backdrop-filter:blur(20px) saturate(1.05);backdrop-filter:blur(20px) saturate(1.05);border-bottom-color:rgba(33,29,22,.08)}
/* condense slightly while reading — quieter still */
body.reading header .nav{transition:height .35s var(--ease)}
body.reading header.lifted .nav{height:70px}
body.reading header.lifted .brand{color:#211d16}
body.reading header.lifted .nav-links a{color:#5c554b}
body.reading header.lifted .nav-links a:hover,body.reading header.lifted .nav-links a.active{color:#211d16}
body.reading header.lifted .menu-btn span{background:#211d16}
/* understated CTA — outlined, never a filled marketing button */
body.reading .nav .btn-primary{background:transparent;color:#fff;border-color:rgba(255,255,255,.3);box-shadow:none}
body.reading .nav .btn-primary:hover{background:transparent;color:#fff;border-color:rgba(255,255,255,.6);transform:none;box-shadow:none}
body.reading header.lifted .btn-primary{color:#211d16;border-color:rgba(33,29,22,.28);padding:.8em 1.55em}
body.reading header.lifted .btn-primary:hover{color:#211d16;border-color:rgba(33,29,22,.55)}
/* mobile dropdown on the lifted (light) nav */
body.reading header.lifted .nav[data-open="true"] .nav-links{background:#faf7f0;border-bottom-color:rgba(33,29,22,.1)}
body.reading header.lifted .nav[data-open="true"] .nav-links a{color:#211d16}

/* Dark header — site-consistent; then we step into the warm body */
.article-head{background:var(--bg);border-bottom:1px solid var(--line);padding:clamp(2.6rem,6vw,4.2rem) 0 clamp(2.4rem,5vw,3.4rem)}
.article-head .col{max-width:844px;margin:0 auto;padding-inline:var(--gutter)}
.article-head a.eyebrow{display:inline-block;margin-bottom:1.3rem;transition:color .2s var(--ease)}
.article-head a.eyebrow:hover{color:#fff}
.article-head h1{font-family:Poppins;font-weight:500;font-size:clamp(2.05rem,4.4vw,3.2rem);letter-spacing:-.035em;line-height:1.07}
.article-head .dek{color:var(--muted);font-size:clamp(1.14rem,1.8vw,1.4rem);line-height:1.5;margin-top:1.3rem;max-width:48ch}
.article-head .a-meta{margin-top:1.8rem;font-family:Poppins;font-weight:500;font-size:.9rem;color:var(--muted-2);letter-spacing:.02em}

/* Warm reading body */
.article-body{background:var(--paper);color:var(--ink)}
.prose{--measure:680px;max-width:844px;margin:0 auto;padding:clamp(2.8rem,6vw,4.4rem) var(--gutter) clamp(3rem,6vw,4.5rem)}
.prose > * + *{margin-top:1.35rem}
/* Text + blocks: comfortable reading measure (--measure, single source of truth on .prose), LEFT-aligned (matches the rest of the site). Figures break out wider but stay centered on this measure — see .fig--content below. */
.prose > p,.prose > .lede,.prose > ul,.prose > ol{max-width:var(--measure)}
.prose > h2,.prose > h3,.prose > .pull,.prose > .callout,.prose > .article-toc{max-width:var(--measure)}
.prose p{font-size:1.15rem;line-height:1.78}
.prose .lede{font-family:Poppins;font-weight:500;font-size:clamp(1.24rem,2vw,1.42rem);line-height:1.5;letter-spacing:-.012em;color:var(--ink)}
.prose h2{font-family:Poppins;font-weight:500;font-size:clamp(1.5rem,2.6vw,1.9rem);letter-spacing:-.022em;line-height:1.16;margin-top:clamp(2.5rem,4.2vw,3.2rem)}
/* consistent editorial rhythm: a short rule leads every major section */
.prose h2::before{content:"";display:block;width:56px;height:1px;background:var(--ink-line);margin-bottom:clamp(1.5rem,2.6vw,1.9rem)}
.prose h3{font-family:Poppins;font-weight:600;font-size:1.18rem;letter-spacing:-.01em;margin-top:2.2rem}
.prose a{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(91,67,224,.4);text-underline-offset:2px;text-decoration-thickness:1px;transition:color .2s var(--ease),text-decoration-color .2s var(--ease)}
.prose a:hover{color:var(--ink-accent);text-decoration-color:var(--ink-accent)}
.prose strong{font-weight:600;color:var(--ink)}
.prose em{font-style:italic}
.prose ul,.prose ol{padding-left:1.35rem}
.prose li{font-size:1.15rem;line-height:1.72;margin-top:.55rem}
.prose li::marker{color:var(--ink-soft)}

/* section divider — a short centered rule */
.prose .rule{border:0;height:1px;background:var(--ink-line);width:56px;margin:clamp(2.8rem,5vw,3.6rem) 0}

/* "In this article" summary box — understated, near the top */
.article-toc{border:0;border-top:1px solid var(--ink-line);border-bottom:1px solid var(--ink-line);padding:1.5rem 0}
.article-toc .k{font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.article-toc ul{list-style:none;padding:0;margin:.95rem 0 0}
.article-toc li{font-family:Poppins;font-weight:500;font-size:.98rem;color:var(--ink);margin-top:.55rem;line-height:1.4}
.article-toc li::before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--ink-accent);opacity:.6;margin-right:.7rem;vertical-align:middle}
/* auto-generated TOC links keep the original plain-text look (override .prose a underline); gentle hover since they're now anchors */
.article-toc a{color:inherit;text-decoration:none}
.article-toc a:hover{color:var(--ink-accent)}

/* pull quote */
.pull{margin:clamp(3rem,6vw,4.2rem) 0;padding-left:1.7rem;border-left:3px solid var(--ink-accent)}
.pull p{font-family:Poppins;font-weight:500;font-size:clamp(1.5rem,2.9vw,2.05rem);line-height:1.3;letter-spacing:-.022em;color:var(--ink);text-wrap:balance}

/* callout / key idea */
.callout{background:rgba(91,67,224,.05);border:1px solid rgba(91,67,224,.16);padding:1.3rem 1.5rem}
.callout .k{display:block;font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-accent);margin-bottom:.55rem}
.callout p{font-size:1.04rem;line-height:1.66}

/* comparison block — two panels divided by a hairline */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--ink-line);border:1px solid var(--ink-line)}
.compare .col{background:var(--paper);padding:1.4rem 1.5rem}
.compare .k{display:block;font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.7rem}
.compare p{font-size:1.02rem;line-height:1.62}
@media(max-width:640px){.compare{grid-template-columns:1fr}}

/* figure + simple pipeline diagram */
.prose figure{margin:clamp(2.4rem,5vw,3.2rem) 0}
/* Content figures keep their full column width but center on the TEXT measure (--measure), not the 844 column, so extra width breaks out symmetrically on both sides. Container-relative — 100% = the .prose content box, no viewport math. Margins clamp to 0 so narrow screens (content box <= --measure) never overflow. */
.prose .fig--content{margin-left:min(0px,calc((var(--measure) - 100%)/2));margin-right:max(0px,calc((100% - var(--measure))/2))}
.pipe{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem .7rem;padding:1.6rem 1.2rem;border:1px solid var(--ink-line)}
.pipe .st{font-family:Poppins;font-weight:600;font-size:.95rem;letter-spacing:-.01em;color:var(--ink)}
.pipe .ar{color:var(--ink-accent);font-size:.95rem}
.prose figcaption{font-size:.86rem;color:var(--ink-soft);margin-top:.9rem;line-height:1.5;text-align:center}

/* code / preformatted (available to the system, restrained) */
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:rgba(33,29,22,.06);padding:.12em .38em;border-radius:4px}
.prose pre{background:rgba(33,29,22,.05);border:1px solid var(--ink-line);padding:1.1rem 1.3rem;overflow-x:auto;font-size:.92rem;line-height:1.6}
.prose pre code{background:none;padding:0}

/* Continue reading — closes the article warmly (no marketing CTA) */
.article-more{background:var(--paper);border-top:1px solid var(--ink-line)}
.article-more .col{max-width:844px;margin:0 auto;padding:clamp(2.6rem,5vw,3.6rem) var(--gutter)}
.article-more .k{font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft)}
.article-more .r-list{margin-top:1.4rem}
a.r-item{display:block;border-top:1px solid var(--ink-line);padding:1.15rem 0}
a.r-item:last-child{border-bottom:1px solid var(--ink-line)}
a.r-item .rc{font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);transition:color .2s var(--ease)}
a.r-item h3{font-family:Poppins;font-weight:500;font-size:1.2rem;letter-spacing:-.02em;color:var(--ink);margin-top:.45rem;transition:color .2s var(--ease)}
a.r-item .rm{display:block;font-family:Poppins;font-weight:500;font-size:.82rem;color:var(--ink-soft);margin-top:.55rem}
a.r-item:hover h3,a.r-item:hover .rc{color:var(--ink-accent)}

/* ── Review scaffolding marker ──────────────────────────────────────────────
   Flags illustrative / sample content during internal + partner review so no
   placeholder metric reads as a real client claim. Remove these .samplebar
   elements (markup only) once real case studies replace the illustrative ones. */
.samplebar{display:flex;align-items:center;gap:.75rem .9rem;flex-wrap:wrap;border:1px dashed rgba(148,132,255,.45);background:rgba(119,94,247,.06);padding:.8rem 1.05rem;margin:0 0 clamp(1.6rem,3vw,2.4rem)}
.samplebar .tag{flex:none;font-family:Poppins;font-weight:600;font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);border:1px solid rgba(148,132,255,.5);border-radius:var(--pill);padding:.26rem .68rem}
.samplebar p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.5}

/* Contact form — inline validation errors (Statamic Forms; shown only on failed submit) */
.field-error{display:block;margin-top:.5rem;font-family:Poppins;font-weight:500;font-size:.82rem;color:#ff8a80}

/* Figure component — image + optional caption/credit; Content / Wide / Full display widths.
   Inherits .prose figure (margin) + .prose figcaption (centered, soft). Wide/Full break out
   of the 844px column; article-body clips so full-bleed never adds a horizontal scrollbar. */
.article-body{overflow-x:clip}
.fig img{display:block;width:100%;height:auto}
.fig figcaption .fig-label{display:block;font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-accent);margin-bottom:.4rem}
.fig figcaption .fig-credit{opacity:.8}
.fig figcaption .fig-credit a{color:inherit;text-decoration:underline;text-decoration-color:rgba(91,67,224,.4);text-underline-offset:2px}
.fig--wide{width:min(1040px,92vw);margin-left:50%;transform:translateX(-50%)}
.fig--full{width:100vw;margin-left:50%;transform:translateX(-50%)}
@media(max-width:640px){.fig--wide,.fig--full{width:auto;margin-left:0;transform:none}}

/* ============================================================
   SERVICES PAGE (/services) — redesign: card-based, C style
   ============================================================ */
.lead-svc{max-width:52ch;margin-bottom:clamp(3rem,6vw,4.5rem)}
.lead-svc .eyebrow{display:block;margin-bottom:1.15rem}
.lead-svc h2{font-size:var(--h2);line-height:1.1}
.lead-svc .say{color:var(--muted);margin-top:1.2rem;font-size:1.12rem;line-height:1.6;max-width:46ch}
.lead-svc .say b,.lead-svc .say strong{color:var(--accent);font-weight:500}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.1rem,2.2vw,1.6rem)}
.gcard{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.gcard::before{content:"";position:absolute;top:0;left:0;right:0;background:radial-gradient(70% 100% at 30% 0,rgba(119,94,247,.09),transparent 75%);pointer-events:none}
.gcard .ico{position:relative;display:grid;place-items:center;border-radius:11px;background:rgba(119,94,247,.07);color:var(--accent)}
.gcard .ico svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gcard h3{position:relative;letter-spacing:-.02em}
.gcard p{position:relative;color:var(--muted)}
.cards--cap .gcard{padding:clamp(2.3rem,3.4vw,2.9rem)}
.cards--cap .gcard::before{height:74px}
.cards--cap .gcard .ico{width:42px;height:42px;margin-bottom:1.5rem}
.cards--cap .gcard .ico svg{width:22px;height:22px}
.cards--cap .gcard h3{font-size:1.14rem;margin-bottom:.55rem}
.cards--cap .gcard p{font-size:.95rem;line-height:1.55}
.cards--lead{gap:clamp(1.2rem,2.4vw,1.75rem)}
.cards--lead .gcard{padding:clamp(2.25rem,3.6vw,3rem)}
.cards--lead .gcard::before{height:96px;background:radial-gradient(70% 100% at 30% 0,rgba(119,94,247,.11),transparent 74%)}
.cards--lead .gcard .ico{width:48px;height:48px;border-radius:12px;margin-bottom:1.4rem}
.cards--lead .gcard .ico svg{width:24px;height:24px}
.cards--lead .gcard h3{font-size:clamp(1.35rem,2.3vw,1.72rem);line-height:1.14;margin-bottom:.7rem}
.cards--lead .gcard p{font-size:1.02rem;line-height:1.5}
@media(max-width:820px){.cards{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.cards{grid-template-columns:1fr}}

/* ============================================================
   AEO SERVICE PAGE (/services/aeo) — child of the Services card system
   ============================================================ */
.lead-c{max-width:60ch}
.lead-c .eyebrow{display:block;margin-bottom:1.1rem}
.lead-c h2{font-size:var(--h2);line-height:1.1}
.lead-c p{color:var(--muted);margin-top:1.15rem;font-size:1.14rem;line-height:1.6;max-width:52ch}
.lead-c p b{color:var(--text);font-weight:500}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,1.5rem);margin-top:clamp(2.5rem,5vw,3.5rem)}
.stat-c{background:var(--surface-2);border:1px solid var(--line);border-radius:18px;padding:clamp(2rem,3.4vw,2.8rem)}
.stat-c .n{font-family:Poppins;font-weight:600;font-size:clamp(2.4rem,5vw,3.3rem);letter-spacing:-.04em;line-height:1;color:var(--text)}
.stat-c .n span{color:var(--accent)}
.stat-c p{color:var(--muted);font-size:.98rem;line-height:1.5;margin-top:1rem}
.stat-flag{display:inline-block;font-family:Poppins;font-weight:600;font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2);border:1px dashed rgba(255,255,255,.14);border-radius:6px;padding:.28em .55em;margin-top:1.1rem}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1rem,2vw,1.4rem)}
.svc-item{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(1.9rem,3vw,2.5rem)}
.svc-item::before{content:"";position:absolute;top:0;left:0;right:0;height:70px;background:radial-gradient(70% 100% at 30% 0,rgba(119,94,247,.09),transparent 75%);pointer-events:none}
.svc-item .ico{position:relative;width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:rgba(119,94,247,.07);color:var(--accent);margin-bottom:1.4rem}
.svc-item .ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.svc-item h3{position:relative;font-size:1.1rem;letter-spacing:-.02em;margin-bottom:.55rem}
.svc-item p{position:relative;color:var(--muted);font-size:.93rem;line-height:1.55}
.svc-feature{position:relative;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(2.2rem,4vw,3.25rem);margin:clamp(2.5rem,5vw,3.5rem) 0 clamp(1rem,2vw,1.4rem);display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(1.75rem,5vw,4rem);align-items:center}
.svc-feature::before{content:"";position:absolute;top:0;left:0;width:55%;height:100%;background:radial-gradient(50% 70% at 22% 40%,rgba(119,94,247,.12),transparent 72%);pointer-events:none}
.svc-feature .ico{position:relative;width:52px;height:52px;display:grid;place-items:center;border-radius:13px;background:rgba(119,94,247,.07);color:var(--accent);margin-bottom:1.4rem}
.svc-feature .ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.svc-feature h3{position:relative;font-size:clamp(1.5rem,2.8vw,2.1rem);letter-spacing:-.03em;line-height:1.08}
.svc-feature p{position:relative;color:var(--muted);font-size:1.08rem;line-height:1.6}
@media(max-width:720px){.svc-feature{grid-template-columns:1fr;gap:1.25rem}}
.faq{max-width:820px;border-top:1px solid var(--line);margin-top:clamp(2rem,4vw,3rem)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:clamp(1.5rem,3vw,2rem) 0;font-family:Poppins;font-weight:500;font-size:clamp(1.1rem,2vw,1.35rem);letter-spacing:-.02em;color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq .cue{position:relative;width:20px;height:20px;flex:none;transition:transform .3s var(--ease);opacity:.6}
.faq .cue::before,.faq .cue::after{content:"";position:absolute;top:50%;left:50%;background:var(--text)}
.faq .cue::before{width:14px;height:1.5px;transform:translate(-50%,-50%)}
.faq .cue::after{width:1.5px;height:14px;transform:translate(-50%,-50%)}
.faq details[open] .cue{transform:rotate(45deg)}
.faq .a{color:var(--muted);font-size:1.05rem;line-height:1.6;max-width:64ch;padding-bottom:clamp(1.5rem,3vw,2rem)}
@media(max-width:820px){.stats,.svc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.stats,.svc-grid{grid-template-columns:1fr}}

/* ============================================================
   HOMEPAGE TRUST BAR — client logo wall attached under the hero
   ============================================================ */
/* Hero flows into the trust bar: drop the hero's own hairline so the only
   divider falls BELOW the logos. (Only the homepage uses .hero.) */
.hero{border-bottom:0}
.trustbar{padding:clamp(1.5rem,3vw,2.4rem) 0;border-bottom:1px solid var(--line)}
.trustbar .logos{margin-bottom:0}
/* Featured Engagement + testimonial read as one cohesive block. */
.trust .feature{margin-bottom:clamp(2rem,3.5vw,3rem)}
/* Uniform grayscale logo wall: flatten every logo (any colour) to one muted
   tone; brighten AND fade to full brand colour on hover. Per-logo optical
   heights keep compact marks and long wordmarks visually balanced. */
.logo-row img.logo{width:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.42;transition:opacity .2s var(--ease),filter .2s var(--ease)}
.logo-row img.logo:hover{opacity:.95;filter:none}
.logo-row .l-berkeley{height:24px}
.logo-row .l-chronus{height:24px}
.logo-row .l-astronics{height:24px}
.logo-row .l-2u{height:26px}
.logo-row .l-bicycle{height:30px}
/* Subtle client-logo strip (service + contact pages) — quieter than the homepage trust bar. */
.trust-strip{padding:clamp(2.6rem,5vw,3.6rem) 0}
.trust-strip-label{text-align:center;font-family:Poppins;font-weight:600;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2);margin-bottom:clamp(1.6rem,3vw,2.2rem)}
.trust-strip .logo-row img.logo{opacity:.42}

/* ============================================================
   WORK HUB — case-study cards (metric-forward, no logos)
   Pill row (industry + service) → big result metric → summary → link.
   ============================================================ */
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.1rem,2.4vw,1.7rem);margin-top:clamp(2.6rem,5vw,3.6rem)}
.case-grid:first-child{margin-top:0} /* Work hub: grid leads the section (no heading), so section padding alone sets the top gap */
.case-card{position:relative;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:clamp(2rem,3.4vw,2.7rem);overflow:hidden;transition:border-color .25s var(--ease),transform .25s var(--ease)}
.case-card::before{content:"";position:absolute;inset:0 0 auto 0;height:120px;background:radial-gradient(130% 90px at 18% 0,rgba(119,94,247,.1),transparent 72%);pointer-events:none}
.case-card:hover{border-color:rgba(119,94,247,.32);transform:translateY(-3px)}
.case-card>*{position:relative}
.case-card .pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem}
.pill{font-family:Poppins;font-weight:600;font-size:.7rem;letter-spacing:.07em;text-transform:uppercase;padding:.36rem .72rem;border-radius:999px;line-height:1;white-space:nowrap}
.pill--industry{background:rgba(119,94,247,.13);color:var(--accent);border:1px solid rgba(119,94,247,.22)}
.pill--service,.pill--stage{background:transparent;color:var(--muted);border:1px solid var(--line)}
.case-card .metric{font-family:Poppins;font-weight:600;font-size:clamp(2.3rem,4.4vw,3.2rem);letter-spacing:-.03em;line-height:1;color:var(--accent)}
.case-card .metric span{color:var(--muted-2);font-weight:500}
/* Single published case study → an intentional full-width lead card, not a lonely grid cell */
.case-card:only-child{grid-column:1 / -1;padding:clamp(2.2rem,4vw,3.4rem)}
.case-card:only-child .metric{font-size:clamp(2.9rem,6vw,4.4rem)}
.case-card:only-child h3{font-size:clamp(1.35rem,2.6vw,1.95rem);max-width:34ch}
.case-card h3{font-size:clamp(1.1rem,1.7vw,1.3rem);letter-spacing:-.01em;line-height:1.38;color:var(--text);margin-top:1rem;max-width:28ch}
.case-card .link{margin-top:auto;padding-top:1.6rem}
.work-note{margin-top:clamp(1.4rem,3vw,2rem);color:var(--muted-2);font-size:.9rem}
@media(max-width:720px){.case-grid{grid-template-columns:1fr}}

/* ============================================================
   CASE STUDY DETAIL — hero pills + centered dark narrative
   ============================================================ */
.eng-facts-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.7rem}
.case-hero-note{margin-top:1.1rem;color:var(--muted-2);font-family:Poppins;font-weight:500;font-size:.9rem;letter-spacing:.02em}
.case-body{max-width:768px} /* left-aligned to match the left hero (blog centers because its hero centers) */
.cs-block{padding:clamp(2.6rem,5vw,3.6rem) 0;border-top:1px solid var(--line)}
.cs-block:first-child{border-top:0;padding-top:0}
.cs-kicker{display:block;font-family:Poppins;font-weight:600;font-size:var(--eyebrow);letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:1rem}
.cs-block h2{font-family:Poppins;font-weight:500;font-size:clamp(1.55rem,2.8vw,2.05rem);letter-spacing:-.025em;line-height:1.16;max-width:24ch}
.cs-prose{margin-top:1.5rem;color:var(--muted);font-size:1.14rem;line-height:1.76}
.cs-prose p{max-width:64ch}
.cs-prose p + p{margin-top:1.2rem}
.cs-prose strong,.cs-prose b{color:var(--text);font-weight:600}
.cs-list{margin-top:1.8rem}
.cs-list .cs-item{border-top:1px solid var(--line);padding:1.4rem 0}
.cs-list .cs-item:first-child{border-top:0;padding-top:0}
.cs-list h3{font-family:Poppins;font-weight:600;font-size:1.12rem;letter-spacing:-.01em;color:var(--text)}
.cs-list p{color:var(--muted);font-size:1.05rem;line-height:1.65;margin-top:.4rem;max-width:60ch}
.cs-pull{margin:clamp(2.4rem,5vw,3.4rem) 0;padding-left:1.6rem;border-left:3px solid var(--accent)}
.cs-pull p{font-family:Poppins;font-weight:500;font-size:clamp(1.35rem,2.6vw,1.75rem);line-height:1.32;letter-spacing:-.02em;color:var(--text);max-width:32ch}
/* Two-column: narrative (left) + sticky right rail (at-a-glance + CTA). */
.case-layout{display:grid;grid-template-columns:1fr 296px;gap:clamp(2.5rem,5vw,5rem);align-items:start}
.case-layout .case-body{grid-column:1;grid-row:1;max-width:none}
.case-rail{grid-column:2;grid-row:1;position:sticky;top:100px;display:flex;flex-direction:column;gap:1.1rem}
.rail-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.5rem}
.rail-card .k{display:block;font-family:Poppins;font-weight:600;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-2);margin-bottom:1.1rem}
.rail-card .pills{display:flex;flex-wrap:wrap;gap:.5rem}
.rail-facts{margin-top:1.35rem}
.rail-facts .rf{padding:.85rem 0;border-top:1px solid var(--line)}
.rail-facts .rf:first-child{border-top:0;padding-top:0}
.rail-facts .rl{display:block;font-family:Poppins;font-weight:600;font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-2);margin-bottom:.3rem}
.rail-facts .rv{color:var(--text);font-size:.96rem;line-height:1.4}
.rail-cta{display:block;background:var(--surface);border:1px solid rgba(119,94,247,.28);border-radius:14px;padding:1.4rem 1.5rem;transition:border-color .2s var(--ease),transform .2s var(--ease)}
.rail-cta:hover{border-color:rgba(119,94,247,.55);transform:translateY(-2px)}
.rail-cta .rc-k{display:block;color:var(--text);font-family:Poppins;font-weight:500;font-size:1.02rem;line-height:1.3;margin-bottom:.6rem}
.rail-cta .rc-link{color:var(--accent);font-family:Poppins;font-weight:600;font-size:.9rem}
@media(max-width:900px){
  .case-layout{grid-template-columns:1fr;gap:2.2rem}
  .case-layout .case-body,.case-rail{grid-column:1;grid-row:auto}
  .case-rail{position:static;flex-direction:row;flex-wrap:wrap;gap:1rem}
  .case-rail>*{flex:1 1 260px}
}

/* ============================================================
   Services hub — framework + capability tiers (subtle, live sizes)
   ============================================================ */
.hl{color:var(--accent)}
/* Inline accent word in hero headlines, driven by *markdown emphasis* in the heading field */
.page-hero h1 em,.hero h1 em{color:var(--accent);font-style:normal}
/* both tiers share the same base surface; pillars carry a soft glow, the capability grid is flat */
.cards--lead .gcard,.cards--cap .gcard{background:#161a22}
.cards--lead .gcard::before{opacity:.6}
.cards--cap .gcard::before{display:none}


/* ============================================================
   Inner service pages — Core Capabilities grid (aeo / content / strategy)
   Same calm card object as the hub, laid out 4-up.
   ============================================================ */
.capgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.9rem,1.8vw,1.3rem);margin-top:clamp(2rem,4vw,2.8rem)}
.capcard{position:relative;background:#161a22;border:1px solid var(--line);border-radius:16px;padding:clamp(1.4rem,2.2vw,1.8rem);transition:border-color .25s var(--ease),transform .25s var(--ease)}
.capcard:hover{border-color:rgba(119,94,247,.32);transform:translateY(-3px)}
.capcard .ic{width:40px;height:40px;border-radius:10px;background:rgba(119,94,247,.09);color:var(--accent);display:grid;place-items:center;margin-bottom:1rem}
.capcard .ic svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.capcard h3{font-family:Poppins;font-weight:600;font-size:1.05rem;letter-spacing:-.01em;line-height:1.18}
.capcard p{color:var(--muted);font-size:.9rem;line-height:1.45;margin-top:.45rem}
@media(max-width:900px){.capgrid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.capgrid{grid-template-columns:1fr}}

/* ============================================================
   Services hub (lean) — hero grid texture, framework feature cards,
   competencies grid, trust strip
   ============================================================ */
.hg-hero{position:relative;overflow:hidden}
.hg-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:radial-gradient(120% 85% at 50% 0,#000,transparent 68%);mask-image:radial-gradient(120% 85% at 50% 0,#000,transparent 68%);pointer-events:none}
.hg-hero .wrap{position:relative}


.tstrip{border-top:1px solid var(--line);padding-top:clamp(2.4rem,4vw,3.2rem);margin-top:clamp(3rem,6vw,4.5rem);text-align:center}
.tstrip p{font-family:Poppins;font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted-2);margin-bottom:1.6rem}
.tstrip .logo-row img.logo{opacity:.4}


/* Services — expanded service blocks: each service shows its name + what it is,
   with its levers/deliverables laid out beside it. Substantial, not sparse. */
.svc-blocks{margin-top:clamp(2.4rem,4vw,3.4rem)}
.svc-block{display:grid;grid-template-columns:minmax(0,0.92fr) minmax(0,1.28fr);gap:clamp(1.6rem,4vw,3.6rem);padding-block:clamp(2.5rem,5vw,3.8rem);border-top:1px solid var(--line)}
.svc-block:first-child{border-top:0;padding-top:0}
.svc-head{align-self:start}
.svc-head::before{content:"";display:block;width:34px;height:2px;background:var(--accent);border-radius:2px;margin-bottom:1.35rem}
.svc-head h3{font-family:Poppins;font-weight:500;font-size:clamp(1.8rem,3.2vw,2.6rem);letter-spacing:-.03em;line-height:1.06;margin:0}
.svc-head p{color:var(--muted);font-size:1.06rem;line-height:1.62;margin-top:1.05rem;max-width:38ch}
.svc-levers{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;align-self:start}
.lever{background:var(--surface);padding:clamp(1.15rem,2vw,1.55rem) clamp(1.25rem,2vw,1.65rem);transition:background .25s var(--ease),box-shadow .25s var(--ease)}
.lever:hover{background:#151d2c;box-shadow:inset 2px 0 0 var(--accent)}
.lever h4{font-family:Poppins;font-weight:500;font-size:1.04rem;letter-spacing:-.01em;line-height:1.2}
.lever:hover h4{color:#fff}
.lever p{color:var(--muted);font-size:.9rem;line-height:1.48;margin-top:.42rem}
@media(max-width:860px){.svc-block{grid-template-columns:1fr;gap:1.4rem;padding-block:clamp(2rem,6vw,2.8rem)}}
@media(max-width:460px){.svc-levers{grid-template-columns:1fr}}

/* Insights cards — custom diagram figure (dark house style). Featured card sits
   side-by-side (diagram left, text right); library cards get the diagram on top. */
.post-fig{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:1.15rem;background:#0d1420;line-height:0}
.post-fig img{display:block;width:100%;height:auto}
.posts .post--lead{display:grid;grid-template-columns:0.85fr 1.15fr;column-gap:clamp(1.6rem,3.5vw,3rem);align-items:center}
.posts .post--lead>.post-fig{margin:0;align-self:center}
.post-lead-body{min-width:0}
@media(max-width:720px){.posts .post--lead{grid-template-columns:1fr;row-gap:1.15rem}.posts .post--lead>.post-fig{margin:0}}
