:root {
  --color-red: #b90e2b;
  --color-cream: #fcf7e8;
  --page-width: 1200px;
  --header-height: 57px;
  --hero-height: 658px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--color-cream);
  background: var(--color-red);
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--color-red);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-width {
  width: min(var(--page-width), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  height: var(--header-height);
  border-bottom: 1px solid rgba(252, 247, 232, 0.25);
  color: var(--color-cream);
  background: var(--color-red);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--color-red);
  background: var(--color-cream);
  font-size: 14px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.site-nav a,
.header-cta,
.brand {
  transition: opacity 160ms ease;
}

.site-nav a:hover,
.header-cta:hover,
.brand:hover {
  opacity: 0.78;
}

.site-nav a:focus-visible,
.header-cta:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: 3px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 95px;
  height: 40px;
  border-radius: 10px;
  color: var(--color-red);
  background: var(--color-cream);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.hero {
  height: var(--hero-height);
  overflow: hidden;
  color: var(--color-cream);
  background: var(--color-red);
}

.hero__inner {
  position: relative;
  height: 100%;
}

.hero__strapline {
  position: absolute;
  z-index: 2;
  top: 63px;
  left: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1px;
  line-height: 24px;
}

.hero__stats {
  position: absolute;
  z-index: 2;
  top: 37px;
  right: 0;
  display: grid;
  grid-template-columns: 142px 158px;
  gap: 40px;
}

.hero-stat {
  display: grid;
  gap: 6px;
  margin: 0;
}

.hero-stat__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.hero-stat__value {
  font-size: 26px;
  font-weight: 600;
  line-height: 29px;
}

.hero__rule {
  position: absolute;
  z-index: 1;
  top: 109px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(252, 247, 232, 0.2);
}

.hero__title {
  position: absolute;
  z-index: 2;
  bottom: 62px;
  left: -1px;
  margin: 0;
  color: var(--color-cream);
  font-size: 143px;
  font-weight: 600;
  letter-spacing: 2.5px;
  line-height: 0.88;
}

.hero__portrait {
  position: absolute;
  z-index: 1;
  top: 102px;
  right: 28px;
  bottom: auto;
  display: block;
  width: 578px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  :root {
    --hero-height: 680px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero__stats {
    right: 0;
  }

  .hero__title {
    font-size: clamp(92px, 12vw, 126px);
    letter-spacing: -0.04em;
  }

  .hero__portrait {
    top: 116px;
    right: 26px;
    width: 429px;
    height: auto;
  }

}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
    --hero-height: 760px;
  }

  .site-nav {
    display: none;
  }

  .hero__strapline {
    right: 0;
    max-width: 520px;
  }

  .hero__stats {
    top: 126px;
    right: auto;
    left: 0;
  }

  .hero__rule {
    top: 201px;
  }

  .hero__title {
    top: 238px;
    bottom: auto;
    font-size: clamp(74px, 15vw, 108px);
  }

  .hero__portrait {
    top: 119px;
    right: -11px;
    width: 355px;
    height: auto;
  }

}

@media (max-width: 560px) {
  :root {
    --hero-height: 720px;
  }

  .page-width {
    width: calc(100% - 32px);
  }

  .brand__name {
    display: none;
  }

  .hero__strapline {
    top: 44px;
    max-width: 330px;
    font-size: 17px;
    line-height: 21px;
  }

  .hero__stats {
    top: 121px;
    grid-template-columns: 118px 140px;
  }

  .hero__rule {
    top: 194px;
  }

  .hero__title {
    top: 226px;
    font-size: clamp(62px, 19vw, 86px);
    letter-spacing: -0.05em;
  }

  .hero__portrait {
    top: 120px;
    right: -55px;
    width: 322px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav a,
  .header-cta,
  .brand {
    transition: none;
  }
}
