@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/montserrat-200.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../assets/fonts/cormorant-garamond-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #003442;
}

.hero__background {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.hero__background img {
  position: absolute;
  top: -23px;
  left: 0;
  width: calc(100% + 3px);
  min-height: calc(100% + 23px);
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1920px;
  height: clamp(800px, 47.760417vw, 917px);
  margin-inline: auto;
  padding: clamp(160px, 10.9375vw, 210px) clamp(32px, 3.072917vw, 59px) 44px clamp(32px, 4.166667vw, 80px);
}

.hero__title,
.hero__subtitle,
.consulting-card__title,
.consulting-card__link,
.hero-stats__value {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero__title {
  display: flex;
  align-items: center;
  min-height: 81px;
  max-width: 1277px;
  margin: 0 0 0 1px;
  font-size: clamp(68px, 5vw, 96px);
  font-weight: 700;
  line-height: 0.65;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  display: flex;
  align-items: center;
  min-height: 68px;
  max-width: 1184px;
  margin: 20px 0 0;
  font-size: clamp(36px, 2.604167vw, 50px);
  font-weight: 500;
  line-height: 0.704;
  letter-spacing: -0.5px;
}

.hero__description {
  display: flex;
  align-items: center;
  width: min(804px, 55%);
  height: 67px;
  margin-top: 8px;
  font-size: clamp(18px, 1.145833vw, 22px);
  font-weight: 200;
  line-height: 28.8px;
  letter-spacing: -0.11px;
}

.hero__description p {
  margin: 0;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 52.105559%);
  align-items: end;
  margin-top: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: 204fr 138fr 213fr;
  column-gap: 40px;
  width: min(635px, 100%);
  margin: 0;
}

.hero-stats__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-stats__value {
  display: flex;
  order: -1;
  align-items: center;
  height: 102px;
  margin: 0;
  font-size: clamp(60px, 4vw, 76.8px);
  font-weight: 600;
  line-height: 76.8px;
  letter-spacing: -1.28px;
  white-space: nowrap;
}

.hero-stats__item:first-child .hero-stats__value {
  font-size: clamp(60px, 3.90625vw, 75px);
}

.hero-stats__item:last-child .hero-stats__value {
  font-size: clamp(60px, 3.96875vw, 76.2px);
}

.hero-stats__label {
  display: flex;
  align-items: center;
  height: 43px;
  flex-shrink: 0;
  color: #e4eff4;
  font-size: 16px;
  font-weight: 200;
  line-height: 22.4px;
  letter-spacing: -0.32px;
}

.hero-stats__item:first-child .hero-stats__label {
  height: 28px;
  margin-left: 15px;
}

.hero-stats__item:last-child .hero-stats__label {
  margin-left: 4px;
}

.consulting-card {
  position: relative;
  width: 100%;
  aspect-ratio: 928 / 415;
  border-radius: 6px;
}

.consulting-card__blur {
  position: absolute;
  bottom: 0;
  left: 5.818966%;
  width: 93.456466%;
  aspect-ratio: 867.276 / 272;
  border-radius: 6px;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  /* Clip only the background effect; the original SVG stays above it. */
  clip-path: polygon(0 0, 100% 0, 92.5% 50%, 100% 100%, 0 100%);
}

.consulting-card__shape {
  position: absolute;
  bottom: 0;
  left: 5.818966%;
  width: 93.456466%;
}

.consulting-card__shape img {
  max-width: 100%;
  height: auto;
}

.consulting-card__portrait {
  position: absolute;
  top: 5.542169%;
  left: 55.49569%;
  width: 33.836207%;
  height: auto;
  aspect-ratio: 314 / 392;
  object-fit: cover;
  transform: scaleX(-1);
}

.consulting-card__title {
  position: absolute;
  top: 39.036145%;
  left: 8.512931%;
  display: flex;
  align-items: center;
  width: 56.465517%;
  height: 16.385542%;
  margin: 0;
  font-size: clamp(36px, 2.5vw, 48px);
  font-weight: 500;
  line-height: 35.2px;
  letter-spacing: -0.5px;
}

.consulting-card__description {
  position: absolute;
  top: 60.240964%;
  left: 8.512931%;
  display: flex;
  align-items: center;
  width: 44.396552%;
  height: 21.204819%;
  margin: 0;
  font-size: 18px;
  font-weight: 200;
  line-height: 22.4px;
  letter-spacing: -0.09px;
}

.consulting-card__link {
  position: absolute;
  bottom: 4.578313%;
  left: 8.512931%;
  font-size: 20px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: 0.32px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: from-font;
}

@media (max-width: 1599px) {
  .hero-stats { column-gap: 24px; padding-right: 24px; }
  .hero-stats__label { font-size: 14px; line-height: 20px; }
  .hero-stats__item:first-child .hero-stats__label { margin-left: 0; }
  .consulting-card { min-height: 375px; }
  .consulting-card__shape,
  .consulting-card__blur { left: 0; width: 100%; }
  .consulting-card__portrait { top: auto; bottom: 0; left: auto; right: 3%; width: 38%; }
  .consulting-card__title { top: 130px; left: 6%; width: 60%; height: 68px; font-size: 38px; }
  .consulting-card__description { top: 211px; left: 6%; width: 52%; height: auto; font-size: 16px; line-height: 21px; }
  .consulting-card__link { left: 6%; bottom: 20px; }
}

@media (max-width: 1199px) {
  .hero__inner { height: auto; min-height: 917px; padding-top: 150px; }
  .hero__title { min-height: 0; line-height: 1; }
  .hero__subtitle { min-height: 0; line-height: 1; margin-top: 24px; }
  .hero__description { width: min(804px, 100%); height: auto; margin-top: 24px; }
  .hero__bottom { display: flex; flex-direction: column; align-items: stretch; gap: 40px; margin-top: 56px; }
  .hero-stats { width: min(635px, 100%); padding-right: 0; }
  .hero-stats__label { font-size: 16px; line-height: 22.4px; }
  .consulting-card { align-self: flex-end; width: min(928px, 100%); min-height: 415px; }
  .consulting-card__title { font-size: 44px; }
  .consulting-card__description { font-size: 18px; line-height: 22.4px; }
}

@media (max-width: 767px) {
  .hero__inner { padding: 132px 24px 32px; }
  .hero__title { font-size: clamp(44px, 7vw, 60px); letter-spacing: -0.3px; }
  .hero__subtitle { font-size: clamp(30px, 4.5vw, 36px); line-height: 1.05; }
  .hero__description { font-size: 18px; line-height: 1.5; }
  .hero-stats { column-gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats__value,
  .hero-stats__item:first-child .hero-stats__value,
  .hero-stats__item:last-child .hero-stats__value { height: 80px; font-size: 56px; line-height: 1; }
  .hero-stats__label { height: auto; font-size: 14px; line-height: 1.5; }
  .hero-stats__item:first-child .hero-stats__label { height: auto; }
  .hero-stats__item:last-child .hero-stats__label { margin-left: 0; }
  .consulting-card__title { font-size: 38px; }
  .consulting-card__description { font-size: 16px; line-height: 21px; }
}

@media (max-width: 639px) {
  .hero__inner { padding-inline: var(--mobile-gutter); }
  .hero__background img { width: 100%; height: 100%; min-height: 0; top: 0; object-position: 55% top; }
  .hero__background::after { content: ""; position: absolute; inset: 0; background: rgb(0 25 34 / 28%); }
  .hero__bottom { gap: 32px; margin-top: 32px; }
  .hero-stats { column-gap: 12px; }
  .hero-stats__value,
  .hero-stats__item:first-child .hero-stats__value,
  .hero-stats__item:last-child .hero-stats__value { height: 64px; font-size: clamp(38px, 10vw, 52px); }
  .hero-stats__label { font-size: 12px; line-height: 1.5; }
  .consulting-card {
    min-height: 0;
    aspect-ratio: auto;
    padding: 16px 16px 8px;
    background: linear-gradient(120deg, rgb(48 95 102 / 92%), rgb(0 52 66 / 94%));
  }
  .consulting-card__blur, .consulting-card__shape, .consulting-card__portrait { display: none; }
  .consulting-card__title { position: static; width: auto; height: auto; font-size: clamp(28px, 7.8vw, 34px); line-height: 1; }
  .consulting-card__description { position: static; width: auto; height: auto; margin-top: 10px; font-weight: 300; line-height: 1.45; }
  .consulting-card__link { position: static; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 16px; }
}

@media (max-width: 359px) {
  .hero__title { font-size: 42px; }
  .hero-stats { column-gap: 8px; }
  .hero-stats__label { font-size: 11px; }
  .consulting-card { padding-inline: 12px; }
}
