.contact-launch {
  position: fixed;
  right: calc(max(16px, env(safe-area-inset-right, 0px)) + 68px);
  bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 2001;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  padding: 0; border: 2px solid var(--navy); border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  box-shadow: 0 0 0 3px #fff, 0 6px 24px rgba(0, 0, 0, .35);
  font: 700 16px/1.3 'Hanken Grotesk', sans-serif; cursor: pointer;
  touch-action: manipulation;
}
.contact-launch > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-launch[hidden] { display: none; }
.contact-launch svg { width: 22px; height: 22px; color: currentColor; }
.contact-launch:hover { background: #ffe066; }
.contact-launch:focus-visible, .contact-dialog button:focus-visible { outline: 3px solid var(--ochre-deep); outline-offset: 3px; }
.contact-is-open { overflow: hidden; }
.contact-dialog {
  position: fixed; inset: 0; margin: auto; width: min(480px, calc(100% - 28px));
  max-height: calc(100dvh - 32px); overflow: auto; padding: 28px;
  color: var(--text-main); background: var(--bg-color); border: 0;
  border-top: 5px solid var(--yellow); border-radius: 12px; box-shadow: 0 16px 64px #0005;
}
.contact-dialog::backdrop { background: rgba(14, 23, 52, .7); }
.contact-dialog h2 { padding-right: 32px; font-size: 1.8rem; margin: 0 0 8px; }
.contact-dialog .contact-intro { font-size: .95rem; color: var(--text-muted); margin: 0 0 22px; }
.contact-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); font: 28px/1 sans-serif; cursor: pointer; }
.contact-dialog fieldset { border: 0; padding: 0; min-width: 0; }
.contact-dialog label { display: block; margin: 0 0 6px; font-weight: 600; font-size: .9rem; }
.contact-dialog input, .contact-dialog textarea { width: 100%; min-height: 46px; padding: 10px 12px; margin-bottom: 16px; border: 1px solid #c4c7d1; border-radius: 5px; background: white; color: var(--navy); font: 16px/1.4 'Hanken Grotesk', sans-serif; }
.contact-dialog input:focus-visible, .contact-dialog textarea:focus-visible { outline: 2px solid var(--ochre-deep); outline-offset: 2px; }
.contact-dialog textarea { min-height: 110px; resize: vertical; }
.contact-dialog .contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-send { width: 100%; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 5px; background: var(--yellow); color: var(--navy); font: 700 16px/1.4 'Hanken Grotesk', sans-serif; cursor: pointer; }
.contact-send:disabled { cursor: wait; opacity: .65; }
.contact-status { margin-top: 12px; font-size: .95rem; }
.contact-status:empty { display: none; }
.contact-status[data-state="success"] { color: #206338; }
.contact-status[data-state="error"] { color: #a32124; }
.contact-note { font-size: .8rem; color: var(--text-muted); margin: 14px 0 0; }
.has-contact-popup footer { padding-bottom: 112px; }
/* Keep music compact and visually distinct from the labelled contact action. */
.music-toggle, .music-toggle:hover { width: 56px; min-width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 50%; }
.music-toggle .music-toggle__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 480px) {
  .contact-dialog { padding: 22px 20px; }
}
