/* Let’s talk: the popup form as a page. One column: greeting, email and LinkedIn, then the form. */
.talk-page { display: flex; flex-direction: column; justify-content: flex-start; box-sizing: border-box; min-height: calc(100svh - var(--header-height)); padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(48px, 7vw, 120px); }
.talk-layout { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 4.5vw, 64px); max-width: 1080px; margin: 0 auto; }
.talk-intro { min-width: 0; }
.talk-intro h1 { margin-top: 0; max-width: 14ch; font-size: clamp(52px, 6.6vw, 104px); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.talk-intro h1 em { color: #b4729b; }
.talk-lead { max-width: 60ch; margin: clamp(16px, 1.8vw, 24px) 0 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; letter-spacing: -.015em; color: #514e48; }

/* Contact details set like the facts on a project page: bold label, plain value. */
.talk-facts { margin: clamp(32px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, max-content)); gap: 24px clamp(48px, 8vw, 140px); }
.talk-fact { display: grid; gap: 8px; }
.talk-fact dt { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.talk-fact dd { margin: 0; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.02em; color: var(--ink); }
.talk-fact dd a { color: inherit; text-decoration: underline; text-decoration-color: #cfcec6; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color .25s, text-decoration-color .25s; }
.talk-fact dd a:hover, .talk-fact dd a:focus-visible { color: #d79fc4; text-decoration-color: #d79fc4; }

/* The form: a white panel with its own breathing room. */
.talk-form { margin-top: 0; background: #fff; padding: clamp(28px, 4vw, 56px); box-shadow: 0 1px 0 rgba(48,47,43,.04); }
.talk-form .form-row { gap: 28px; }
.talk-form label { margin-bottom: 26px; }
.talk-form input:not([type=checkbox]), .talk-form textarea { border-bottom: 1px solid #cfcec6; padding: 10px 0 12px; }
.talk-form input:not([type=checkbox]):focus-visible, .talk-form textarea:focus-visible { outline: none; border-bottom-color: var(--ink); }
.talk-form textarea { min-height: 150px; }
.talk-form .submit-button { margin-top: 6px; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.talk-form .submit-button:hover:not(:disabled), .talk-form .submit-button:focus-visible { background: #b4729b; color: #fff; }
.talk-form .submit-button > span:last-child { font-size: 20px; line-height: 1; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .talk-layout { gap: 44px; }
}
@media (max-width: 540px) {
  .talk-page { padding-top: 16px; min-height: 0; }
  .talk-form { padding: 22px 18px 20px; }
  .talk-intro h1 { font-size: clamp(40px, 11vw, 56px); }
  .talk-facts { grid-template-columns: 1fr; gap: 20px; }
  .talk-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Phone and preferred-contact row. */
.form-row-contact{align-items:start}
.form-optional{font-weight:400;color:#74736a}
.form-choice{margin:0 0 26px;padding:0;border:0;min-width:0}
.form-choice legend{padding:0;margin-bottom:12px;font:inherit}
.form-choice label{display:inline-flex;align-items:center;gap:8px;margin:0 22px 0 0;cursor:pointer}
.form-choice input[type=radio]{width:18px;height:18px;margin:0;accent-color:#b4729b}
.talk-form .form-choice label{margin-bottom:0}
[aria-invalid="true"]{border-bottom-color:#b4729b !important}
.form-status[data-state="error"]{color:#8c5176}
/* More room under the form before the page ends, matching About and FAQ. */
body.contact-page main > section:last-of-type{padding-bottom:clamp(96px,11vw,180px)}

/* Email and LinkedIn sit closer under the intro text. */
.talk-facts{margin-top:clamp(16px,2vw,26px)}

/* Less room above the contact page content. */
body.contact-page .talk-page{padding-top:clamp(12px,2vw,32px)}

/* Contact page heading sits the same distance below the nav as About and FAQ (44px). */
body.contact-page .talk-page{padding-top:calc(clamp(12px,2vw,32px) + 15px)}

/* Contact heading smaller. */
.talk-intro h1{font-size:clamp(36px,4.6vw,68px)}

/* "Like what you see?" on its own line, "Let's talk!" beneath. */
.talk-intro h1{max-width:none;text-wrap:initial}

/* "Let's talk!" larger than the line above it. */
.talk-intro h1 em{font-size:1.3em;line-height:1.05;display:inline-block;margin-top:.04em}
