/**
 * @file
 * custom.css
 * 
 * Layout and Theme styles for the entire site
 * 
 * -------------------------------------------------
 * Attached thru `.info.yml`
 *
 ============================================================================ */

/**
 * Global
 ========================================*/

 :root {
  --color--neutrel-bk: #F4EDE5;
  --color--body-bk: #fff;
  --border-radius--default: 1.25rem;
  --font--header-default: "Inter", sans-serif;
  --font--fancy: 'CooperBTLight', serif;
}

 html, body {
  font-family: var(--font--header-default);
  line-height: 1.2;
  font-size: 16px;
  color: #342F2F;
  font-optical-sizing: auto;
   background-color: var(--color--body-bk);
}

a#main-content {  display: block;  }

/**
 * Helper Classes
 ========================================*/

em {
  font-family: var(--font--fancy);
  font-style: normal;
}

/* Has Background */
.group--has-background {
  background: var(--color--neutrel-bk);
  border-radius: var(--border-radius--default);
}

/**
 * Links (has classes)
 *----------------------------*/

a {
  color: #3d86c5;
  text-decoration: none;
  -webkit-transition: all .4s;
  transition: all .4s;
  display: inline-block;
  vertical-align: bottom;
  background-color: transparent;
}

a:hover {
  color: inherit;
  opacity: .7;
  text-decoration: none;
}

/* Shorthand classes */
.no-fade a:hover {  opacity: 1;  }

.links-inherit a {  color: inherit;  }

/**
 * Headers
 *----------------------------*/
h1,
.text--h1 {
  font-family: var(--font--header-default);
  font-size: 5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
}

.text--subheading-1 {
  font-family: var(--font--fancy);
  font-size: 3.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

h2,
.text--h2 {
  font-family: var(--font--header-default);
  font-size: 3.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.text--subheading-2 {
  font-family: var(--font--header-default);
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
}

h3 {
  font: 500 1.3em/1.5 'Roboto', Helvetica, sans-serif;
}

h4 {
  font: 500 1.2em 'Roboto', Helvetica, sans-serif;
}

.text--fancy {
  font-family: var(--text-fancy);
}

.text--caption {
  font-family: Inter;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}


/**
 *  Sections
 */

/* Header */
.header-inner {
  padding-top: 3.31rem;
  padding-bottom: 3.91rem;
  align-items: center;
  gap: 3.5rem;
}

.menu-name--main {
  display: flex;
  gap: 3.13rem;
}

footer {
  background: url('./images/footer-mountain.svg');
  background-size: 100%;
  margin-top: 10.88rem;
}

.footer-inner {  display: block;  }

.main-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 54vw;
  padding-top: 29%;
  padding-bottom: 4%;
}

.footer__cta {
  text-align: center;
}

.footer__cta div {
  padding-top: 3.4%;
  padding-right: 5%;
}

.footer__infos {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.footer__info:nth-child(2) {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/**
 * Front Page
 */
.path-front #block-letsgo-page-title {
  display: none;
}

.hero, .about, .specialty-wrapper, .cases-wrapper {
  margin: 0 0 6.12rem;
}


/**
 * About Us
 *----------------------------*/
.about {
  color: #342F2F;
  max-width: 65rem;
}

.about strong {
  font-family: var(--font--fancy);
  font-weight: normal;
  display: inline-flex;
  padding: 0.94rem 1.56rem;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  border-radius: 3.125rem;
  border: 2px dashed #000;
  line-height: 0.8;
  margin: 0 1.5rem 1.25rem 0;
}

.about strong:nth-of-type(1):before {
  content: url("./images/tech.svg");
  line-height: 0;
  font-size: 1.1em;
}

.about strong:nth-of-type(2):before {
  content: url("./images/business.svg");
}

.about strong:nth-of-type(3):before {
  content: url("./images/give-love.svg");
}

.about strong:nth-of-type(4):before {
  content: url("./images/consult.svg");
}
.about p:last-child strong:nth-of-type(1):before {
  content: url("./images/location.svg");
}

/**
 * Our Specialty
 *----------------------------*/
.specialty-wrapper {
  --specialty-height: 50rem;
  --specialty-vertical-padding: calc((100vh - var(--specialty-height))/2);
  position: relative;
}

.specialty-background {
  height: 100vh;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  mix-blend-mode: normal;
}

.specialty-background-inner {
  height: var(--specialty-height);
  z-index: 5;
  position: relative;
}

.specialty .view-content:before {
  content: "";
  position: absolute;
  height: var(--specialty-vertical-padding);
  width: 100%;
  background-color: var(--color--body-bk);
  top: 0;
  z-index: 10;
}

.specialty {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  padding: 0 6.88rem;
  margin-top: -100svh;
  min-height: 100svh;
  position: relative;
}

.specialty__header {
  max-width: 31.5rem;
  padding: 6.88rem 0;
  position: sticky;
  top: 0;
  z-index: 5;
  align-self: flex-start;
}

.specialty__header em {
  position: relative;
}

.specialty__header em:nth-of-type(1):after {
  content: url('./images/sparkles.svg');
  position: absolute;
  top: -2.5rem;
  right: -2.7rem;
}

.specialty__header em:nth-of-type(3):after {
  content: url('./images/checkmark.svg');
  position: absolute;
  top: -14%;
  right: 52%;
}

/* Specialty - Websites */
.specialty .wp-block-group {
  max-width: 23.9rem;
  z-index: 3;
  position: relative;
}

.specialty .block__title {  display: none;  }

.specialty .view-content {
  display: flex;
  flex-direction: column;
  gap: 1.88rem;
  padding: var(--specialty-vertical-padding) 0;
}

/**
 * Case Studies
 *----------------------------*/
.case .text--h2 {
  margin: 0;
}

.cases-wrapper {
  overflow: hidden;
}

.cases {
  display: flex;
  width: 170%;
  gap: 1.88rem;
}

.case {
  padding: 5rem 3.12rem;
  border: 2px solid;
  border-radius: var(--border-radius--default);
}

.case__tag {
  margin: 0 0 1.37rem;
}

.case__tag:before {
  content: url("./images/business.svg");
  margin-right: 0.92rem;
}

/**
 * Process
 *----------------------------*/
.process {
  padding: 3.12rem 5rem 6.25rem;
}

.process__slide {
  display: flex;
  gap: 3.12rem;
  margin-top: 5.58rem;
}

.process__slide > .wp-block-image {
  flex: 2 1 37.8rem;
}

.process__slide > .wp-block-group {
  flex: 1 1 32rem;
}


/**
 * Responsive
 ========================================*/
 @media screen and (min-width: 900px) {

  .layout-sidebar {
    width: 21em;
    min-width: 21em;
    opacity: .9;
    margin-left: 2em;
  }
}