/* ========================================
   CONTACT PAGE
======================================== */

.contact-page {
  --contact-bg: #0b0b0b;
  --contact-surface: #111111;
  --contact-border: rgb(244 243 240 / 14%);
  --contact-text: #f4f3f0;
  --contact-muted: #888783;

  background: var(--contact-bg);
  color: var(--contact-text);
}

.contact-main {
  width: min(1100px, calc(100% - 10vw));
  margin: 0 auto;
  padding: clamp(130px, 14vw, 180px) 0 120px;
}

/* INTRO */

.contact-intro {
  max-width: 760px;
  margin-bottom: clamp(60px, 9vw, 110px);
}

.contact-eyebrow {
  margin: 0 0 30px;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.contact-intro h1 {
  margin: 0;
  color: var(--contact-text);
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.contact-intro h1 em {
  color: #999792;
  font-weight: 400;
}

.contact-description {
  max-width: 440px;
  margin: 32px 0 0;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* CONTENT LAYOUT */

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: clamp(50px, 10vw, 140px);
  align-items: start;
}

/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 34px;
  min-width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-field label {
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--contact-border);
  border-radius: 0;
  outline: none;
  padding: 15px 0 18px;
  background: transparent;
  color: var(--contact-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 200ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #666560;
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--contact-text);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

.form-field select {
  color: #888783;
  cursor: pointer;
}

.form-field select:valid {
  color: var(--contact-text);
}

.form-field select option {
  background: #111111;
  color: #f4f3f0;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 4px;
  padding: 20px 22px;
  border: 1px solid var(--contact-text);
  background: var(--contact-text);
  color: var(--contact-bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.contact-submit span:last-child {
  font-size: 1.15rem;
  transition: transform 200ms ease;
}

.contact-submit:hover {
  background: transparent;
  color: var(--contact-text);
}

.contact-submit:hover span:last-child {
  transform: translate(3px, -3px);
}

.form-note {
  margin: -18px 0 0;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* SOCIAL ALTERNATIVE */

.contact-alternative {
  padding-top: 4px;
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--contact-border);
}

.contact-divider span {
  flex-shrink: 0;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.social-heading {
  margin: 0 0 12px;
  color: var(--contact-text);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.social-description {
  max-width: 330px;
  margin: 0 0 32px;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.8;
}

.contact-socials {
  display: flex;
  flex-direction: column;
}

.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--contact-border);
  color: var(--contact-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 200ms ease;
}

.contact-socials a span:last-child {
  color: var(--contact-muted);
  transition: transform 200ms ease, color 200ms ease;
}

.contact-socials a:hover {
  color: #aaa9a3;
}

.contact-socials a:hover span:last-child {
  color: var(--contact-text);
  transform: translate(3px, -3px);
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.6;
}

.location-indicator {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #999792;
}

/* CONTACT FOOTER */

.contact-page .contact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1100px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid var(--contact-border);
  color: var(--contact-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
}

.contact-page .contact-footer p {
  margin: 0;
  color: var(--contact-muted);
  font-size: inherit;
}

.contact-page .footer-home {
  color: var(--contact-text);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  .contact-main {
    width: calc(100% - 40px);
    padding-top: 110px;
    padding-bottom: 85px;
  }

  .contact-intro {
    margin-bottom: 65px;
  }

  .contact-intro h1 {
    font-size: clamp(3.8rem, 15vw, 6rem);
  }

  .contact-description {
    font-size: 0.9rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .contact-alternative {
    max-width: none;
  }

  .contact-page .contact-footer {
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 40px);
    gap: 12px;
    padding: 25px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}