/* The standalone contact page shares the portfolio's type and blue palette. */
.contact-page {
  padding: 142px 0 78px;
  background: radial-gradient(ellipse at 50% 0, rgb(71 123 255 / .1), transparent 54%), var(--bg);
}
.contact-content { max-width: 800px; }
.contact-intro { text-align: center; }
.contact-intro .eyebrow { justify-content: center; color: var(--blue-light); font-size: 11px; letter-spacing: .14em; margin-bottom: 20px; }
.contact-intro h1 { font-size: clamp(40px, 4.4vw, 64px); font-weight: 750; font-synthesis: none; line-height: 1.15; text-wrap: balance; }
.contact-phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--blue-light); font-size: clamp(25px, 2.6vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.contact-phone svg { width: 27px; height: 27px; }
.contact-phone:hover { color: var(--white); }
.contact-form-panel { margin-top: 50px; padding: 36px; background: var(--panel); border: 1px solid #2a2c35; }
.contact-form-heading { margin-bottom: 30px; }
.contact-form-heading h2 { color: var(--white); font-size: clamp(27px, 2.6vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.contact-direct-email { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--blue-light); overflow-wrap: anywhere; }
.contact-direct-email:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-field--message { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 9px; color: #e7e8ee; font-size: 14px; font-weight: 700; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #383b47; border-radius: 0; background: #191b22; color: var(--white); padding: 14px 16px; font: 400 16px/1.6 var(--sans); transition: border-color .15s; }
.contact-field input { min-height: 55px; }
.contact-field textarea { resize: vertical; min-height: 178px; }
.contact-field :is(input, textarea)::placeholder { color: #8d93a1; opacity: 1; }
.contact-field :is(input, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.contact-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.contact-form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 26px; }
.contact-form-bottom p { color: #a3a8b5; font-size: 12px; }
.contact-submit { border: 0; font-size: 13px; min-height: 48px; gap: 26px; }
.contact-submit:disabled { cursor: wait; opacity: .75; }
.contact-form-status { padding: 16px 18px; margin-bottom: 26px; border-left: 3px solid var(--blue); color: #e4ebff; background: #18213a; font-size: 15px; }
.contact-form-status[hidden] { display: none; }
.contact-form-status[data-state="error"] { background: #251d22; border-color: #cc7784; color: #ffdfe3; }
.contact-fallback { margin: -8px 0 26px; }
.contact-fallback[hidden] { display: none; }
.contact-fallback .button { font-size: 13px; min-height: 44px; }
.contact-noscript { margin-bottom: 24px; color: #b8bdc8; }
.page-contact .contact-section { padding-top: 0; }
@media (max-width: 680px) {
  .contact-page { padding: 120px 0 48px; }
  .contact-intro .eyebrow { margin-bottom: 17px; }
  .contact-intro h1 { font-size: clamp(35px, 9.6vw, 48px); }
  .contact-phone { margin-top: 22px; gap: 10px; font-size: clamp(23px, 6.2vw, 30px); }
  .contact-phone svg { width: 23px; height: 23px; }
  .contact-form-panel { margin-top: 34px; padding: 26px 22px; }
  .contact-form-heading { margin-bottom: 26px; }
  .contact-form-heading h2 { font-size: 28px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .contact-form-bottom { flex-direction: column; align-items: stretch; gap: 16px; }
  .contact-submit { width: 100%; justify-content: space-between; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-field input, .contact-field textarea { transition: none; }
}
