.public-document { padding-block: clamp(48px, 8vw, 112px); }
.contact-document { position: relative; isolation: isolate; }
.contact-document::before {
  --scene-side-shade: linear-gradient(90deg, #05070b 0%, rgb(5 7 11 / 89%) 23%, rgb(5 7 11 / 63%) 44%, rgb(5 7 11 / 17%) 70%);
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  block-size: min(30rem, 100%);
  background:
    linear-gradient(0deg, #05070b, transparent 68%),
    var(--scene-side-shade),
    url('./artwork/consultation-atrium.webp?v=aa5617d0a585') center 43% / cover;
}
@media (min-width: 761px) and (max-width: 1024px) {
  .contact-document::before {
    --scene-side-shade: linear-gradient(90deg, #05070b 0%, rgb(5 7 11 / 88%) 30%, rgb(5 7 11 / 76%) 65%, rgb(5 7 11 / 17%) 89%);
  }
}
@media (max-width: 760px) {
  .contact-document::before {
    block-size: min(26rem, 100%);
    background-image:
      linear-gradient(0deg, #05070b, rgb(5 7 11 / 28%) 58%, rgb(5 7 11 / 34%)),
      linear-gradient(90deg, rgb(5 7 11 / 88%), rgb(5 7 11 / 62%) 70%, rgb(5 7 11 / 45%)),
      url('./artwork/consultation-atrium.webp?v=aa5617d0a585');
    background-position: 70% 47%;
  }
}
.document-intro { margin-block-end: clamp(28px, 5vw, 56px); }
.document-intro h1 { margin-block: 12px 20px; font-size: clamp(2.5rem, 6vw, 5.6rem); }
.document-intro h1 em { color: var(--cyan); font-style: normal; }
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); }
.inquiry-panel { align-self: start; padding: clamp(18px, 4vw, 36px); border: 1px solid #263946; border-radius: 8px; background: #090e16; }
.inquiry-panel h2 { font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.2; }
.inquiry-panel p { margin-block: 14px; }
.inquiry-panel p a { display: inline-flex; align-items: center; min-height: 44px; }
.inquiry-embed iframe { display: block; width: 100%; max-width: 100%; min-height: 36rem; border: 0; }
@media (max-width: 760px) {
  .inquiry-layout { grid-template-columns: 1fr; }
}

.inquiry-privacy { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.privacy-settings { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--cyan); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-settings:hover { color: var(--ink); }
.inquiry-consent-status:empty { display: none; }

/* Fit the normal form and its privacy footer; keep provider scrolling for expanded states. */
.inquiry-embed { container-type: inline-size; }
.inquiry-embed iframe { height: 720px; min-height: 720px; background: #000; }
@container (max-width: 519px) {
  .inquiry-embed iframe { height: 960px; }
}
@container (max-width: 339px) {
  .inquiry-embed iframe { height: 1080px; }
}
