/* ============================================================
   EN POINTE CASTING — Contact Page Styles (v2)
   ============================================================ */

/* ----------------------------------------------------------
   PAGE HEADER
   ---------------------------------------------------------- */
.c-header {
  padding: calc(var(--nav-h) + var(--sp-xl)) 0 var(--sp-lg);
}

.c-header__eyebrow {
  display: block;
  margin-bottom: var(--sp-sm);
}

.c-header__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  line-height: 1.0;
  margin-bottom: var(--sp-sm);
  max-width: 700px;
}

.c-header__sub {
  font-family: var(--sans);           /* DM Sans */
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--taupe);
  max-width: 400px;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   CONTACT BODY — form + info sidebar
   ---------------------------------------------------------- */
.c-body {
  padding: var(--sp-lg) 0 var(--sp-xl);
  border-top: 1px solid var(--cream-dark);
}

.c-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-xl);
  align-items: start;
}

/* ----------------------------------------------------------
   FORM
   ---------------------------------------------------------- */
.c-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__label {
  font-family: var(--sans);           /* DM Sans */
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.form__required {
  color: var(--amber);
}

.form__input {
  width: 100%;
  padding: 0.85rem 0;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dark);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: var(--taupe-light);
  font-weight: 300;
}

.form__input:focus {
  border-bottom-color: var(--taupe);
}

.form__field.is-error .form__input {
  border-bottom-color: #b5786a;
}

.form__error {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #b5786a;
  min-height: 1em;
}

/* Textarea */
.form__textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.7;
}

/* Two col row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

/* Submit row */
.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding-top: var(--sp-xs);
}

.form__privacy {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--taupe-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success */
.c-success {
  display: none;
  padding: var(--sp-lg) 0;
}

.c-success__title {
  font-family: var(--editorial);      /* Playfair Display — warm serif success */
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--taupe-dark);
  margin-bottom: var(--sp-sm);
}

.c-success__body {
  font-family: var(--sans);           /* DM Sans */
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   INFO SIDEBAR
   ---------------------------------------------------------- */
.c-info {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-md));
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.c-info__block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.c-info__label {
  display: block;
  margin-bottom: var(--sp-xs);
}

.c-info__location-name {
  font-family: var(--editorial);
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--taupe-dark);
  line-height: 1.2;
}

.c-info__location-sub {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.7;
}

.c-info__email {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--taupe);
  transition: color var(--ease);
  border-bottom: 1px solid transparent;
}

.c-info__email:hover {
  color: var(--taupe-dark);
  border-bottom-color: var(--pink);
}

.c-info__divider {
  width: 28px;
  height: 1px;
  background-color: var(--cream-dark);
}

/* Social links */
.c-social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.c-social__link {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-light);
  transition: color var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.c-social__link:hover {
  color: var(--taupe-dark);
}

.c-social__arrow {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--pink);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--ease), transform var(--ease);
}

.c-social__link:hover .c-social__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 860px) {
  .c-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
  .c-info {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--sp-md);
    padding-top: var(--sp-md);
    border-top: 1px solid var(--cream-dark);
  }
  .c-info__block { min-width: 180px; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form__actions { flex-direction: column; align-items: flex-start; }
  .form__submit { width: 100%; justify-content: center; }
  .c-info { flex-direction: column; }
}
