/* One flowing composition, with the decorative hand anchored to the message. */
.contact.contact--purple { background:var(--purple); color:var(--cream); }
.contact--purple .contact-title-art svg [fill]:not([fill="none"]) { fill:var(--cream); }
.contact.contact--purple .button { background:var(--hot-pink); color:var(--cream); }
.contact.contact--purple .button:hover { background:var(--cream); color:var(--purple); }
.contact.contact--purple .form-status { color:var(--cream); }
.contact.section-screen { min-block-size: var(--screen-block); padding: max(calc(var(--nav-height) + 1.5rem),12.5dvh) 0 3dvh; overflow: clip; }
.contact .contact-title-art { position: relative; z-index: 6; display: flex; align-items: center; gap: 4%; width: min(56%,55rem); margin: 0 auto; overflow: visible; }
.contact .contact-title-art > div { position: static; display: block; }
.contact .contact-title-art .contact-title-ready { width: 40.6%; }
.contact .contact-title-art .contact-title-fearless { width: 55.4%; }
.contact .contact-form { position: relative; z-index: auto; width: min(34%,30rem); margin: clamp(2rem,5dvh,3.5rem) 0 0 53%; padding: 0; }
.contact .form-intro { margin: 0 0 1.25rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.contact .contact-intro-break { display: inline; }
.contact .field { margin-bottom: 1rem; }
.contact .field-message { margin-bottom: 0; position: relative; z-index: 3; isolation: isolate; }
/* Retain accessible field names without a visible label row or reserved gap. */
.contact .field label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact .field input { height: 3rem; }
.contact .field textarea { position: relative; z-index: 1; height: clamp(7rem,16dvh,9rem); padding: .9rem 1rem; resize: vertical; }
.contact .field input,.contact .field textarea { border: 2px solid transparent; border-radius: .9rem; background: var(--cream); color: var(--purple); font-size: 1rem; font-weight: 400; line-height: 1.4; box-shadow: none; }
.contact .field input { padding-inline: 1rem; }
.contact .field input::placeholder,.contact .field textarea::placeholder { color: var(--purple); opacity: .8; font-weight: 400; }
.contact .field input:focus,.contact .field textarea:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px var(--field-pink); }
.contact .field input:focus-visible,.contact .field textarea:focus-visible { outline: 2px solid var(--cream); outline-offset: 4px; }
.contact .field [aria-invalid='true'] { border-color: var(--purple); }
.contact .field-error { position: relative; display: block; inset: auto; font-size: .875rem; line-height: 1.4; color: var(--cream); padding: .35rem .25rem 0; }
.contact .field-error:empty { display: none; }
.contact .field label,.contact .field-error,.contact .form-intro { color: #fff; }
.contact .form-footer { margin-top: 1.25rem; grid-template-columns: minmax(0,1fr) auto; }
.contact .button { width: 10rem; min-height: 3rem; font-size: 1rem; }
.contact .form-intro,.contact .field:not(.field-message),.contact .form-footer { position: relative; z-index: 6; }
.contact .field-message .field-error { z-index: 7; }
.contact-hand-anchor { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.contact .contact-hand { position: absolute; z-index: auto; pointer-events: none; }
.contact .contact-hand-mobile { display: none; }
.contact .contact-hand-desktop { --hand-height: min(67dvh,43.5rem); display: block; height: var(--hand-height); width: auto; aspect-ratio: 552.164/696.73; left: auto; right: calc(100% + clamp(1.5rem,3vw,3.5rem)); bottom: auto; top: calc(100% - var(--hand-height) * .7); }
.contact .contact-hand-desktop .contact-hand-composite { position: static; width: 100%; height: 100%; }
.contact .contact-hand-stage .contact-hand-desktop { top: auto; bottom: -1px; left: calc(49% - var(--hand-height) * .79252 - clamp(1.5rem,3vw,3.5rem)); right: auto; }

@media (max-width:1100px) and (orientation:portrait) {
  .contact .contact-hand-stage { display: none; }
  .contact.section-screen { padding-top: calc(var(--nav-height) + 1.5rem); padding-bottom: 3rem; }
  .contact .contact-title-art { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; width: min(78%,29rem); }
  .contact .contact-title-art .contact-title-ready { width: min(66%,15.85rem); margin-left: 2%; }
  .contact .contact-title-art .contact-title-fearless { width: min(100%,24rem); }
  .contact .contact-form { width: min(80%,29rem); margin: clamp(1.25rem,3dvh,2rem) auto 0; padding: 0; }
  .contact .form-intro { margin: 0 0 .85rem .3rem; font-size: 1rem; }
  .contact .contact-intro-break { display: inline; }
  .contact .field { margin-bottom: 1rem; }
  .contact .field-message { margin-bottom: 0; }
  .contact .field input { height: 2.75rem; padding-inline: 1rem; }
  .contact .field textarea { height: clamp(6.25rem,16dvh,8.5rem); padding: 1rem 1rem 1.75rem; }
  .contact .field input,.contact .field textarea { border-radius: .9rem; font-size: 1rem; }
  .contact .form-footer { margin-top: 1.25rem; }
  .contact .form-footer .button { grid-column: 2; grid-row: 1; }
  .contact .form-status { grid-column: 2; grid-row: 2; max-width: 9.5rem; text-align: right; margin: 0; }
  /* Feedback must stay readable where the decorative phone passes beneath it. */
  .contact .form-status:not(:empty) { padding: .5rem .625rem; border-radius: .55rem; background: var(--cream); color: var(--purple); overflow-wrap: anywhere; }
  .contact .form-footer:has(.form-status:empty) { row-gap: 0; }
  .contact .button { width: 9.5rem; font-size: 1rem; min-height: 2.9rem; }
  .contact .contact-hand-desktop { display: none; }
  .contact .contact-hand-mobile { --hand-height: clamp(15rem,42dvh,24rem); display: block; width: auto; height: var(--hand-height); aspect-ratio: 290/366; left: calc(var(--hand-height) * -.3); right: auto; bottom: auto; top: calc(100% - 1rem - var(--hand-height) * .0738); }
  .contact .field-message:has(.field-error:not(:empty)) .contact-hand-mobile { translate: 0 1.5rem; }
}
@media (min-width:600px) and (min-height:900px) and (orientation:portrait) {
  .contact .contact-hand-mobile { --hand-height: min(52dvh,40rem); }
}
@media (max-width:430px) and (max-height:650px) {
  .contact.section-screen { padding-top: calc(var(--nav-height) + 1rem); padding-bottom: 1.5rem; }
  .contact .contact-title-art { width: 80%; gap: .4rem; }
  .contact .contact-form { margin-top: 1.25rem; }
  .contact .form-intro { font-size: 1rem; margin-bottom: .6rem; }
  .contact .field { margin-bottom: .85rem; }
  .contact .field-message { margin-bottom: 0; }
  .contact .form-footer { margin-top: .85rem; }
  .contact .contact-hand-mobile { --hand-height: 14rem; }
}
