/* Contact page — form showcase & fields */

.film-showcase {
  position: relative;
  width: 100%;
  margin-top: clamp(2rem, 5vh, 3rem);
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(0.75rem, 2.5vw, 1.25rem);
  overflow-x: clip;
  overflow-y: visible;
}

.contact-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(
      ellipse 75% 55% at 50% 45%,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.1) 45%,
      rgba(255, 255, 255, 0) 70%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(127, 159, 190, 0.18) 0%,
      rgba(127, 159, 190, 0) 55%
    );
}

.contact-glow::before,
.contact-glow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-glow::before {
  width: min(88%, 22rem);
  height: min(72%, 16rem);
}

.contact-glow::after {
  width: min(62%, 15rem);
  height: min(50%, 11rem);
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-showcase {
  display: flex;
  justify-content: center;
}

.contact-form-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(34rem, 100%);
}

.contact-form {
  position: relative;
  width: 100%;
  padding: clamp(1.15rem, 3vw, 1.5rem) clamp(1.25rem, 3.5vw, 1.75rem);
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 28px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.06);
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, #d8e4ee 20%, var(--blue-dark) 50%, #d8e4ee 80%, transparent);
  opacity: 0.45;
}

.contact-form-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 0.25rem;
  line-height: 1.15;
  text-align: center;
}

.contact-form-lead {
  font-family: "Geist Sans", "Geist", sans-serif;
  font-size: clamp(0.7rem, 1.7vw, 0.78rem);
  font-weight: 400;
  color: #666666;
  margin: 0 0 1rem;
  line-height: 1.45;
  text-align: center;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.65rem;
}

.contact-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Geist Sans", "Geist", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #444444;
}

.contact-field input,
.contact-field textarea {
  font-family: "Geist Sans", "Geist", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #1a1a1a;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 0.5rem 0.65rem;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-field textarea {
  min-height: 4.25rem;
  resize: vertical;
  line-height: 1.45;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #5a87a8;
  background: #ffffff;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.7rem 1rem;
  font-family: "Geist Sans", "Geist", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: #1a1a1a;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-submit:hover {
  opacity: 0.88;
}

.contact-success {
  font-family: "Geist Sans", "Geist", sans-serif;
  font-size: 0.8rem;
  color: #5a87a8;
  text-align: center;
  margin: 0.85rem 0 0;
  line-height: 1.5;
}

.contact-success[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .contact-showcase,
  .film-showcase {
    margin-top: 1.25rem;
    padding: 1rem 0.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-form-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 0.15rem;
  }

  .contact-form {
    padding: 1.25rem 1rem;
  }

  .contact-form-title {
    font-size: 1.35rem;
  }

  .contact-form-lead {
    font-size: 0.78rem;
    margin-bottom: 1.1rem;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 1rem;
    padding: 0.65rem 0.75rem;
    min-height: 2.75rem;
  }

  .contact-field textarea {
    min-height: 5.5rem;
  }

  .contact-submit {
    min-height: 2.85rem;
    font-size: 0.85rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-glow::before {
    width: min(95%, 18rem);
    height: min(68%, 13rem);
  }

  .contact-glow::after {
    width: min(70%, 12rem);
    height: min(55%, 9rem);
  }
}

@media (max-width: 400px) {
  .contact-form {
    padding: 1.15rem 0.85rem;
  }
}
