/* Case studies written as articles: one reading column, pictures that sit in the text, footnotes at the end.
   Loaded after case.css, which still provides the menu bar, buttons, phone frames and footer. */
.art{background:var(--white)}
.art-in{max-width:680px;margin:0 auto;padding-inline:22px}

/* Headline block */
.art-head{padding-top:72px;padding-bottom:8px}
.kicker{font-size:15px;font-weight:600;color:var(--ink2);margin:0 0 14px;letter-spacing:-.01em}
.kicker a{color:var(--ink2)}
.art-head h1{max-width:none;font-size:48px;line-height:1.08;font-weight:700;letter-spacing:-.025em;margin:0;text-wrap:balance}
.dek{font-size:22px;line-height:1.4;color:var(--ink2);margin:18px 0 0;letter-spacing:-.015em}
.byline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:26px 0 0;padding:16px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:15px;color:var(--ink2)}
.byline b{color:var(--ink);font-weight:600}
.byline .links{margin-left:auto;display:flex;gap:16px;flex-wrap:wrap}

/* Lead picture, wider than the text */
.lead-fig{max-width:900px;margin:44px auto 0;padding-inline:22px}
.lead-fig .phones{margin-top:0}
.lead-fig .phones .phone{filter:drop-shadow(0 18px 24px rgba(0,0,0,.16)) drop-shadow(0 3px 6px rgba(0,0,0,.08))}
.lead-fig .shot,.art-fig .shot{display:block;width:100%;border-radius:14px;box-shadow:0 1px 3px rgba(0,0,0,.08),0 18px 44px -18px rgba(0,0,0,.3)}
figcaption{font-size:14px;line-height:1.45;color:var(--ink2);margin-top:14px}
.lead-fig figcaption{text-align:center}

/* Fact box */
.facts{margin:44px 0 8px;background:var(--gray);border-radius:18px;padding:22px 24px}
.facts h2{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ink2);margin:0 0 6px}
.facts dl{margin:0;display:grid;grid-template-columns:120px minmax(0,1fr);gap:0 18px}
.facts dt,.facts dd{padding:11px 0;border-top:1px solid var(--rule);margin:0;font-size:16px;line-height:1.45}
.facts dt{font-weight:600}
.facts dl > :nth-child(1),.facts dl > :nth-child(2){border-top:0}

/* Body text */
.body{padding:20px 0 80px}
.body h2{max-width:none;font-size:30px;line-height:1.15;font-weight:700;letter-spacing:-.02em;margin:60px 0 14px;text-wrap:balance;scroll-margin-top:110px}
.body h3{max-width:none;font-size:21px;line-height:1.25;font-weight:600;letter-spacing:-.015em;margin:36px 0 8px;text-wrap:balance}
.body p{font-size:19px;line-height:1.62;margin:0 0 20px;letter-spacing:-.012em}
.body p.lede::first-line{font-weight:600}
.body b{font-weight:600}
.body sup a{font-size:12px;margin-left:1px}

/* Pictures inside the text */
.art-fig{margin:36px 0}
.art-fig.wide{margin-inline:-60px}
.duo{display:flex;justify-content:center;gap:8%}
.duo .phone{width:38%;filter:drop-shadow(0 18px 24px rgba(0,0,0,.16)) drop-shadow(0 3px 6px rgba(0,0,0,.08))}
.solo .phone{width:40%;margin:0 auto;filter:drop-shadow(0 18px 24px rgba(0,0,0,.16)) drop-shadow(0 3px 6px rgba(0,0,0,.08))}
.art-fig figcaption{text-align:center}
.art-fig .panel{max-width:440px;margin:0 auto}
.lead-fig .pic,.art-fig .pic{display:block;width:100%;height:auto}
.art-fig .pic.small{max-width:520px;margin:0 auto}

/* A line pulled out of the text */
.pull{margin:40px 0;padding:4px 0 4px 22px;border-left:3px solid var(--ink);font-size:25px;line-height:1.35;font-weight:600;letter-spacing:-.02em}

/* Numbers in a row */
.nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0 30px}
.nums > div{background:var(--gray);border-radius:16px;padding:18px 18px 16px}
.nums .n{font-size:34px;font-weight:700;letter-spacing:-.03em;line-height:1;margin-bottom:10px}
.nums p{font-size:15px !important;line-height:1.45 !important;margin:0 !important;color:var(--ink2)}

/* Short dated list, used only where the dates are the point */
.dates{list-style:none;margin:8px 0 24px;padding:0;border-top:1px solid var(--rule)}
.dates li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--rule);font-size:17px;line-height:1.5}
.dates time{font-weight:600;font-variant-numeric:tabular-nums}

.next-art{background:var(--gray);text-align:center;padding:72px 22px}
.next-art p{margin:0 0 6px;color:var(--ink2);font-size:17px}
.next-art a{font-size:34px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.next-art a:hover{color:var(--link);text-decoration:none}

@media (max-width:820px){ .art-fig.wide{margin-inline:0} }
@media (max-width:734px){
  .art-head{padding-top:44px}
  .art-head h1{font-size:34px}
  .dek{font-size:19px}
  .byline .links{margin-left:0}
  .body h2{font-size:26px;margin-top:48px}
  .body p{font-size:18px}
  .facts dl{grid-template-columns:minmax(0,1fr)}
  .facts dt{padding-bottom:0}
  .facts dd{border-top:0;padding-top:4px}
  .facts dl > :nth-child(1){border-top:0}
  .facts dt:not(:first-child){border-top:1px solid var(--rule)}
  .nums{grid-template-columns:minmax(0,1fr)}
  .duo .phone{width:44%}
  .solo .phone{width:62%}
  .pull{font-size:21px}
  .dates li{grid-template-columns:minmax(0,1fr);gap:2px}
}
/* The HumDocs clip: a still instead when the viewer has asked for less motion */
.lead-fig .still{display:none}
@media (prefers-reduced-motion:reduce){.lead-fig video.pic{display:none}.lead-fig .still{display:block}}
