/* ── Contact Page ─────────────────────────────────────────── */
.page-contact {
  overflow: hidden;
}

.contact-main {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: var(--footer-h);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: 1200px;
  margin: 0 auto;
}

/* Left — intro */
.contact-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}

.contact-heading em {
  font-style: italic;
  font-weight: 300;
}

.contact-note {
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.1vw, 12px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--grey);
  max-width: 320px;
}

/* Right — form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row--two {
  flex-direction: row;
  gap: 20px;
}

.form-row--two .form-field {
  flex: 1;
  min-width: 0;
}

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

.form-field label,
.form-fieldset legend {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid #d8d8d8;
  padding: 8px 0;
  outline: none;
  border-radius: 0;
  letter-spacing: 0.01em;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #c0c0c0;
}

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

.form-field textarea {
  resize: none;
  line-height: 1.6;
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-fieldset legend {
  margin-bottom: 10px;
}

.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--black);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.radio-label input[type="radio"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.radio-label input[type="radio"]:checked {
  border-color: var(--black);
  background: var(--black);
}

.form-submit {
  padding-top: 4px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.submit-btn {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.submit-btn:hover { opacity: 0.7; }
.submit-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.form-error {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #b04040;
}

/* Success state — hidden by default, shown via JS */
.form-success {
  flex-direction: column;
  gap: 12px;
}

.form-success[hidden] {
  display: none;
}

.form-success:not([hidden]) {
  display: flex;
}

.success-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--black);
}

.success-body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.75;
  color: var(--grey);
}

.success-contact {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.success-contact a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-contact { overflow-y: auto; }

  .contact-main {
    position: static;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 24px calc(var(--footer-h) + 32px);
    margin-top: var(--header-h);
    align-items: start;
  }

  .contact-heading {
    font-size: clamp(32px, 9vw, 48px);
  }

  .contact-note {
    font-size: 12px;
    max-width: 100%;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 14px;
    padding: 10px 0;
  }

  .radio-group { flex-direction: column; gap: 12px; }

  .submit-btn { width: 100%; text-align: center; padding: 16px 32px; }
}
