#contact {
  position: relative;
  min-height: 80vh;
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  z-index: 2;
  position: relative;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--fg);
}

.contact-title-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.contact-cards-container {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  width: 100%;
  z-index: 2;
  position: relative;
}

.contact-card {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--fg);
  cursor: pointer;
}

.contact-card.tilt-left {
  transform: rotate(-3deg);
}

.contact-card.tilt-right {
  transform: rotate(3deg);
}

.contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.contact-card-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contact-footer {
  margin-top: 5rem;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-svg-chibi {
  width: auto;
  height: auto;
}

.the-end {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  text-align: center;
  position: relative;
  padding: 2rem 0;
}
.the-end::before,
.the-end::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background: var(--ink);
}
.the-end::before {
  right: calc(50% + 6rem);
}
.the-end::after {
  left: calc(50% + 6rem);
}

@media (max-width: 768px) {
  #contact {
    min-height: auto !important;
    padding: 2rem 1rem !important;
  }
}
