body.contact-page {
  background: #020202;
}

body.contact-page main {
  min-height: 100vh;
  padding: 0;
}

.contact-section {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.contact-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.contact-video.is-active {
  opacity: 1;
}

.contact-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(25, 0, 0, 0.55));
  z-index: 1;
  pointer-events: none;
}

.contact-stack {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(2.5rem, 8vw, 4rem) 5vw;
}

.contact-block {
  min-height: clamp(70vh, 80vh, 780px);
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.contact-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 1.25rem;
  justify-self: start;
  text-align: left;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  align-self: end;
}

.contact-heading .eyebrow {
  font-family: "Playfair Display", serif;
  font-style: italic;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  margin: clamp(1rem, 3vh, 2rem) 0 0;
  text-align: center;
  width: 100%;
  transform: translateX(-2px);
}

.contact-heading h2 {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.contact-info {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.info-label {
  min-width: 140px;
  font-family: "Prompt", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.info-value {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f5f2eb;
  text-align: center;
}

.info-value a {
  color: inherit;
}

.info-value a:hover,
.info-value a:focus-visible {
  color: var(--accent);
  outline: none;
}

.info-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

body.contact-page .contact-card > p {
  max-width: 620px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

@media (max-width: 640px) {
  body.contact-page .contact-heading h2 {
    white-space: normal;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-card {
    padding: 1rem;
    border-radius: 18px;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
  }

  .contact-info li {
    align-items: flex-start;
    text-align: left;
  }

  .info-label,
  .info-value {
    width: 100%;
    text-align: left;
  }

  .contact-card p {
    text-align: center;
  }

  .info-value {
    align-items: flex-start;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  body.contact-page {
    overflow-x: hidden;
  }

  body.contact-page main {
    padding-top: calc(var(--header-height) + 0.2rem);
    padding-bottom: 2rem;
  }

  body.contact-page .contact-section {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
  }

  .contact-stage {
    position: absolute;
  }

  .contact-video {
    opacity: 0.35;
    filter: saturate(0.85);
  }

  .contact-stack {
    min-height: auto;
    padding: 5rem 5vw 2rem;
    align-content: flex-start;
    gap: 1.2rem;
  }

  body.contact-page .contact-stack {
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .contact-block {
    width: 100%;
    min-height: auto;
    gap: 1rem;
  }

  .contact-info li {
    align-items: flex-start;
    text-align: left;
  }

  .info-label,
  .info-value {
    width: 100%;
    text-align: left;
  }

  .info-value {
    align-items: flex-start;
  }
}
