/* refine.css (Nov 29): the "doesn't look AI-made" pass. Loaded last on every page.
   Based on the common AI-template tells (see Laith0003/ux-skill "Anti AI slop ban list" and
   Capital & Compute "How to fix AI slop in web design"): no tracked all-caps labels over every
   heading, no accent bar on every card, no rule under every heading, no arrow on every link,
   no "A · B · C" meta strings. Whitespace and type weight do the work instead. */

/* 1. labels: the decorative ones go; the ones that carry information become plain text */
.vs-head .eyebrow,.sc-kicker,.sec-hero .kicker,.hero.short .kicker,.hcard small,.v4-hero .kicker{display:none}
.eyebrow,.kicker,.in-kind,.kind,.lib-kind,.rs-kind,.ab-kicker,.ins-brief .kind,.v4-insights .kind,.sx-hero .crumb,.in-cats a{text-transform:none;letter-spacing:0}
.eyebrow,.kicker,.in-kind,.kind,.rs-kind,.sx-hero .crumb{font-size:.9375rem;font-weight:600}

/* 2. cards: no colored bar on top; dark cards stay dark, just flat */
.sc,.sc:hover{border:0;border-top:0}
.ti-kpi{border-top:1px solid rgba(42,36,34,.14)}
.lib-card,.rs-work{border-top:0}
.ins-brief{border-top:0}

/* 3. headings: no rule under every one; spacing separates sections instead */
.vs-head,.sx-head,.rs-head,.v4-insights .head,.lib-head,.ab-head{border-bottom:0;padding-bottom:0}
.vs-head{margin-bottom:32px}
.sx-head,.rs-head{margin-bottom:24px}
.kv-group{border-top:1px solid rgba(42,36,34,.14)}
.sx-cols>*{border-top:1px solid rgba(42,36,34,.18)}

/* 4. arrows only where they mean "go": primary buttons. Text links stand on their own */
.arr{display:none}
.btn .arr,.in-btn .arr{display:inline-block}
.sc-more,.sx-ask{display:none}
.vs-head .more-link,.v4-insights .more-link,.bs-head a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}

/* 5. the hero cards on the home page: the title says it; no label above it */
.hcard .in{padding:24px 26px}
.chev{display:none}
a:not(.btn):not(.in-btn) .arr{display:none !important}
/* Insights featured story: darker behind the text so it reads over the photo */
.in-big::before{background:linear-gradient(180deg,rgba(8,10,16,.84) 0%,rgba(8,10,16,.58) 50%,rgba(8,10,16,.72) 100%)}
/* home headline: longer lines, "Research for healthier" on the first, using the white space above the streak */
@media (min-width:901px){.v4-hero h1{max-width:22ch;font-size:clamp(2.8rem,4.6vw,4.4rem);line-height:1.04}}
.ti-nav-label{text-transform:none;letter-spacing:0;font-size:.9375rem;font-weight:600}

/* home: the photo credit under the hero cards was too small and too faint on white */
.v4-credit{font-size:.8125rem;color:#6E625A}
.v4-credit a{color:inherit}
/* Our values banner: the hands illustration, circle kept to the right of the text */
.sec-hero>.sec-bg.kv-hands{object-position:70% 50%}
.v4-credit{width:fit-content;margin-left:auto;background:rgba(255,255,255,.9);padding:3px 8px}
/* Our values page. 1) Social health: heading full width; text left, the 1940s Brockton photo right, running to the window edge.
   2) Why connection matters: full-width light grey band; heading + source note left, cited findings right. Sources sit at the foot of the page.
   3) Values: one plain statement in large type. */
.sh{background:#FFFFFF;padding:96px 0 0;overflow-x:clip}
.sh-top{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:80px;align-items:start}
.sh-head{grid-column:1 / -1}
.sh-tag{font-size:1rem;font-weight:600;color:#6B4A33;margin:0 0 12px}
.sh-head h2{font-size:clamp(3rem,5vw,4.5rem);line-height:.98;letter-spacing:-.015em;color:#1A1410;margin:0 0 36px}
.sh-text p{font-size:1.125rem;line-height:1.7;color:#2A2422;margin:0 0 18px;max-width:34rem}
.sh-text p.sh-lead{font-family:var(--display);font-weight:600;font-size:clamp(1.25rem,1.6vw,1.4rem);line-height:1.45;color:#1A1410;margin-bottom:22px}
.sh-text a{color:#6B4A33;text-decoration:underline;text-underline-offset:3px}
.sh-text sup{font-size:.7em;line-height:0;margin-left:1px}
.sh-text sup a{text-decoration:none}
.sh-photos{padding-top:6px;margin-right:calc(-1 * max(24px, (100vw - var(--wrap)) / 2 + 24px))}
.sh-ph{margin:0}
.sh-ph img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:35% 100%}
.sh-ph figcaption{font-size:.8125rem;line-height:1.5;color:#6E625A;margin-top:10px;max-width:30rem}
.sh-ph-a{width:100%}
.sh-ph-a figcaption{max-width:34rem}
.sh-band{background:#F5F5F5;margin-top:112px;padding:72px 0}
.sh-ev{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:80px;align-items:start}
.sh-ev-head{grid-column:1;grid-row:1}
.sh-ev-head h3{margin:0 0 12px;font-size:clamp(1.6rem,2.3vw,2rem);line-height:1.15;color:#1A1410}
.sh-ev-head p{margin:0;font-size:1.0625rem;line-height:1.6;color:#2A2422;max-width:24rem}
.sh-rows{grid-column:2;grid-row:1;margin:0;border-top:1px solid rgba(26,20,16,.2)}
.sh-rows>div{padding:20px 0;border-bottom:1px solid rgba(26,20,16,.14)}
.sh-rows dt{font-size:.9375rem;font-weight:600;color:#6B4A33;margin:0 0 6px}
.sh-rows dd{margin:0;font-size:1.125rem;line-height:1.65;color:#2A2422;max-width:40rem}
.sh-rows strong{font-weight:700;color:#1A1410}
.sh-rows sup{font-size:.7em;line-height:0;margin-left:1px}
.sh-rows sup a{color:#6B4A33;text-decoration:none}
.sh-close{grid-column:2;margin:24px 0 0;font-family:var(--display);font-weight:600;font-size:1.25rem;line-height:1.45;color:#1A1410;max-width:36rem}
.sh-src{margin:56px 0 0;padding-top:20px;border-top:1px solid rgba(26,20,16,.14)}
.sh-src p{font-size:.8125rem;font-weight:600;color:#6E625A;margin:0 0 6px}
.sh-src ol{margin:0;padding-left:1.2em;font-size:.8125rem;line-height:1.6;color:#6E625A}
.sh-src li{margin:0 0 8px;padding-left:4px;break-inside:avoid;scroll-margin-top:120px}
@media (min-width:901px){.sh-src ol{columns:2;column-gap:80px}}
.sh-src a{color:inherit;text-decoration:underline;text-decoration-color:rgba(110,98,90,.45);text-underline-offset:2px}
.sh-src a:hover{color:#6B4A33}
.sh-src li:target{background:#F5F5F5}
.kv-house{background:#FFFFFF;padding:120px 0 104px}
.kv-tag{font-family:inherit;font-size:1rem;font-weight:600;line-height:1.4;color:#6B4A33;margin:0 0 18px}
.kv-big{font-family:var(--display);font-weight:600;font-size:clamp(2.25rem,4.4vw,3.75rem);line-height:1.12;letter-spacing:-.012em;color:#1A1410;margin:0;max-width:24ch;text-wrap:balance}
.kv-big span{color:#6B4A33}
.kv-after{margin:36px 0 0;max-width:38rem;font-size:1.0625rem;line-height:1.65;color:#2A2422}
.kv-after a{color:#6B4A33;font-weight:600;text-decoration:underline;text-underline-offset:3px}
@media (max-width:960px){
  .sh-top{grid-template-columns:1fr;row-gap:8px}
  .sh-photos{padding-top:24px;max-width:680px;margin-right:0}
  .sh-ph-a{width:100%;margin-left:0}
  .sh-ev{grid-template-columns:1fr;grid-template-rows:none;row-gap:24px}
  .sh-ev-head,.sh-rows{grid-column:1;grid-row:auto;position:static}
}
@media (max-width:760px){
  .sh{padding-top:56px}
  .sh-head h2{margin-bottom:24px}
  .sh-photos{margin:0 -24px}
  .sh-ph img{aspect-ratio:16/10;object-position:40% 100%}
  .sh-ph figcaption{padding:0 24px}
  .sh-band{margin-top:72px;padding:56px 0}
  .kv-house{padding:80px 0 72px}
}
/* Home hero: a direct way to reach out, under the lede */
.v4-hero .v4-lead{grid-area:l}
.v4-cta{margin:28px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.v4-cta span{font-size:.9375rem;line-height:1.5;color:#5E544D;max-width:17rem}
.btn.hero-cta{background:#6B4A33;color:#FFFFFF;font-weight:600}
.btn.hero-cta:hover{background:#563B28}
.btn.hero-cta .arr{display:inline-block}
/* Home: two sectors sit side by side (no looping carousel); the values card fills with the actual statement */
.vs-rail.static{clip-path:none;overflow:visible}
.vs-rail.static .vs-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:var(--wrap);margin:0 auto;padding:0 24px;transform:none !important}
.vs-rail.static .vs-track .sc{flex:none}
.vs-nav[hidden]{display:none}
@media (max-width:760px){.vs-rail.static .vs-track{grid-template-columns:1fr;gap:16px}}
.ins-brief{background:#1A1410;color:#E9DED4}
.ins-brief .kind{color:#D9C3AE}
.ins-brief p.ins-values{font-family:var(--display);font-weight:600;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.3;color:#FFFFFF;margin:8px 0 28px}
.ins-brief .ins-link{margin-top:auto;color:#FFFFFF;font-weight:600;text-decoration:underline;text-decoration-color:rgba(255,255,255,.5);text-underline-offset:4px}
/* Sector "What we do": each service states its scope, the standard it uses and what you get */
.sx-item .sx-lab{margin:18px 0 6px;font-size:.8125rem;font-weight:600;color:#6B4A33}
.sx-item ul.sx-scope{margin:0;padding-left:1.1em}
.sx-item ul.sx-scope li{margin:0 0 6px;font-size:.9375rem;line-height:1.55}
.sx-item .sx-std{margin:0;font-size:.9375rem;line-height:1.55}
.sx-item .get{margin-top:18px}
/* Sector services as clickable boxes: each opens Get in touch with that service already picked */
.sx-cols{gap:24px}
.sx-cols>.sx-item{border:1px solid rgba(26,20,16,.16);border-top:3px solid #6B4A33;background:#FFFFFF;padding:26px 26px 24px;box-shadow:0 1px 2px rgba(26,20,16,.04);transition:border-color .2s,box-shadow .25s,transform .25s}
.sx-cols>.sx-item:hover{border-color:rgba(107,74,51,.55);border-top-color:#6B4A33;box-shadow:0 14px 30px rgba(26,20,16,.10);transform:translateY(-3px)}
.sx-cols>.sx-item .sx-ask{display:block;margin-top:auto;padding-top:22px;font-size:.9375rem;font-weight:600;color:#6B4A33;text-decoration:underline;text-decoration-color:rgba(107,74,51,.4);text-underline-offset:4px}
.sx-cols>.sx-item:hover .sx-ask{text-decoration-color:#6B4A33}
.sx-cols>.sx-item:focus-visible{outline:2px solid #6B4A33;outline-offset:3px}
