/* Contact module — same look as the previous HTML note form */

.rf-note-section {
  color: #fafafa;
}

.rf-note,
.rf-note__thanks {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
}

.rf-note__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.rf-note__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rf-note__lede,
.rf-note__thanks p {
  margin: 0 0 2.25rem;
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.65;
}

.rf-note__error {
  margin: 0 0 1.25rem;
  color: #fecaca;
  font-size: 0.9rem;
}

.rf-note__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.rf-note__field {
  margin: 0;
}

.rf-note__field--full,
.rf-note__actions {
  grid-column: 1 / -1;
}

.rf-note label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3a3a3;
}

.rf-note input,
.rf-note select,
.rf-note textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.15rem 0.75rem;
  border: 0;
  border-bottom: 1px solid #3f3f46;
  border-radius: 0;
  background: transparent;
  color: #fafafa;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.rf-note select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #a3a3a3 50%),
    linear-gradient(135deg, #a3a3a3 50%, transparent 50%);
  background-position:
    calc(100% - 12px) calc(50% + 2px),
    calc(100% - 7px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.rf-note input:focus,
.rf-note select:focus,
.rf-note textarea:focus {
  border-bottom-color: #fafafa;
}

.rf-note textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.rf-note__honey {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.rf-note__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.rf-note__submit,
.rf-note__call {
  appearance: none;
  margin: 0;
  padding: 0.85rem 1.6rem;
  border: 1px solid #fafafa;
  border-radius: 999px;
  background: transparent;
  color: #fafafa;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.rf-note__submit:hover,
.rf-note__submit:focus-visible,
.rf-note__call:hover,
.rf-note__call:focus-visible {
  background: #fafafa;
  color: #0a0a0a;
  outline: none;
}

.rf-note__aside {
  margin: 0;
  color: #a3a3a3;
  font-size: 0.8rem;
  line-height: 1.5;
}

.rf-note__aside a {
  color: #fafafa;
  text-decoration: none;
  border-bottom: 1px solid #525252;
}

.rf-note__thanks {
  padding: 2rem 1.25rem 3rem;
  text-align: center;
}

.rf-note__thanks h3 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .rf-note__grid {
    grid-template-columns: 1fr;
  }
}
