.cv-contact {
  padding-block: clamp(4rem, 8vw, 8rem);
  color: var(--paper);
  background: var(--ink);
}
.cv-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 7rem);
}
.cv-contact-heading { max-width: 29rem; }
.cv-contact-heading .eyebrow { color: var(--lime); }
.cv-contact-heading .section-title { margin: 1.2rem 0 1.3rem; color: inherit; }
.cv-contact-heading .section-title em { display: block; color: var(--lime); }
.contact-direct { align-items:center; }
.contact-direct .button { margin:1.35rem 0 1rem; color:var(--ink); background:var(--lime); border-color:var(--lime); }
.contact-direct .button:hover { background:white; border-color:white; }
.contact-direct .contact-alternative { font-size:.91rem; }
.contact-alternative a { text-underline-offset:.2em; }
.cv-contact-heading > p:last-child { max-width: 30ch; color: #eff2f5; line-height: 1.65; }
.cv-form {
  position: relative;
  min-width: 0;
  padding: clamp(1.25rem, 3.3vw, 3rem);
  border-radius: .4rem;
  background: var(--paper);
  color: var(--ink);
}
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1rem; }
.contact-field { display: flex; flex-direction: column; min-width: 0; gap: .45rem; line-height: 1.25; }
.contact-field > span, .contact-details > legend { font-weight: 650; font-size: .9375rem; }
.contact-field small { font-size: .875rem; font-weight: 400; }
.contact-field :is(input, select, textarea) {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: .68rem .75rem;
  min-height: 2.85rem;
  border: 1px solid #939ba8;
  border-radius: .25rem;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-field textarea { resize: vertical; }
.contact-field select {
  appearance: none;
  padding-right: 2.2rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6' stroke='%23132849' stroke-width='1.8'/%3E%3C/svg%3E") right .75rem center/1rem no-repeat;
}
.contact-field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}
.contact-details, .contact-wide { grid-column: 1 / -1; }
.contact-details { margin: .25rem 0 0; border: 0; padding: 0; min-width: 0; }
.contact-details legend { padding: 0; }
.contact-hint, .contact-notice, .contact-feedback { margin: .3rem 0 .75rem; font-size: .875rem; line-height: 1.5; color: #425570; }
.contact-submit-area { margin-top: 1.25rem; }
.contact-notice { margin-bottom: 1rem; }
.contact-notice a, .secondary-return { color: #193cae; text-decoration: underline; text-underline-offset: .16em; }
.contact-submit:disabled { background: #d7dce4; border-color: #d7dce4; color: #34445e; cursor: default; box-shadow: none; }
.contact-feedback { color: #832717; font-weight: 600; }
.contact-feedback:empty { display: none; }
.cv-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cv-secondary { padding-block: clamp(3.2rem, 9vw, 8rem); min-height: 60vh; }
.secondary-return { font-size: .9375rem; }
.cv-secondary h1 { margin: 2rem 0; font-size: clamp(2.1rem, 5.9vw, 5.15rem); line-height: 1.04; letter-spacing: -.06em; overflow-wrap: break-word; }
.secondary-copy { max-width: 65ch; overflow-wrap: anywhere; white-space: normal; }
.secondary-copy p { margin: 0 0 1.1em; line-height: 1.65; }
.cv-secondary > .button { margin-top: 1rem; }
@media (max-width: 820px) {
  .cv-contact-inner { grid-template-columns: 1fr; }
  .cv-contact-heading { max-width: none; }
  .cv-contact-heading .section-title em { display: inline; }
  .cv-contact-heading > p:last-child { max-width: 45ch; }
}
@media (max-width: 560px) {
  .contact-fields { grid-template-columns: 1fr; gap: .95rem; }
  .contact-submit { width: 100%; }
}
