/* Phone-only presentation. Desktop styles and the export SVG stay untouched. */
@media screen and (max-width: 620px) {
  body { min-width: 0; }

  .intro {
    padding: 28px 0 36px;
  }

  .intro-story {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .intro-copy {
    display: contents;
  }

  .intro .eyebrow { order: 1; font-size: 10px; letter-spacing: 0.1em; }
  .intro h1 {
    order: 2;
    margin: 16px 0 22px;
    font-size: clamp(42px, 12vw, 64px);
    line-height: 0.98;
  }

  .intro-figure { order: 3; }
  .intro-figure figcaption { margin-top: 8px; }
  .intro-bridge { order: 4; margin-top: 20px; }
  .intro-actions { order: 5; margin-top: 20px; }
  .intro-lede { order: 6; margin-top: 24px; font-size: 14px; }
  .intro-meta { order: 7; margin-top: 18px; }

  .maker-heading {
    min-height: 0;
    padding: 24px 0;
    gap: 8px;
  }

  .maker-heading h2 { font-size: 36px; }

  #bookplate-form,
  #bookplate-files,
  #bookplate-form input {
    scroll-margin-top: calc(var(--mobile-dock-height, 300px) + var(--mobile-visible-top, 0px) + 16px);
  }

  #bookplate-preview {
    scroll-margin-top: calc(var(--mobile-visible-top, 0px) + 8px);
  }

  .preview-panel {
    min-height: 0;
    padding: 8px 6px 12px;
  }

  #bookplate-preview {
    position: sticky;
    top: var(--mobile-visible-top, 0px);
    z-index: 7;
    align-self: start;
    background: var(--paper-light);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 8px 16px rgba(66, 46, 29, 0.08);
  }

  .preview-toolbar { padding: 0 8px; }
  .preview-panel .toast:empty { display: none; }
  .preview-toolbar .kicker { display: none; }
  .preview-toolbar h3 { font-size: 20px; line-height: 1.2; }
  .preview-toolbar .status-pill { min-height: 24px; padding: 3px 7px; font-size: 9px; }
  .preview-stage {
    width: min(100%, calc(var(--mobile-visible-height, 100svh) * 0.42));
    margin: 8px auto 0;
    padding: 7px;
  }
  .preview-stage::before { inset: 3px; }

  /* Screen-only contrast for the reduced proof; exported SVGs hide this node. */
  #bookplate #watermark {
    font-size: 104px;
    fill-opacity: 0.52;
    stroke: var(--paper-light);
    stroke-width: 4px;
    stroke-opacity: 0.85;
    paint-order: stroke fill;
  }

  .control-section { grid-template-columns: 28px minmax(0, 1fr); }
  .section-number { padding-top: 22px; font-size: 10px; }
  .section-body { padding: 18px 12px; }
  .motto-heading { margin-top: 18px; }
  .style-grid,
  .font-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .style-card,
  .font-card {
    min-width: 0;
    min-height: 110px;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    padding: 10px;
  }

  .style-sample,
  .font-sample { width: 36px; height: 36px; font-size: 21px; }
  .style-card strong,
  .font-card strong { font-size: 18px; line-height: 1.15; overflow-wrap: break-word; }
  .style-card small,
  .font-card small { font-size: 9px; }
  .swatch-row { gap: 18px; }
  .segmented label { min-height: 44px; }

  .workspace > .pack-card {
    margin: 0;
    padding: 24px 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .sheet-choice select { font-size: 16px; }
}
