/* KIC project journal: the brief, the evidence, the decision and the result. */
.case-study,.case-library{
 --case-ink:#102f40;--case-red:#bd1e30;--case-muted:#49616f;
 --case-field:#fff;--case-cool:#f3f6f8;--case-edge:#c8d3d9;
 --case-space-1:8px;--case-space-2:16px;--case-space-3:24px;
 --case-space-4:32px;--case-space-5:48px;--case-space-6:64px;
 --case-feedback:140ms ease;--case-enter:160ms cubic-bezier(.16,1,.3,1);
 background:var(--case-field);color:var(--case-ink);
}
.case-study :focus-visible,.case-library :focus-visible{outline:3px solid var(--case-red);outline-offset:5px}
.case-study .breadcrumbs,.case-library .breadcrumbs{max-width:1600px;margin-inline:auto;padding-block:14px;line-height:1.55}
.case-study .breadcrumbs>span:last-child{color:var(--case-ink)}
.case-study .case-header,.case-library .case-library-header{max-width:980px;margin:auto;padding:32px var(--kic-gutter) 36px;text-align:center}
.case-study .case-category,.case-library .case-category{font-size:13px;line-height:1.5;font-weight:650;color:var(--case-red);margin:0 0 18px;letter-spacing:0}
.case-study .case-header h1,.case-library .case-library-header h1{max-width:22ch;margin:0 auto;font-size:clamp(38px,4.8vw,64px);line-height:1.06;font-weight:700;letter-spacing:-.04em;text-wrap:balance}
.case-study .case-deck,.case-library .case-deck{max-width:60ch;margin:20px auto 0;font-size:20px;line-height:1.55;color:var(--case-muted);text-wrap:pretty}
.case-study .case-brief{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:24px;max-width:1020px;margin:0 auto 32px;padding:0 var(--kic-gutter);font-variant-numeric:tabular-nums}
.case-study .case-brief>div{min-width:0;text-align:center}
.case-study .case-brief dt{font-size:12px;font-weight:500;color:var(--case-muted);margin:0 0 6px}
.case-study .case-brief dd{font-size:15px;font-weight:620;line-height:1.45;margin:0;color:var(--case-ink)}
.case-study .case-photo-spread{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:24px;max-width:1440px;width:calc(100% - var(--kic-gutter)*2);margin:0 auto 30px}
.case-study .case-photo{margin:0;min-width:0}
.case-study .case-photo-link{display:block;text-decoration:none;background:var(--case-cool);overflow:hidden}
.case-study .case-photo-link img{display:block;width:100%;height:380px;object-fit:cover;object-position:var(--photo-focus,50% 50%);transition:filter var(--case-feedback)}
.case-study .case-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0 0;color:var(--case-muted);font-size:12px;line-height:1.4}
.case-study .case-photo figcaption>span{max-width:70%}
.case-study .case-photo-inspect{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-weight:600;font-size:12px;text-decoration:none;white-space:nowrap;transition:color var(--case-feedback)}
.case-study .case-photo-inspect svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6}
.case-study .case-photo-link:active{opacity:.9}
.case-study .case-onpage{position:sticky;top:0;z-index:12;background:var(--case-field);border-block:1px solid var(--case-edge);padding:0 var(--kic-gutter)}
.case-study .case-onpage>div{display:flex;align-items:center;justify-content:center;gap:30px;max-width:1050px;margin:auto;min-height:60px}
.case-study .case-onpage span{color:var(--case-muted);font-size:12px;line-height:1.3}
.case-study .case-onpage a{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:0 10px;border-bottom:3px solid transparent;text-decoration:none;font-size:14px;line-height:1.4;font-weight:550;transition:color var(--case-feedback),border-color var(--case-feedback)}
.case-study .case-onpage a[aria-current=location]{color:var(--case-red);border-color:var(--case-red);font-weight:700}
.case-study .case-narrative{max-width:888px;margin:0 auto;padding:52px var(--kic-gutter) 54px}
.case-study .case-chapter{scroll-margin-top:88px}
.case-study .case-chapter+ .case-chapter{margin-top:42px}
.case-study .case-chapter h2{font-size:34px;line-height:1.12;letter-spacing:-.03em;margin:0 0 18px;text-wrap:balance}
.case-study .case-chapter h3{font-size:20px;line-height:1.35;letter-spacing:-.015em;font-weight:650;margin:26px 0 8px}
.case-study .case-chapter p{font-size:19px;line-height:1.7;color:var(--case-muted);text-wrap:pretty;margin:0}
.case-study .case-system{margin:26px 0 0;padding:24px 28px;background:var(--case-cool)}
.case-study .case-system h3{font-size:15px;letter-spacing:0;margin:0 0 20px}
.case-study .case-system dl{margin:0}
.case-study .case-system dl>div+div{margin-top:20px}
.case-study .case-system dt{font-size:18px;line-height:1.4;font-weight:650;color:var(--case-ink)}
.case-study .case-system dd{font-size:16px;line-height:1.55;margin:5px 0 0;color:var(--case-muted)}
.case-study .case-system p{font-size:12px;line-height:1.55;margin-top:20px}
.case-study .case-evidence{max-width:1120px;width:calc(100% - var(--kic-gutter)*2);margin:0 auto 44px}
.case-study .case-evidence .case-photo-link img{height:auto;max-height:430px;object-fit:cover}
.case-study .case-outcome{background:var(--case-ink);color:#fff;padding:50px var(--kic-gutter) 54px;scroll-margin-top:60px}
.case-study .case-outcome>div{max-width:760px;margin:auto;text-align:center}
.case-study .case-outcome .case-category{color:#ffb7c0;margin-bottom:14px;font-size:13px}
.case-study .case-outcome h2{font-size:clamp(30px,3vw,40px);letter-spacing:-.035em;line-height:1.12}
.case-study .case-outcome p:not(.case-category){font-size:19px;line-height:1.65;color:#d8e5ed;margin:20px auto 0;text-wrap:pretty}
.case-study .case-outcome .case-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.case-study .case-outcome .cta--primary{background:var(--case-red);border-color:var(--case-red);color:#fff}
.case-study .case-outcome .cta--secondary{background:transparent;color:#fff;border-color:#91a8b6}
.case-study .case-outcome :focus-visible{outline-color:#fff}
.case-study .case-context-note{max-width:870px;margin:0 auto;padding:22px var(--kic-gutter);font-size:12px;line-height:1.6;color:var(--case-muted)}
.case-study .case-footer-nav{display:flex;justify-content:space-between;align-items:center;gap:28px;max-width:1120px;margin:0 auto;padding:18px var(--kic-gutter) 48px}
.case-study .case-footer-nav a{min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;text-decoration:none;font-size:17px;line-height:1.4;font-weight:650}
.case-study .case-footer-nav a>span{font-size:12px;color:var(--case-muted);font-weight:450}
.case-study .case-footer-nav a:last-child{text-align:right}
.case-gallery-open{overflow:hidden}
.case-study .case-gallery-dialog{padding:24px;border:0;border-radius:4px;width:min(1180px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);overflow:auto;background:var(--case-ink);color:#fff}
.case-study .case-gallery-dialog::backdrop{background:rgba(7,21,29,.88)}
.case-study .case-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.case-study .case-gallery-head h2{font-size:19px;letter-spacing:-.015em;font-weight:600;line-height:1.35}
.case-study .case-gallery-dialog button{font:600 13px/1.3 Uncut,Arial,sans-serif;background:transparent;color:white;border:1px solid #91a8b6;border-radius:2px;padding:11px 16px;min-height:44px;transition:background-color var(--case-feedback)}
.case-study .case-gallery-dialog button:active{background:#49616f}
.case-study .case-gallery-dialog button:disabled{opacity:.4;cursor:default}
.case-study .case-gallery-dialog :focus-visible{outline-color:#fff}
.case-study .case-gallery-stage{display:grid;place-items:center;min-height:160px;background:#193c4e}
.case-study .case-gallery-stage img{display:block;width:100%;height:auto;max-height:calc(100dvh - 210px);object-fit:contain}
.case-study .case-gallery-stage p{font-size:16px;padding:36px;line-height:1.6;text-align:center;color:white}
.case-study .case-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px}
.case-study .case-gallery-footer p{font-size:12px;line-height:1.4;color:#d8e5ed;font-variant-numeric:tabular-nums}
.case-study .case-gallery-controls{display:flex;gap:10px}
.case-study .case-gallery-error a{display:inline-block;margin-top:14px;color:white;min-height:44px;line-height:44px}
.case-study .case-gallery-dialog[data-pointer-open]{animation:case-gallery-enter var(--case-enter)}
@keyframes case-gallery-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* The collection makes eight distinct stories easy to scan. */
.case-library .case-library-header{padding-bottom:40px}
.case-library .case-library-header h1{max-width:24ch}
.case-library .case-feature{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);max-width:1440px;width:calc(100% - var(--kic-gutter)*2);margin:0 auto 44px;align-items:center;background:var(--case-ink);color:white}
.case-library .case-feature-photo{display:block;overflow:hidden;height:380px}
.case-library .case-feature-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%;transition:filter var(--case-feedback)}
.case-library .case-feature-copy{padding:32px 38px}
.case-library .case-feature .case-category{color:#ffb7c0;font-size:12px}
.case-library .case-feature h2{font-size:clamp(32px,3.3vw,46px);line-height:1.08;max-width:15ch;color:white}
.case-library .case-feature h2 a{text-decoration:none}
.case-library .case-feature p:not(.case-category){font-size:17px;line-height:1.6;margin-top:20px;color:#d8e5ed}
.case-library .case-feature .cta{margin-top:24px;background:var(--case-red);color:#fff;border-color:var(--case-red)}
.case-library .case-feature :focus-visible{outline-color:white}
.case-library .case-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 32px;max-width:1440px;width:calc(100% - var(--kic-gutter)*2);margin:0 auto 64px}
.case-library .case-entry{display:block;min-width:0;text-decoration:none;color:var(--case-ink)}
.case-library .case-entry figure{overflow:hidden;background:var(--case-cool);margin:0 0 20px}
.case-library .case-entry img{width:100%;height:260px;display:block;object-fit:cover;object-position:var(--photo-focus,50% 50%);transition:filter var(--case-feedback)}
.case-library .case-entry .case-category{font-size:12px;margin:0 0 10px}
.case-library .case-entry h2{font-size:clamp(27px,2.5vw,36px);line-height:1.12;text-wrap:balance;max-width:25ch;transition:color var(--case-feedback)}
.case-library .case-entry p:not(.case-category){font-size:16px;line-height:1.6;color:var(--case-muted);margin:14px 0 0;max-width:58ch}
.case-library .case-entry strong{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-size:13px;font-weight:650;color:var(--case-red)}
.case-library .case-entry:active{opacity:.85}
@media(hover:hover){
 .case-study .case-photo-link:hover img,.case-library .case-entry:hover img,.case-library .case-feature-photo:hover img{filter:brightness(1.045)}
 .case-study .case-photo-inspect:hover,.case-study .case-onpage a:hover,.case-study .case-footer-nav a:hover,.case-library .case-entry:hover h2{color:var(--case-red)}
 .case-study .case-outcome .cta--primary:hover,.case-library .case-feature .cta:hover{background:#991726;border-color:#991726}
 .case-study .case-outcome .cta--secondary:hover,.case-study .case-gallery-dialog button:not(:disabled):hover{background:#284d60}
}
@media(max-width:900px){
 .case-study .case-header,.case-library .case-library-header{padding-top:24px}
 .case-study .case-brief{gap:20px;padding-inline:var(--kic-gutter)}
 .case-study .case-photo-spread{gap:18px;grid-template-columns:3fr 2fr}
 .case-study .case-photo-link img{height:290px}
 .case-study .case-onpage>div{gap:16px}
 .case-library .case-feature{grid-template-columns:3fr 2fr}
 .case-library .case-feature-copy{padding:26px}
 .case-library .case-feature-photo{height:380px}
 .case-library .case-collection{gap:36px 24px}
 .case-library .case-entry img{height:230px}
}
@media(max-width:650px){
 .case-study .breadcrumbs,.case-library .breadcrumbs{font-size:11px;gap:7px;padding-block:12px}
 .case-study .case-header,.case-library .case-library-header{padding:26px var(--kic-gutter) 28px}
 .case-study .case-header h1,.case-library .case-library-header h1{font-size:clamp(36px,9vw,48px);max-width:20ch}
 .case-study .case-category,.case-library .case-category{font-size:12px;margin-bottom:14px}
 .case-study .case-deck,.case-library .case-deck{font-size:17px;margin-top:16px;line-height:1.55}
 .case-study .case-brief{display:block;margin-bottom:26px}
 .case-study .case-brief>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;text-align:left;align-items:baseline}
 .case-study .case-brief>div+div{margin-top:12px}
 .case-study .case-brief dt{margin:0;font-size:12px}
 .case-study .case-brief dd{font-size:14px}
 .case-study .case-photo-spread{grid-template-columns:1fr;gap:22px;margin-bottom:26px}
 .case-study .case-photo-link img{height:250px}
 .case-study .case-photo-spread .case-photo+ .case-photo .case-photo-link img{height:200px}
 .case-study .case-photo figcaption{padding-top:4px;font-size:12px}
 .case-study .case-onpage{padding-inline:12px}
 .case-study .case-onpage>div{gap:2px;min-height:54px;justify-content:space-around}
 .case-study .case-onpage span{display:none}
 .case-study .case-onpage a{min-height:54px;font-size:12px;padding-inline:10px}
 .case-study .case-narrative{padding:34px var(--kic-gutter) 38px}
 .case-study .case-chapter h2{font-size:29px;margin-bottom:16px}
 .case-study .case-chapter h3{font-size:18px;margin-top:22px}
 .case-study .case-chapter p{font-size:17px;line-height:1.65}
 .case-study .case-chapter+ .case-chapter{margin-top:32px}
 .case-study .case-system{padding:22px;margin-top:24px}
 .case-study .case-system dt{font-size:16px}
 .case-study .case-system dd{font-size:15px}
 .case-study .case-system p{font-size:12px}
 .case-study .case-outcome{padding:36px var(--kic-gutter) 40px}
 .case-study .case-outcome p:not(.case-category){font-size:17px;margin-top:18px}
 .case-study .case-outcome .case-actions{gap:12px;margin-top:24px}
 .case-study .case-outcome .cta{width:100%}
 .case-study .case-context-note{padding-block:20px}
 .case-study .case-footer-nav{align-items:flex-start;padding-top:10px;padding-bottom:34px;gap:24px}
 .case-study .case-footer-nav a{font-size:14px;max-width:60%}
 .case-study .case-gallery-dialog{padding:16px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .case-study .case-gallery-head{gap:10px;margin-bottom:14px}
 .case-study .case-gallery-head h2{font-size:16px;max-width:65%}
 .case-study .case-gallery-dialog button{padding-inline:12px}
 .case-study .case-gallery-stage img{max-height:calc(100dvh - 220px)}
 .case-study .case-gallery-footer{gap:10px;flex-wrap:wrap}
 .case-study .case-gallery-controls{gap:8px}
 .case-library .case-feature{display:block;margin-bottom:36px}
 .case-library .case-feature-photo{height:260px}
 .case-library .case-feature-copy{padding:26px}
 .case-library .case-feature h2{font-size:33px;max-width:20ch}
 .case-library .case-feature p:not(.case-category){font-size:16px;margin-top:16px}
 .case-library .case-collection{grid-template-columns:1fr;gap:34px;margin-bottom:40px}
 .case-library .case-entry img{height:230px}
 .case-library .case-entry h2{font-size:29px}
 .case-library .case-entry figure{margin-bottom:18px}
}
@media(max-width:400px){
 .case-library .case-library-header h1{font-size:clamp(28px,7.8vw,32px)}
}
@media(prefers-reduced-motion:reduce){
 .case-study *,.case-library *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
