a.kbs-signature {
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto;
  align-items: center;
  column-gap: clamp(10px, 3vw, 26px);
  max-width: 100%;
  box-sizing: border-box;
  padding: 15px clamp(12px, 3vw, 24px);
  border: 1px solid #d7ac98;
  border-radius: 7px;
  background: #fff7eb;
  color: #3c2823;
  text-decoration: none;
  text-align: left;
  text-transform: none;
  font: 600 16px/1.14 system-ui, -apple-system, sans-serif;
  letter-spacing: normal;
  vertical-align: middle;
  -webkit-tap-highlight-color: rgba(188, 86, 60, .18);
}

.kbs-signature .kbs-copy {
  font-size: clamp(16px, 2.8vw, 21px);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.kbs-copy > span { display: block; }

.kbs-signature .kbs-brand {
  display: grid;
  justify-items: end;
  gap: 3px;
  width: clamp(74px, 14vw, 116px);
}

.kbs-signature .kbs-brand img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  background: none;
}

.kbs-signature .kbs-brand > span {
  margin-right: 2px;
  color: #753e30;
  font: 700 9px/1 system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.kbs-signature .kbs-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #aa6952;
  border-radius: 50%;
  color: #713b2e;
  font: 500 20px/1 system-ui, sans-serif;
}

a.kbs-signature:focus-visible {
  outline: 3px solid #823e30;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff7eb;
}

a.kbs-signature:focus-visible .kbs-arrow { background: #713b2e; color: white; }
@media (hover: hover) {
  a.kbs-signature:hover .kbs-arrow { background: #713b2e; color: white; }
}

@media (prefers-reduced-motion: no-preference) {
  .kbs-signature.kbs-signed .kbs-brand img {
    animation: kbs-ink 780ms cubic-bezier(.22,.68,.32,1) both;
  }
  .kbs-signature.kbs-signed .kbs-arrow > span {
    animation: kbs-point 460ms ease-out 560ms;
  }
  @keyframes kbs-ink {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0); }
  }
  @keyframes kbs-point {
    50% { transform: translate(2px, -2px); }
  }
}
