/* Mise en page — home */

.hero .eyebrow {
  color: var(--color-accent);
  margin-bottom: 28px;
}

.hero {
  background: var(--color-deep);
  color: var(--color-paper);
}

.hero__image {
  object-position: center 48%;
}

.hero::after {
  background: linear-gradient(
    90deg,
    rgba(23, 25, 23, 0.99) 5%,
    rgba(23, 25, 23, 0.93) 37%,
    rgba(23, 25, 23, 0.58) 68%,
    rgba(23, 25, 23, 0.35)
  );
}

.hero__inner {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 100px;
  align-items: center;
  padding: 65px 0px 70px;
}

.hero__copy > p:not(.eyebrow):not(.heading-style) {
  color: rgb(208, 209, 203);
  max-width: 505px;
  margin-top: 27px;
  font-size: 17px;
}

.hero h1,
.hero .heading-style {
  max-width: 710px;
}

.hero__bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-muted);
  padding: 20px 0px;
  color: rgb(196, 198, 189);
  font-size: 12px;
  letter-spacing: 1px;
}

.hero__bottom a {
  color: var(--color-accent);
}

.expertise {
  background: var(--color-panel);
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 24px;
}

.expertise__card {
  border: 1px solid rgb(83, 90, 71);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  transition:
    background 0.25s,
    border-color 0.25s;
  padding: 35px 38px;
  display: flex;
  flex-direction: column;
}

.expertise__card:hover {
  background: rgba(201, 168, 106, 0.055);
  border-color: var(--color-accent);
}

.expertise__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.expertise__card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(114, 103, 71);
  color: var(--color-accent);
}

.expertise__card-number {
  font:
    60px / 1 Georgia,
    serif;
  color: rgb(131, 118, 88);
}

.expertise__card-label {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--color-accent) !important;
}

.expertise__card h3 {
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin-bottom: 22px;
  font-size: 31px;
  max-width: 460px;
}

.expertise__card > p:not(.expertise__card-label) {
  max-width: 460px;
  font-size: 16px;
  min-height: 0px;
}

.expertise__card .text-link {
  display: flex;
  border-bottom: 0px;
  border-top: 1px solid rgb(143, 123, 82);
  margin-top: auto;
  padding-top: 24px;
}

.home-intro {
  background: var(--color-background);
}

.home-intro .photo-frame img {
  height: 480px;
}

.expertise__card > p:last-of-type {
  padding-bottom: 26px;
}

.page--home main > .hero:first-child {
  padding-top: var(--header-height);
}

.home-team__photo img {
  object-position: center center;
  height: 450px;
}

.relationship {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 85px;
}

.page--home .hero {
  overflow: hidden;
}

/* Responsive */

@media (min-width: 1600px) {
  .hero__inner {
    min-height: 780px;
  }
}

@media (max-width: 1100px) {
  .hero__inner {
    gap: 45px;
    grid-template-columns: 1.25fr 1fr;
  }

  .hero .heading-style {
    font-size: 60px;
  }

  .relationship {
    gap: 50px;
  }
}

@media (max-width: 800px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 50px 0px;
    gap: 40px;
  }

  .hero .heading-style {
    font-size: clamp(46px, 8.5vw, 68px);
    letter-spacing: -1.7px;
  }

  .hero__copy > p:not(.eyebrow):not(.heading-style) {
    font-size: 16px;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(23, 25, 23, 0.97),
      rgba(23, 25, 23, 0.72)
    );
  }

  .hero .form-card {
    max-width: 550px;
    width: 100%;
  }

  .hero__bottom {
    gap: 18px;
    font-size: 11px;
  }

  .hero__image {
    object-position: 100% center;
  }

  .expertise__grid {
    gap: 18px;
  }

  .expertise__card > p:not(.expertise__card-label) {
    font-size: 15px;
  }

  .home-intro .photo-frame img {
    height: 380px;
  }

  .relationship {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .expertise__grid {
    grid-template-columns: 1fr;
  }

  .expertise__card-top {
    margin-bottom: 23px;
  }

  .expertise__card-number {
    font-size: 53px;
  }
}

@media (max-width: 480px) {
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .hero__bottom span {
    max-width: 190px;
  }

  .expertise__card {
    padding: 27px 24px;
  }

  .expertise__card h3 {
    font-size: 29px;
  }
}
