.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.contact noscript a { color: var(--lilac); text-decoration: underline; text-underline-offset: .18em; }

html.brief-open { overflow: hidden; }

.brief-dialog {
  --dialog-gutter: clamp(12px, 3vw, 32px);
  position: fixed;
  inset: 0;
  width: min(1072px, calc(100% - 2 * var(--dialog-gutter)));
  max-width: none;
  max-height: calc(100vh - 2 * var(--dialog-gutter));
  max-height: calc(100dvh - 2 * var(--dialog-gutter));
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  overflow: visible;
}
.brief-dialog::backdrop { background: rgb(13 11 17 / 83%); }

.brief-dialog-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  max-height: inherit;
}
.brief-close {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #685b73;
  border-radius: 50%;
  color: var(--text);
  background: #302936;
}
@media (hover: hover) {
  .brief-close:hover { background: #403449; }
}
.brief-dialog .request-card {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

@media (min-width: 741px) {
  .brief-dialog .request-card { --card-pad: clamp(24px, 3vw, 38px); }
  .brief-dialog .request-title-lead { font-size: clamp(36px, 3.8vw, 52px); }
}
