/* Scene 1 only: reserve the copy's real height without changing portrait/orbit styling. */
@media (max-width: 768px) {
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]),
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) > .v3-hero-grid {
    height: auto !important;
    min-height: calc(100svh - 62px) !important;
  }
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) > .v3-hero-grid {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }
  .public-site [data-site-editor-section="hero_1"]:is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) .v3-founder-frame[data-v386-refinement="4"] {
    position: relative;
    inset: auto;
    width: 100vw;
    height: auto;
    min-height: calc(min(426px, 51dvh) + 91px + env(safe-area-inset-bottom));
    max-height: none;
    flex: 1 0 calc(min(426px, 51dvh) + 91px + env(safe-area-inset-bottom));
    align-self: center;
    margin: 24px 0 0;
    transform: none;
  }
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) .v35-title-stage {
    display: grid;
    height: auto;
    min-height: 146px;
  }
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) .v35-title-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: start;
    min-width: 0;
  }
  .public-site [data-site-editor-section="hero_1"]:has([data-v386-refinement="4"]):is(:not([data-synced-hero-index]), [data-synced-hero-index="0"]) .v35-title-slide-1 .v35-title-line {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
