/* v3.3R1 visual QA correction layer; awaiting founder art acceptance.
   Keep the source 4K plate, real project assets, and native app controller. */

/* The scroll gate is retired: all three areas stay keyboard-accessible in
   document order, followed immediately by What I'm Building. */
.cf-hero-v3:not([data-hero-v31]) .cf-hero-scroll-track {
  height: auto !important;
  min-height: 0 !important;
}
.cf-hero-v3:not([data-hero-v31]) .cf-hero-sticky {
  padding-top: 28px;
  gap: clamp(22px, 3vw, 36px);
}
.cf-hero-v3:not([data-hero-v31]) .cf-hero-sticky::before {
  opacity: 1 !important;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background-position: 57% 50%;
}
.cf-hero-v3:not([data-hero-v31]) .cf-hero-sticky::after {
  display: none !important;
}

/* Monumental live type, without synthetic extrusions or letter collisions. */
.cf-hero-v3 .cf-word-sculpture .cf-name {
  letter-spacing: -0.022em !important;
  font-kerning: normal;
}
.cf-hero-v3 .cf-headline-upper {
  letter-spacing: .005em !important;
}

/* The description is part of the photograph, not a hard-edged glass card. */
.cf-hero-v3:not([data-hero-v31]) .cf-hero-descriptor {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 18px 44px 18px 0 !important;
  width: min(540px, 100%);
  max-width: 540px;
  isolation: isolate;
}
.cf-hero-v3:not([data-hero-v31]) .cf-hero-descriptor::before {
  content: "";
  display: block !important;
  position: absolute;
  z-index: -1;
  inset: -48px -54px -42px -40px;
  pointer-events: none;
  background: radial-gradient(ellipse at 41% 50%, rgba(244,241,235,.9) 0%, rgba(244,241,235,.64) 40%, rgba(244,241,235,.2) 64%, transparent 79%);
}

/* Three distinct, truthful visual environments. */
.cf-hero-v3:not([data-hero-v31]) .cf-hero-domain-gateway {
  background: #f4f1eb !important;
  min-height: 380px !important;
  padding-top: 26px;
  padding-bottom: 42px;
  margin-top: 16px;
  gap: 18px;
}
.cf-hero-v3 .cf-gateway-lead {
  margin: 0 0 16px !important;
}
.cf-hero-v3 .cf-gateway-link strong {
  font-size: clamp(68px, 8.2vw, 118px) !important;
  letter-spacing: -0.025em !important;
  line-height: .92 !important;
}
.cf-hero-v3 .cf-domain-surface-body .cf-domain-material {
  inset: 0;
  background: #586a55 url('assets/first-party/jasper-gym-cable-training.jpg') 47% 35% / cover no-repeat !important;
  clip-path: none !important;
  filter: contrast(1.03) !important;
  transform: none !important;
}
.cf-hero-v3 .cf-domain-surface-life .cf-domain-material {
  inset: 0;
  background: #516c50 url('assets/first-party/jasper-forest-walk.jpg') 50% 38% / cover no-repeat !important;
  clip-path: none !important;
  filter: contrast(1.02) !important;
  transform: none !important;
}
.cf-hero-v3 .cf-domain-surface-life .cf-domain-horizon,
.cf-hero-v3 .cf-domain-surface-body .cf-domain-horizon {
  display: none !important;
}
.cf-hero-v3 .cf-domain-surface-build .cf-domain-material {
  background-position: center !important;
  background-size: contain !important;
  filter: none !important;
}

@media (max-width: 720px) {
  .cf-hero-v3:not([data-hero-v31]) .cf-hero-sticky {
    padding-top: 22px;
    gap: 18px;
  }
  .cf-hero-v3:not([data-hero-v31]) .cf-hero-sticky::before {
    background-position: 61% 72% !important;
  }
  .cf-hero-v3 .cf-word-sculpture .cf-name {
    letter-spacing: -0.018em !important;
  }
  .cf-hero-v3:not([data-hero-v31]) .cf-hero-descriptor {
    width: 100%;
    padding: 14px 20px 14px 0 !important;
    background: transparent !important;
  }
  .cf-hero-v3:not([data-hero-v31]) .cf-hero-descriptor::before {
    inset: -35px -28px -25px -25px;
    background: radial-gradient(ellipse at 45% 50%, rgba(244,241,235,.94) 0%, rgba(244,241,235,.68) 44%, rgba(244,241,235,.15) 68%, transparent 82%);
  }
  .cf-hero-v3:not([data-hero-v31]) .cf-hero-domain-gateway {
    min-height: 0 !important;
    padding: 24px 6% 32px;
  }
  .cf-hero-v3 .cf-gateway-domain {
    gap: 0 !important;
  }
  .cf-hero-v3 .cf-gateway-link {
    min-height: 142px !important;
  }
  .cf-hero-v3 .cf-gateway-link strong {
    font-size: clamp(48px, 15vw, 78px) !important;
    letter-spacing: -0.018em !important;
  }
}

@media (max-width: 365px) {
  .cf-hero-v3 .cf-gateway-link strong {
    font-size: 47px !important;
  }
}
