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

/* HEADER */
.ct-header {
  padding: 14rem 2.5rem 6rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.ct-header > * {
  position: relative;
  z-index: 1;
}

.ct-waveform {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ct-header__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.ct-header__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.ct-header__title em {
  font-style: italic;
  display: block;
}

.ct-header__lead {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 560px;
}

/* BODY */
.ct-body {
  padding: 6rem 2.5rem 8rem;
  max-width: 760px;
  margin: 0 auto;
}

/* FORM */
.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.ct-form__group {
  margin-bottom: 3rem;
}

.ct-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.85rem;
}

.ct-form__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-body, sans-serif);
  font-size: 1.15rem;
  padding: 0.85rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.ct-form__input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.ct-form__input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}

/* Select */
.ct-form__select-wrap {
  position: relative;
}

.ct-form__select-wrap::after {
  content: '↓';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--grey);
  font-size: 0.85rem;
}

select.ct-form__input {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 1.5rem;
}

select.ct-form__input option {
  background: #111;
  color: #fff;
}

/* Textarea */
textarea.ct-form__input {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
  padding-top: 0.5rem;
}

/* Honeypot — hidden from humans */
.ct-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Submit */
.ct-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.ct-form__submit {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: opacity 0.3s ease;
  letter-spacing: -0.01em;
}

.ct-form__submit:hover {
  opacity: 0.55;
}

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

/* Status messages */
.ct-form__status {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.ct-form__status--success {
  color: rgba(255, 255, 255, 0.6);
}

.ct-form__status--error {
  color: rgba(220, 80, 80, 0.9);
}

/* INFO PANEL */
.ct-info {
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 4rem;
  flex-wrap: wrap;
}

.ct-info__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.ct-info__list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 3rem;
}

.ct-info__item {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.ct-info__item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ct-info__item a:hover {
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .ct-header {
    padding: 10rem 1.5rem 5rem;
  }

  .ct-body {
    padding: 4rem 1.5rem 6rem;
  }

  .ct-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ct-info {
    flex-direction: column;
    gap: 2rem;
  }
}
