/*-- -------------------------- -->
<---          Landing           -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  #hero {
    font-size: inherit;
    padding-bottom: 16.875em;
    padding-top: 9.375em;
    position: relative;
    z-index: 1;
  }
  #hero:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(46, 33, 25, 0.86) 0%, rgba(46, 33, 25, 0.6) 60%, rgba(46, 33, 25, 0.45) 100%);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -10;
  }
  #hero picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -11;
  }
  #hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #hero .hero-content {
    width: 96%;
    max-width: 71.5em;
    margin: auto;
    position: relative;
    z-index: 10;
    text-align: center;
  }
  #hero .hero-content {
    padding: 0;
  }
  #hero .heroText {
    width: 100%;
    margin: auto;
    max-width: 56.875em;
  }
  #hero h1 {
    font-weight: 600;
    font-size: min(12vw, 4em);
    color: #fff;
    text-align: center;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: auto;
    width: 100%;
    max-width: 14.125em;
    margin-bottom: 0.65625em;
    position: relative;
  }
  #hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625em;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.6875em;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primaryShade);
    margin-bottom: 1.625em;
  }
  #hero .eyebrow:before {
    content: '';
    display: block;
    width: 2.125em;
    height: 1px;
    background: currentColor;
    opacity: 0.8;
  }
  #hero p {
    line-height: 1.55em;
    margin: auto;
    margin-bottom: 1.72222222em;
    color: #fff;
    width: 100%;
    text-align: center;
    max-width: 34.27777778em;
    opacity: 1;
  }
  #hero .button-solid {
    margin: auto;
    display: inline-block;
    width: auto;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  #hero {
    padding: 12.5em 0 18.75em 0;
    z-index: 1;
    overflow: hidden;
  }
  #hero .hero-content {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
}
/* Small Desktop */
@media only screen and (min-width: 1300px) {
  #hero {
    padding-top: 17.0625em;
    padding-bottom: 19.1875em;
  }
  #hero .hero-content {
    justify-content: flex-start;
    text-align: left;
  }
  #hero .heroText {
    margin: 0;
  }
  #hero h1 {
    text-align: left;
    margin-left: 0;
    max-width: 12.1875em;
  }
  #hero p {
    text-align: left;
    margin-left: 0;
  }
  #hero .eyebrow {
    margin-left: 0;
  }
  #hero .button-solid {
    margin-left: 0;
  }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile */
@media only screen and (min-width: 0em) {
  .services {
    border-radius: 1.5em;
    margin: auto;
    margin-top: -9.375em;
    position: relative;
    z-index: 100;
    background: #FFFBF4;
    width: 90%;
    max-width: 82.5em;
    padding: 3.375em 1.625em;
    border: 1px solid rgba(122, 69, 32, 0.12);
    box-shadow: 0 24px 60px rgba(46, 33, 25, 0.1);
    margin-bottom: 3.125em;
  }
  .services .card {
    display: block;
    width: 100%;
    max-width: 22.3125em;
    margin: auto;
    margin-bottom: 2.875em;
  }
  .services .card:last-of-type {
    margin-bottom: 0;
  }
  .services .card picture {
    background: var(--primary);
    width: 4.875em;
    height: 4.875em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1.375em;
    border-radius: 50%;
  }
  .services .card picture img {
    width: 2.75em;
    height: 2.75em;
  }
  .services .card h2 {
    text-align: center;
    font-size: 1.75em;
    line-height: 1.15;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.6em;
  }
  .services .card p {
    text-align: center;
    line-height: 1.33333333em;
    width: 100%;
    opacity: 0.7;
  }
}
/* Inbetween */
@media only screen and (min-width: 768px) {
  .services {
    font-size: min(1.8vw, 1em);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 98%;
  }
  .services .card {
    margin: 0;
    max-width: 20.3125em;
    padding: 0 2.125em;
  }
  .services .card:first-of-type {
    padding-left: 0;
  }
  .services .card:last-of-type {
    padding-right: 0;
  }
  .services .card + .card {
    border-left: 1px dashed rgba(122, 69, 32, 0.22);
  }
}
/* Large Desktop */
@media only screen and (min-width: 1300px) {
  .services {
    padding: 3.125em 5em;
  }
  .services .card {
    max-width: 22.3125em;
  }
}
/* Dark mode */
@media only screen and (min-width: 0em) {
  body.dark-mode #services {
    background: var(--medium);
  }
  body.dark-mode #services picture {
    background: var(--primaryDark);
  }
  body.dark-mode #services h2 {
    color: #fff;
    font-weight: bold;
  }
}
