/* ==========================================================================
   MEP STAFF — site stylesheet
   One file styles every page. The brand colours and fonts are set once,
   in section 1; change them there and the whole site follows.
   ========================================================================== */

/* 1. BRAND SETTINGS ------------------------------------------------------- */
:root {
  --primary: #00BDEF;          /* main brand colour (links, buttons, page names) */
  --primary-dark: #006580;
  --secondary: #EE378B;          /* second colour (sub-headings, quotes) */
  --accent: #FFEF3C;          /* the yellow flash in the reveal effect */
  --list-title: var(--secondary);          /* the coloured heading above a bullet list */
  --footer-text: var(--grey-3);          /* company name and addresses in the footer */
  --banner-shadow: 0 1px 3px var(--grey-4);          /* soft shadow behind the page name on the photo banner */
  --lite: #F3F4F8;
  --grey-0: #EAEBEF;
  --grey-1: #C5C8CB;
  --grey-2: #B0B2B7;
  --grey-3: #65696C;          /* body text */
  --grey-4: #505456;
  --grey-5: #3C3F41;
  --dark: #2E2F31;            /* headings */

  --font-head: "Archivo Black", "Arial Black", Arial, sans-serif;
  --font-unique: "Muli", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Overpass", "Helvetica Neue", Arial, sans-serif;

  /* page width steps (the content column is centred at each step) */
  --wrap: 1320px;
  --pad: 25px;                /* space around each text column */
  --text-wide: 940px;         /* home-page text column */
  --text: 830px;              /* inner-page text column */
  --field: 390px;             /* half-width form field */
  --quote-indent: 110px;      /* how far the testimonial sits in from the left */
}

/* 2. FONTS (files live in /fonts, so the site needs nothing from outside) -- */
@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-black.woff2") format("woff2"); }
@font-face { font-family: "Muli"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/muli-regular.woff2") format("woff2"); }
@font-face { font-family: "Muli"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/muli-bold.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/overpass-light.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/overpass-light-italic.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/overpass-regular.woff2") format("woff2"); }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/overpass-bold.woff2") format("woff2"); }

/* 3. BASICS ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--grey-3);
  font: 300 15px/22px var(--font-body);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .04);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; padding: 0; font-weight: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: #fff; color: var(--dark); padding: 10px 16px; border: 2px solid var(--primary); }
.skip-link:focus { left: 16px; top: 16px; }

.wrap { position: relative; width: var(--wrap); margin: 0 auto; }
.wrap--gap { padding-bottom: 12.5px; }
.section { position: relative; padding: 120px 0; background: #fff; }
.section--top { padding-bottom: 0; }
.section--flush { padding: 0; }
.section--gap { margin-bottom: 25px; }

/* 4. SMALL ICONS (drawn in the stylesheet, so there is no icon font to load)
   Shapes from Font Awesome Free 5.11.2 — https://fontawesome.com/license/free
   (icons: CC BY 4.0) ------------------------------------------------------- */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; background-color: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
:root {
  --icon-bars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z'/%3E%3C/svg%3E");
  --icon-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/%3E%3C/svg%3E");
  --icon-envelope: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM94 416c-7.033 0-13.057-4.873-14.616-11.627l-14.998-65a15 15 0 0 1 8.707-17.16l69.998-29.999a15 15 0 0 1 17.518 4.289l30.997 37.885c48.944-22.963 88.297-62.858 110.781-110.78l-37.886-30.997a15.001 15.001 0 0 1-4.289-17.518l30-69.998a15 15 0 0 1 17.16-8.707l65 14.998A14.997 14.997 0 0 1 384 126c0 160.292-129.945 290-290 290z'/%3E%3C/svg%3E");
  --icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
  --icon-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E");
  --icon-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z'/%3E%3C/svg%3E");
  --paper: url("../images/paper.jpg");
}
.icon--envelope { --icon: var(--icon-envelope); }
.icon--phone { --icon: var(--icon-phone); }
.icon--facebook { --icon: var(--icon-facebook); }
.icon--linkedin { --icon: var(--icon-linkedin); }

/* 5. HEADER AND MENU -------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5000;
  box-sizing: content-box; height: 148px;
  background: rgba(250, 250, 250, 0);
  border-bottom: 1px solid rgba(130, 130, 130, 0);
  transition: height .3s ease-out, background-color .3s ease-out, border-color .3s ease-out;
}
.site-header__inner { position: relative; width: 100%; max-width: 1270px; height: 100%; margin: 0 auto; }
.site-logo { position: absolute; left: 0; top: 50px; z-index: 2; transition: top .3s ease-out; }
.site-logo img { width: auto; height: 70px; transition: height .3s ease-out; }
.site-nav { float: right; }
.site-nav ul { display: flex; }
.site-nav a {
  display: block; padding: 80px 15px 50px;
  font: 700 15px/18px var(--font-unique); letter-spacing: 1.25px; color: var(--grey-3);
  text-shadow: 0 1px 0 rgba(250, 250, 250, .33);
  white-space: nowrap;
  transition: padding .3s ease-out, color .3s ease-out;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; }

/* the header slims down once the visitor starts scrolling */
.site-header.is-compact { height: 78px; background: rgba(250, 250, 250, .875); border-bottom-color: rgba(130, 130, 130, .1); }
.is-compact .site-logo { top: 15px; }
.is-compact .site-logo img { height: 50px; }
.is-compact .site-nav a { padding: 30px 22px; }

/* 6. PHONE NUMBER DOWN THE RIGHT EDGE + BACK-TO-TOP ARROW ------------------- */
.side-phone {
  position: fixed; top: 208px; right: -6px; z-index: 5;
  width: 122px; text-align: center;
  font: 300 10px/22px var(--font-unique); letter-spacing: 2px; text-transform: uppercase; color: var(--grey-3);
  transform: rotate(90deg);
}
.side-phone:hover { color: var(--primary); }
.to-top {
  position: fixed; top: 120px; right: 40px; z-index: 9999;
  width: 30px; height: 30px; background: url("../images/arrow-up.png") center / 30px 30px no-repeat;
  opacity: 0; visibility: hidden; transition: opacity .5s cubic-bezier(.3333, .6667, .6667, 1), top .3s linear, visibility .5s linear;
}
.to-top.is-shown { opacity: .5; visibility: visible; transition: opacity .3s linear, top .3s linear, visibility .3s linear; }
.to-top.is-shown:hover { opacity: 1; top: 110px; }

/* the big coloured word that floats beside the pointer ("scroll down", "top", "linkedin" …) */
.tip { position: absolute; left: -99999px; top: -99999px; z-index: 100000; width: 1px; height: 1px; pointer-events: none; }
.tip__text { position: relative; float: left; display: block; padding: 6px 20px; white-space: nowrap; font: 400 20px/22px var(--font-head); letter-spacing: 1px; color: var(--primary); }

/* 7. HOME PAGE: BIG PHOTO + HEADLINE ---------------------------------------- */
.hero-home {
  position: relative; height: 100vh;
  background: #fff no-repeat 105% 100% / 90%;   /* the photo itself is named in the page */
}
.hero-home__text { position: absolute; top: 50%; left: 0; width: 100%; z-index: 10; transform: translateY(-50%); text-align: center; }
.headline {
  display: inline-block; position: relative;
  font: 400 26px/38px var(--font-head); letter-spacing: -1.5px; color: var(--dark);
}
.headline__lead { font-size: 90%; }
.strike { position: relative; font-size: .7em; text-decoration: none; }
.strike::after { content: ""; position: absolute; inset: 0; background: url("../images/scribble.svg") center / 100% 100% no-repeat; }
.rotator { display: inline-block; position: relative; white-space: nowrap; text-align: left; }
.headline { overflow-anchor: none; }      /* the retyped word must never drag the page's scroll position with it */
.rotator.is-selected { background: var(--primary); color: #fff; }

.scroll-down { position: absolute; left: 5%; bottom: 2%; z-index: 5; width: 28px; height: 47px; }
.scroll-down::before { content: ""; position: absolute; left: 10px; top: 10px; z-index: 10; width: 8px; height: 27px; background: url("../images/arrow-down.png") center / 8px 27px no-repeat; transform-origin: center bottom; animation: bounce 2s infinite; }
@keyframes bounce {
  from, 20%, 53%, 80%, to { transform: translate3d(0, 0, 0); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  40%, 43% { transform: translate3d(0, -30px, 0); animation-timing-function: cubic-bezier(.755, .05, .855, .06); }
  70% { transform: translate3d(0, -15px, 0); animation-timing-function: cubic-bezier(.755, .05, .855, .06); }
  90% { transform: translate3d(0, -4px, 0); }
}

/* 8. INNER PAGES: PHOTO BANNER WITH THE PAGE NAME --------------------------- */
.hero-page { position: relative; height: 70vh; background: #fff; overflow: hidden; }
.hero-page__photo { position: absolute; inset: 0; z-index: 1; background: no-repeat top center / cover fixed; }   /* "fixed": the photo stays put while the page scrolls over it */
.hero-page__photo::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: .3; }
.hero-page__text { position: absolute; top: 65%; left: 0; width: 100%; z-index: 10; transform: translateY(-50%); }
.hero-page__title {
  display: inline-block; text-align: center;
  font: 400 52px/50px var(--font-head); letter-spacing: -2.25px; color: var(--primary);
  text-shadow: var(--banner-shadow); margin: 0 var(--pad) 8px;
}
.hero-page__tagline-row { margin: 0 var(--pad); }
.hero-page__tagline { display: inline-block; padding: 1px 5px; background: rgba(24, 24, 25, .75); text-align: center; font: 300 15px/21px var(--font-body); letter-spacing: 1px; color: var(--lite); }
.hero-page__tagline > span { display: block; }

/* 9. HEADINGS AND TEXT ------------------------------------------------------- */
.title { font: 400 40px/40px var(--font-head); letter-spacing: -1.5px; color: var(--dark); margin-bottom: 12.5px; }
.subtitle { font: 400 28.2px/34px var(--font-body); color: var(--secondary); padding-bottom: 12.5px; }   /* padding, so the gap never merges with the text below */

.text { display: flow-root; margin: var(--pad); max-width: var(--text); }
.text--wide { max-width: var(--text-wide); }
.text--nested { margin: calc(2 * var(--pad)) calc(2 * var(--pad)) calc(var(--pad) + 25px); }   /* text that sits just above a form */
.text + .text--nested { margin-top: calc(3 * var(--pad)); }
.text p { margin-bottom: 15px; }
.text p.tight, .text > p:last-child { margin-bottom: 0; }
.text strong { font-weight: 700; }
.text strong.brand, .brand { color: var(--primary); }
.text h2 { font: 400 22px/50px var(--font-head); color: var(--dark); margin: 15px 0 -10px; }
.text h3 { font: 700 17px/32px var(--font-body); text-transform: uppercase; color: var(--secondary); margin-top: 10px; }
.text blockquote {
  position: relative; margin: 25px 51px 25px 25px; padding: 9px 20px 10.2px 25.5px;
  border-left: 5px solid var(--grey-3);
  font: 300 17px/23px var(--font-unique); color: var(--secondary);
}
.text blockquote::before { content: "\201C"; color: var(--primary); font-family: var(--font-body); }
.text blockquote::after { content: "\201D"; color: var(--primary); font-family: var(--font-body); }

/* links inside text: grey words on a coloured underline that fills in on hover */
.text a, .site-footer p a, .form__note a {
  color: var(--grey-3);
  background: linear-gradient(var(--primary), var(--primary)) repeat-x 0 100% / 2px 2px;
  transition: background-size .2s, color .2s;
}
.text a:hover, .site-footer p a:hover, .form__note a:hover { color: #fff; background-size: 20px 50px; }
/* links that open a new tab end in a small icon; the gap in front of it is the " &nbsp;" written before </a> in the page */
.text a[target="_blank"]::after { content: ""; display: inline-block; width: 12px; height: 12px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--icon-external) center / contain no-repeat; mask: var(--icon-external) center / contain no-repeat; }

/* bullet lists with a coloured heading above them
   (when a heading is too long for one line, its following lines start level with the list's words, as on the old site) */
.list-title { font: 700 17.25px/22px var(--font-body); color: var(--list-title); text-transform: none; margin-top: 12.5px; padding-left: 30px; text-indent: -30px; }
.text .list-title { position: relative; top: -1px; margin-top: 25px; text-transform: none; font-size: 17.25px; line-height: 23px; color: var(--list-title); }
.bullets { margin: 0 0 0 30px; list-style: square; }
.bullets--gap { margin-bottom: 25px; }
.bullets li { line-height: 18px; }
.bullets li.gap { margin-bottom: 12.5px; }
.bullets li.link-line { list-style: none; }
.list-title--spaced { margin-top: 25px; }

/* 10. HOME PAGE: PICTURE GRID ------------------------------------------------ */
.filter { text-align: center; margin: var(--pad); }
.filter ul { display: inline-block; }
.filter li { display: inline-block; }
.filter button {
  padding: 6px 14px; background: none; border: 2px solid transparent; border-radius: 30px;
  font: 300 13px/12px var(--font-body); letter-spacing: 1px; color: var(--dark);
  transition: border-color .3s linear;
}
.filter button:hover, .filter button[aria-pressed="true"] { border-color: var(--primary); }

.grid { position: relative; width: calc(100% - 50px); max-width: 1300px; margin: 0 auto; overflow: hidden; }
.tile { margin: 15px 15px 15px 14px; }
.tile__photo { display: block; position: relative; overflow: hidden; margin-bottom: 12px; }
.tile__photo img { width: 100%; height: auto; transition: transform .6s ease, opacity .3s ease-in-out; }
.tile:hover .tile__photo img { transform: scale(1.03); }
.tile__tags { display: block; font: 300 13px/15px var(--font-body); letter-spacing: .5px; text-transform: lowercase; color: var(--grey-3); margin-bottom: 4px; }
.tile__tags--low { margin-top: 12.5px; }      /* one tile's small line sits a little lower, as on the live site */
.tile__name { position: relative; display: inline-block; vertical-align: top; padding-bottom: 5px; font: 400 23px/26px var(--font-head); letter-spacing: -.75px; color: var(--dark); overflow: hidden; }
.tile__name::before { content: ""; position: absolute; left: -105%; bottom: 0; width: 100%; height: 2px; background: var(--primary); transition: left .3s linear; }
.tile:hover .tile__name::before { left: 0; }

/* How many pictures sit side by side is decided by the width given here; the script
   then packs them into columns, each picture going under the shortest column so far. */
.grid { display: flex; flex-wrap: wrap; align-items: flex-start; }      /* layout if the script cannot run */
.grid--thirds .tile { width: calc(33.3333333333% - 30px); }             /* three across */
.grid--halves .tile { width: calc(50% - 30px); }                        /* two across */
.grid.is-laid-out { display: block; }
.grid.is-laid-out .tile { position: absolute; left: 0; top: 0; transition: transform .6s, opacity .6s; }
.grid .tile.is-filtered-out { opacity: 0; pointer-events: none; transform: scale(.001); }

/* 11. HOME PAGE: WHAT PEOPLE SAY --------------------------------------------- */
.quotes { position: relative; padding: 120px 0; }
.quotes::before { content: ""; position: absolute; inset: 0; background: var(--paper) top center / cover; }
.quotes__inner { position: relative; z-index: 2; margin: var(--pad) var(--pad) var(--pad) calc(var(--pad) + var(--quote-indent)); max-width: 950px; }
.quotes__stage { position: relative; transform: translate3d(0, 0, 0); }
.quote { display: flow-root; padding-bottom: 35px; }
.js .quote { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.js .quote.is-current { position: relative; opacity: 1; visibility: visible; }
.quote__text { font: 400 19.5px/32.175px var(--font-unique); letter-spacing: .25px; color: var(--secondary); }
/* the big quotation mark: it floats at the left and the words run beside it */
.quote__text::before { content: ""; float: left; box-sizing: content-box; width: 39px; height: 39px; padding: 0 25px 195px 2px; background: var(--grey-1); -webkit-mask: var(--icon-quote) 2px 0 / 39px 39px no-repeat; mask: var(--icon-quote) 2px 0 / 39px 39px no-repeat; }
.quote__text mark { background: var(--primary); color: #fff; padding: 0 1px; }
.quote__name { margin: 25px 0 0; font: 400 18.75px/26.25px var(--font-head); color: var(--dark); }
.quote__role { display: inline; font: italic 300 15px/22px var(--font-body); }
.quotes__dots { position: absolute; left: 0; bottom: 0; z-index: 3; display: flex; }
.quotes__dots button { width: 24px; height: 22px; padding: 0; border: 0; background: none; }
.quotes__dots button::before { content: ""; display: block; width: 7px; height: 7px; margin: 5px 0 0 5px; border-radius: 50%; background: var(--grey-2); transition: transform .2s linear, background-color .2s linear; }
.quotes__dots button:hover::before, .quotes__dots button[aria-current="true"]::before { transform: scale(1.5); background: var(--primary); }

/* 12. CALL-TO-ACTION BOX ----------------------------------------------------- */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: var(--pad); padding: 30px 40px; outline: 2px solid var(--grey-1); transition: outline-color .3s; }
.cta:hover { outline-color: var(--primary); }
.cta__text { font: 700 24px/24px var(--font-unique); letter-spacing: .5px; color: var(--secondary); }
.cta__button {
  flex: none; padding: 12px 15px; background: #fff; border: 2px solid var(--primary);
  font: 400 20.25px/22px var(--font-head); color: var(--primary); white-space: nowrap;
  transition: background-color .3s ease-out, color .3s ease-out;
}
.cta__button:hover { background: var(--primary); color: #fff; }

/* 13. PREV / NEXT LINKS ------------------------------------------------------ */
.pager { display: flex; justify-content: space-between; margin: var(--pad); font: 400 24px/24px var(--font-head); color: var(--dark); }
.pager a { position: relative; display: inline-block; overflow: hidden; transition: all .3s linear; }
.pager a::before { content: ""; position: absolute; top: 7px; z-index: 2; width: 35px; height: 10px; background: no-repeat center / 35px 10px; transition: all .3s linear; }
.pager a[rel="prev"]::before { left: -35px; background-image: url("../images/arrow-left.png"); }
.pager a[rel="next"]::before { right: -35px; background-image: url("../images/arrow-right.png"); }
.pager a:hover { color: var(--primary); }
.pager a[rel="prev"]:hover { padding-left: 55px; }
.pager a[rel="next"]:hover { padding-right: 55px; }
.pager a[rel="prev"]:hover::before { left: 0; transition-delay: .2s; }
.pager a[rel="next"]:hover::before { right: 0; transition-delay: .2s; }

/* 14. FORMS ------------------------------------------------------------------ */
.form { padding: 0 0 120px; font-family: var(--font-unique); color: var(--dark); }
.form__row { display: flex; flex-wrap: wrap; max-width: calc(var(--text) + 2 * var(--pad)); }
.field { width: var(--field); margin: var(--pad); }
.field--wide { width: var(--text); }
.field input, .field textarea, .field select {
  display: block; width: 100%; padding: 1px 20px 15px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(100, 100, 100, .2); border-radius: 0;
  font: 400 14px/24px var(--font-unique); letter-spacing: 1px; color: var(--primary);
  transition: border-color .3s, color .3s;
}
.field textarea { height: 105px; margin-bottom: 3px; padding: 2px 20px; font-size: 13px; resize: vertical; }
.field select {
  width: calc(100% - 40px); padding: 0 34px 0 20px; height: 25px; -webkit-appearance: none; appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='30,55 70,95 110,55' fill='none' stroke='%23999' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px;
}
.field input::placeholder, .field textarea::placeholder { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--secondary); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--secondary); }
.field__error { display: none; font: 400 11px/22px var(--font-unique); text-transform: uppercase; letter-spacing: 1px; color: #bd0b0f; }
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #bd0b0f; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin: 10px var(--pad) var(--pad); }
.button {
  position: relative; z-index: 1; display: inline-block; width: 150px; padding: 14px 26px; border: 0; border-radius: 1px;
  background: var(--secondary); color: #fff;
  font: 400 13px/15px Arial, Helvetica, sans-serif; letter-spacing: 2px; text-align: center;
  transition: background-color .3s, color .3s;
}
.button::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: inherit; border-radius: 3px; opacity: .4; transform: scale3d(.8, .5, 1); }
.button:hover { background: #292929; animation: button-pop .6s forwards; }
.button:hover::before { animation: button-ring .6s .5s forwards; }
@keyframes button-pop { 60% { transform: scale3d(.8, .8, 1); } 85% { transform: scale3d(1.2, 1.2, 1); } 100% { transform: scale3d(1, 1, 1); } }
@keyframes button-ring { to { opacity: 0; transform: scale3d(1, 1, 1); } }
.button[disabled] { opacity: .6; cursor: default; }
.form__status { display: none; margin: 15px var(--pad); padding: 20px 25px; max-width: var(--text); border-radius: 2px; font: 300 12.1px/18px var(--font-unique); text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.form__status.is-ok { display: block; background: var(--primary); }
.form__status.is-error { display: block; background: #bd0b0f; }
.form__status a { text-decoration: underline; }
.form__note { font: 400 11px/22px var(--font-unique); color: var(--dark); }   /* the small line under the button */
.form .rise { --delay: .5s; --time: 1s; }

/* 15. MAP -------------------------------------------------------------------- */
.map { height: 500px; background: var(--grey-0); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.section--map { padding: 0 0 120px; }

/* 16. SERVICE PACKAGES (the three boxes on the Reverse Recruiter page) ---------
   Each box has one accent colour, written after "tier:" in its <article> tag.
   The row of boxes keeps the old page's margins: 25px at the left and 100px at
   the right, which leaves room for the phone number running down the side. */
.packages { --icon-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 23'%3E%3Cpath d='M23.4.2 24 1C18.5 5.5 12.5 13.5 8.9 20.6L6.2 22.6C5.4 19.6 3.4 16.2.6 13.9L2.4 11.9C4.6 13.4 6.2 15.4 7.2 17.6 10.9 10.9 16.9 4.3 23.4.2Z'/%3E%3C/svg%3E"); --icon-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 15'%3E%3Cpath d='M.3 7.2 8.2 1V6.2H24.7V8.2H8.2V13.4Z'/%3E%3C/svg%3E"); display: grid; gap: 30px; margin: 50px 100px 50px 25px; }
.package { --tier: #00C0F2; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .25); font: 300 18px/27px sans-serif; color: #2d2d2d; }
.package__head { position: relative; padding: 30px 0 20px; background: #08618D; text-align: center; }
.package__flag { position: absolute; top: 4px; left: 50%; transform: translate(-50%, -50%); height: 32px; padding: 6px 8px 6px 12px; background: #00C0F2; font: 700 16px/20px sans-serif; color: #fff; white-space: nowrap; }
.package__flag::before { content: ""; position: absolute; top: 0; right: 100%; border-style: solid; border-width: 0 0 12px 6px; border-color: transparent transparent #00A2D4; }
.package__name { font: 500 33.84px/40px var(--font-body); color: var(--secondary); }
.package__price { margin-top: 10px; padding: 4px 0; background: var(--tier); font: 500 16px/18px var(--font-head); color: #fff; }
.package__pitch { margin-top: 10px; font: 500 16px/20px sans-serif; color: #fff; }
.package__body { margin: 20px 0; padding: 0 20px; }
.package__plus { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid var(--tier); font: 700 16px/20px var(--font-head); color: var(--dark); }
.package__plus::before { content: ""; flex: none; width: 24px; height: 14.4px; background: var(--tier); -webkit-mask: var(--icon-back) center / contain no-repeat; mask: var(--icon-back) center / contain no-repeat; transform: rotate(90deg); }   /* the arrow points up at the box above … */
.package__list { display: grid; gap: 20px; font: 300 16px/18px sans-serif; }
.package__list li { display: flex; align-items: flex-start; gap: 10px; }
.package__list li::before { content: ""; flex: none; width: 24px; height: 23px; background: var(--tier); -webkit-mask: var(--icon-tick) center / contain no-repeat; mask: var(--icon-tick) center / contain no-repeat; }
.package__foot { margin: 0 20px; padding: 20px 0; border-top: 2px solid #00C0F2; }
.package__order { font: 500 16px/24px var(--font-head); color: var(--dark); text-align: center; }
.package__cost { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 20px; font: 300 16px/20px sans-serif; }
.package__cost strong { font: 700 30px/30px serif; color: var(--tier); }
.package__cost span { display: flex; align-items: center; gap: 20px; }
.package__cost span::before { content: ""; width: 2px; height: 34px; background: var(--tier); }
.package-notes { margin-top: 20px; padding: 20px; border-top: 2px solid #B1BABE; text-align: center; font: 300 16px/24px sans-serif; color: #2d2d2d; }
.package-notes p + p { margin-top: 10px; }
@media (min-width: 768px) and (max-width: 1023px) {      /* tablets: "Order now" and the price share one line */
  .package__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 12px; }
  .package__cost { margin-top: 0; }
}
@media (min-width: 1024px) {                             /* wide screens: three boxes side by side */
  .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
  .package { display: flex; flex-direction: column; justify-content: space-between; }
  .package__plus::before { transform: none; }                                                  /* … or left at the box beside it */
}

/* 17. FOOTER ----------------------------------------------------------------- */
.site-footer { position: relative; padding: 0 0 120px; background: #fff; }
.site-footer__cols { display: flex; justify-content: space-around; }
.site-footer__col { margin: var(--pad); }
.site-footer__logo { display: block; margin-top: 12.5px; }
.site-footer__logo img { width: 217px; height: auto; }
.site-footer p { margin-top: 12.5px; padding-bottom: 5px; color: var(--footer-text); }
.site-footer p + p { margin-top: 0; }
.site-footer p.site-footer__name { margin-top: 12.5px; }
.site-footer p.site-footer__name strong { font-weight: 700; }
.site-footer .icon { color: var(--grey-1); margin-right: 3.45px; }
.site-footer .icon--phone { width: .875em; margin-right: 0; }
.social { display: flex; column-gap: 3.45px; margin: 12.5px 0; }
.social li { width: 45px; height: 22px; margin-bottom: 12px; }
.social a { position: relative; display: inline-block; font-size: 18px; line-height: 18px; color: var(--secondary); transition: color .1s linear; }
.social li:hover a { color: var(--primary); }
.social .icon { color: inherit; margin: 0; }
.social .icon--facebook { width: .625em; }
.social .icon--linkedin { width: .875em; }
.hours { margin-top: 0; }
.hours__lead { color: var(--secondary); }
.hours__state { font: 700 15px/22px var(--font-unique); color: var(--grey-3); }
.hours.is-open .hours__state { font-family: var(--font-head); font-weight: 400; color: var(--primary); }
.hours__line { display: block; color: var(--grey-2); }
.hours__days { display: inline-block; }
/* while the office is open, the hours follow "We're OPEN" on the same line, without the days */
.hours.is-open .hours__line { display: inline-block; }
.hours.is-open .hours__line.is-other, .hours.is-open .hours__days { display: none; }

/* 18. PICTURE POP-UP (opens when a grid photo is clicked)
   Look, timing, arrow, cross and spinner pictures follow Lightbox2 by Lokesh Dhakar (MIT licence). -- */
.lightbox-veil, .lightbox { --swing: cubic-bezier(.3333, .6667, .6667, 1); }      /* quick start, soft landing — the pace of the original's fades */
.lightbox-veil { position: absolute; top: 0; left: 0; z-index: 9999; display: none; background: #000; opacity: 0; transition: opacity .6s var(--swing); }
.lightbox-veil.is-on { display: block; }
.lightbox-veil.is-open { opacity: .8; }
.lightbox { position: absolute; left: 0; z-index: 10000; display: none; width: 100%; text-align: center; line-height: 0; font-weight: normal; outline: none; opacity: 0; transition: opacity .6s var(--swing); }
.lightbox.is-on { display: block; }
.lightbox.is-open { opacity: 1; }
.lightbox__frame { position: relative; width: 250px; height: 250px; margin: 0 auto; border-radius: 4px; background: #fff; transition: width .7s var(--swing), height .7s var(--swing); }
.lightbox__image { box-sizing: content-box; display: block; max-width: inherit; max-height: none; border: 4px solid #fff; border-radius: 3px; opacity: 0; }
.lightbox.is-shown .lightbox__image { opacity: 1; transition: opacity .6s var(--swing); }
.lightbox__loading { position: absolute; top: 43%; left: 0; width: 100%; height: 25%; background: url("../images/lightbox-loading.gif") center top no-repeat; display: none; }
.lightbox.is-loading .lightbox__loading { display: block; }
.lightbox.was-shown.is-loading .lightbox__loading { animation: lightbox-fade .6s var(--swing) both; }
.lightbox__nav { position: absolute; top: 0; left: 0; z-index: 10; width: 100%; height: 100%; display: none; }
.lightbox.is-shown .lightbox__nav { display: block; }
.lightbox__prev, .lightbox__next { height: 100%; padding: 0; border: 0; cursor: pointer; opacity: 0; transition: opacity .6s; }
.lightbox__prev { float: left; width: 34%; background: url("../images/lightbox-prev.png") left 48% no-repeat; }
.lightbox__next { float: right; width: 64%; background: url("../images/lightbox-next.png") right 48% no-repeat; }
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__prev:focus-visible, .lightbox__next:focus-visible { opacity: 1; }
.lightbox__data { display: flow-root; margin: 0 auto; padding: 5px 4px 0; color: #ccc; opacity: 0; }
.lightbox.is-shown .lightbox__data { opacity: 1; transition: opacity .7s var(--swing); }
.lightbox__details { float: left; width: 85%; text-align: left; line-height: 1.1em; }
.lightbox__caption { font-size: 13px; font-weight: bold; line-height: 1em; }
.lightbox__count { display: block; clear: left; padding-bottom: 1em; font-size: 12px; color: #999; }
.lightbox.is-shown .lightbox__caption, .lightbox.is-shown .lightbox__count { animation: lightbox-fade .2s var(--swing) both; }
.lightbox__close { float: right; width: 30px; height: 30px; padding: 0; border: 0; background: url("../images/lightbox-close.png") top right no-repeat; cursor: pointer; opacity: .7; transition: opacity .2s; }
.lightbox__close:hover { opacity: 1; }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

/* 19. GENTLE MOVEMENT (only when the visitor has not asked for less motion) -- */
.js .rise { opacity: 0; transform: translateY(60px); transition: opacity var(--time, .9s) ease-in-out, transform var(--time, .9s) ease-in-out; transition-delay: var(--delay, .1s); }
.js .rise.is-in { opacity: 1; transform: none; }

.js .wipe { position: relative; display: inline-block; }
.js .wipe--block { display: block; }
.js .wipe > * { opacity: 0; }
.js .wipe[data-wait]:not(.is-in) > * { opacity: 1; }      /* banner words can be read until their wipe begins */
.js .wipe::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--wipe, var(--primary)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.js .wipe.is-in::after { animation: wipe 1s cubic-bezier(.86, 0, .07, 1) var(--delay, 0s) both; }
.js .wipe.is-in > * { animation: wipe-show 0s linear calc(var(--delay, 0s) + .5s) both; }
.js .wipe--rtl.is-in::after { animation-name: wipe-rtl; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 50.01% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@keyframes wipe-rtl { 0% { transform: scaleX(0); transform-origin: 100% 50%; } 50% { transform: scaleX(1); transform-origin: 100% 50%; } 50.01% { transform: scaleX(1); transform-origin: 0 50%; } 100% { transform: scaleX(0); transform-origin: 0 50%; } }
@keyframes wipe-show { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .wipe > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .wipe::after, .scroll-down::before { animation: none !important; }
  .tile__photo img, .grid.is-laid-out .tile { transition: none; }
  .lightbox, .lightbox-veil, .lightbox *, .lightbox.is-shown * { transition: none !important; animation: none !important; }
}

/* 20. "PAGE NOT FOUND" ------------------------------------------------------- */
.notfound { min-height: 70vh; padding-top: 220px; }
.notfound .title { margin-bottom: 20px; }
.notfound ul { margin: 25px var(--pad); }
.notfound li { margin-bottom: 10px; font: 400 18px/26px var(--font-head); color: var(--dark); }
.notfound li a:hover { color: var(--primary); }

/* 21. SCREEN SIZES ----------------------------------------------------------- */

/* big desktop: the home photo sits to the right of the headline */
@media (min-width: 1200px) {
  .hero-home { background-position: 115% 40%; background-size: 70%; }
  .hero-home__text { text-align: left; }
  .hero-home__text .wrap { width: calc(var(--wrap) - 2 * var(--pad)); }
  .headline { font-size: 56.25px; line-height: 1.25; }
  .hero-page { height: 85vh; }
}
@media (min-width: 1101px) {
  .hero-page__title { font-size: 60px; line-height: 90px; margin-bottom: 0; }
}
@media (min-width: 1201px) {
  .hero-page__tagline { font-size: 17px; line-height: 25px; }
}
@media (min-width: 1400px) {
  .hero-home { background-position: 110% 50%; background-size: 60%; }
}
@media (max-width: 1400px) {
  .hero-page__photo { background-position: top center !important; }
}
@media (min-width: 1401px) {
  .hero-page__photo { background-position: center; }
  .quotes::before { background: var(--paper) fixed; }      /* wide screens: the paper texture is tiled and stays put */
}
@media (min-width: 1930px) {
  .quotes::before { background-size: cover; }
}

@media (max-width: 1319px) {
  :root { --wrap: 1200px; --pad: 10px; --text-wide: 880px; --text: 780px; --field: 380px; --quote-indent: 100px; }
  .cta__text { font-size: 2.1vw; }       /* the call-to-action line scales with the screen */
}
@media (min-width: 960px) and (max-width: 1199px) {
  .cta__button { font-size: 18.75px; line-height: 20px; }
}

/* tablets and phones: the menu folds into a button */
@media (max-width: 1199px) {
  :root { --wrap: 960px; --text-wide: 700px; --text: 620px; --field: 300px; --quote-indent: 80px; }
  .site-header { height: 90px; }
  .site-header.is-compact { height: 50px; }
  .site-header__inner { width: auto; max-width: none; margin: 0 40px; }
  .site-logo { top: 18px; transition: top .3s ease-out, left .3s ease-out; }
  .site-logo img { height: 70px; }
  .is-compact .site-logo { top: 5px; left: 20px; }
  .is-compact .site-logo img { height: 42px; }
  .nav-toggle {
    display: block; position: absolute; right: -11px; top: 27.5px;
    width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--grey-4);
    transition: top .3s ease-out;
  }
  .is-compact .nav-toggle { top: 2.5px; }
  .nav-toggle::before { content: ""; position: absolute; left: 11px; top: 9.5px; width: 21.875px; height: 25px; background: currentColor; -webkit-mask: var(--icon-bars) center / contain no-repeat; mask: var(--icon-bars) center / contain no-repeat; }
  .site-nav { float: none; position: absolute; left: 0; right: 0; top: 100%; }
  .is-compact .site-nav { top: 65px; }
  .site-nav ul { display: block; overflow: hidden; max-height: 0; padding: 0 0 0 10px; background: #f5f5f5; transition: max-height .3s ease-out; }
  .site-nav.is-open ul { max-height: 420px; }
  .site-nav a, .is-compact .site-nav a { padding: 16px 0; }
  .no-js .site-nav ul { max-height: none; }

  .hero-home { background-position: 50% -30%; background-size: 700px; }
  .hero-home__text { top: 80%; }
  .headline { font-size: 45px; line-height: 1.1em; }
  .quotes__inner { max-width: 860px; }
}

@media (max-width: 1100px) {
  .grid--thirds .tile { width: calc(50% - 30px); }
}

@media (max-width: 959px) {
  :root { --wrap: 768px; --text-wide: 556px; --text: 492px; --field: 236px; --quote-indent: 64px; }
  .hero-home { background-position: 50% -15%; }
  .hero-home__text { top: 75%; }
  .headline { font-size: 44.25px; line-height: 1.15em; }
  .strike { font-size: 30px; }
  .quotes__inner { max-width: 684px; }
  .site-footer__logo img { width: 145px; }
  .social li { width: 25px; }
}

@media (max-width: 767px) {
  :root { --wrap: 420px; --pad: 0px; --text-wide: none; --text: none; --field: 100%; --quote-indent: 0px; }
  .text { margin: 10px 0; }
  .hero-home { background-position: 50% 5%; background-size: 375px; }
  .hero-home__text { top: 50%; }
  .headline { font-size: 41.25px; line-height: 1.1em; margin-top: 130px; }
  .strike { font-size: .7em; }
  .hero-page__title { margin-left: 0; margin-right: 0; }
  .hero-page__tagline-row { margin: 0; }
  .filter { margin: 10px 0; }
  .grid .tile { width: 100%; margin-left: 0; margin-right: 0; }         /* one picture per row, centred */
  .quotes__inner { margin: 10px 0; max-width: none; }
  .site-footer__logo img { width: 217px; }
  .cta { margin: 10px 0; padding: 25px; }
  .cta__button { font-size: 17.25px; line-height: 19px; }
  .pager { margin: 10px 0; }
  .field, .field--wide { margin: 10px 0; width: 100%; }
  .form__actions { margin: 10px 0; }
  .text--nested { margin: 20px 0 35px; }
  .text + .text--nested { margin-top: 30px; }
  .form__status { margin: 15px 0; }
  .site-footer__cols { display: block; }
  .site-footer__col { margin: 0; padding: 10px 0 15px; }
  .site-footer__logo { margin-bottom: 8px; }
}

@media (max-width: 600px) {
  .grid--halves .tile { width: calc(100% - 30px); margin-left: 14px; margin-right: 15px; }
  .headline { font-size: 26px; line-height: 38px; }
  .strike { font-size: 18px; }
  .hero-page__tagline { font-size: 14px; line-height: 18px; }
}

@media (max-width: 479px) {
  :root { --wrap: 300px; }
  /* phones: the call-to-action line sits above its button (side by side the words would be too small to read) */
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__text { font-size: 20px; line-height: 26px; }
  .cta__button { font-size: 20.25px; line-height: 22px; }
  .hero-home { background-position: 105% 100%; background-size: 90%; }
  .headline { margin-top: 0; }
}

@media (max-width: 319px) {
  :root { --wrap: 220px; }
}

/* 22. REVERSE RECRUITER PAGE --------------------------------------------------
   This one page keeps the larger, darker text and the narrower column it has
   on the old site (where a second stylesheet changed them for this page only).
   Delete this whole section and the page takes the look of the other pages. */
.page-reverse { color: #2d2d2d; font: 300 18px/27px sans-serif; }
.page-reverse .wrap { width: auto; max-width: 1280px; padding: 0 20px; }
.page-reverse .title { font-size: 36px; margin-top: 24.12px; }
.page-reverse .subtitle { font-size: 33.84px; }
.page-reverse .text p { font: 300 18px/30px sans-serif; color: #2d2d2d; }
.page-reverse .text strong.brand { font-weight: 400; }
.page-reverse .cta, .page-reverse .pager { width: calc(var(--wrap) - 2 * var(--pad)); max-width: calc(100% - 2 * var(--pad)); }
.page-reverse .cta__button { font-size: 24.3px; line-height: 26px; }
.page-reverse #intro .wrap { display: flow-root; }      /* keeps the gap under the text separate from the gap above the boxes */
.page-reverse .site-footer p { font-size: 18px; line-height: 30px; margin-bottom: 27px; }
.page-reverse .site-footer p.site-footer__name strong { font-weight: 400; }
.page-reverse .social { margin-left: 54px; column-gap: 5px; }
.page-reverse .site-footer .icon--envelope { margin-right: 5px; }
.page-reverse .hours__state { font-size: 18px; line-height: 27px; }
.page-reverse .side-phone { line-height: 30px; }
@media (min-width: 1024px) {
  .page-reverse .wrap { padding: 0 60px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .page-reverse .cta__button { font-size: 22.5px; line-height: 25px; }
}
@media (max-width: 767px) {
  .page-reverse .cta__button { font-size: 20.7px; line-height: 22px; }
  /* the text keeps its narrow column, at the left */
  .page-reverse .hero-page__title { width: max-content; max-width: var(--wrap); min-width: min-content; }   /* never narrower than its longest word, so both lines stay centred on each other */
  .page-reverse .hero-page__tagline-row, .page-reverse .text, .page-reverse .cta, .page-reverse .pager { width: var(--wrap); max-width: none; }
  .page-reverse .site-footer__cols { display: flow-root; }                     /* the footer blocks sit side by side where there is room */
  .page-reverse .site-footer__col { float: left; margin: 10px 0 15px; padding: 0; }
}
@media (max-width: 479px) {
  .page-reverse .cta__button { font-size: 24.3px; line-height: 26px; }
}
