/* Cornerstone client portfolio; add after the existing site styles. */
:root{--cp-ink:#0b1627;--cp-night:#080e19;--cp-gold:#d2b76a;--cp-paper:#f5f1e8;--cp-silver:#a6b1c2}
body.csn{background:#080e19}
.cp-page{font-family:'Inter Tight',Inter,system-ui,sans-serif;background:#080e19;color:#f9f8f4;padding-bottom:32px}
.cp-page *{box-sizing:border-box}.cp-page a{text-decoration:none}
.cp-prelude{max-width:1400px;margin:auto;padding:70px 40px 54px}.cp-prelude__eyebrow{color:#bfa86e;font-size:11px;letter-spacing:.27em;font-weight:800;border-bottom:1px solid rgba(236,218,167,.19);padding-bottom:20px}
.cp-hero-copy{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:74px;align-items:end;padding-top:70px}
.cp-kicker{font:700 11px/1.6 'Inter Tight',sans-serif;letter-spacing:.2em;color:var(--cp-gold)}
.cp-page h1,.cp-page h2,.cp-page h3{font-family:'Inter Tight',Inter,sans-serif;letter-spacing:-.055em;color:#fbfaf7}
.cp-page h1{max-width:920px;margin:20px 0 20px;font-size:clamp(49px,5.5vw,86px);font-weight:700;line-height:.98}
.cp-page h1 em,.cp-page h2 em{font-family:'Instrument Serif',Georgia,serif;color:#ddc48a;letter-spacing:-.02em;font-weight:400}
.cp-hero-copy>div>p{font-size:18px;line-height:1.7;max-width:660px;color:#b5bdc9;margin:0}
.cp-hero-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:32px}
.cp-btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:50px;border-radius:5px;padding:13px 20px;background:#d5bc7e;color:#0b1729!important;font-size:13px;font-weight:800;letter-spacing:.005em}
.cp-btn-primary:hover{background:#edd6a4}.cp-btn-outline{display:inline-flex;align-items:center;padding:13px 8px;border-bottom:1px solid rgba(221,196,138,.5);font-size:13px;font-weight:650;color:#e8e0ca!important}
.cp-overview{position:relative;padding:27px 28px 23px;border:1px solid rgba(212,183,110,.4);border-radius:13px;background:linear-gradient(145deg,#182638,#101b2d);box-shadow:0 25px 70px rgba(0,0,0,.19)}
.cp-overview__top{display:flex;justify-content:space-between;color:#d9cbad;letter-spacing:.16em;font-size:10px;font-weight:800}
.cp-overview__top span{color:#798797}.cp-overview__number{margin-top:42px;font-size:clamp(64px,6vw,95px);font-weight:750;line-height:1;letter-spacing:-.1em;color:#faf8f3}
.cp-overview__number span{font-size:12px;color:#bdc4cf;letter-spacing:0;font-weight:600}.cp-overview__line{height:1px;background:rgba(255,255,255,.13);margin:21px 0}
.cp-overview__stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cp-overview__stats strong{font-size:30px;display:block;color:#e3c78e;line-height:1.2}.cp-overview__stats span{font-size:11px;color:#b5bece}
.cp-overview p{font-size:11px;color:#8390a2;margin:22px 0 0;line-height:1.55}
.cp-filterbar{position:sticky;top:70px;z-index:40;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:13px max(calc((100vw - 1320px)/2),40px);border-top:1px solid rgba(255,255,255,.11);border-bottom:1px solid rgba(255,255,255,.11);background:rgba(10,19,32,.94);backdrop-filter:blur(18px)}
.cp-filter-links{display:flex;gap:16px}.cp-filter-link{font-size:11px;font-weight:750;letter-spacing:.06em;color:#bfa36e!important;padding:10px 4px;white-space:nowrap}.cp-filter-link span{color:#e7e7e2;margin-left:5px}.cp-filter-link:hover span{color:#d5bc7e}
.cp-search{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.13);border-radius:7px;padding:8px 10px;color:#d9c48c;width:290px;max-width:100%}
.cp-search input{border:0;outline:none!important;background:transparent;width:100%;font:500 12px 'Inter Tight',sans-serif;color:#fff}.cp-search input::placeholder{color:#8894a4}
.cp-section{max-width:1400px;margin:auto;padding:89px 40px 44px;scroll-margin-top:145px}
.cp-section-head{display:flex;align-items:end;justify-content:space-between;gap:38px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:31px}
.cp-section-head h2{font-size:clamp(36px,3.7vw,54px);line-height:1.08;margin:13px 0 0;max-width:720px}.cp-section-head__right{max-width:335px;min-width:250px;text-align:right}
.cp-count{font:700 25px/1 'Inter Tight',sans-serif;color:#e3c78e}.cp-count small{font-size:11px;color:#a4b0c0;font-weight:500;letter-spacing:0}
.cp-section-head__right p{margin:10px 0 0;color:#8f9ba9;font-size:12px;line-height:1.6}
.cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.cp-card{overflow:hidden;min-width:0;background:#121d2e;border:1px solid rgba(255,255,255,.12);border-radius:11px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cp-card:hover{transform:translateY(-4px);border-color:rgba(222,190,119,.6);box-shadow:0 19px 50px rgba(0,0,0,.22)}
.cp-card[hidden]{display:none!important}.cp-card__art{height:204px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 32px;background:radial-gradient(circle at 80% -25%,#e8e0cf,transparent 55%),linear-gradient(150deg,#fcfbf8,#eeeae3);isolation:isolate;overflow:hidden}
.cp-card__art::before{content:'';position:absolute;inset:10px;border:1px solid rgba(11,22,39,.055);border-radius:6px;z-index:-1}
.cp-card__art>img{display:block;max-width:100%;max-height:137px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(28,37,51,.06))}
.cp-card__art .cp-wordmark{display:none;align-items:center;justify-content:center;font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.12;max-width:100%;overflow-wrap:anywhere;color:#16253c;text-align:center;letter-spacing:-.035em}
.cp-card__art .cp-wordmark--shown{display:flex}.cp-logos-duo{width:100%;height:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px}.cp-logos-duo img{max-width:100%;max-height:116px;width:auto;height:auto;justify-self:center;object-fit:contain}
.cp-card-support{position:absolute;bottom:9px;right:14px;color:#52617a;font-size:10px;font-weight:650}
.cp-card__body{padding:22px 22px 18px;display:flex;flex-direction:column;min-height:207px}
.cp-card__micro{display:flex;justify-content:space-between;gap:10px;align-items:center}.cp-sector{color:#d7bd7c;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.cp-card__index{color:#637388;font-size:11px}
.cp-card h3{font-size:23px;line-height:1.15;letter-spacing:-.038em;margin:12px 0 10px;font-weight:700;overflow-wrap:anywhere}.cp-card p{font-size:12.5px;line-height:1.55;color:#b6c0cd;margin:0 0 20px}
.cp-card__footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.11);padding-top:15px;margin-top:auto;font-size:10.5px;font-weight:650;color:#929fae}
.cp-card__footer a{color:#d0b977!important;font-weight:800;white-space:nowrap}.cp-card__footer a:hover{color:#f1dcae!important}
.cp-empty{max-width:1320px;margin:35px auto 0;padding:20px;border:1px solid rgba(228,198,131,.35);background:#162338;color:#e6e7e8;border-radius:10px;text-align:center;font-size:14px}
.cp-empty button{background:transparent;color:#d0b977;font-weight:800;text-decoration:underline;border:0;cursor:pointer}
.cp-section--empty{display:none}
.cp-integrity{max-width:1320px;margin:71px auto 0;padding:26px 28px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:22px;background:linear-gradient(125deg,rgba(212,183,110,.08),rgba(255,255,255,.015));border:1px solid rgba(212,183,110,.28);border-radius:10px}
.cp-integrity__mark{width:36px;height:36px;border:1px solid #c9ac6a;border-radius:50%;color:#e2c17a;display:grid;place-items:center;font:600 italic 22px Georgia,serif}.cp-integrity h2{font-size:21px;margin:0 0 6px;letter-spacing:-.02em}.cp-integrity p{font-size:12px;line-height:1.6;color:#bac3cf;margin:0}.cp-integrity a{white-space:nowrap;color:#e0c88b!important;font-size:12px;font-weight:750}
.cp-contact{text-align:center;max-width:780px;margin:0 auto;padding:102px 28px 94px}.cp-contact h2{font-size:clamp(43px,4.7vw,69px);line-height:1.03;margin:17px 0}.cp-contact p{font-size:15px;line-height:1.6;color:#a9b4c2;margin:0 auto 24px;max-width:600px}
.cp-page [id]{scroll-margin-top:135px}
.cp-stock-ronin-small{width:58px;height:58px;flex:0 0 58px;object-fit:cover;border-radius:14px;border:1px solid rgba(212,183,110,.32);padding:3px;background:#0b1422}
.profile-card--ronin .profile-card__portrait img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:1100px){.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-hero-copy{gap:35px}.cp-prelude,.cp-section{padding-left:26px;padding-right:26px}.cp-filterbar{padding-left:26px;padding-right:26px}}
@media(max-width:760px){.cp-prelude{padding:43px 18px 27px}.cp-prelude__eyebrow{font-size:10px}.cp-hero-copy{grid-template-columns:1fr;gap:33px;padding-top:38px}.cp-page h1{font-size:clamp(47px,11vw,67px)}.cp-hero-copy>div>p{font-size:16px}.cp-overview{padding:22px}.cp-overview__number{margin-top:20px}.cp-filterbar{top:64px;padding:10px 18px;flex-direction:column;align-items:stretch;gap:10px}.cp-filter-links{justify-content:space-between;gap:4px}.cp-filter-link{font-size:10px}.cp-search{width:100%}.cp-section{padding:59px 18px 20px}.cp-section-head{flex-direction:column;align-items:start;gap:13px}.cp-section-head h2{font-size:39px}.cp-section-head__right{text-align:left;max-width:100%;min-width:0}.cp-count{font-size:23px}.cp-grid{grid-template-columns:1fr;gap:14px}.cp-card__art{height:190px}.cp-card__body{min-height:188px}.cp-integrity{margin:52px 18px 0;grid-template-columns:32px 1fr;gap:12px;padding:20px}.cp-integrity a{grid-column:2}.cp-contact{padding:72px 22px}.cp-contact h2{font-size:46px}.cp-stock-ronin-small{width:48px;height:48px;flex-basis:48px}}
@media(prefers-reduced-motion:reduce){.cp-card{transition:none}}

/* Keep the evidence note subordinate to the engagement metrics, despite inherited site selectors. */
.cp-page .cp-overview p{font-size:12px!important;line-height:1.55!important;color:#9aa8bb!important;font-weight:400!important;letter-spacing:0!important}
.cp-page .cp-overview__number span{font-size:12px!important;color:#bdc4cf!important;letter-spacing:0!important;font-weight:600!important}
.cp-page .cp-overview__stats span{font-size:11px!important;line-height:1.45!important;color:#b5bece!important}


/* Cornerstone Dec 2 polish: typography, search controls, and full eight-person roster. */
.cp-page .cp-overview__number {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  min-width:0;
  margin-top:30px;
  font-size:inherit;
  line-height:normal;
  letter-spacing:normal;
}
.cp-page .cp-overview__number strong {
  display:block;
  max-width:100%;
  color:#faf8f3;
  font-family:'Inter Tight',Inter,sans-serif;
  font-size:clamp(64px,5.5vw,84px);
  font-weight:750;
  line-height:1.02;
  letter-spacing:-.075em;
}
.cp-page .cp-overview__number span {
  display:block;
  font-size:12px!important;
  line-height:1.45;
  font-weight:600!important;
  letter-spacing:.035em!important;
  color:#c4cbd5!important;
  white-space:normal;
}
.cp-page .cp-overview__line {margin:20px 0;}
.cp-page .cp-filter-links {display:flex;align-items:center;flex-wrap:nowrap;gap:22px;min-width:0;}
.cp-page .cp-filter-link {
  display:inline-flex;align-items:center;
  padding:9px 0;
  color:#e7e7e2!important;
  white-space:nowrap;
  line-height:1.45;
  font-size:12px;
  letter-spacing:.015em;
  border-bottom:1px solid transparent;
}
.cp-page .cp-filter-link:hover, .cp-page .cp-filter-link:focus-visible {
  color:#dfc68b!important;
  border-color:#dfc68b;
}
.cp-page .cp-search {
  flex:0 0 auto;
  display:flex;
  flex-direction:row;
  align-items:center;
  min-height:41px;
  width:310px;
  min-width:0;
  flex-wrap:nowrap;
  white-space:nowrap;
}
.cp-page .cp-search svg{flex:0 0 16px;display:block;}
.cp-page .cp-search input {
  display:block;
  flex:1 1 auto;
  min-width:0;
  width:100%;
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.45;
  font-size:12px;
}
.cp-page .cp-card__art--nevgold img {
  display:block;
  width:min(100%,180px);
  height:160px;
  max-height:160px;
  object-fit:contain;
  filter:none;
}
/* Preserve accessible skip links without an always-visible stray line. */
body.csn .skip-link:not(:focus):not(:focus-visible) {
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;
}
/* Four columns * two rows for eight people: no grey ninth-cell gap. */
@media (min-width:1120px) {
  .team-page .team-hero__roster{grid-template-columns:repeat(4,minmax(0,1fr));}
  .team-page .team-hero__roster .hero-profile{padding:14px 12px;gap:10px;min-width:0;}
  .team-page .team-hero__roster .hero-profile img{width:48px;height:48px;flex:0 0 48px;border-radius:12px;}
  .team-page .team-hero__roster .hero-profile__copy strong{font-size:12px;}
  .team-page .team-hero__roster .hero-profile__copy span{font-size:10px;}
}
@media (min-width:801px) and (max-width:1119px) {
  .team-page .team-hero__roster{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px) {
  .cp-page .cp-search{width:100%;max-width:100%;min-height:44px;}
  .cp-page .cp-filter-links{justify-content:space-between;gap:16px;}
  .cp-page .cp-filter-link{font-size:11px;letter-spacing:0;}
}
@media (max-width:370px) {
  .cp-page .cp-filter-link{font-size:10px;}
  .cp-page .cp-filter-links{gap:10px;}
}
