/* Disability pension hero: adopted from demo V25. */
.s-dp-hero {
  --dp-hero-paper: #fdfaf5;
  --dp-hero-navy: #172a54;
  --dp-hero-ink: #253043;
  --dp-hero-rose: #bf4651;
  --dp-hero-gold: #b38a42;
  --dp-hero-brush-opacity: .9;
  position: relative;
  z-index: 2;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  margin-bottom: clamp(16px, 2.4vw, 32px);
  color: var(--dp-hero-navy);
  background:
    radial-gradient(circle at 78% 36%, rgba(224, 157, 151, .13), transparent 27%),
    radial-gradient(circle at 28% 15%, rgba(241, 210, 180, .17), transparent 29%),
    linear-gradient(150deg, #fffdf9 0%, var(--dp-hero-paper) 51%, #fff7ef 100%);
}

.s-dp-hero,
.s-dp-hero *,
.s-dp-hero *::before,
.s-dp-hero *::after {
  box-sizing: border-box;
}

.s-dp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    repeating-linear-gradient(8deg, rgba(72, 54, 27, .018) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(95deg, rgba(72, 54, 27, .014) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(255, 255, 255, .48), transparent 34% 72%, rgba(255, 255, 255, .32));
  opacity: .72;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .82), transparent 94%);
}

.s-dp-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -78px;
  z-index: 5;
  width: max(1500px, 114vw);
  aspect-ratio: 2600 / 600;
  pointer-events: none;
  background: var(--dp-hero-brush-image) center / 100% auto no-repeat;
  opacity: var(--dp-hero-brush-opacity);
  transform: translateX(-50%) rotate(-.25deg);
  animation: dp-hero-brush var(--hero-family-brush-duration) var(--hero-family-brush-ease) var(--hero-family-brush-delay) both;
}

.s-dp-hero__sweep {
  position: absolute;
  top: -32%;
  right: -12%;
  z-index: -1;
  width: min(82vw, 1260px);
  min-width: 920px;
  aspect-ratio: 1;
  border: clamp(68px, 7.4vw, 108px) solid rgba(23, 52, 88, .04);
  border-radius: 50%;
  pointer-events: none;
}

.s-dp-hero__glow {
  position: absolute;
  top: 8%;
  right: 5%;
  z-index: -2;
  width: min(43vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 213, 177, .31), rgba(239, 213, 177, .07) 58%, transparent 72%);
  pointer-events: none;
}

.s-dp-hero__inner {
  width: min(1540px, calc(100% - clamp(40px, 6vw, 96px)));
  margin-inline: auto;
  padding: clamp(54px, 4vw, 66px) 0 clamp(140px, 10vw, 176px);
}

.s-dp-hero__composition {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(430px, .87fr);
  grid-template-areas:
    "label visual"
    "audience visual"
    "title visual"
    "lead visual"
    "actions visual"
    "assurance visual";
  column-gap: clamp(40px, 4.8vw, 82px);
  align-items: center;
}

.s-dp-hero__composition::before {
  content: "";
  position: absolute;
  left: 42%;
  top: 49%;
  z-index: -1;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, rgba(191, 70, 81, .2), rgba(179, 138, 66, .45), transparent);
  transform: rotate(-6deg);
  transform-origin: left center;
}

.s-dp-hero__label {
  grid-area: label;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-height: 38px;
  margin: 0 0 15px;
  padding: 0 17px;
  color: var(--dp-hero-rose);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(191, 70, 81, .16);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(23, 42, 84, .045);
}

.s-dp-hero__label > span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.s-dp-hero__audience {
  grid-area: audience;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px 4px;
  color: rgba(37, 48, 67, .7);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.s-dp-hero__audience span {
  color: var(--dp-hero-gold);
  font-family: Georgia, serif;
  font-size: .65rem;
  letter-spacing: .2em;
}

.s-dp-hero__audience::after {
  content: "";
  width: 46px;
  height: 1px;
  background: rgba(179, 138, 66, .42);
}

.s-dp-hero__title {
  grid-area: title;
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--dp-hero-navy);
  font-family: var(--font-serif, serif);
  font-size: clamp(3rem, 3.7vw, 4.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.s-dp-hero__title > span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.s-dp-hero__title em {
  position: relative;
  color: var(--dp-hero-rose);
  font-style: normal;
  white-space: nowrap;
}

.s-dp-hero__title em::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.12em;
  bottom: .02em;
  z-index: -1;
  height: .22em;
  background: linear-gradient(90deg, rgba(191, 70, 81, .2), rgba(233, 175, 147, .09));
  border-radius: 999px;
  transform: rotate(-2deg);
}

.s-dp-hero__lead {
  grid-area: lead;
  max-width: 43em;
  margin: 28px 0 0;
  color: rgba(37, 48, 67, .86);
  font-size: clamp(1rem, 1.06vw, 1.1rem);
  font-weight: 550;
  line-height: 1.95;
  text-wrap: pretty;
}

.s-dp-hero__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.s-dp-hero__button {
  display: inline-grid;
  grid-template-columns: 22px auto 16px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 60px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.s-dp-hero__button .tkg-icon {
  width: 20px;
  height: 20px;
}

.s-dp-hero__button .tkg-icon:last-child {
  width: 15px;
  height: 15px;
}

.s-dp-hero__button--primary {
  color: #fff;
  background: linear-gradient(135deg, #df6065, #bd4450);
  border: 1px solid rgba(151, 44, 56, .15);
  box-shadow: 0 18px 34px rgba(191, 70, 81, .2);
}

.s-dp-hero__button--secondary {
  color: var(--dp-hero-navy);
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(23, 42, 84, .13);
  box-shadow: 0 14px 30px rgba(23, 42, 84, .055);
}

.s-dp-hero__button:hover,
.s-dp-hero__button:focus-visible {
  transform: translateY(-2px);
}

.s-dp-hero__button:focus-visible {
  outline: 3px solid rgba(23, 42, 84, .28);
  outline-offset: 3px;
}

.s-dp-hero__assurance {
  grid-area: assurance;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 690px);
  margin: 24px 0 0;
  padding: 17px 0 0;
  list-style: none;
  border-top: 1px solid rgba(179, 138, 66, .25);
}

.s-dp-hero__assurance li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 0 19px;
}

.s-dp-hero__assurance li:first-child {
  padding-left: 0;
}

.s-dp-hero__assurance li + li {
  border-left: 1px solid rgba(179, 138, 66, .2);
}

.s-dp-hero__assurance-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #b96f50;
}

.s-dp-hero__assurance-icon .tkg-icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.4;
}

.s-dp-hero__assurance strong {
  display: block;
  color: var(--dp-hero-navy);
  font-size: .92rem;
  line-height: 1.45;
}

.s-dp-hero__assurance small {
  display: block;
  margin-top: 3px;
  color: rgba(37, 48, 67, .67);
  font-size: .74rem;
  font-weight: 550;
  line-height: 1.55;
}

.s-dp-hero__visual {
  grid-area: visual;
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 590px);
  padding: 24px 0 18px;
}

.s-dp-hero__visual::before {
  content: "";
  position: absolute;
  inset: -28px -28px -18px 28px;
  z-index: -1;
  border: 1px solid rgba(179, 138, 66, .25);
  border-radius: 50% 50% 42px 42px / 45% 45% 42px 42px;
}

.s-dp-hero__visual-link {
  position: absolute;
  top: 42%;
  right: calc(100% - 10px);
  z-index: -1;
  width: clamp(90px, 12vw, 186px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179, 138, 66, .58));
}

.s-dp-hero__visual-link::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -4px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--dp-hero-gold);
  border-radius: 50%;
  background: #fff9f0;
}

.s-dp-hero__stamp {
  position: absolute;
  right: -15px;
  bottom: -42px;
  z-index: 7;
  width: clamp(90px, 7.5vw, 108px);
  aspect-ratio: 1;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: dp-hero-stamp var(--hero-family-stamp-duration) var(--hero-family-stamp-delay) var(--hero-family-stamp-ease) both;
}

.s-dp-hero__stamp img {
  display: block;
  width: 100%;
  height: 100%;
}

.s-dp-hero__window {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #fff4e7;
  border: 9px solid rgba(255, 255, 255, .9);
  border-radius: 50% 50% 34px 34px / 44% 44% 34px 34px;
  box-shadow: 0 34px 72px rgba(23, 42, 84, .13), inset 0 0 0 1px rgba(179, 138, 66, .14);
}

.s-dp-hero__window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .28), transparent 38% 72%, rgba(224, 157, 151, .05));
}

.s-dp-hero__window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-dp-hero__window figcaption {
  position: absolute;
  right: 14%;
  top: 13%;
  z-index: 3;
  color: rgba(37, 48, 67, .78);
  font-size: clamp(1.05rem, 1.28vw, 1.38rem);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
  transform: rotate(4deg);
}

.s-dp-hero__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes dp-hero-brush {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateX(-50%) translateY(7px) rotate(-.25deg);
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: var(--dp-hero-brush-opacity);
    transform: translateX(-50%) translateY(0) rotate(-.25deg);
  }
}

@keyframes dp-hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dp-hero-window {
  from { opacity: 0; transform: translateX(24px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes dp-hero-sweep {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: none; }
}

@keyframes dp-hero-stamp {
  0% { opacity: 0; transform: rotate(-16deg) scale(1.6); }
  62% { opacity: 1; transform: rotate(-8deg) scale(.95); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1); }
}

@media (max-width: 1180px) {
  .s-dp-hero__inner {
    width: min(980px, calc(100% - 52px));
  }

  .s-dp-hero__composition {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "audience" "title" "visual" "lead" "actions" "assurance";
  }

  .s-dp-hero__visual {
    justify-self: center;
    width: min(590px, 72vw);
    margin: 12px 0 8px;
  }

  .s-dp-hero__title,
  .s-dp-hero__lead,
  .s-dp-hero__actions,
  .s-dp-hero__assurance {
    width: min(100%, 820px);
  }

  .s-dp-hero__sweep {
    top: 13%;
    right: -52%;
    width: 118vw;
    min-width: 860px;
  }

  .s-dp-hero__glow {
    top: 27%;
    right: -12%;
    width: 78vw;
  }

  .s-dp-hero::after {
    bottom: -66px;
    width: max(1080px, 124vw);
  }
}

@media (max-width: 720px) {
  .s-dp-hero {
    margin-bottom: 8px;
  }

  .s-dp-hero__inner {
    width: min(100% - 28px, 560px);
    padding: 66px 0 88px;
  }

  .s-dp-hero__composition {
    row-gap: 0;
  }

  .s-dp-hero__label {
    min-height: 34px;
    margin-bottom: 12px;
    padding-inline: 13px;
    font-size: .78rem;
  }

  .s-dp-hero__audience {
    margin: 0 0 18px 3px;
    font-size: .74rem;
    letter-spacing: .025em;
  }

  .s-dp-hero__audience::after {
    width: 26px;
  }

  .s-dp-hero__title {
    font-size: clamp(1.82rem, 8.2vw, 2.45rem);
    line-height: 1.32;
    letter-spacing: -.02em;
  }

  .s-dp-hero__visual {
    width: min(100%, 450px);
    margin: 22px 0 20px;
    padding: 8px 4px;
  }

  .s-dp-hero__visual::before {
    inset: -15px -12px -12px 17px;
  }

  .s-dp-hero__visual-link {
    width: 20vw;
  }

  .s-dp-hero__stamp {
    right: -7px;
    bottom: -28px;
    width: 72px;
  }

  .s-dp-hero__window {
    border-width: 6px;
    border-radius: 50% 50% 24px 24px / 44% 44% 24px 24px;
    box-shadow: 0 22px 48px rgba(23, 42, 84, .1);
  }

  .s-dp-hero__window figcaption {
    right: 15%;
    top: 11%;
    font-size: .96rem;
  }

  .s-dp-hero__lead {
    margin-top: 0;
    font-size: .96rem;
    line-height: 1.84;
  }

  .s-dp-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 23px;
  }

  .s-dp-hero__button {
    grid-template-columns: 22px minmax(0, 1fr) 16px;
    width: 100%;
    min-height: 56px;
    padding-inline: 17px;
    font-size: .9rem;
  }

  .s-dp-hero__assurance {
    grid-template-columns: 1fr 1fr;
    margin-top: 21px;
    padding-top: 14px;
  }

  .s-dp-hero__assurance li {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 6px;
    padding: 0 9px;
  }

  .s-dp-hero__assurance-icon {
    width: 27px;
    height: 27px;
  }

  .s-dp-hero__assurance-icon .tkg-icon {
    width: 22px;
    height: 22px;
  }

  .s-dp-hero__assurance strong {
    font-size: .81rem;
  }

  .s-dp-hero__assurance small {
    display: none;
  }

  .s-dp-hero__sweep {
    top: 23%;
    right: -118%;
    width: 178vw;
    min-width: 0;
    border-width: 54px;
  }

  .s-dp-hero__glow {
    top: 30%;
    right: -36%;
    width: 120vw;
  }

  .s-dp-hero::after {
    bottom: -35px;
    width: 178vw;
    --dp-hero-brush-opacity: .52;
  }
}

@media (max-width: 350px) {
  .s-dp-hero__title {
    font-size: 1.55rem;
  }

  .s-dp-hero__button {
    font-size: .84rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .s-dp-hero__label,
  .s-dp-hero__audience,
  .s-dp-hero__title,
  .s-dp-hero__lead,
  .s-dp-hero__actions,
  .s-dp-hero__assurance {
    animation: dp-hero-rise .65s cubic-bezier(.22, 1, .36, 1) both;
  }

  .s-dp-hero__audience { animation-delay: .08s; }
  .s-dp-hero__title { animation-delay: .14s; }
  .s-dp-hero__visual { animation: dp-hero-window .82s cubic-bezier(.22, 1, .36, 1) .22s both; }
  .s-dp-hero__lead { animation-delay: .34s; }
  .s-dp-hero__actions { animation-delay: .43s; }
  .s-dp-hero__assurance { animation-delay: .52s; }
  .s-dp-hero__sweep { animation: dp-hero-sweep 1s cubic-bezier(.22, 1, .36, 1) .2s both; }
}

@media (prefers-reduced-motion: reduce) {
  .s-dp-hero::after {
    animation: none;
    clip-path: none;
    opacity: .76;
  }

  .s-dp-hero__stamp {
    opacity: 1;
    transform: rotate(-9deg);
    animation: none;
  }
}
