/* Shared featured hero. Legacy s-salary-* selectors are the adopted visual ABI. */
.s-salary-hero {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  min-height: var(--salary-hero-min-block);
  margin-bottom: clamp(16px, 2vw, 30px);
  overflow-x: clip;
  overflow-y: visible;
  color: var(--salary-hero-body);
  background:
    radial-gradient(circle at 17% 18%, rgba(205, 226, 237, 0.56), transparent 27%),
    radial-gradient(circle at 80% 38%, rgba(232, 208, 164, 0.2), transparent 25%),
    linear-gradient(
      145deg,
      var(--salary-hero-paper-start) 0%,
      var(--salary-hero-paper-mid) 66%,
      var(--salary-hero-paper-end) 100%
    );
}

.s-salary-hero *,
.s-salary-hero *::before,
.s-salary-hero *::after {
  box-sizing: inherit;
}

.s-salary-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(23, 49, 95, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 49, 95, 0.027) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.32) 48%, #000 100%);
  content: "";
  pointer-events: none;
}

.s-salary-hero::after {
  position: absolute;
  left: 50%;
  bottom: -59px;
  z-index: 3;
  width: max(1520px, 118vw);
  max-width: var(--hero-family-brush-max-width, 1920px);
  aspect-ratio: 2600 / 600;
  background: var(--salary-hero-brush-image) center / 100% auto no-repeat;
  clip-path: inset(0 100% 0 0);
  content: "";
  opacity: 0;
  transform: translateX(-50%) translateY(8px) rotate(-0.35deg);
  animation: salary-hero-brush var(--hero-family-brush-duration, 1450ms) var(--hero-family-brush-delay, 760ms) var(--hero-family-brush-ease, cubic-bezier(0.16, 1, 0.3, 1)) both;
  pointer-events: none;
}

.s-salary-hero__paper-wash {
  position: absolute;
  left: -7%;
  bottom: -22%;
  z-index: 1;
  width: 58%;
  height: 68%;
  border-radius: 0 72% 0 0;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(7deg);
  pointer-events: none;
}

.s-salary-hero__arc {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(185, 135, 47, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.s-salary-hero__arc--outer {
  right: -7vw;
  top: -31vw;
  width: 72vw;
  aspect-ratio: 1;
}

.s-salary-hero__arc--inner {
  right: 2vw;
  top: -22vw;
  width: 55vw;
  aspect-ratio: 1;
  border-color: rgba(23, 49, 95, 0.1);
}

.s-salary-hero__folio {
  position: absolute;
  right: 20px;
  top: 34%;
  z-index: 2;
  color: rgba(23, 49, 95, 0.28);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.s-salary-hero__inner {
  position: relative;
  z-index: 4;
  width: min(var(--salary-hero-content-width), calc(100% - 64px));
  min-height: inherit;
  margin-inline: auto;
  padding-block: clamp(46px, 4.4vw, 64px) clamp(124px, 10vw, 148px);
}

.s-salary-hero__composition {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(400px, 0.84fr);
  grid-template-areas:
    "copy visual"
    "actions visual";
  column-gap: clamp(46px, 6vw, 86px);
  row-gap: 22px;
  align-content: center;
  align-items: center;
  min-height: 530px;
}

.s-salary-hero__copy {
  grid-area: copy;
  position: relative;
  min-width: 0;
  padding-left: clamp(25px, 2.8vw, 42px);
  opacity: 0;
  transform: translateY(16px);
  animation: salary-hero-copy 720ms 90ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.s-salary-hero__copy::before {
  position: absolute;
  inset: 4px auto 0 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(185, 135, 47, 0.82), rgba(23, 49, 95, 0.12) 76%, transparent);
  content: "";
}

.s-salary-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  color: var(--salary-hero-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.s-salary-hero__eyebrow i {
  width: clamp(30px, 4vw, 62px);
  height: 1px;
  background: rgba(185, 135, 47, 0.5);
}

.s-salary-hero__eyebrow small {
  color: rgba(23, 49, 95, 0.44);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}

.s-salary-hero__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(185, 135, 47, 0.48);
  border-radius: 50%;
  font-family: var(--font-serif, serif);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.s-salary-hero h1 {
  display: grid;
  gap: 0.04em;
  max-width: 10.7em;
  margin: 0;
  color: var(--salary-hero-ink);
  font-family: var(--font-serif, serif);
  font-size: var(--salary-hero-title-size);
  font-weight: var(--fw-heading, 700);
  line-height: var(--salary-hero-title-leading);
  letter-spacing: 0.025em;
  text-wrap: balance;
}

.s-salary-hero__lead {
  max-width: 45em;
  margin-top: clamp(21px, 2.3vw, 29px);
  padding: 17px 0 0 18px;
  border-top: 1px solid rgba(23, 49, 95, 0.14);
}

.s-salary-hero__lead p {
  margin: 0;
  color: var(--salary-hero-muted);
  font-size: var(--salary-hero-lead-size);
  font-weight: 500;
  line-height: 1.82;
}

.s-salary-hero__lead p + p {
  margin-top: 0.3em;
}

.s-salary-hero__support-line {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(240px, 1.1fr);
  gap: clamp(18px, 2.1vw, 30px);
  align-items: center;
  max-width: 640px;
  margin: 21px 0 0 18px;
  padding: 15px 18px 15px 0;
  border-top: 1px solid rgba(23, 49, 95, 0.13);
  border-bottom: 1px solid rgba(23, 49, 95, 0.1);
}

.s-salary-hero__support-title {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.s-salary-hero__support-title small {
  color: var(--salary-hero-accent);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.s-salary-hero__support-title strong {
  color: var(--salary-hero-ink);
  font-family: var(--font-serif, serif);
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.s-salary-hero__support-line ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-salary-hero__support-line li {
  position: relative;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.s-salary-hero__support-line li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(185, 135, 47, 0.72);
  border-right: 1px solid rgba(185, 135, 47, 0.72);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.s-salary-hero__support-line li span {
  color: rgba(23, 49, 95, 0.4);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.s-salary-hero__support-line li b {
  color: var(--salary-hero-ink);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
}

.s-salary-hero__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding-left: clamp(25px, 2.8vw, 42px);
  opacity: 0;
  transform: translateY(10px);
  animation: salary-hero-copy 650ms 270ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.s-salary-hero__action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 19px;
  border: 1px solid rgba(23, 49, 95, 0.2);
  border-radius: 999px;
  color: var(--salary-hero-ink);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(23, 49, 95, 0.045);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.s-salary-hero__action--primary {
  color: #fff;
  background: linear-gradient(135deg, #304a80, var(--salary-hero-ink));
  border-color: var(--salary-hero-ink);
  box-shadow: 0 14px 30px rgba(23, 49, 95, 0.18);
}

.s-salary-hero__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 49, 95, 0.12);
}

.s-salary-hero__action .tkg-icon {
  width: 15px;
  height: 15px;
}

.s-salary-hero__visual-wrap {
  grid-area: visual;
  position: relative;
  z-index: 5;
  width: min(100%, var(--salary-hero-visual-width));
  justify-self: end;
  padding: 30px 16px 8px 20px;
  opacity: 0;
  transform: translateX(22px) scale(0.985);
  animation: salary-hero-visual 820ms 150ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.s-salary-hero__visual-wrap::before {
  position: absolute;
  inset: 0 -10px -20px 30px;
  z-index: -2;
  border: 1px solid rgba(185, 135, 47, 0.26);
  border-radius: 50% 50% 38px 38px / 45% 45% 38px 38px;
  content: "";
}

.s-salary-hero__visual-wrap::after {
  position: absolute;
  inset: 20px 12px -2px 8px;
  z-index: -1;
  border-radius: 50% 50% 34px 34px / 44% 44% 34px 34px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 24px 70px rgba(23, 49, 95, 0.09);
  content: "";
}

.s-salary-hero__visual-caption {
  position: absolute;
  top: 0;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(23, 49, 95, 0.43);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.s-salary-hero__visual-caption b {
  color: var(--salary-hero-accent);
}

.s-salary-hero__visual-caption i {
  width: 32px;
  height: 1px;
  background: rgba(185, 135, 47, 0.42);
}

.s-salary-hero__window {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: var(--salary-hero-window-radius);
  background: #fffaf1;
  box-shadow: var(--salary-hero-window-shadow);
}

.s-salary-hero__window img {
  display: block;
  width: 100%;
  height: auto;
}

.s-salary-hero__stamp {
  position: absolute;
  right: -14px;
  bottom: -42px;
  z-index: 7;
  width: clamp(90px, 7.5vw, 106px);
  aspect-ratio: 1;
  mix-blend-mode: multiply;
  animation: salary-hero-stamp var(--hero-family-stamp-duration, 460ms) var(--hero-family-stamp-delay, 2090ms) var(--hero-family-stamp-ease, cubic-bezier(0.34, 1.56, 0.64, 1)) both;
  pointer-events: none;
}

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

.s-salary-hero__cue {
  position: absolute;
  right: max(26px, calc((100vw - 1240px) / 2));
  bottom: 25px;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 38px auto auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  color: var(--salary-hero-ink);
  background: rgba(255, 253, 249, 0.76);
  text-decoration: none;
  backdrop-filter: blur(3px);
}

.s-salary-hero__cue small {
  color: var(--salary-hero-accent);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.s-salary-hero__cue i {
  height: 1px;
  background: rgba(185, 135, 47, 0.48);
}

.s-salary-hero__cue span {
  font-size: 0.69rem;
  font-weight: 800;
}

.s-salary-hero__cue .tkg-icon {
  width: 14px;
  height: 14px;
}

.s-salary-hero__action:focus-visible,
.s-salary-hero__cue:focus-visible {
  outline: 3px solid rgba(185, 135, 47, 0.52);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .s-salary-hero__inner {
    width: min(100% - 42px, 1160px);
  }

  .s-salary-hero__composition {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.82fr);
    column-gap: 38px;
  }

  .s-salary-hero h1 {
    font-size: clamp(2.55rem, 4.7vw, 3.45rem);
  }

  .s-salary-hero__eyebrow small {
    display: none;
  }

  .s-salary-hero__support-line {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 12px;
  }
}

@media (max-width: 900px) {
  .s-salary-hero {
    min-height: 0;
    margin-bottom: 10px;
  }

  .s-salary-hero::after {
    bottom: -52px;
    width: max(1080px, 205vw);
  }

  .s-salary-hero__arc--outer {
    right: -44vw;
    top: 25%;
    width: 112vw;
  }

  .s-salary-hero__arc--inner {
    right: -28vw;
    top: 30%;
    width: 86vw;
  }

  .s-salary-hero__folio {
    display: none;
  }

  .s-salary-hero__inner {
    width: min(100% - 28px, 680px);
    padding-block: 92px 130px;
  }

  .s-salary-hero__composition {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "actions";
    gap: 34px;
    min-height: 0;
  }

  .s-salary-hero__copy {
    padding-left: 24px;
  }

  .s-salary-hero h1 {
    font-size: clamp(2.25rem, 7vw, 3rem);
  }

  .s-salary-hero__visual-wrap {
    width: min(86vw, 455px);
    justify-self: center;
    margin-top: 2px;
  }

  .s-salary-hero__stamp {
    right: -7px;
    bottom: -28px;
    width: 78px;
  }

  .s-salary-hero__actions {
    padding-left: 24px;
    margin-top: -6px;
  }

  .s-salary-hero__cue {
    right: 20px;
    bottom: 24px;
  }
}

@media (max-width: 520px) {
  .s-salary-hero {
    background:
      radial-gradient(circle at 70% 52%, rgba(232, 208, 164, 0.2), transparent 26%),
      linear-gradient(155deg, var(--salary-hero-paper-start), #faf3e7);
  }

  .s-salary-hero::after {
    display: none;
  }

  .s-salary-hero__inner {
    width: calc(100% - 22px);
    padding-block: 84px 122px;
  }

  .s-salary-hero__composition {
    gap: 30px;
  }

  .s-salary-hero__copy {
    padding-left: 17px;
  }

  .s-salary-hero__eyebrow {
    gap: 9px;
    margin-bottom: 19px;
    font-size: 0.63rem;
  }

  .s-salary-hero__eyebrow i {
    width: 25px;
  }

  .s-salary-hero__number {
    width: 30px;
    height: 30px;
  }

  .s-salary-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.55rem);
    line-height: 1.3;
  }

  .s-salary-hero__lead {
    margin-top: 20px;
    padding: 15px 0 0 12px;
  }

  .s-salary-hero__lead p {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .s-salary-hero__support-line {
    margin-top: 18px;
    padding: 13px 0;
  }

  .s-salary-hero__support-title strong {
    font-size: 0.92rem;
  }

  .s-salary-hero__support-line ol {
    gap: 14px;
  }

  .s-salary-hero__support-line li:not(:last-child)::after {
    right: -9px;
  }

  .s-salary-hero__support-line li b {
    font-size: 0.66rem;
  }

  .s-salary-hero__visual-wrap {
    width: 100%;
    padding: 26px 11px 8px 14px;
  }

  .s-salary-hero__window {
    border-width: 6px;
    border-radius: 50% 50% 24px 24px / 44% 44% 24px 24px;
  }

  .s-salary-hero__visual-caption {
    right: 18px;
  }

  .s-salary-hero__stamp {
    right: -2px;
    bottom: -27px;
    width: 72px;
  }

  .s-salary-hero__actions {
    display: grid;
    gap: 10px;
    padding-left: 17px;
  }

  .s-salary-hero__action {
    width: 100%;
    min-height: 54px;
  }

  .s-salary-hero__cue {
    left: 18px;
    right: 18px;
    bottom: 19px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    width: auto;
  }

  .s-salary-hero__cue small {
    display: none;
  }
}

@keyframes salary-hero-copy {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes salary-hero-visual {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes salary-hero-brush {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateX(-50%) translateY(8px) rotate(-0.35deg);
  }

  24% {
    opacity: 0.94;
  }

  100% {
    clip-path: inset(0);
    opacity: 0.94;
    transform: translateX(-50%) rotate(-0.35deg);
  }
}

@keyframes salary-hero-stamp {
  0% {
    opacity: 0;
    transform: rotate(-16deg) scale(1.6);
  }

  62% {
    opacity: 1;
    transform: rotate(-8deg) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: rotate(-9deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .s-salary-hero__copy,
  .s-salary-hero__actions,
  .s-salary-hero__visual-wrap,
  .s-salary-hero__stamp {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .s-salary-hero::after {
    clip-path: inset(0);
    opacity: 0.94;
    transform: translateX(-50%) rotate(-0.35deg);
    animation: none;
  }

  .s-salary-hero__action {
    transition: none;
  }

  .s-salary-hero__action:hover {
    transform: none;
  }
}
