/* V79: the approved fixed ribbon composition, integrated into the full site.
   Motion remains intentionally absent until the composition is reviewed in context. */
body.home-page .hero79-stage {
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  background: #f5f2ea;
}

body.home-page .hero79-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: min(100%, 1280px);
  min-height: 640px;
  margin: 0 auto;
  padding: 45px 40px 0;
}

body.home-page .hero79-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding-bottom: 65px;
}

body.home-page .hero79-copy h1 {
  margin: 0;
  color: #172b48;
  font: 400 clamp(48px, 4.5vw, 66px)/1.025 var(--serif);
  letter-spacing: -.06em;
}

body.home-page .hero79-copy h1 span,
body.home-page .hero79-copy h1 em {
  display: block;
}

body.home-page .hero79-copy h1 em {
  margin-top: 7px;
  color: #2956f4;
  font-weight: 400;
}

body.home-page .hero79-mobile-break { display: none; }

body.home-page .hero79-role {
  max-width: none;
  margin-top: 24px;
  color: #172b48;
  font: 400 11px/1.5 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}

body.home-page .hero79-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 46px;
  margin-top: 21px;
  padding: 12px 21px;
  border-radius: 999px;
  background: #2956f4;
  color: #fff;
  font: 700 14px/1.2 var(--sans);
  transition: background-color .2s ease;
}

body.home-page .hero79-cta:hover { background: #2149db; }
body.home-page .hero79-cta span { font-size: 17px; line-height: 1; }

body.home-page .hero79-portrait {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 470px;
  isolation: isolate;
}

body.home-page .hero79-composition {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (min-width: 1600px) {
  body.home-page .hero79-inner { min-height: 680px; }
  body.home-page .hero79-copy h1 { font-size: 64px; }
}

@media (max-width: 1050px) and (min-width: 701px) {
  body.home-page .hero79-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    min-height: 550px;
    padding: 35px 28px 0;
  }
  body.home-page .hero79-copy { padding-bottom: 50px; }
  body.home-page .hero79-copy h1 { font-size: 46px; }
  body.home-page .hero79-role { font-size: 10px; letter-spacing: .16em; }
  body.home-page .hero79-portrait { width: 110%; max-width: 420px; }
}

@media (max-width: 700px) {
  body.home-page .hero79-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 14px 0 0;
  }
  body.home-page .hero79-copy { padding: 0 22px; }
  body.home-page .hero79-copy h1 {
    font-size: clamp(41px, 12vw, 62px);
    line-height: .99;
  }
  body.home-page .hero79-mobile-break { display: initial; }
  body.home-page .hero79-copy h1 em {
    margin-top: 3px;
    font-size: clamp(34px, 10.5vw, 54px);
    line-height: 1.02;
    letter-spacing: -.065em;
    white-space: nowrap;
  }
  body.home-page .hero79-role {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: .16em;
  }
  body.home-page .hero79-cta {
    position: relative;
    gap: 12px;
    min-height: 44px;
    margin-top: 12px;
    padding: 10px 16px;
    font-size: 12px;
  }
  body.home-page .hero79-portrait {
    align-self: center;
    width: 100%;
    max-width: 510px;
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  body.home-page .hero79-copy { padding-inline: 18px; }
  body.home-page .hero79-copy h1 { font-size: 40px; }
  body.home-page .hero79-copy h1 em { font-size: 34px; }
  body.home-page .hero79-role { font-size: 10px; letter-spacing: .12em; }
}
