/* Heading levels, after the Webflow export.

   The export marked up almost every heading on a page as an h1: 41 of them on
   the Omaze case study, 38 on Paycada, 386 surplus across the site. To a
   search engine that says the page is about forty-one different things, which
   is the same as saying it is about nothing, and to a screen reader it is a
   document with forty-one top-level sections.

   So each page keeps the one h1 that is actually its subject and the rest are
   h2. That is a change of meaning, and it is not supposed to be a change of
   appearance — but the export's h1 and h2 element rules differ, in size, line
   height, weight, family and margin, so demoting them moved real pixels. The
   headings carrying a class of their own were fine; the ones leaning on the
   element rule were not.

   These rules give those back. h2:where([data-was-h1]) weighs exactly what a
   bare h1 selector weighed, 0-0-1, because :where() contributes nothing — so
   it beats the element-level h2 rules it follows, and still loses to any
   class on the element, which is the order that held before. The values are
   the export's own h1 values, breakpoint for breakpoint.

   color is inherit because h1 never set one: the h2 rule does, and without
   this line a demoted heading would pick up a colour it never had. */

h2:where([data-was-h1]){
  color:inherit;
  margin-top:0;margin-bottom:24px;
  font-family:"Roboto Slab",sans-serif;font-size:48px;font-weight:400;line-height:60px}

@media screen and (max-width:991px){
  h2:where([data-was-h1]){margin-bottom:24px;font-size:40px;line-height:52px}}
@media screen and (max-width:767px){
  h2:where([data-was-h1]){font-size:34px;line-height:44px}}
@media screen and (max-width:479px){
  h2:where([data-was-h1]){font-size:30px;line-height:40px}}

/* The 404 page had the opposite problem: no h1 at all, so nothing told a
   crawler or a screen reader what the page was. Its one real heading is now
   that h1, and this keeps it looking exactly as the h2 did. */
h1:where([data-was-h2]){
  color:var(--midnight-blue);
  margin-top:0;margin-bottom:16px;
  font-family:"Open Sans",sans-serif;font-size:34px;font-weight:700;line-height:40px}

@media screen and (max-width:767px){
  h1:where([data-was-h2]){font-size:28px;line-height:36px}}
@media screen and (max-width:479px){
  h1:where([data-was-h2]){font-size:24px;line-height:32px}}
