/* components: extracted from the approved top-page implementation. */


@property --border-erase {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --border-draw {
  syntax: "<angle>";
  inherits: false;
  initial-value: 360deg;
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 50%;
}

.circle-arrow img {
  width: 15px;
  height: 13px;
  filter: brightness(0) invert(1);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section + .section {
  margin-top: 0;
}

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

.section__overlay::after {
  position: absolute;
  inset: 0;
  content: "";
  background: url("../images/common/hero-texture.webp") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .22;
}

.section__overlay--light {
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 1px rgba(255, 255, 255, .38), inset 0 -1px rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(7px) saturate(108%);
  backdrop-filter: blur(7px) saturate(108%);
}

.section__overlay--light::after {
  background-image: url("../images/common/strengths-noise.webp");
  background-size: 1280px 1280px;
  mix-blend-mode: normal;
  opacity: .4;
}

.section__overlay--ivory {
  background: #f8f2e7;
}

.section__overlay--ivory::after {
  /* Figma 40000423:2889: beige base with the shared noise tile at 80%. */
  background-image: url("../images/common/strengths-noise.webp");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: 1280px 1280px;
  mix-blend-mode: multiply;
  opacity: 1;
}

.section-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 50px minmax(0, 970px);
  column-gap: 90px;
  width: min(1160px, calc(100% - 120px));
  margin: 0 auto;
}

.section-rail {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-direction: column;
  padding-right: 24px;
}

.section-rail::after {
  position: absolute;
  top: 100px;
  right: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, .5) 0,
    rgba(0, 0, 0, .5) calc(100% - 285px),
    rgba(0, 0, 0, .025) 100%
  );
}

.section-rail > span {
  margin-top: 100px;
  font-size: 20px;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
}

.section-rail small {
  margin-top: auto;
  margin-bottom: 100px;
  font-family: var(--serif-en);
  font-size: 11px;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.section-kicker--sp {
  display: none;
}

.sp-break {
  display: none;
}

.pill-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 64px;
  border-radius: 32px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.pill-link img {
  position: absolute;
  right: 30px;
  width: 15px;
  height: 13px;
}

.pill-link--outline {
  border: 1px solid #000;
}

.pill-link--white {
  background: #fff;
  color: var(--navy);
}

@media (max-width: 1180px) and (min-width: 768px) {

  .section-layout {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 54px;
  }
}

@media (max-width: 767px) {

  .circle-arrow {
    position: absolute;
    right: 22px;
    width: auto;
    height: auto;
    border: 0;
  }

  .circle-arrow img {
    width: 14px;
    height: 12px;
  }

  .section-layout {
    display: block;
    width: 100%;
  }

  .section-rail {
    display: none;
  }

  .section-kicker--sp {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .45);
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1;
  }

  .sp-break {
    display: inline;
  }

  .pc-break {
    display: none;
  }

  .pill-link {
    width: 270px;
    height: 54px;
    border-radius: 28px;
    font-size: 14px;
  }

  .pill-link img {
    right: 23px;
    width: 14px;
    height: 12px;
  }

  .section__overlay--light {
    background: rgba(255, 255, 255, .68);
  }
}
@media (max-width: 767px) and (hover: hover) {

  .circle-arrow {
    position: relative;
    right: auto;
    width: 42px;
    height: 42px;
  }

  .circle-arrow img {
    width: 15px;
    height: 13px;
  }

  .pill-link {
    width: min(320px, 100%);
    height: 64px;
    border-radius: 32px;
    font-size: 18px;
  }

  .pill-link img {
    right: 30px;
    width: 15px;
    height: 13px;
  }
}
@media (max-width: 767px) and (hover: none) {

  .pill-link.pill-link--outline {
    position: relative;
    height: 54px;
    border: 0;
    border-radius: 100px;
    background: #fff;
    color: #002e62;
    font-size: 14px;
  }

  .pill-link.pill-link--outline {
    width: min(290px, 100%);
  }

  .pill-link.pill-link--outline::before,
.pill-link.pill-link--outline::after {
    content: none;
  }

  .pill-link.pill-link--outline > span,
.pill-link.pill-link--outline > img {
    position: relative;
    z-index: 2;
  }

  .pill-link.pill-link--outline > img {
    position: absolute;
    right: 25px;
    width: 15px;
    height: 13px;
    filter: invert(15%) sepia(61%) saturate(1594%) hue-rotate(179deg) brightness(91%) contrast(105%);
  }

  .pill-link.pill-link--outline > img[src$="external.svg"] {
    width: 8px;
    height: 8px;
  }
}

@media (hover: hover) {

  .pill-link {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: border-color .36s ease, color .42s ease, opacity .25s ease;
  }

  .pill-link::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #375372 0%, #b43737 88%);
    content: "";
    opacity: 0;
    transition: opacity .52s cubic-bezier(.22, 1, .36, 1);
  }

  .pill-link > span {
    position: relative;
    z-index: 1;
  }

  .pill-link > img {
    z-index: 1;
  }

  .pill-link:hover {
    border-color: rgba(255, 255, 255, .1);
    color: #fff;
    opacity: 1;
  }

  .pill-link:hover::before {
    opacity: 1;
  }

  .pill-link:hover img {
    filter: brightness(0) invert(1);
  }

  .circle-arrow {
    position: relative;
    overflow: hidden;
    border: 0;
  }

  .circle-arrow::before,
.circle-arrow::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .circle-arrow::before {
    --border-erase: 0deg;
    opacity: 0;
    -webkit-mask: conic-gradient(from 0deg, transparent 0 var(--border-erase), #000 var(--border-erase) 360deg);
    mask: conic-gradient(from 0deg, transparent 0 var(--border-erase), #000 var(--border-erase) 360deg);
    transition: --border-erase .66s cubic-bezier(.76, 0, .24, 1), opacity 0s;
  }

  .circle-arrow::after {
    --border-draw: 360deg;
    opacity: 1;
    -webkit-mask: conic-gradient(from 0deg, #000 0 var(--border-draw), transparent var(--border-draw) 360deg);
    mask: conic-gradient(from 0deg, #000 0 var(--border-draw), transparent var(--border-draw) 360deg);
    transition: --border-draw .66s cubic-bezier(.76, 0, .24, 1), opacity 0s;
  }
}

@keyframes circle-arrow-slide {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  45% {
    opacity: 0;
    transform: translateX(22px);
  }

  46% {
    opacity: 0;
    transform: translateX(-22px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .pill-link,
.pill-link::before,
.circle-arrow::before,
.circle-arrow::after {
    transition: none;
  }
}
