/* Load after front-page-concept.css. The shared mobile layout is unchanged. */
@media (min-width: 701px) {
  :root {
    --opening-header-height: 145px;
  }

  /* One desktop header height keeps the frame calculation consistent. */
  .site-header {
    height: var(--opening-header-height);
    min-height: var(--opening-header-height);
  }

  #contact.concept-clean {
    --opening-frame-height: calc(100vh - var(--opening-header-height));
    --opening-top-space: clamp(18px, 4vh, 42px);
    --opening-bottom-space: clamp(12px, 1.8vh, 20px);
    --opening-row-gap: clamp(12px, 2vh, 24px);
    --opening-clearance-space: 300px;

    position: relative;
    height: auto;
    min-height: var(--opening-frame-height);
    padding: var(--opening-top-space) 5% var(--opening-bottom-space);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 208px;
    grid-template-rows: minmax(var(--opening-clearance-space), 1fr) auto;
    gap: var(--opening-row-gap) 30px;
    align-content: stretch;
  }

  #contact.concept-clean .contact-title {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    min-width: 0;
    min-height: 0;
  }

  #contact.concept-clean .contact-heading-row {
    min-height: 0;
    margin: 0;
  }

  #contact.concept-clean .contact-heading-row h1.contact-brand-statement {
    font-size: clamp(30px, min(4.3vw, 7vh), 70px);
    line-height: 1.12;
    margin: 8px 0;
  }

  #contact.concept-clean .contact-brand-description {
    max-width: min(60ch, 100%);
    margin: 10px 0 0;
    font-size: clamp(14px, 1.75vh, 17px);
    line-height: 1.55;
    text-wrap: balance;
  }

  #contact.concept-clean .contact-columns.contact-info-row {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    align-self: end;
    margin: 0;
    padding: 0;
  }

  /* The flexible upper row is the entrance space above the whole street. */
  #contact.concept-clean .footer-street {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    width: 100%;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  #contact.concept-clean .streetscape-scroll {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  /* Width controls the complete street and its overlays. Short windows scroll
     instead of squeezing the artwork or the lion's entrance lane. */
  #contact.concept-clean .footer-skyline-stage {
    width: 100%;
    max-width: none;
    aspect-ratio: 1680 / 350;
    margin: 0 auto;
    flex: none;
  }

  #contact.concept-clean .footer-skyline-stage .footer-skyline {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
  }

  #contact.concept-clean .footer-street .footer-bottom {
    margin-top: 0;
    padding-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    align-items: center;
  }

  @supports (height: 100dvh) {
    #contact.concept-clean {
      --opening-frame-height: calc(100dvh - var(--opening-header-height));
    }
  }

  /* Short desktop windows keep the copy above the lion's entrance lane. */
  @media (max-height: 760px) {
    :root {
      --opening-header-height: 131px;
    }

    .site-header {
      padding-block: 12px;
    }

    .site-header .brand {
      width: 100px;
      max-width: 100px;
    }

    #contact.concept-clean {
      --opening-top-space: 16px;
      --opening-headline-size: clamp(34px, min(3.8vw, 6.5vh), 60px);
      --opening-clearance-space: 267px;
    }

    #contact.concept-clean .contact-title {
      grid-column: 1 / -1;
    }

    #contact.concept-clean .contact-heading-row h1.contact-brand-statement {
      font-size: var(--opening-headline-size);
      line-height: 1.06;
      margin: 4px 0;
    }

    #contact.concept-clean .eyebrow {
      font-size: 13px;
      line-height: 1.4;
    }

    #contact.concept-clean .contact-brand-description {
      max-width: 100%;
      margin-top: 6px;
      text-wrap: pretty;
    }
  }

  @media (max-height: 650px) {
    :root {
      --opening-header-height: 122px;
    }

    .site-header {
      padding-block: 10px;
    }

    .site-header .brand {
      width: 92px;
      max-width: 92px;
    }

    #contact.concept-clean {
      --opening-headline-size: clamp(30px, min(3.6vw, 5.8vh), 60px);
      --opening-clearance-space: 245px;
      grid-template-columns: minmax(0, 1fr) 178px;
    }

    #contact.concept-clean .footer-wall-switch {
      width: 178px;
      height: 152px;
    }
  }
}
