/* The underground solution banner occupies 60% of the viewport. */
.underground-page .op-hero {
  height: 60vh;
  min-height: 0;
  max-height: none;
}
/* The product banner occupies 80% of the viewport. */
.digital-software-page .geo-hero {
  height: 80vh;
  min-height: 0;
  max-height: none;
}

/* The fixed header overlays this hero, so 670px is the complete visible banner height. */
.about-site .about-hero {
  box-sizing: border-box;
  height: var(--site-primary-banner-height);
  min-height: 0;
  max-height: none;
}

/* The homepage banner fills the whole first screen; the fixed header sits on top of it. */
.figma-home .fh-hero {
  height: 100vh;
  min-height: 0;
  max-height: none;
}
/* svh keeps the banner exactly one visible screen tall on mobile, where the address bar changes the viewport. */
@supports (height: 100svh) {
  .figma-home .fh-hero { height: 100svh; }
}

/* Align each banner's title and description group 70px above its bottom. */
.figma-home .fh-hero-copy,
.underground-page .op-hero-copy,
.digital-software-page .digital-banner-copy {
  top: auto;
  bottom: 70px;
}
.about-site .about-hero .about-hero-copy {
  padding-bottom: 200px;
}

/* Center the homepage title and description vertically in the hero image. */
.figma-home .fh-hero-copy {
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  transform: translateY(-50%);
}
@media (min-width: 801px) {
  .figma-home .fh-hero-copy { transform: translateY(calc(-50% + 200px)); }
}
.underground-page .op-hero-copy { bottom: 150px; }

/* Align the underground banner copy with the shared header. */
.underground-page .op-hero-copy { width: min(1360px, calc(100% - var(--site-gutter))); margin-inline: auto; }

/* Align the underground header and hero with the challenge content below. */
body.underground-page .fh-header .fh-header-inner,
.underground-page .op-hero-copy {
  width: min(var(--site-safe-width), calc(100% - 192px));
  margin-inline: auto;
}
@media (max-width: 1200px) {
  body.underground-page .fh-header .fh-header-inner,
  .underground-page .op-hero-copy { width: calc(100% - 64px); }
}
@media (max-width: 640px) {
  body.underground-page .fh-header .fh-header-inner,
  .underground-page .op-hero-copy { width: calc(100% - 40px); }
}

/* About banner typography matches the solution banner. */
.about-site .about-hero .about-hero-copy h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  margin: 0;
}
.about-site .about-hero .about-hero-copy .about-hero-description {
  width: min(670px, 100%);
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.8;
}
@media (max-width: 800px) {
  .about-site .about-hero .about-hero-copy h1 { font-size: clamp(24px, 4.7vw, 38px); }
  .about-site .about-hero .about-hero-copy .about-hero-description { margin-top: 20px; line-height: 1.85; }
  .about-site .about-hero { height: var(--site-primary-banner-height); min-height: 0; }
  .about-site .about-hero .about-hero-copy { height: auto; padding-top: 120px; }
}

/* Digital software banner copy follows the underground solution typography and placement. */
.digital-software-page .digital-banner-copy {
  top: auto; bottom: 150px; left: 0; right: 0;
  width: min(1360px, calc(100% - 192px));
  height: auto; margin: 0 auto; padding: 0;
}
.digital-software-page .digital-banner-copy h1 {
  max-width: 100%; margin: 0; font-family: inherit;
  font-size: 48px; font-weight: 400; line-height: 1.5;
  letter-spacing: normal; white-space: normal;
}
.digital-software-page .digital-banner-copy p {
  width: min(530px, 100%); max-width: none; margin: 24px 0 0;
  font-size: 16px; font-weight: 400; line-height: 1.8;
  letter-spacing: normal; text-indent: 0; text-shadow: 0 2px 12px #0008;
}
@media (max-width: 1200px) {
  .digital-software-page .digital-banner-copy { width: calc(100% - 64px); }
}
@media (max-width: 800px) {
  .digital-software-page .digital-banner-copy h1 { font-size: clamp(24px, 4.7vw, 38px); text-wrap: balance; }
  .digital-software-page .digital-banner-copy p { margin-top: 20px; line-height: 1.85; }
}
@media (max-width: 640px) {
  .digital-software-page .digital-banner-copy { width: calc(100% - 40px); }
}

/* Move the about-page hero title down by 30px. */
.about-site .about-hero .about-hero-copy h1 { translate: 0 30px; }
