/* Finish with one visual invitation. */
.connection-section {
  padding-block: 56px 64px;
}
.connection-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(350px, 34vw, 440px);
  overflow: hidden;
  border-radius: 32px;
  background: #fff4e6;
}
.connection-panel-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.connection-panel-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(74%, 820px);
  padding: 48px 0;
  text-align: center;
}
.connection-panel-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #ffffffba;
  border-radius: 19px;
  background: #fffdfbf2;
  box-shadow:
    0 5px 15px #79442310,
    inset 0 1px 0 #fff;
}
.connection-panel-mark::before {
  content: "";
  width: 37px;
  height: 37px;
  background: var(--accent);
  mask: url("/assets/site/assets/logo.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/site/assets/logo.svg") center / contain no-repeat;
}
.connection-section .connection-panel h2 {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.05vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.4px;
  text-wrap: balance;
}
.connection-panel .button {
  margin-top: 2px;
}
@media (max-width: 800px) {
  .connection-section {
    padding-block: 40px 48px;
  }
  .connection-panel {
    min-height: 340px;
    border-radius: 26px;
  }
  .connection-panel-copy {
    width: 70%;
    gap: 22px;
    padding: 40px 0;
  }
  .connection-panel-mark {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }
  .connection-panel-mark::before {
    width: 33px;
    height: 33px;
  }
  .connection-section .connection-panel h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
}
@media (max-width: 600px) {
  .connection-section {
    padding-block: 32px 40px;
  }
  .connection-panel {
    min-height: 370px;
    place-items: start center;
    border-radius: 24px;
  }
  .connection-panel-copy {
    width: 100%;
    gap: 20px;
    padding: 38px 28px 132px;
  }
  .connection-panel-art {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    mask-image: linear-gradient(to bottom, transparent, #000 25%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%);
  }
  .connection-section .connection-panel h2 {
    max-width: 330px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.9px;
  }
  .connection-panel-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .connection-panel-mark::before {
    width: 31px;
    height: 31px;
  }
}
