/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #585857;
  font-size: 16px;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   McHardy & Cox
   ========================================================================== */

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  :root { font-family: 'Inter var', sans-serif; }
}

html {
  color: #1d1d1b;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

html.with-fancybox {
  scroll-behavior: auto;
}

a {
  text-decoration: none;
  color: #89804a;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

* {
  font-variant-ligatures: none;
}

body, input, textarea {
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-weight: bold;
}

em {
  font-style: normal;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: museo-slab, serif;
  font-weight: 500;
}

ul {
  list-style: none;
}

button,
a {
  transition: all 0.25s;
}

.container {
  max-width: 1160px; /* 1080px */
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.header {
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  background-color: #8e191a;
}

.header__main {
  display: flex;
  justify-content: flex-end;
  height: 100%;
}

.header__main > div {
  padding: 40px 80px 40px 40px;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.header__main > div > div:first-of-type {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.header__main > div > div:first-of-type > div:last-of-type {
  text-align: right;
  font-family: museo-slab, serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  padding-top: 40px;
}

.header__main > div > div > div:last-of-type em {
  color: #c4ab7b;
}

.header__main > div > div > div:last-of-type a {
  color: #fff;
}

.header__main > div .logo {
  width: 126px;
}

.header__main > div > div:last-of-type > div:first-of-type {
  margin-bottom: 64px;
}

.header__main > div > div:last-of-type > div:first-of-type h4 {
  color: #c4ab7b;
  font-size: 0.625rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.header__main > div > div:last-of-type > div:first-of-type h1 {
  color: #fff;
  font-size: 2.125rem;
  line-height: 1.25;
}

.header__main > div > div:last-of-type > div:last-of-type ul {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.header__main > div > div:last-of-type > div:last-of-type ul li {
  color: #fff;
  font-family: museo-slab, serif;
  font-weight: 500;
  font-size: 1rem;
}

.header__main > div > div:last-of-type > div:last-of-type ul li:before {
  content: '|';
  color: #c4ab7b;
  padding-right: 8px;
}

.header__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-start;
  height: 100%;
}

.header__image > div {
  padding: 80px 40px 40px 40px;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.header__image > div a {
  background-color: #8e191a;
  padding: 16px 28px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: museo-slab, serif;
  font-weight: 500;
}

.textImage {
  padding: 96px 0;
}

.textImage__columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.textImage__columns > div {
  width: 50%;
}

.textImage__columns > div:first-of-type {
  padding-right: 80px;
}

.textImage__columns__image {
  padding: 28px 28px 0 0;
  background-position: right top;
  background-repeat: no-repeat;
  background-image: url(/img/about-us.svg);
}

.body h1,
.body h2,
.body h3 {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 28px;
}

.body h4 {
  font-size: 0.625rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: #8e191a;
}

.body p {
  font-size: 0.875rem;
  color: #666a72;
  line-height: 1.75;
  margin-bottom: 20px;
}

.body > :last-child {
  margin-bottom: 0;
}

.services {
  padding: 96px 0;
  background-color: #f2f2f2;
}

.services__heading {
  margin-bottom: 64px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-gap: 18px;
}

.services__grid__item__image {
  margin-bottom: 28px;
}

.services__grid__item__body h3 {
  font-size: 1.125rem;
  color: #8e191a;
  margin-bottom: 20px;
}

.list {
  padding: 96px 0;
}

.list__heading {
  margin-bottom: 64px;
}

.list__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-column-gap: 18px;
  margin-bottom: 64px;
}

.list__grid__item {
  border-bottom: 1px solid #f2f2f2;
  padding: 20px 28px 20px 36px;
  font-family: museo-slab, serif;
  font-weight: 500;
  background-position: left 16px center;
  background-repeat: no-repeat;
  background-image: url(/img/list.svg);
  font-size: 1rem;
  line-height: 1.625;
}

.list__grid__item:nth-of-type(1),
.list__grid__item:nth-of-type(2),
.list__grid__item:nth-of-type(3) {
  border-top: 1px solid #f2f2f2;
}

.mcHardyFinancial {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2;
  border-left: 2px solid #002169;
  padding: 32px 40px;
}

.mcHardyFinancial > img {
  width: 180px;
}

.mcHardyFinancial > div {
  width: calc(100% - 420px);
}

.mcHardyFinancial > a {
  background-color: #002169;
  padding: 16px 28px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: museo-slab, serif;
  font-weight: 500;
}

.mcHardyFinancial h4 {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.contact {
  padding: 96px 0;
  background-color: #8f191a;
}

.contact__columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contact__columns > div {
  width: 50%;
}

.contact__columns > div:first-of-type {
  padding-right: 80px;
}

.contact__columns > div:first-of-type .body {
  margin-bottom: 48px;
}

.contact__columns > div:first-of-type .body h4 {
  color: #c4ab7b;
}

.contact__columns > div:first-of-type .body h2,
.contact__columns > div:first-of-type .body p {
  color: #fff;
}

.chrisKoo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.chrisKoo > img {
  width: 132px;
  margin-right: 28px;
}

.chrisKoo h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: #c4ab7b;
}

.chrisKoo p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.chrisKoo p a {
  color: #fff;
}

.chrisKoo p em {
  color: #c4ab7b;
}

.inputs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.inputs > div {
  width: calc(50% - 12px);
}

.pure-form input[type="text"],
.pure-form input[type="email"] {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #fff;
  font-size: 0.875rem;
  color: #000;
  border-radius: 0;
  width: 100%;
}

.pure-form label {
  display: block;
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: museo-slab, serif;
  font-weight: 500;
  color: #c4ab7b;
}

.pure-form textarea {
  padding: 16px 20px;
  border: 1px solid #fff;
  font-size: 0.875rem;
  color: #000;
  border-radius: 0;
  width: 100%;
  height: 180px;
  line-height: 1.75;
}

.buttons {
  display: flex;
  justify-content: flex-start;
}

.pure-form button {
  border: 0;
  padding: 16px 28px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: museo-slab, serif;
  font-weight: 500;
  border-radius: 0;
  background-color: #c4ab7b;
}

.textarea {
  margin-bottom: 40px;
}

footer {
  padding-bottom: 48px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #f2f2f2;
}

.footer > img {
  width: 126px;
  margin-bottom: 40px;
  margin-top: -48px;
}

.footer p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.legal p {
  font-size: 0.75rem;
  line-height: 2;
}

.legal p span {
  padding: 0 8px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *  `contenteditable` attribute is included anywhere else in the document.
 *  Otherwise it causes space to appear at the top and bottom of elements
 *  that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *  `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
     (-webkit-min-device-pixel-ratio: 1.25),
     (-o-min-device-pixel-ratio: 5/4),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
