/* Case study opening, shared by every case study (2026-11-16).
   The hero is one large browser window on the Selected work stage; the
   overview is three bands: intro with project facts, results in plain
   words, then the first decision beside one quote. */
/* Case study overview, rethought 2026-11-16 on Resiliency: three bands with
   one job each. Intro (title, lede, actions) with the project facts beside it;
   results in plain words; then the first decision and the one quote. Rules,
   not boxes; ink only, yellow as the eyebrow mark. */
.ov{display:grid!important;grid-template-columns:minmax(0,1fr) 320px!important;column-gap:72px!important;row-gap:0!important;align-items:end!important}
.ov-intro{min-width:0;align-self:start}
.ov-eyebrow{display:flex;align-items:center;gap:14px;font:600 12px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(var(--ink-rgb,32,31,29),.72)}
.ov-eyebrow::before{content:"";width:40px;height:2px;background:#E3B400}
.ov-title{font-family:'Schibsted Grotesk',ui-sans-serif,system-ui,sans-serif;font-weight:400;font-size:clamp(36px,3.6vw,48px);line-height:1.05;letter-spacing:-.02em;margin:24px 0 0;text-wrap:balance}
.ov-sub{font-family:'Schibsted Grotesk',ui-sans-serif,system-ui,sans-serif;font-size:clamp(20px,1.7vw,24px);line-height:1.3;margin:8px 0 0;color:rgba(var(--ink-rgb,32,31,29),.6);text-wrap:balance}
.ov-lede{font-size:18px;line-height:1.65;max-width:60ch;margin:24px 0 0;color:rgba(var(--ink-rgb,32,31,29),.78);text-wrap:pretty}
.ov-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;margin-top:32px}
.ov-actions .brief-open{margin:0}
.ov .work-jump.ov-link{margin:0;padding:0;min-height:44px;border:0;background:none;color:rgb(var(--ink-rgb,32,31,29));text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.ov .work-jump.ov-link:hover{background:none;text-decoration-thickness:2px}
html[data-theme="dark"] .ov .work-jump.ov-link{color:#fff}
.ov-meta{display:grid!important;grid-template-columns:auto 1fr;column-gap:20px;row-gap:16px;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;font:14px/1.5 ui-sans-serif,system-ui,sans-serif;align-self:end}
html[data-theme] body .ov>.ov-meta:not(#_):not(#__){padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
/* the project facts as a band of their own, above the results: label over
   value, four to a row (three on tablets), reading across. the markup stays
   label, value, label, value... because brief.js builds the phone drawer
   from it, so each pair is placed by position here. */
@media (min-width:601px){
  html body .ov:not(#_){grid-template-columns:minmax(0,1fr)!important}
  html[data-theme] body .ov>.ov-meta:not(#_):not(#__):not(#___){grid-column:1/-1;align-self:start;margin:48px 0 0!important;padding:28px 0 0!important;
    border-top:1px solid rgba(var(--ink-rgb,32,31,29),.16)!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;column-gap:32px;row-gap:0}
  .ov>.ov-meta>span:nth-child(odd){padding-bottom:6px}
  .ov>.ov-meta>span:nth-child(even){padding-bottom:24px}
  html body .ov>.ov-results{margin-top:8px}
  .ov>.ov-meta>:nth-child(1){grid-column:1;grid-row:1}.ov>.ov-meta>:nth-child(2){grid-column:1;grid-row:2}
  .ov>.ov-meta>:nth-child(3){grid-column:2;grid-row:1}.ov>.ov-meta>:nth-child(4){grid-column:2;grid-row:2}
  .ov>.ov-meta>:nth-child(5){grid-column:3;grid-row:1}.ov>.ov-meta>:nth-child(6){grid-column:3;grid-row:2}
  .ov>.ov-meta>:nth-child(7){grid-column:4;grid-row:1}.ov>.ov-meta>:nth-child(8){grid-column:4;grid-row:2}
  .ov>.ov-meta>:nth-child(9){grid-column:1;grid-row:3}.ov>.ov-meta>:nth-child(10){grid-column:1;grid-row:4}
  .ov>.ov-meta>:nth-child(11){grid-column:2;grid-row:3}.ov>.ov-meta>:nth-child(12){grid-column:2;grid-row:4}
  .ov>.ov-meta>:nth-child(13){grid-column:3;grid-row:3}.ov>.ov-meta>:nth-child(14){grid-column:3;grid-row:4}
  .ov>.ov-meta>:nth-child(15){grid-column:4;grid-row:3}.ov>.ov-meta>:nth-child(16){grid-column:4;grid-row:4}
}
/* wide screens: the intro on the left, the results stacked on the right
   behind a hairline, so the opening is balanced; the facts band runs the
   full width under both, then the first decision. */
@media (min-width:901px){
  html body .ov:not(#_){grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)!important;column-gap:56px!important}
  html body .ov>.ov-intro:not(#_){grid-column:1;grid-row:1;align-self:stretch;display:flex;flex-direction:column}
  html body .ov>.ov-intro>.ov-actions:not(#_){margin-top:auto;padding-top:32px}
  html body .ov>.ov-results:not(#_){grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr)!important;margin:0!important;
    border-top:0!important;border-left:1px solid rgba(var(--ink-rgb,32,31,29),.16);padding-left:48px;align-self:stretch;align-content:space-between}
  html body .ov>.ov-results>div:not(#_){padding:16px 0!important;border-left:0!important;border-top:1px solid rgba(var(--ink-rgb,32,31,29),.12)}
  html body .ov>.ov-results>div:first-of-type:not(#_){border-top:0;padding-top:0!important}
  html body .ov>.ov-results>.ov-label:not(#_){padding:0 0 20px}
  html body .ov>.ov-results>div:last-child:not(#_){padding-bottom:0!important}
  html body .ov .ov-num:not(#_){font-size:32px}
  html body .ov .ov-why:not(#_){font-size:14px;line-height:1.5;margin-top:4px!important}
  html body .ov .ov-what:not(#_){margin-top:8px!important}
  html[data-theme] body .ov>.ov-meta:not(#_):not(#__):not(#___){grid-row:2}
  html body .ov>.ov-insight:not(#_){grid-row:3;margin-top:24px}
}
@media (min-width:601px) and (max-width:900px){
  html[data-theme] body .ov>.ov-meta:not(#_):not(#__):not(#___){grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0!important}
  html body .ov>.ov-meta>:nth-child(1){grid-column:1;grid-row:1}html body .ov>.ov-meta>:nth-child(2){grid-column:1;grid-row:2}
  html body .ov>.ov-meta>:nth-child(3){grid-column:2;grid-row:1}html body .ov>.ov-meta>:nth-child(4){grid-column:2;grid-row:2}
  html body .ov>.ov-meta>:nth-child(5){grid-column:3;grid-row:1}html body .ov>.ov-meta>:nth-child(6){grid-column:3;grid-row:2}
  html body .ov>.ov-meta>:nth-child(7){grid-column:1;grid-row:3}html body .ov>.ov-meta>:nth-child(8){grid-column:1;grid-row:4}
  html body .ov>.ov-meta>:nth-child(9){grid-column:2;grid-row:3}html body .ov>.ov-meta>:nth-child(10){grid-column:2;grid-row:4}
  html body .ov>.ov-meta>:nth-child(11){grid-column:3;grid-row:3}html body .ov>.ov-meta>:nth-child(12){grid-column:3;grid-row:4}
  html body .ov>.ov-meta>:nth-child(13){grid-column:1;grid-row:5}html body .ov>.ov-meta>:nth-child(14){grid-column:1;grid-row:6}
  html body .ov>.ov-meta>:nth-child(15){grid-column:2;grid-row:5}html body .ov>.ov-meta>:nth-child(16){grid-column:2;grid-row:6}
}
.ov-meta>span:nth-child(odd){color:rgba(var(--ink-rgb,32,31,29),.55)}
.ov-meta>span:nth-child(even){display:grid;row-gap:2px}
.ov-meta>span:nth-child(even)>span+span{color:rgba(var(--ink-rgb,32,31,29),.6)}
.ov-results{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:56px;border-top:1px solid rgba(var(--ink-rgb,32,31,29),.16)}
.ov-results>div{padding:28px 32px 0 0}
.ov-results>div+div{padding-left:32px;border-left:1px solid rgba(var(--ink-rgb,32,31,29),.12)}
.ov-results p{margin:0}
/* the results are the outcome; the same label heads the drawer's Outcome, where brief.js repeats these figures */
.ov-label{grid-column:1/-1;display:block;padding-top:28px;font:600 12px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(var(--ink-rgb,32,31,29),.6)}
.ov-results>.ov-label+div{border-left:0}
.ov-num{font-family:'Schibsted Grotesk',ui-sans-serif,system-ui,sans-serif;font-size:44px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.ov-what{font-size:17px;line-height:1.4;font-weight:600;margin-top:12px!important}
.ov-why{font-size:15px;line-height:1.55;margin-top:6px!important;color:rgba(var(--ink-rgb,32,31,29),.66);text-wrap:pretty}
.ov-insight{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:72px;margin-top:48px;padding-top:32px;border-top:1px solid rgba(var(--ink-rgb,32,31,29),.16)}
.ov-decision>span{display:block;font:600 12px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(var(--ink-rgb,32,31,29),.6);margin-bottom:14px}
.ov-decision p{font-size:17px;line-height:1.65;margin:0;color:rgba(var(--ink-rgb,32,31,29),.78);text-wrap:pretty}
.ov-quote{margin:0}
.ov-quote blockquote{font-family:'Cormorant Garamond',Georgia,serif;font-size:26px;line-height:1.35;margin:0;color:rgb(var(--ink-rgb,32,31,29));text-wrap:pretty}
.ov-quote figcaption{font:12px/1.6 ui-sans-serif,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;margin-top:16px;color:rgba(var(--ink-rgb,32,31,29),.58)}
/* Hero, rethought 2026-11-16: one large browser window rising from the
   bottom of a quiet dot field stage, instead of two overlapping windows. */
html body .hero-comp.hero-single:not(#_){aspect-ratio:auto!important;padding:64px 8% 0!important;overflow:hidden}
html body .hero-single .frame.front:not(#_){position:relative!important;inset:auto!important;width:100%!important;margin:0 auto;
  border-radius:12px 12px 0 0;border-bottom:0!important;display:block;box-shadow:0 -1px 0 rgba(var(--ink-rgb,32,31,29),.04),0 30px 80px -24px rgba(16,24,40,.38)!important}
html body .hero-single .frame.front .view:not(#_){aspect-ratio:1400/760!important;flex:none}
.hero-single .fbar{padding:10px 16px!important}
.hero-single .fbar .dots i{width:9px!important;height:9px!important}
.hero-single .fbar .url{font-size:11px!important;padding:4px 16px!important;min-width:40%}
/* the homepage Selected work stage (v2.css): soft blue with a dot field
   that fades toward the edges */
html body .hero-comp.hero-single:not(#_):not(#__){--stage:#DCE6EF;background:var(--stage)!important;border:0!important}
html[data-theme="dark"] body .hero-comp.hero-single:not(#_):not(#__){--stage:#1A232B}
.hero-single .dots-bg{display:none}
.hero-single::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle,rgba(4,23,46,.18) 1.4px,transparent 1.6px) 0 0/18px 18px;
  -webkit-mask-image:radial-gradient(130% 120% at 50% 50%,#000 45%,rgba(0,0,0,.6) 72%,transparent 100%);
  mask-image:radial-gradient(130% 120% at 50% 50%,#000 45%,rgba(0,0,0,.6) 72%,transparent 100%)}
html[data-theme="dark"] .hero-single::before{background-image:radial-gradient(circle,rgba(255,255,255,.14) 1.4px,transparent 1.6px)}
@media (max-width:600px){html body .hero-comp.hero-single:not(#_){padding:24px 16px 0!important}
  html body .hero-single .frame.front .view:not(#_){aspect-ratio:4/3!important}}
/* a page with no quote: the decision takes the band alone */
.ov-insight.solo{grid-template-columns:minmax(0,1fr)}
.ov-insight.solo .ov-decision p{max-width:72ch}
/* the single window always fills its frame from the top, whatever a page's
   older hero rules said */
html body .hero-single .frame.front .view img:not(#_){width:100%;height:100%;object-fit:cover!important;object-position:top!important;padding:0!important}
.ov-decision p+p{margin-top:12px}
/* more air between the hero and the written opening (owner asked 2026-11-16) */
html body .ov:not(#_):not(#__){margin-top:72px!important}
@media (max-width:600px){html body .ov:not(#_):not(#__){margin-top:40px!important}}
