/* Step 162 — controlled Desktop hero prototype.
   Loaded only by Home, Reach hub and Five-Step Method at min-width: 1025px. */

.desktop-hero-prototype {
  --prototype-copy-width: 612px;
  --prototype-lead-width: 590px;
  --prototype-breadcrumb-height: 18px;
  --prototype-lead-height: 70px;
}

.desktop-hero-prototype .home-v2-hero-grid {
  align-items: start;
}

.reach-hub-page .desktop-hero-prototype {
  margin-top: -24px;
}

.method-mock-page .desktop-hero-prototype {
  margin-top: -100px;
}

.desktop-hero-prototype .home-v2-hero-copy {
  display: flex;
  width: 100%;
  max-width: var(--prototype-copy-width);
  flex-direction: column;
  align-self: start;
  padding: 0;
}

.desktop-hero-prototype :is(.breadcrumbs, .rex-breadcrumbs) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: var(--prototype-breadcrumb-height);
  margin: 0 0 14px;
  color: var(--text-inverse-muted);
  font-size: 0.67rem;
  line-height: var(--prototype-breadcrumb-height);
}

.desktop-hero-prototype :is(.breadcrumbs, .rex-breadcrumbs) a {
  color: var(--text-inverse);
}

.desktop-hero-prototype :is(.eyebrow, .rex-eyebrow) {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.desktop-hero-prototype h1 {
  margin: 0;
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 4.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.desktop-hero-prototype h1 em {
  display: block;
  color: var(--orange);
  font-weight: inherit;
}

.desktop-hero-prototype :is(.hero-text, .rex-hero-lead) {
  width: 100%;
  max-width: var(--prototype-lead-width);
  min-height: var(--prototype-lead-height);
  margin: 18px 0 0;
  color: var(--text-inverse-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
}

.desktop-hero-prototype :is(.home-v2-hero-actions, .rex-actions) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

body.desktop-hero-prototype-page .desktop-hero-prototype :is(.home-v2-primary, .home-v2-secondary, .button-primary, .button-ghost) {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

body.desktop-hero-prototype-page .desktop-hero-prototype :is(.home-v2-primary, .button-primary) {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--surface-dark);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--orange) 24%, transparent);
}

body.desktop-hero-prototype-page .desktop-hero-prototype :is(.home-v2-secondary, .button-ghost) {
  border: 1px solid color-mix(in srgb, var(--white) 35%, transparent);
  background: color-mix(in srgb, var(--white) 2.5%, transparent);
  color: var(--text-inverse);
}

body.desktop-hero-prototype-page .desktop-hero-prototype :is(.home-v2-primary, .button-primary) svg {
  width: 15px;
  height: 15px;
}

.desktop-hero-prototype .home-v2-secondary img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.desktop-hero-prototype .home-v2-trust-row {
  margin-top: 20px;
}

.desktop-hero-prototype .canonical-hero-media {
  align-self: start;
  border-radius: 14px;
}

.method-mock-page .desktop-hero-prototype .canonical-hero-media {
  display: grid;
  place-items: center;
  background: var(--surface-dark-alt);
}

.method-mock-page .desktop-hero-prototype .canonical-hero-media > img {
  width: auto;
  max-width: 455px;
  height: auto;
  max-height: 330px;
  object-fit: contain;
}

.home-page .desktop-hero-prototype {
  isolation: isolate;
}

.home-page .desktop-hero-prototype::before {
  content: none;
}

.home-page .desktop-hero-prototype::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 28, 0.98) 0%, rgba(6, 18, 28, 0.91) 43%, rgba(6, 18, 28, 0.64) 72%, rgba(6, 18, 28, 0.48) 100%),
    url("../../../images/hero-online-coaching-background.webp") center right / cover no-repeat;
  content: "";
}

.home-page .desktop-hero-prototype .home-v2-hero-grid {
  z-index: 1;
}

.home-page .desktop-hero-prototype .canonical-hero-media {
  display: none;
}
