/* R21 role catalog and operating model. Shared heroes/cards use r21-hero.css. */
html[data-r20-staff] {
  --r20s-ink: var(--r19-ink);
  --r20s-muted: var(--r19-muted);
  --r20s-line: var(--r19-line);
  --r20s-accent: var(--r19-accent);
  --r20s-glass: var(--r19-glass-background);
  --r20s-field: radial-gradient(ellipse at 85% 20%, #65415e66, transparent 65%), linear-gradient(130deg, #211c2b, #332638);
  --r20s-warm-field: radial-gradient(ellipse at 10% 30%, #70544055, transparent 60%), linear-gradient(115deg, #2d2335, #3c2b3c);
}
html[data-r20-staff][data-theme="light"] {
  --r20s-field: radial-gradient(ellipse at 85% 20%, #dfc9e780, transparent 65%), linear-gradient(130deg, #f7f1f8, #ede3f2);
  --r20s-warm-field: radial-gradient(ellipse at 10% 30%, #efcfaa65, transparent 60%), linear-gradient(115deg, #f9f3ef, #eee7f3);
}
html[data-r20-staff] :is(.r20s-section, .r20s-benefits) {
  position: relative;
  isolation: isolate;
  width: min(100%, 1380px);
  min-width: 0;
  margin: 0 auto;
  padding-block: clamp(56px, 7vw, 104px);
  color: var(--r20s-ink);
}
html[data-r20-staff] .r20s-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: var(--r17c-page-width, 100vw);
  transform: translateX(-50%);
  background: var(--r20s-field);
  pointer-events: none;
}
html[data-r20-staff] :is(.r20s-changes, .r20s-delivery)::before { background: var(--r20s-warm-field); }
html[data-r20-staff] :is(.r20s-section, .r20s-benefits) :is(h2, h3, p, figure) { margin: 0; }
html[data-r20-staff] :is(.r20s-section, .r20s-benefits) :is(h2, h3) {
  color: var(--r20s-ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: 1.12;
  text-wrap: balance;
}
html[data-r20-staff] .r20s-heading { display: grid; gap: 25px; max-width: 950px; margin-bottom: clamp(36px, 4.5vw, 68px); }
html[data-r20-staff] .r20s-heading h2 { font-size: clamp(34px, 4.5vw, 66px); max-width: 24ch; }
html[data-r20-staff] :is(.r20s-section, .r20s-benefits) p { color: var(--r20s-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
html[data-r20-staff] .r20s-heading p { max-width: 63ch; }
html[data-r20-staff] .r20s-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
html[data-r20-staff] .r20s-benefit { min-width: 0; }
html[data-r20-staff] .r20s-benefit h2 { font-size: clamp(25px, 2.1vw, 33px); margin-top: 29px; }
html[data-r20-staff] .r20s-benefit p { margin-top: 17px; }
html[data-r20-staff] .r20s-benefit-support { color: var(--r20s-ink); }
html[data-r20-staff] :is(.r20s-benefit-graphic, .r20s-competency, .r20s-responsibility-grid article) {
  background: var(--r20s-glass);
  border: 1px solid var(--r20s-line);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 var(--r19-rim), 0 16px 40px var(--r19-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
html[data-r20-staff] .r20s-benefit-graphic {
  position: relative;
  min-height: 330px;
  height: 330px;
  padding: 27px 24px 23px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: var(--r20s-ink);
}
html[data-r20-staff] .r20s-sheet { position: relative; padding: 17px 18px; display: grid; gap: 7px; border: 1px solid var(--r20s-line); border-radius: 11px; background: var(--r19-layer); }
html[data-r20-staff] .r20s-sheet > span { font-size: 14px; color: var(--r20s-muted); }
html[data-r20-staff] .r20s-sheet strong { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.3; font-weight: 550; }
html[data-r20-staff] .r20s-sheet small { font-size: 13px; color: var(--r20s-muted); line-height: 1.5; }
html[data-r20-staff] .r20s-brief { width: 90%; }
html[data-r20-staff] .r20s-profile { align-self: end; width: 94%; background: var(--r19-layer-strong); }
html[data-r20-staff] .r20s-benefit-graphic figcaption { margin-top: auto; padding-top: 12px; font-size: 15px; color: var(--r20s-accent); line-height: 1.4; }
html[data-r20-staff] .r20s-task-list { display: grid; gap: 0; margin-top: 6px; }
html[data-r20-staff] .r20s-task-list span { padding-block: 8px; border-top: 1px solid var(--r20s-line); font-size: 15px; }
html[data-r20-staff] .r20s-plan-options { display: grid; gap: 9px; margin-top: 12px; }
html[data-r20-staff] .r20s-plan-options span { border-left: 2px solid var(--r20s-accent); padding: 5px 10px; font-size: 16px; }

html[data-r20-staff] .r20s-roles { display: grid; gap: clamp(64px, 7vw, 100px); }
html[data-r20-staff] .r20s-role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
html[data-r20-staff] .r20s-role-copy h3 { font-size: clamp(31px, 3vw, 45px); max-width: 22ch; }
html[data-r20-staff] .r20s-role-copy h3 span { white-space: nowrap; }
html[data-r20-staff] .r20s-role-copy > p { margin-top: 23px; max-width: 49ch; }
html[data-r20-staff] .r20s-role-copy > .r21s-preparation { color: var(--r20s-ink); padding-left: 19px; border-left: 2px solid var(--r20s-accent); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
html[data-r20-staff] .r20s-competency { min-width: 0; padding: clamp(24px, 2.7vw, 39px); }
html[data-r20-staff] .r20s-catalog-title { color: var(--r20s-muted); font-size: 16px; line-height: 1.4; }
html[data-r20-staff] .r20s-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 28px; margin: 29px 0; }
html[data-r20-staff] .r20s-catalog > div { min-width: 0; padding-left: 15px; border-left: 2px solid var(--r20s-line); }
html[data-r20-staff] .r20s-catalog dt { color: var(--r20s-accent); font-size: 14px; line-height: 1.4; }
html[data-r20-staff] .r20s-catalog dd { margin: 9px 0 0; font-size: clamp(21px, 1.75vw, 26px); line-height: 1.25; font-weight: 540; letter-spacing: -.025em; text-wrap: balance; }
html[data-r20-staff] .r20s-catalog .r20s-catalog-detail { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--r20s-muted); line-height: 1.45; text-wrap: wrap; }
html[data-r20-staff] .r20s-competency figcaption { font-size: 16px; color: var(--r20s-muted); padding-top: 20px; border-top: 1px solid var(--r20s-line); line-height: 1.5; }
html[data-r20-staff] .r20s-case-link { display: flex; align-items: center; gap: 18px; margin-top: 27px; max-width: 480px; text-decoration: none; }
html[data-r20-staff] .r20s-case-link img { width: 118px; height: 92px; object-fit: cover; flex-shrink: 0; border-radius: 10px; }
html[data-r20-staff] .r20s-case-link > span { display: grid; gap: 6px; }
html[data-r20-staff] .r20s-case-link small { color: var(--r20s-muted); font-size: 13px; }
html[data-r20-staff] .r20s-case-link b { font-size: 17px; color: var(--r20s-ink); font-weight: 550; line-height: 1.35; }
html[data-r20-staff] .r20s-case-link span > span { font-size: 14px; color: var(--r20s-accent); text-decoration: underline; text-underline-offset: 4px; }
html[data-r20-staff] .r20s-case-link:focus-visible { outline: 2px solid var(--r20s-accent); outline-offset: 6px; border-radius: 8px; }


html[data-r20-staff] .r20s-responsibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
html[data-r20-staff] .r20s-responsibility-grid article { padding: clamp(25px, 3vw, 42px); }
html[data-r20-staff] .r20s-kicker { display: block; font-size: 16px; color: var(--r20s-accent); margin-bottom: 23px; line-height: 1.4; }
html[data-r20-staff] .r20s-responsibility-grid h3 { font-size: clamp(27px, 2.7vw, 39px); max-width: 22ch; }
html[data-r20-staff] .r20s-responsibility-grid ul { padding-left: 20px; margin: 24px 0 0; display: grid; gap: 15px; color: var(--r20s-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
html[data-r20-staff] .r20s-responsibility-grid li { padding-left: 5px; }
html[data-r20-staff] .r20s-responsibility-grid li::marker { color: var(--r20s-accent); }
html[data-r20-staff] .r20s-responsibilities > .measure-note { margin-top: 36px; color: var(--r20s-muted); max-width: 85ch; }
html[data-r20-staff] .r20s-delivery { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 6vw, 86px); }
html[data-r20-staff] .r20s-delivery .r20s-heading { align-self: start; margin: 0; }
html[data-r20-staff] .r20s-delivery h2 { font-size: clamp(35px, 3.9vw, 57px); }
html[data-r20-staff] .r20s-start { list-style: none; padding: 0; margin: 0; display: grid; gap: 40px; }
html[data-r20-staff] .r20s-start li { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 17px; }
html[data-r20-staff] .r20s-step-number { color: var(--r20s-accent); font-size: 23px; line-height: 1.35; font-variant-numeric: tabular-nums; }
html[data-r20-staff] .r20s-start h3 { font-size: clamp(26px, 2.5vw, 35px); }
html[data-r20-staff] .r20s-start p { margin-top: 17px; }

@media (max-width: 1050px) {
  html[data-r20-staff] .r20s-benefits { gap: 23px; }
  html[data-r20-staff] .r20s-benefit-graphic { padding: 19px 15px; min-height: 295px; }
  html[data-r20-staff] .r20s-sheet { padding: 14px 11px; }
  html[data-r20-staff] .r20s-role { gap: 30px; }
  html[data-r20-staff] .r20s-catalog { gap: 25px 20px; }
  html[data-r20-staff] .r20s-delivery { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  html[data-r20-staff] .r20s-benefits { grid-template-columns: 1fr; gap: 42px; }
  html[data-r20-staff] .r20s-benefit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); column-gap: 24px; align-content: start; }
  html[data-r20-staff] .r20s-benefit-graphic { grid-column: 1; grid-row: 1 / 4; }
  html[data-r20-staff] .r20s-benefit h2 { grid-column: 2; margin-top: 0; }
  html[data-r20-staff] .r20s-benefit p { grid-column: 2; }
  html[data-r20-staff] .r20s-role { grid-template-columns: 1fr; }
  html[data-r20-staff] .r20s-role-copy { max-width: 64ch; }
  html[data-r20-staff] .r20s-responsibility-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  html[data-r20-staff] .r20s-benefit { display: block; }
  html[data-r20-staff] .r20s-benefit h2 { margin-top: 23px; }
  html[data-r20-staff] .r20s-benefit-graphic { min-height: 285px; height: auto; padding: 24px; }
  html[data-r20-staff] .r20s-sheet { padding: 15px; }
  html[data-r20-staff] .r20s-heading { gap: 20px; }
  html[data-r20-staff] .r20s-roles { gap: 51px; }
  html[data-r20-staff] .r20s-competency { padding: 24px 20px; }
  html[data-r20-staff] .r20s-catalog { gap: 28px 16px; }
  html[data-r20-staff] .r20s-catalog > div { padding-left: 9px; }
  html[data-r20-staff] .r20s-catalog dt { font-size: 13px; }
  html[data-r20-staff] .r20s-catalog dd { font-size: 21px; }
  html[data-r20-staff] .r20s-catalog .r20s-catalog-detail { font-size: 14px; }
  html[data-r20-staff] .r20s-case-link { gap: 13px; }
  html[data-r20-staff] .r20s-case-link img { width: 92px; height: 88px; }
  html[data-r20-staff] .r20s-case-link b { font-size: 16px; }
  html[data-r20-staff] .r20s-start li { grid-template-columns: 34px minmax(0, 1fr); gap: 13px; }
  html[data-r20-staff] .r20s-step-number { font-size: 20px; }
}

/* The mobile photo ends under a complete fade, never across the body copy. */
@media(max-width:700px) {
 html[data-r20-staff] .r17c-staff-hero .r17c-photo { transform:none; transition:none; -webkit-mask-image:linear-gradient(#000 0 78%,transparent 100%); mask-image:linear-gradient(#000 0 78%,transparent 100%); }
 html[data-r20-staff] .r17c-staff-hero .r17c-scrim { height:calc(var(--r17c-staff-photo-height) + 2px); }
}
