:root { --error: #A33A2B; }

/* ================= shared panel (same spacing as the 2 column blocks) ================= */
.panel { background: var(--panel); }
.panel__inner { max-width: var(--max); margin: 0 auto; padding: 128px 30px 90px; }
.panel__inner h1 { font-weight: 200; font-size: var(--h-top); margin: 0 0 45px; color: var(--ink); text-wrap: balance; }
.panel__inner p { font-weight: 200; font-size: var(--body); line-height: 1.6; margin: 0 0 14px; color: var(--ink); }
.panel__divider { height: 1px; background: var(--ink); margin-top: 45px; }
.fill { background: rgba(25, 97, 107, .14); color: inherit; padding: 0 3px; border-radius: 2px; }
@media (max-width: 1024px) { .panel__inner { padding: 106px 24px 82px; } }
@media (max-width: 700px) { .panel__inner { padding: 90px 20px 74px; } }

/* ================= CONTACT FORM BLOCK ================= */
.contact__row { display: flex; gap: 60px; align-items: flex-start; }
.contact__intro { flex: 1; min-width: 0; }
.contact__details { display: flex; flex-direction: column; gap: 24px; margin-top: 45px; }
.contact__details h2 { font-weight: 300; font-size: var(--body); margin: 0 0 4px; color: var(--ink); }
.contact__details p { margin: 0; }
.contact__details a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.contact__details a:hover, .contact__details a:focus-visible { border-bottom-color: currentColor; }
.contact__social { display: flex; gap: 12px; }

.contact__form { flex: 1.4; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 300; font-size: clamp(14px, 0.7292vw, 22.4px); color: var(--ink); }
.field label .opt { font-weight: 200; opacity: .7; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 200; font-size: var(--body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--dark); border-radius: 0;
  padding: 8px 0 10px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 9.5em; line-height: 1.6; }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232C3636' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px center / 14px 8px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink); opacity: .45; }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__error { font-weight: 300; font-size: 14px; color: var(--error); min-height: 0; }
.field__error:empty { display: none; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 200; font-size: var(--body); line-height: 1.6; color: var(--ink); }
.consent input { width: 18px; height: 18px; margin: 4px 0 0; flex: none; accent-color: var(--teal); cursor: pointer; }
.consent a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.form-actions { display: flex; justify-content: flex-end; margin-top: 60px; }
button.cta-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; color: var(--ink); opacity: .75; }
button.cta-link:hover, button.cta-link:focus-visible { opacity: 1; }

.form-sent { display: none; padding: 40px 0 0; }
.form-sent h2 { font-weight: 200; font-size: var(--h2); margin: 0 0 20px; color: var(--ink); }
.contact__form.is-sent form { display: none; }
.contact__form.is-sent .form-sent { display: block; }
.proto-note { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 300; color: var(--teal); border: 1px dashed var(--teal); padding: 6px 10px; }

@media (max-width: 1024px) { .contact__row { gap: 40px; } .form-grid { gap: 32px 24px; } }
@media (max-width: 700px) {
  .contact__row { flex-direction: column; gap: 60px; }
  .contact__form { width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 28px; }
  .field label { font-size: 16px; }
  .form-actions { margin-top: 48px; }
}


