
/* Capabilities and Channels (scripts/site-capchan.mjs) */
.kq-cc-figlink{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-size:17px;text-underline-offset:4px}
/* where we run it (capability pages): the channels, grouped, linked to their pages */
.kq-wr{padding:clamp(56px,5.6vw,80px) clamp(20px,4.4vw,64px);background:#D6E0EA}
.kq-wr-lead{margin:16px 0 0;font-size:18px;line-height:1.5;max-width:34em}
.kq-wr-g{margin-top:32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 40px}
.kq-wr-g h3{margin:0;font-size:17px;font-weight:500;line-height:1.3;letter-spacing:0;color:#102A4C}
.kq-wr-g ul{list-style:none;margin:8px 0 0;padding:0}
.kq-wr-g a{display:inline-flex;align-items:center;min-height:44px;color:#262524;font-size:18px;text-underline-offset:4px}
.kq-wr-g a:hover{color:#102A4C;text-decoration-thickness:2px}
/* capability cards on the index: the figure is its own link */
.kq-cc-cap{display:flex;flex-direction:column;background:#FDFCFA;min-height:340px}
.kq-cc-capmain{flex:1 1 auto}
.kq-cc-capfig{display:block;margin:28px clamp(28px,3vw,44px) clamp(28px,3vw,44px);padding-top:22px;border-top:1px solid #D3D9DF;color:#262524;text-decoration:none}
.kq-cc-n{display:block;font-size:clamp(28px,2.4vw,38px);line-height:1.15;letter-spacing:-.02em;color:#102A4C;font-variant-numeric:tabular-nums}
.kq-cc-l{display:block;margin-top:8px;font-size:16px;line-height:1.45}
.kq-cc-m{display:inline-block;margin-top:10px;font-size:15px;color:#102A4C;text-decoration:underline;text-underline-offset:4px}
.kq-cc-capfig:hover .kq-cc-m{text-decoration-thickness:2px}
/* capability by channel: a card; columns grouped by channel family; a navy check or a faint dash
   in every cell; the hovered row and column tint; the capability column stays put as it scrolls */
.kq-mx-card{margin-top:40px;background:#FDFCFA;border:1px solid #D3D9DF;border-radius:12px;overflow:hidden}
/* position: relative keeps the cells' absolutely placed labels inside the scroller, so only it scrolls (the page scrolled sideways at 768) */
.kq-mx-scroll{overflow-x:auto;overscroll-behavior-x:contain;position:relative}
/* keyboard: a focused cell scrolls clear of the sticky first column (QA function-r5-01) */
.kq-mx-scroll{scroll-padding-inline-start:244px;scroll-padding-inline-end:8px}
table.kq-mx td a{scroll-margin-inline:8px}
/* table.kq-mx: the header's menu button is also .kq-mx, so every rule here names the table */
table.kq-mx:hover{background:none}
table.kq-mx{display:table;flex:none;width:100%;min-width:1000px;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;cursor:auto;border-collapse:separate;border-spacing:0;font-size:16px;line-height:1.3}
table.kq-mx svg{transition:none}
table.kq-mx th,table.kq-mx td{padding:0;text-align:center;vertical-align:middle;border-bottom:1px solid #E3E7EB}
table.kq-mx tbody tr:last-child>*{border-bottom:0}
table.kq-mx thead th,table.kq-mx thead td{font-weight:500;color:#102A4C}
table.kq-mx .kq-mx-g{padding:20px 8px 4px;font-size:15px;font-weight:500;color:#626366;border-bottom:0}
table.kq-mx .kq-mx-gs{border-left:1px solid #D3D9DF}
.kq-mx-ch th{font-size:15px;vertical-align:bottom}
.kq-mx-ch th a{display:flex;align-items:flex-end;justify-content:center;min-height:52px;padding:6px 6px 12px;box-sizing:border-box;color:#102A4C;text-decoration:none}
table.kq-mx th[scope=row],table.kq-mx .kq-mx-corner{position:sticky;left:0;z-index:1;background:#FDFCFA;text-align:left;width:236px;border-right:1px solid #D3D9DF}
table.kq-mx th[scope=row] a{display:flex;align-items:center;min-height:60px;padding:8px 20px 8px 24px;box-sizing:border-box;color:#102A4C;font-weight:500;text-decoration:none}
table.kq-mx th a:hover{text-decoration:underline;text-underline-offset:4px}
table.kq-mx td a{display:flex;align-items:center;justify-content:center;min-height:60px;color:#102A4C;text-decoration:none}
table.kq-mx .kq-mx-y{display:block;width:26px;height:26px}
.kq-mx-n{display:block;width:12px;height:2px;margin:0 auto;background:#B9C3CD;border-radius:1px}
.kq-mx-cn{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
table.kq-mx tbody tr:is(:hover,:focus-within)>*{background:#EDF1F5}
/* column tint: in body rows channel k is child k+1 (after the capability); in the channel row,
   whose corner cell sits in the group row (rowspan 2), it is child k */
table.kq-mx:has(tbody tr>:nth-child(2):is(:hover,:focus-within),.kq-mx-ch>:nth-child(1):is(:hover,:focus-within)) :is(tbody tr>:nth-child(2),.kq-mx-ch>:nth-child(1)),
table.kq-mx:has(tbody tr>:nth-child(3):is(:hover,:focus-within),.kq-mx-ch>:nth-child(2):is(:hover,:focus-within)) :is(tbody tr>:nth-child(3),.kq-mx-ch>:nth-child(2)),
table.kq-mx:has(tbody tr>:nth-child(4):is(:hover,:focus-within),.kq-mx-ch>:nth-child(3):is(:hover,:focus-within)) :is(tbody tr>:nth-child(4),.kq-mx-ch>:nth-child(3)),
table.kq-mx:has(tbody tr>:nth-child(5):is(:hover,:focus-within),.kq-mx-ch>:nth-child(4):is(:hover,:focus-within)) :is(tbody tr>:nth-child(5),.kq-mx-ch>:nth-child(4)),
table.kq-mx:has(tbody tr>:nth-child(6):is(:hover,:focus-within),.kq-mx-ch>:nth-child(5):is(:hover,:focus-within)) :is(tbody tr>:nth-child(6),.kq-mx-ch>:nth-child(5)),
table.kq-mx:has(tbody tr>:nth-child(7):is(:hover,:focus-within),.kq-mx-ch>:nth-child(6):is(:hover,:focus-within)) :is(tbody tr>:nth-child(7),.kq-mx-ch>:nth-child(6)),
table.kq-mx:has(tbody tr>:nth-child(8):is(:hover,:focus-within),.kq-mx-ch>:nth-child(7):is(:hover,:focus-within)) :is(tbody tr>:nth-child(8),.kq-mx-ch>:nth-child(7)),
table.kq-mx:has(tbody tr>:nth-child(9):is(:hover,:focus-within),.kq-mx-ch>:nth-child(8):is(:hover,:focus-within)) :is(tbody tr>:nth-child(9),.kq-mx-ch>:nth-child(8)),
table.kq-mx:has(tbody tr>:nth-child(10):is(:hover,:focus-within),.kq-mx-ch>:nth-child(9):is(:hover,:focus-within)) :is(tbody tr>:nth-child(10),.kq-mx-ch>:nth-child(9)),
table.kq-mx:has(tbody tr>:nth-child(11):is(:hover,:focus-within),.kq-mx-ch>:nth-child(10):is(:hover,:focus-within)) :is(tbody tr>:nth-child(11),.kq-mx-ch>:nth-child(10)){background:#EDF1F5}
table.kq-mx a:focus-visible{outline:3px solid #00618D;outline-offset:-3px}
.kq-mx-note{margin:16px 0 0;font-size:15px;color:#626366}
/* forced colours: the marks and dashes use system colours (QA ux-r5-06) */
@media (forced-colors:active){table.kq-mx .kq-mx-y circle{fill:CanvasText}table.kq-mx .kq-mx-y path{stroke:Canvas}.kq-mx-n{background:none;height:0;border-top:2px solid CanvasText}}
/* a channel's figure on its index card */
.kq-cc-tfig{display:block;margin-top:18px;padding-top:16px;border-top:1px solid #C5CCD3}
.kq-cc-tn{display:block;font-size:28px;line-height:1.1;letter-spacing:-.02em;color:#102A4C;font-variant-numeric:tabular-nums;transition:color .2s}
.kq-cc-tl{display:block;margin-top:6px;font-size:15px;line-height:1.45}
.kq-tile:hover .kq-cc-tn,.kq-tile:focus-visible .kq-cc-tn{color:#DCBF85}
.kq-tile:hover .kq-cc-tfig,.kq-tile:focus-visible .kq-cc-tfig{border-top-color:#3A5683}
/* problem and answer rows */
.kq-cc-rows{margin-top:48px;display:flex;flex-direction:column;gap:12px}
.kq-cc-row{display:flex;flex-wrap:wrap;gap:12px 48px;padding:28px 32px;background:#FDFCFA}
.kq-cc-rq{flex:1 1 320px;min-width:0}
.kq-cc-svc{margin:0 0 8px;font-size:15px;line-height:1.4;color:#626366}
.kq-cc-row h3{margin:0;font-weight:500;font-size:22px;line-height:1.3}
.kq-cc-ra{flex:999 1 480px;min-width:0;margin:0;max-width:34em}
.kq-cc-more{margin:24px 0 0;max-width:40em;font-size:18px;line-height:1.5}
.kq-cc-more a{color:#102A4C}
/* the capability cards on a channel page read as cards on every channel, not only some */
.kq-capband .kq-cb{background:#FDFCFA}
.kq-capband .kq-cb:hover{background:#F8F6F1}
.kq-cc-short{padding-top:clamp(56px,5.6vw,80px)!important;padding-bottom:clamp(56px,5.6vw,80px)!important}
main a[href="/work/creative"]{min-height:44px;display:inline-flex;align-items:center}
@media (max-width:760px){
/* phones: one card per capability, its channels as chips */
.kq-mx-card{background:none;border:0;border-radius:0;overflow:visible;margin-top:28px}
.kq-mx-scroll{overflow:visible}
table.kq-mx{min-width:0}
/* the channel header row is not shown on cards; each chip names its channel (QA ux-r5-02: hidden links left the tab order) */
table.kq-mx thead{display:none}
table.kq-mx,table.kq-mx tbody,table.kq-mx tr{display:block}
table.kq-mx tbody tr{margin-top:12px;padding:16px 20px 20px;background:#FDFCFA;border:1px solid #D3D9DF;border-radius:12px}
table.kq-mx tbody tr>*{background:none!important;border:0!important}
table.kq-mx th[scope=row]{display:block;position:static;width:auto}
table.kq-mx th[scope=row] a{min-height:44px;padding:0;font-size:20px}
table.kq-mx td{display:inline-block;margin:8px 6px 0 0}
table.kq-mx td.kq-mx-no{display:none}
table.kq-mx td a{min-height:44px;padding:0 14px;border:1px solid #9AA7B4;border-radius:14px;font-size:15px}
table.kq-mx td a:hover{background:#102A4C;border-color:#102A4C;color:#F8F6F1}
table.kq-mx .kq-mx-y{display:none}
.kq-mx-cn{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
.kq-wr-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
}
@media (max-width:600px){
/* closer spacing above the review button; the picture keeps the 3:2 crop the other pages use
   (260px tall on a 390px phone), so its subject stays visible (QA F036) */
.kq-hero .kq-hero-img{margin-bottom:8px}
.kq-hero nav[aria-label="Breadcrumb"]{margin-bottom:10px!important}
.kq-hero h1+div{margin-top:18px!important}
.kq-hero [data-kq-cta]{margin-top:22px!important}
.kq-cc-row{padding:22px 20px}
.kq-cc-rows{margin-top:32px}
.kq-tile .kq-pic img{aspect-ratio:16 / 9!important}
}
