.app-contact[hidden] { display: none; }
.app-contact { position: relative; min-width: 0; font-family: 'Poppins', sans-serif; }
.app-contact-sheet { position: relative; padding: 28px 0 0; border-top: 1px solid #ffffff50; }
.app-contact-intro { display: flex; justify-content: space-between; align-items: center; color: #a799a5; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.app-contact-intro span:last-child { color: #ff1493; font-size: 1.6rem; line-height: 1; }
.app-contact h2 { margin: 18px 0 24px; color: #fff; font: 400 clamp(1.5rem, 2.5vw, 2.25rem)/1 'Archivo Black', sans-serif; letter-spacing: -.06em; }
.app-contact-form { display: grid; gap: 18px; }
.app-contact-form label { display: grid; gap: 8px; color: #bdb8c0; font-size: .7rem; line-height: 1.4; }
.app-contact-form input, .app-contact-form textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; padding: 8px 0 12px; border: 0; border-bottom: 1px solid #ffffff24; border-radius: 0; background: transparent; color: #fff; font: 400 .875rem/1.5 'Poppins', sans-serif; box-shadow: none; }
.app-contact-form textarea { resize: vertical; min-height: 82px; max-height: 200px; }
.app-contact-form input::placeholder, .app-contact-form textarea::placeholder { color: #77717c; opacity: 1; }
.app-contact-form input:focus, .app-contact-form textarea:focus { outline: none; border-bottom-color: #ff1493; }
.app-contact-form .app-contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.app-contact-send { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 15px 18px; border: 1px solid #ff1493; border-radius: 0; background: #ff1493; color: #fff; font: 400 1rem/1.1 'Archivo Black', sans-serif; cursor: pointer; transition: background 200ms, box-shadow 200ms; }
.app-contact-send:hover { background: #df087d; box-shadow: 0 8px 35px #ff149326; }
.app-contact-send:focus-visible, .app-contact a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.app-contact-send:disabled { opacity: .65; cursor: default; }
.app-contact-form .app-contact-direct { margin: 0; color: #807986; font-size: .65rem; line-height: 1.7; }
.app-contact a { color: #c6b8c5; text-decoration: underline; text-underline-offset: 3px; }
.app-contact-form .app-contact-status { margin: 0; color: #d6c3d0; font-size: .8rem; line-height: 1.6; }
.app-contact-status:empty { display: none; }
.app-contact-signature { margin: 30px 0 0; color: #e6dce5; font-size: .75rem; text-align: center; letter-spacing: .02em; }
.app-contact-heart { display: inline-block; margin: 0 3px; color: #ff1493; filter: drop-shadow(0 0 8px #ff149360); }
.app-contact-signature-line { display: block; margin-top: 7px; color: #726a76; font-size: .6rem; }
.app-handoff-shell.is-contact { background: radial-gradient(ellipse at 80% 85%, #ff14930a, transparent 50%), #111; }
@media (prefers-reduced-motion: no-preference) {
    .app-contact:not([hidden]) .app-contact-sheet { animation: app-contact-enter 800ms cubic-bezier(.16,1,.3,1) both; }
    .app-contact:not([hidden]) .app-contact-signature { animation: app-contact-enter 800ms ease 550ms both; }
    .app-contact:not([hidden]) .app-contact-heart { animation: app-contact-heartbeat 4s ease-in-out 1s infinite; }
}
@media (min-width: 1024px) {
    .app-contact { position: absolute; inset: 0 0 110px calc(-1 * clamp(20px, 3vw, 60px)); display: flex; flex-direction: column; justify-content: center; }
    .app-contact-sheet { padding-top: 18px; }
    .app-contact h2 { margin: 12px 0 20px; }
    .app-contact-form { gap: 14px; }
    .app-contact-signature { margin-top: 24px; }
    .app-handoff-shell.is-contact h1 { font-size: clamp(3rem, min(7.2vw, 13svh), 7.5rem); }
}
@keyframes app-contact-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes app-contact-heartbeat { 0%, 22%, 100% { scale: 1; } 10% { scale: 1.16; } 16% { scale: 1; } }
.app-contact-compose[hidden], .app-contact-letter[hidden] { display: none; }
.app-contact-letter { position: relative; padding: clamp(22px, 3vw, 34px); background: #eee9e0; color: #29232b; box-shadow: 0 24px 70px #0005; transform-origin: center top; }
.app-contact-letter::after { content: ''; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: linear-gradient(45deg, #d5cec3 50%, #111 51%); }
.app-contact-letter-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #827681; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.app-contact-stamp { padding: 7px 10px; border: 1px solid #c84d85; color: #ad2d69; letter-spacing: .16em; rotate: -7deg; }
.app-contact-letter h2 { color: #29232b; margin: 28px 0 12px; font-size: clamp(1.5rem, 2vw, 2rem); }
#appContactLetterTitle:focus { outline: none; }
.app-contact-letter-confirmation { margin: 0 0 24px; color: #7d6f7a; font-size: .75rem; line-height: 1.6; }
.app-contact-letter-address { display: grid; gap: 8px; padding: 18px 0; margin: 0; border-block: 1px solid #30243220; font-size: .6rem; line-height: 1.6; }
.app-contact-letter-address > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
.app-contact-letter-address dt { color: #978894; text-transform: uppercase; letter-spacing: .08em; }
.app-contact-letter-address dd { margin: 0; color: #5d4f5b; overflow-wrap: anywhere; }
.app-contact-letter-message { max-height: min(27svh, 260px); overflow-y: auto; padding: 22px 4px 22px 0; color: #3d303b; font: 400 1rem/1.8 Georgia, serif; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-color: #b9a5b3 transparent; }
.app-contact-letter-message:focus-visible, .app-contact-new:focus-visible { outline: 2px solid #ad2d69; outline-offset: 4px; }
.app-contact-letter-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid #30243220; }
.app-contact-letter-bottom > span { max-width: 20ch; color: #94828f; font: italic .75rem/1.5 Georgia, serif; }
.app-contact-new { display: flex; gap: 18px; align-items: center; padding: 8px 0; border: 0; border-bottom: 1px solid #ad2d69; background: transparent; color: #ad2d69; font: 500 .65rem/1.4 'Poppins', sans-serif; cursor: pointer; }
