/* —— Contract & social link hub (graveyard strip wallpaper) —— */
.link-hub {
  width: 100%;
  background: #000;
  --link-icon: max(40px, calc(54 * 100vw / var(--layout-ref)));
  --link-label: max(12px, calc(16 * 100vw / var(--layout-ref)));
  --link-addr: max(10px, calc(13 * 100vw / var(--layout-ref)));
  --link-stack-gap: max(8px, calc(12 * 100vw / var(--layout-ref)));
  --link-social-gap: max(8px, calc(14 * 100vw / var(--layout-ref)));
  --link-stack-width: min(92vw, calc(600 * 100vw / var(--layout-ref)));
}

.link-hub__frame {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
  container-type: inline-size;
  container-name: linkhub;
}

.link-hub__bg {
  display: block;
  width: 100%;
  height: auto;
}

.link-hub__stack {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 41%;
  transform: translateX(-50%);
  width: var(--link-stack-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--link-stack-gap);
  text-align: center;
  line-height: normal;
}

.ca-copy {
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.ca-copy:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

.ca-copy__label {
  display: block;
  margin-bottom: calc(4 * 100vw / var(--layout-ref));
  font-family: var(--typewriter);
  font-size: var(--link-label);
  letter-spacing: 0.06em;
  color: var(--red-bright);
  line-height: 1.2;
  text-shadow:
    1px 1px 0 #000,
    0 0 14px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
}

.ca-copy__addr {
  display: block;
  font-family: var(--typewriter);
  font-size: var(--link-addr);
  letter-spacing: 0.04em;
  color: #d4ccc2;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow:
    1px 1px 0 #000,
    0 0 12px rgba(0, 0, 0, 0.9);
}

.ca-copy.is-copied .ca-copy__label {
  color: #9fdf9f;
}

.link-hub__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--link-social-gap);
}

.link-hub__social a {
  display: block;
  flex: 0 0 var(--link-icon);
  width: var(--link-icon);
  height: var(--link-icon);
  line-height: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.9));
  transition: filter 0.12s ease;
}

.link-hub__social a:hover,
.link-hub__social a:focus-visible {
  filter: drop-shadow(0 0 10px rgba(229, 57, 53, 0.55));
}

.link-hub__social a:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.link-hub__social img {
  width: var(--link-icon);
  height: var(--link-icon);
  object-fit: contain;
  display: block;
}