:root {
  --headlineFont: "Playfair Display", Georgia, Sans Serif;
  --bodyFont: Poppins, Arial, Serif;
  --signatureFont: "Great Vibes", Georgia, Sans Serif;

  --navBarDesktopFontSize: 16px;
  --navBarMobileFontSize: 22px;

  --heroFontSizeH1: 48px;
  --heroFontSizeH2: 32px;
  --heroFontSizeP: 15px;
  --heroTaglineFontSizeH1: 32px;
  --heroLogoFontSizeH1: 48px;

  --promiseFontSizeH1: 38px;
  --promiseFontSizeH2: 32px;
  --promiseFontSizeP: 15px;
  --promiseLogoFontSizeH1: 48px;

  --introFontSizeH1: 38px;
  --introFontSizeH2: 32px;
  --introFontSizeP: 15px;
  --introSignatureFontSizeH5: 15px;
  --introSignatureFontSizeH6: 21px;

  --testimonialFontSizeH1: 28px;
  --testimonialFontSizeH2: 18px;
  --testimonialFontSizeP: 15px;

  --servicesFontSizeH1: 48px;
  --servicesFontSizeH2: 32px;
  --servicesFontSizeH3: 21px;
  --servicesFontSizeP: 15px;

  --portfolioFontSizeH1: 48px;
  --portfolioFontSizeH2: 32px;
  --portfolioFontSizeH3: 21px;
  --portfolioFontSizeP: 18px;

  --portfolioHeadFontSizeH1: 38px;
}


@media screen and (max-width: 736px) {

  :root {
    --heroFontSizeH1: 32px;
    --heroFontSizeH2: 28px;
    --heroFontSizeP: 15px;
    --heroTaglineFontSizeH1: 28px;
    --heroLogoFontSizeH1: 32px;

    --introFontSizeH1: 32px;
    --introFontSizeH2: 28px;
    --introFontSizeP: 15px;
    --introSignatureFontSizeH5: 15px;
    --introSignatureFontSizeH6: 15px;

    --testimonialFontSizeH1: 21px;
    --testimonialFontSizeH2: 17px;
    --testimonialFontSizeP: 15px;

    --servicesFontSizeH1: 28px;
    --servicesFontSizeH2: 24px;
    --servicesFontSizeH3: 18px;
    --servicesFontSizeP: 15px;

    --portfolioFontSizeH1: 32px;
    --portfolioFontSizeH2: 28px;
    --portfolioFontSizeH3: 21px;
    --portfolioFontSizeP: 18px;

    --portfolioHeadFontSizeH1: 32px;
  }

}


/* GLOBALS */

.full-bleed-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: -moz-flex;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.bg-light {
  background-color: #fff !important;
}

.bg-contrast {
  background-color: #d2d5d9 !important;
}

.bg-footer {
  background-color: #444 !important;
}


.image-grid {
  display: grid;
  gap: 8px;
  grid-auto-rows: 150px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: column dense;
}

.image-grid-cell {
  background-position: center;
  background-size: cover;
}

.image-grid-cell-2h {
  grid-row: span 2 / span 2;
  background-position: center;
  background-size: cover;
}

.image-grid-cell-2w {
  grid-column: span 2 / span 2;
  background-position: center;
  background-size: cover;
}

.image-grid-cell-2w2h {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  background-position: center;
  background-size: cover;
}

/* NAVBAR */

.navbar {
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-nav a {

  font-family: var(--bodyFont);

  text-decoration: none;
}

.navbar-nav a:link {
  color: #fff;
}

.navbar-nav a:visited {
  color: #fff;
}

.navbar-nav a:hover {
  color: #ccc;
}

.navbar-nav a:active {
  color: #fff;
}

/* Desktop */
@media all and (min-width: 992px) {
  .navbar-nav a {
    font-size: var(--navBarDesktopFontSize);
    line-height: calc(var(--navBarDesktopFontSize)*1.2);

    padding-left: 12px;
    padding-right: 12px;

    padding-top: 4px;
    padding-bottom: 4px;
  }
}

/* Mobile */
@media not all and (min-width: 992px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav a {
    font-size: var(--navBarMobileFontSize);
    line-height: calc(var(--navBarMobileFontSize)*2.4);

    padding-left: 12px;
    padding-right: 12px;

    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* HERO */

.hero-content h1 {
  font-size: var(--heroFontSizeH1);
  font-family: var(--headlineFont);
  line-height: calc(var(--heroFontSizeH1)*1.2);
  text-shadow: 0 2px 50px #000;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: .5px;
  font-weight: 300;
}

.hero-content h2 {
  font-size: var(--heroFontSizeH2);
  font-family: var(--headlineFont);
  line-height: calc(var(--heroFontSizeH2)*1.2);
  text-shadow: 0 2px 50px #000;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: .5px;
  font-weight: 300;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: var(--heroFontSizeP);
  font-family: var(--bodyFont);
  line-height: calc(var(--heroFontSizeP)*1.8);
  text-shadow: 0 2px 50px #000;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: .5px;
  font-weight: 300;
}

.hero-tagline h1 {
  color: white;
  text-transform: uppercase;
  font-size: var(--heroTaglineFontSizeH1);
  letter-spacing: 5px;
  font-weight: 100;
  text-shadow: 0 2px 50px #000;
}

.hero-logo h1 {
  font-size: var(--heroLogoFontSizeH1);
  line-height: calc(var(--heroLogoFontSizeH1)*1.2);
  font-family: var(--headlineFont);
  color: #fff;
  letter-spacing: calc(var(--heroLogoFontSizeH1)* -0.1);
  text-shadow: 0 2px 50px #000;
}


/* PROMISE */

.promise h1 {
  font-size: var(--promiseFontSizeH1);
  font-family: var(--headlineFont);
  line-height: calc(var(--promiseFontSizeH1)*1.2);
  color: #333331;
  margin-bottom: 0;
  letter-spacing: .5px;
  font-weight: 300;
}

.promise h2 {
  font-family: var(--headlineFont);
  font-size: var(--promiseFontSizeH2);
  color: #333331;
  letter-spacing: 0;
  line-height: calc(var(--promiseFontSizeH2)*1.2);
  margin-bottom: 48px;
  margin-top: 16px;
}

.promise p {
  font-family: var(--bodyFont);
  font-size: var(--promiseFontSizeP);
  color: #333331;
  letter-spacing: 0;
  line-height: calc(var(--promiseFontSizeP)*1.8);
  margin-bottom: 48px;
  margin-top: 16px;
}


.promise-logo h1 {
  font-size: var(--promiseLogoFontSizeH1);
  line-height: calc(var(--promiseLogoFontSizeH1)*1.2);
  font-family: var(--headlineFont);
  color: #333331;
  letter-spacing: calc(var(--promiseLogoFontSizeH1)* -0.1);
  /* text-shadow: 0 2px 50px #000;  */
}

/* INTRO */

.intro-content h1 {
  font-size: var(--introFontSizeH1);
  font-family: var(--headlineFont);
  line-height: calc(var(--introFontSizeH1)*1.2);
  color: #444;
  margin-bottom: 0;
  letter-spacing: .5px;
  font-weight: 300;
}

.intro-content h2 {
  font-family: var(--bodyFont);
  font-size: var(--introFontSizeH2);
  color: #d2d5d9;
  letter-spacing: 0;
  line-height: calc(var(--introFontSizeH2)*1.2);
  margin-bottom: 48px;
  margin-top: 16px;
}

.intro-content p {
  font-family: var(--bodyFont);
  font-size: var(--introFontSizeP);
  color: #8b8984;
  letter-spacing: 0;
  line-height: calc(var(--introFontSizeP)*1.8);

  margin-top: 16px;
}

.intro-content-signature h5 {
  font-family: var(--bodyFont);
  font-size: var(--introSignatureFontSizeH5);
  font-weight: 600;
  color: #8b8984;
  letter-spacing: 0;
  line-height: calc(var(--introSignatureFontSizeH5)*1.2);
  /* margin-top: 48px; */
  margin-bottom: 0;
}

.intro-content-signature h6 {
  font-family: var(--signatureFont);
  font-size: var(--introSignatureFontSizeH6);
  color: #8b8984;
  letter-spacing: 0;
  line-height: calc(var(--introSignatureFontSizeH6)*1.2);
  margin-bottom: 0;
  margin-top: 0;
}


/* SERVICES */

.services h1 {
  font-size: var(--servicesFontSizeH1);
  line-height: calc(var(--servicesFontSizeH1)*1.2);
  font-family: var(--headlineFont);
  color: #fff;
  letter-spacing: .5px;
  font-weight: 300;
  text-shadow: 0 2px 50px #000;
  margin-top: 12px;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 12px;
}

.services h2 {
  color: #d2d5d9;
  font-size: var(--servicesFontSizeH2);
  display: block;
  line-height: calc(var(--servicesFontSizeH2)*1.2);
  font-family: var(--headlineFont);
  font-weight: 100;
  text-shadow: 0 2px 50px #000;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 4px;
}

.services h3 {
  color: #fff;
  font-size: var(--servicesFontSizeH3);
  font-weight: normal;
  line-height: calc(var(--servicesFontSizeH3)*1.8);
  text-shadow: 0 2px 50px #000;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 32px;
}

.services p {
  color: #fff;
  font-size: var(--servicesFontSizeP);
  line-height: calc(var(--servicesFontSizeP)*1.2);
  text-shadow: 0 2px 50px #000;
  margin-bottom: 12px;
}

/* SERVICES CAROUSEL OVERRIDE FOR DJANGO CMS */
.d-md-block {
  display: block !important;
}



/* TESTIMONIALS */

.testimonial h1 {
  display: block;
  position: relative;
  font-family: var(--headlineFont);
  font-weight: 300;
  font-size: var(--testimonialFontSizeH1);
  line-height: calc(var(--testimonialFontSizeH1)*1.2);
  color: #333331;
  text-align: center;
  margin-bottom: 12px;
  z-index: 10;
}

.testimonial h2 {
  font-family: var(--headlineFont);
  font-weight: 600;
  font-size: var(--testimonialFontSizeH2);
  line-height: calc(var(--testimonialFontSizeH2)*1.2);
  color: #333331;
  text-align: center;
  margin-bottom: 4px;
  z-index: 10;
}

.testimonial p {
  font-family: var(--bodyFont);
  font-size: var(--testimonialFontSizeP);
  line-height: calc(var(--testimonialFontSizeP)*1.2);
  color: #333331;
  text-align: center;
  margin-bottom: 48px;
  z-index: 10;
}


/* PORTFOLIO */

.portfolio h1 {
  font-size: var(--portfolioFontSizeH1);
  line-height: calc(var(--portfolioFontSizeH1)*1.2);
  font-family: var(--headlineFont);
  color: #333331;
  letter-spacing: .5px;
  font-weight: 300;
  /* text-shadow: 0 2px 50px #000;  */
  margin-bottom: 12px;
}

.portfolio h2 {
  color: #333331;
  font-size: var(--portfolioFontSizeH2);
  display: block;
  line-height: calc(var(--portfolioFontSizeH2)*1.2);
  font-family: var(--headlineFont);
  font-weight: 100;
  /* text-shadow: 0 2px 50px #000;  */
  margin-bottom: 4px;
}

.portfolio h3 {
  color: #fff;
  font-size: var(--portfolioFontSizeH3);
  font-weight: normal;
  line-height: calc(var(--portfolioFontSizeH3)*1.8);
  /* text-shadow: 0 2px 50px #000;  */
  margin-bottom: 48px;
}

.portfolio p {
  font-family: var(--bodyFont);
  color: #8b8984;
  font-size: var(--portfolioFontSizeP);
  line-height: calc(var(--portfolioFontSizeP)*1.8);
  letter-spacing: 0;
  /* text-shadow: 0 2px 50px #000;  */
  margin-bottom: 16px;
  margin-top: 16px;
}

.portfolio-head h1 {
  color: #fff;
  font-family: var(--headlineFont);
  font-size: var(--portfolioHeadFontSizeH1);
  font-weight: 300;
  line-height: calc(var(--portfolioHeadFontSizeH1)*1.8);
  letter-spacing: .5px;
  text-shadow: 0 2px 50px #000;
  padding-top: 62px;
  margin-bottom: 48px;
}

/* FOOTER */

.footer p {
  font-family: var(--bodyFont);
  font-size: var(--introFontSizeP);
  line-height: calc(var(--introFontSizeP)*1.2);
  color: #fff;
  letter-spacing: 0;
}

.footer-logo h1 {
  font-size: var(--heroLogoFontSizeH1);
  line-height: calc(var(--heroLogoFontSizeH1)*1.2);
  font-family: var(--headlineFont);
  color: #fff;
  letter-spacing: calc(var(--heroLogoFontSizeH1)* -0.1);
  text-shadow: 0 2px 50px #000;
}
