/* Generated file: edit the design source, not this copy. */
/* the contact page: the homepage's Work with us panel, with a message form where the photo is */
  .contact { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
  .contact .work-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  @media (max-width: 860px) { .contact .work-grid { grid-template-columns: 1fr; } }
  .form-wrap { position: relative; max-width: 520px; }
  /* the form is always a light sheet on the gradient, in both themes, like the panel's text */
  .contact-form, .sent { position: relative; padding: clamp(22px, 3vw, 32px); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--sh-l) var(--sh-l) 0 var(--ink); }
  .contact-form h2, .sent h2 { font-size: 1.5rem; font-weight: 900; }
  .field { margin-top: 16px; }
  .field label { display: block; margin-bottom: 6px; font: 700 .9375rem/1.3 var(--f-title); }
  .field label span { font-weight: 500; color: var(--mute-light); }
  .field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; }
  .field textarea { min-height: 140px; resize: vertical; }
  .field :focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
  .field [aria-invalid="true"] { border-color: var(--coral-text); background: #fff4f2; }
  .field .err { display: block; margin-top: 6px; font: 600 .875rem/1.3 var(--f-body); color: var(--coral-text); }
  /* dark mode: the form is a dark sheet on the dark panel, fields dark with light text */
  :root[data-theme="dark"] .contact-form, :root[data-theme="dark"] .sent { background: var(--bg); color: var(--paper); border-color: var(--rule); box-shadow: var(--sh-l) var(--sh-l) 0 var(--shade); }
  :root[data-theme="dark"] .field label span, :root[data-theme="dark"] .work .form-note { color: var(--mute-dark); }
  :root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { color: var(--paper); background: #0d0706; border-color: rgba(255, 249, 244, .55); }
  :root[data-theme="dark"] .field [aria-invalid="true"] { border-color: #ff7a6e; background: rgba(255, 122, 110, .08); }
  :root[data-theme="dark"] .field .err, :root[data-theme="dark"] .work .form-error { color: #ff7a6e; border-color: #ff7a6e; }
  :root[data-theme="dark"] .work .contact-form .send { background: var(--paper); color: var(--ink); }
  .work .form-error { margin-top: 12px; padding: 10px 12px; max-width: none; border: 2px solid var(--coral-text); color: var(--coral-text); font: 700 .9375rem/1.4 var(--f-title); }
  /* a field only spam bots fill in; people never see it */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .work .contact-form .send { margin-top: 22px; background: var(--ink); color: var(--paper); box-shadow: var(--sh-s) var(--sh-s) 0 var(--coral); }
  .work .contact-form .send:hover { box-shadow: calc(var(--sh-s) + 2px) calc(var(--sh-s) + 2px) 0 var(--coral); }
  .work .form-note { margin-top: 14px; font-size: .875rem; color: var(--mute-light); }
  .work .sent p { font-size: 1.0625rem; }
  .work .sent .btn { margin-top: 22px; }
  /* Chary stands at the form's bottom right corner, turned towards it */
  .work .form-wrap .mage { right: -46px; bottom: -22px; height: 150px; }
  /* phones: the card gets room at the bottom, so Chary never covers the button or the note */
  @media (max-width: 520px) { .work .form-wrap .mage { right: -40px; height: 120px; } .contact-form, .sent { padding-bottom: 104px; } }
  /* the thank-you and the error get the keyboard focus after a send; they're messages, not controls, so no focus ring */
  .sent:focus, .form-error:focus { outline: none; }
