:root {
  --page-pad: clamp(24px, 5vw, 72px);
  --brand-top: clamp(70px, 11vh, 118px);
  --logo-width: clamp(168px, 19.6vw, 266px);
  --logo-height: calc(var(--logo-width) * 0.502);
  --logo-title-gap: clamp(34px, calc(var(--logo-height) * 0.38), 62px);
  --title-subtitle-gap: clamp(14px, 2.3vh, 24px);
  --shared-card-height: clamp(560px, 62vh, 640px);
  --hero-title-size: clamp(52px, 5.8vw, 82px);
  --hero-subtitle-size: calc(var(--hero-title-size) / 3);
}

.page-shell {
  grid-template-columns: minmax(0, 1fr) minmax(384px, var(--split-card-width));
  gap: 30px;
  align-items: end;
  padding: var(--page-pad);
}

.brand-lockup {
  top: var(--brand-top);
}

.logo-mark {
  width: var(--logo-width);
}

.content {
  align-self: end;
  width: calc(100% - 50px);
  max-width: none;
  margin-left: 20px;
  height: var(--shared-card-height);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--hero-title-size);
  padding-top: 0;
  padding-bottom: 0;
}

.content h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: var(--hero-title-size);
  line-height: 0.96;
}

.content .lede {
  max-width: none;
  font-size: var(--hero-subtitle-size);
  line-height: 1.38;
  margin-bottom: 0;
}

.contact-form {
  align-self: end;
  height: var(--shared-card-height);
}

body.example-open .example-page {
  place-items: start end;
  padding: 0 clamp(72px, 8vw, 148px) 0 0;
  transform: none;
}

body.example-open .contact-form {
  margin-bottom: 0;
}

body.example-open .booster-card {
  margin-top: var(--brand-top);
  height: calc(100vh - var(--brand-top) - var(--page-pad));
  max-height: calc(100vh - var(--brand-top) - var(--page-pad));
  min-height: 0;
}

@media (min-width: 921px) and (max-width: 1360px) {
  :root {
    --page-pad: clamp(34px, 4.1vw, 56px);
    --brand-top: clamp(86px, 10vh, 112px);
    --split-card-width: min(520px, 46vw);
    --split-card-bottom: clamp(42px, 5.2vh, 68px);
    --logo-width: clamp(146px, 13.2vw, 178px);
    --logo-title-gap: clamp(26px, calc(var(--logo-height) * 0.32), 44px);
    --title-subtitle-gap: clamp(12px, 2vh, 18px);
    --shared-card-height: clamp(520px, 68vh, 600px);
    --hero-title-size: clamp(40px, 4.2vw, 58px);
  }

  .page-shell {
    grid-template-columns: minmax(390px, 1fr) minmax(380px, var(--split-card-width));
    gap: 30px;
    align-items: end;
  }

  .content {
    max-width: none;
    padding-bottom: 0;
  }

  .brand-lockup {
    left: clamp(42px, 5.3vw, 72px);
  }

  .content h1 {
    max-width: none;
    line-height: 0.96;
  }

  .content .lede {
    max-width: none;
    line-height: 1.35;
  }

  .contact-form {
    align-self: end;
    gap: 13px;
    padding: clamp(20px, 2.8vw, 28px);
  }

  .contact-form h2 {
    font-size: clamp(26px, 2.8vw, 34px);
  }

  .contact-form input {
    min-height: 42px;
  }

  .contact-form textarea {
    min-height: 90px;
  }

  .contact-form button {
    min-height: 44px;
  }
}

@media (min-width: 921px) and (max-width: 1120px) {
  :root {
    --page-pad: clamp(34px, 5vw, 56px);
    --brand-top: clamp(76px, 8vh, 96px);
    --logo-width: clamp(140px, 17vw, 176px);
    --logo-title-gap: clamp(28px, calc(var(--logo-height) * 0.34), 44px);
    --hero-title-size: clamp(40px, 7vw, 62px);
  }

  .page-shell {
    min-height: 100svh;
    grid-template-columns: minmax(0, min(100%, 620px));
    gap: 30px;
    justify-content: center;
    align-items: start;
    padding-top: calc(var(--brand-top) + var(--logo-height) + var(--logo-title-gap));
  }

  .content {
    width: 100%;
    margin-left: 0;
    height: auto;
    display: block;
    align-self: start;
  }

  .content h1 {
    margin-bottom: var(--hero-title-size);
    font-size: var(--hero-title-size);
    line-height: 0.96;
  }

  .contact-form {
    width: 100%;
    height: auto;
    padding: clamp(20px, 3.4vw, 28px);
  }

  .content .lede {
    line-height: 1.38;
  }
}

@media (max-width: 920px) {
  .page-shell {
    gap: 28px;
  }

  .content {
    width: 100%;
    margin-left: 0;
    height: auto;
    display: block;
    padding-top: 98px;
  }

  .content h1 {
    margin-bottom: var(--hero-title-size);
  }

  .contact-form {
    height: auto;
  }

  .content h1 {
    font-size: var(--hero-title-size);
  }

  .content .lede {
    font-size: var(--hero-subtitle-size);
  }

  body.example-open .example-page {
    padding: clamp(22px, 4vw, 64px);
    place-items: center;
  }

  body.example-open .booster-card {
    height: auto;
    margin-top: 0;
    max-height: calc(100svh - 32px);
  }
}
