:root {
  --osp-bg: #f2f2f2;
  --osp-ink: #2d2d2f;
  --osp-muted: #5f626a;
  --osp-light: #e5e5e5;
  --osp-red: #c6002b;
  --osp-blue: #2c56a2;
  --osp-container: var(--hero-container-max);
}

body {
  background: var(--osp-bg);
}

.osp-page {
  color: var(--osp-ink);
}

.osp-container {
  width: min(100% - (var(--container-padding) * 2), var(--osp-container));
  margin: 0 auto;
}

.osp-hero {
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(2.5rem, 4vw, 4rem);
}

.osp-hero__title {
  max-width: 62rem;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.osp-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(20rem, 1.02fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(2.8rem, 5vw, 4.8rem) 0;
}

.osp-section__copy {
  position: relative;
  z-index: 1;
  min-height: 17rem;
  padding-top: clamp(2.8rem, 4vw, 4rem);
}

.osp-section__number {
  position: absolute;
  top: 0;
  left: -0.2rem;
  z-index: -1;
  color: var(--osp-light);
  font-size: clamp(5rem, 8vw, 8.2rem);
  font-weight: 900;
  line-height: .78;
}

.osp-section__title {
  max-width: 45rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.osp-section__text {
  max-width: 45rem;
  margin: 0 0 1rem;
  color: var(--osp-muted);
  font-size: 1rem;
  line-height: 1.48;
}

.osp-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  margin-top: .6rem;
  color: var(--osp-ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.osp-link::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  background: var(--osp-red);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2Zm6.9 9h-3.1a15.5 15.5 0 0 0-1.1-5A8.05 8.05 0 0 1 18.9 11ZM12 4.1c.7 1 1.5 3.1 1.8 6.9h-3.6c.3-3.8 1.1-5.9 1.8-6.9ZM4.1 13h3.1c.2 2 .6 3.7 1.1 5A8.05 8.05 0 0 1 4.1 13Zm3.1-2H4.1A8.05 8.05 0 0 1 8.3 6c-.5 1.3-.9 3-1.1 5ZM12 19.9c-.7-1-1.5-3.1-1.8-6.9h3.6c-.3 3.8-1.1 5.9-1.8 6.9Zm2.7-1.9c.5-1.3.9-3 1.1-5h3.1a8.05 8.05 0 0 1-4.2 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.osp-media {
  margin: 0;
}

.osp-media img {
  display: block;
  width: 100%;
  height: auto;
}

.osp-media--logo {
  display: grid;
  justify-items: center;
}

.osp-media .osp-logo-card {
  width: min(16.3125rem, 70vw);
  max-width: 100%;
  filter: drop-shadow(0 1.5rem 2.2rem rgba(44, 86, 162, .16));
}

.osp-shot {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, .12);
}

.osp-shot--crm {
  aspect-ratio: 735 / 413;
}

.osp-shot--crm img {
  height: 100%;
  object-fit: cover;
}

.osp-crm-slider {
  display: block;
}

.osp-crm-slider__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 735 / 413;
  background: #fff;
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, .12);
}

.osp-crm-slider__slide {
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
}

.osp-crm-slider__slide.is-active {
  display: block;
}

.osp-crm-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.osp-crm-slider__image--focus {
  transform: scale(1.16);
  transform-origin: 50% 46%;
}

.osp-crm-slider__image--wide {
  transform: scale(1.08);
  transform-origin: 52% 52%;
}

.osp-crm-slider__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin-top: .75rem;
}

.osp-crm-slider__nav button {
  display: block;
  width: 100%;
  height: .18rem;
  padding: 0;
  cursor: pointer;
  background: #d3d3d3;
  border: 0;
  border-radius: 999px;
}

.osp-crm-slider__nav button.is-active,
.osp-crm-slider__nav button:hover,
.osp-crm-slider__nav button:focus-visible {
  background: var(--osp-red);
}

.osp-crm-slider__nav button:focus-visible {
  outline: .18rem solid rgba(198, 0, 43, .22);
  outline-offset: .25rem;
}

.osp-catalog {
  position: relative;
  max-width: 42rem;
  margin-left: auto;
  padding: 0;
}

.osp-catalog::before {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: 0;
  width: 78%;
  height: 28%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 68%);
  transform: rotate(-5deg);
}

.osp-catalog img {
  position: relative;
  z-index: 1;
  border-radius: .25rem;
  box-shadow: none;
  transform: none;
}

.osp-project-link {
  display: inline-flex;
  margin-top: .5rem;
  color: var(--osp-muted);
  font-size: .9rem;
  text-decoration: none;
}

.osp-project-link:hover {
  color: var(--osp-red);
}

@media (max-width: 62rem) {
  .osp-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .osp-section__copy {
    min-height: 0;
  }

  .osp-section:nth-of-type(even) .osp-media {
    order: 2;
  }

  .osp-catalog {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 40rem) {
  .osp-hero {
    padding-top: 3rem;
  }

  .osp-section {
    padding: 2.25rem 0;
  }

  .osp-section__title {
    font-size: 1.45rem;
  }

  .osp-section__text {
    font-size: .96rem;
  }

  .osp-catalog {
    padding: .75rem 0 0;
  }
}
