.contact-page {
  background: radial-gradient(ellipse at 85% 0%, #142e3e 0%, #0c141d 32%, var(--bg) 68%);
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.contact-shell { max-width: 880px; }
.contact-intro { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.contact-intro h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .99;
  letter-spacing: -.06em;
  text-wrap: balance;
  margin-block: .8rem 1rem;
}
.contact-intro > p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 39rem; }

.enquiry-form {
  padding: clamp(1.15rem, 4vw, 2.5rem);
  border: 1px solid #6cd9ea45;
  border-radius: 7px;
  background: linear-gradient(145deg, #121f29, #0d141c 65%);
}
.enquiry-form fieldset { min-width: 0; padding: 0; border: 0; margin: 1.6rem 0 0; }
.enquiry-form legend { padding: 0; margin-bottom: .85rem; font-size: 1.2rem; font-weight: 700; }
.enquiry-form legend span { color: var(--cyan); margin-right: .35em; font: 700 .78rem/1.4 Consolas, monospace; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.form-wide { grid-column: 1 / -1; }
.form-field { display: grid; gap: .4rem; align-content: start; font-size: .92rem; font-weight: 700; }
.form-field small, .form-note { color: var(--muted); font-size: .82rem; font-weight: 400; line-height: 1.55; }
.form-field input, .form-field textarea {
  min-width: 0;
  width: 100%;
  padding: .72rem .8rem;
  color: var(--paper);
  background: #090f16;
  border: 1px solid #526774;
  border-radius: 4px;
  font: 400 1rem/1.45 Arial, Helvetica, sans-serif;
}
.form-field input { min-height: 46px; }
.form-field textarea { resize: vertical; }
.form-field ::placeholder { color: #95a9b8; opacity: 1; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--cyan); }

.form-delivery { margin-top: 1.35rem; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.form-actions button { font-family: inherit; cursor: pointer; }
.form-actions button[type="submit"] { border: 1px solid transparent; }
.form-actions button:disabled { opacity: .65; cursor: default; }
.form-actions button[hidden] { display: none; }
.form-clear { min-height: 44px; padding: 0 .5rem; color: var(--muted); background: transparent; border: 0; font: inherit; font-size: .83rem; text-decoration: underline; }
.form-clear:hover, .form-delivery a:hover, .contact-alternative a:hover { color: var(--cyan); }
#draft-help, .form-status:not(:empty) { margin-top: .65rem; }
.form-status { color: #a7ecdd; font-size: .9rem; }
.send-status:not(:empty) {
  display: flex; align-items: center; gap: .65rem;
  margin-top: .7rem; padding: .7rem .8rem; border-radius: 4px;
  background: #122633; color: #bfefff; font-size: .92rem;
}
.send-status[data-state="sending"]::before {
  content: ""; width: .9rem; height: .9rem; flex: 0 0 auto;
  border: 2px solid #bfefff40; border-top-color: currentColor; border-radius: 50%;
  animation: enquiry-spinner .8s linear infinite;
}
.send-status[data-state="sent"] { background: #142b26; color: #a7ecdd; }
.send-status[data-state="failed"] { background: #34261c; color: #ffd4a4; }
@keyframes enquiry-spinner { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .send-status[data-state="sending"]::before { animation: none; }
}
.form-email { margin-top: 1rem; padding: .9rem; border: 1px solid #526774; border-radius: 4px; }
.form-email h3 { margin: 0 0 .35rem; font-size: 1rem; }
.form-email .form-note + .form-note, .form-email .form-field { margin-top: .6rem; }
.form-email a { color: var(--paper); text-decoration: underline; overflow-wrap: anywhere; }
.contact-alternative { margin-top: 1rem; color: var(--muted); font-size: .87rem; }
.form-delivery a, .contact-alternative a { color: var(--paper); text-decoration: underline; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
