/*
 * APPROVED ALPHA HERO / Cauldron Ideations
 * Single original RGBA artwork, live accessible headline, two compositions.
 * Phone/tablet: headline above the focal truck, ribbon passing behind the words.
 * Desktop: broad left-hand headline, truck held in the right-hand negative space.
 * All image transforms are uniform; the truck is never squashed or stretched.
 * No JS resize listeners, external libraries, motion, or blend-mode dependency.
 */
.hero.hero--alpha {
  background: var(--paper);
  padding: 36px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-composition {
  position: relative;
  isolation: isolate;
}
.hero--alpha .hero-copy {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  padding: 0;
}
.hero-scene {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  width: 188%;
  right: -8%;
  top: 56px;
  /* Match the original alpha canvas. No opaque rectangle or dark blend layer. */
  aspect-ratio: 1672 / 941;
}
.hero-artwork,
.hero-artwork img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.hero-artwork {
  position: relative;
  /* Feather the original canvas edge, outside the truck's focal area. */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 2%, #000 94%, transparent 100%);
}
.hero-artwork img {
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 73%, rgb(0 0 0 / 88%) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 73%, rgb(0 0 0 / 88%) 84%, transparent 100%);
}
/* The pixels remain genuinely transparent. A gentle paper-colored veil on the
   far left protects live type without turning the truck into a faint ghost. */
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(250 251 247 / 48%) 0%, rgb(250 251 247 / 15%) 46%, transparent 68%);
}
.hero--alpha .hero-copy .eyebrow {
  margin: 0 0 22px;
  font-size: clamp(8px, 2.15vw, 10px);
  letter-spacing: .075em;
  line-height: 1.5;
}
.hero--alpha .hero-statement {
  isolation: auto;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 20px;
  padding: 0;
  min-height: clamp(230px, 70vw, 390px);
}
.hero--alpha .hero-statement::before { content: none; }
.hero--alpha h1 {
  width: 100%;
  font-size: clamp(32px, 9.65vw, 68px);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Helvetica Neue", var(--font);
  font-weight: 680;
  letter-spacing: -.06em;
  line-height: .985;
  text-wrap: initial;
  margin: 0;
  text-shadow: 0 1px 1px rgb(250 251 247 / 80%), 0 0 22px rgb(250 251 247 / 65%);
}
.hero--alpha .hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
}
.hero--alpha .hero-title-line + .hero-title-line { margin-top: .035em; }
.hero--alpha .hero-title-accent {
  font-weight: 720;
  letter-spacing: -.065em;
  color: var(--green);
}
.hero--alpha .hero-title-accent::after { content: none; }
.hero-details {
  position: relative;
  isolation: isolate;
  max-width: 520px;
}
.hero-details::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15px -24px -12px -24px;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 45%, rgb(250 251 247 / 96%) 0%, rgb(250 251 247 / 86%) 46%, rgb(250 251 247 / 20%) 72%, transparent 92%);
}
.hero--alpha .hero-description {
  font-size: 15px;
  line-height: 1.75;
  max-width: 510px;
}
.hero--alpha .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}
.hero--alpha .hero-actions .button {
  min-height: 52px;
  font-size: 13px;
  padding: 14px 18px;
  gap: 24px;
}
.hero--alpha .hero-actions .text-link { font-size: 12px; min-height: 38px; gap: 10px; }
.hero--alpha .hero-fee { font-size: 11px; line-height: 1.8; margin-top: 16px; }
.hero--alpha .hero-bottom-note { font-size: 8px; letter-spacing: .095em; margin-top: 26px; }

/* Portrait tablets retain the mobile art direction but gain a wider canvas.
   Explicit optical adjustments make 600–999px a composition, not a tiny desktop. */
@media (min-width: 600px) and (max-width: 999px) {
  .hero.hero--alpha { padding: 48px 0 48px; }
  .hero--alpha .hero-composition { max-width: 830px; }
  .hero-scene { width: 148%; right: -9%; top: 24px; }
  .hero--alpha .hero-copy .eyebrow { font-size: 10px; margin-bottom: 25px; }
  .hero--alpha h1 { font-size: clamp(56px, 7.8vw, 66px); line-height: .97; }
  .hero--alpha .hero-statement { min-height: clamp(365px, 51vw, 450px); margin-bottom: 22px; }
  .hero--alpha .hero-description { max-width: 535px; font-size: 16px; }
  .hero-details { max-width: 550px; }
  .hero--alpha .hero-actions { flex-direction: row; align-items: center; gap: 26px; }
  .hero--alpha .hero-actions .button { font-size: 14px; padding-inline: 22px; }
  .hero--alpha .hero-actions .text-link { font-size: 13px; }
  .hero--alpha .hero-fee { font-size: 12px; }
  .hero--alpha .hero-bottom-note { font-size: 9px; }
}

/* Horizontal composition. The title and the scene use the same bounded content
   frame, so an ultrawide monitor does not pull the truck away from the words. */
@media (min-width: 1000px) {
  .hero.hero--alpha { padding: clamp(56px, 5.1vw, 82px) 0 clamp(45px, 4.3vw, 69px); }
  .hero-composition { min-height: 580px; }
  .hero-scene { width: 108%; right: -6%; top: -35px; }
  .hero-scene::after {
    background: linear-gradient(90deg, rgb(250 251 247 / 56%) 0%, rgb(250 251 247 / 35%) 30%, transparent 57%);
  }
  .hero--alpha .hero-copy .eyebrow { font-size: 10px; letter-spacing: .09em; margin-bottom: 32px; }
  .hero--alpha .hero-statement { min-height: 0; margin-bottom: 32px; }
  .hero--alpha h1 { font-size: clamp(66px, 6.05vw, 88px); letter-spacing: -.064em; line-height: .955; }
  .hero--alpha .hero-title-line + .hero-title-line { margin-top: .035em; }
  .hero--alpha .hero-title-accent { letter-spacing: -.07em; }
  .hero--alpha .hero-description { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.8; max-width: 500px; }
  .hero--alpha .hero-details { max-width: 520px; }
  .hero--alpha .hero-actions { flex-direction: row; align-items: center; gap: 28px; margin-top: 29px; }
  .hero--alpha .hero-actions .button { min-height: 56px; padding: 16px 22px; font-size: 14px; gap: 24px; }
  .hero--alpha .hero-actions .text-link { font-size: 13px; }
  .hero--alpha .hero-fee { margin-top: 20px; font-size: 12px; }
  .hero--alpha .hero-bottom-note { margin-top: 35px; font-size: 9px; }
}

/* Fluid bridge into the horizontal arrangement: on wider landscape/tablet
   canvases, reserved art space releases gradually rather than collapsing by
   hundreds of pixels at the desktop breakpoint. */
@media (min-width: 850px) and (max-width: 999px) and (min-aspect-ratio: 1/1) {
  .hero-scene {
    width: calc(148% - 220vw + 1870px);
    right: -6%;
    top: clamp(-35px, calc(358px - 39.33vw), 24px);
  }
  .hero--alpha .hero-statement {
    min-height: clamp(198px, calc(1600px - 140vw), 433px);
    margin-bottom: 28px;
  }
}

/* Short landscape windows use the horizontal reading order with a compact
   vertical rhythm. Artwork still scales uniformly and the page still scrolls. */
@media (min-width: 800px) and (max-width: 999px) and (max-height: 620px) and (orientation: landscape) {
  .hero.hero--alpha { padding: 36px 0 38px; }
  .hero-scene { width: 118%; right: -10%; top: -12px; }
  .hero--alpha h1 { font-size: clamp(52px, 6.2vw, 62px); }
  .hero--alpha .hero-statement { min-height: 0; margin-bottom: 26px; }
  .hero--alpha .hero-description { max-width: 440px; font-size: 15px; }
  .hero--alpha .hero-details { max-width: 460px; }
  .hero--alpha .hero-copy .eyebrow { margin-bottom: 24px; }
}

/* The existing working dashboard is preserved in the How it works section,
   rather than covering the approved image with a second competing hero visual. */
.process-demo-overview {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 64px;
  margin-bottom: 64px;
}
.process-demo-overview .section-heading { display: block; margin: 0; }
.process-demo-overview .section-heading > p { margin-top: 24px; max-width: 380px; }
.process-demo-overview .hero-visual { width: 100%; max-width: 670px; margin: 0; justify-self: end; }
@media (max-width: 999px) {
  .process-demo-overview { grid-template-columns: 1fr; gap: 30px; margin-bottom: 42px; }
  .process-demo-overview .section-heading > p { max-width: 570px; }
  .process-demo-overview .hero-visual { justify-self: center; max-width: 660px; }
}
@media (max-width: 599.98px) {
  .process-demo-overview .hero-visual { padding-bottom: 45px; }
}
@media (forced-colors: active) {
  .hero-scene, .hero-details::before { display: none; }
  .hero--alpha .hero-statement { min-height: 0; }
}
@media print {
  .hero-scene, .hero-details::before { display: none; }
  .hero.hero--alpha { padding: 20px 0; }
  .hero-composition, .hero--alpha .hero-statement { min-height: 0; }
  .hero--alpha h1 { font-size: 30pt; }
  .process-demo-overview { display: block; }
}

/* Small, feathered readability zones sit behind actual text, not behind the
   whole scene. They never cover the truck or flatten the artwork to white. */
.hero--alpha .hero-description { position: relative; isolation: isolate; }
.hero--alpha .hero-description::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px -16px;
  border-radius: 22px;
  background: rgb(250 251 247 / 88%);
  filter: blur(10px);
  pointer-events: none;
}
@media (max-width: 599.98px) {
  .hero--alpha h1 { width: max-content; max-width: 100%; isolation: isolate; }
  .hero--alpha h1::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -14px -18px;
    border-radius: 22px;
    background: rgb(250 251 247 / 72%);
    filter: blur(10px);
    pointer-events: none;
  }
}
@media print, (forced-colors: active) {
  .hero--alpha h1::before, .hero--alpha .hero-description::before { display: none; }
}

/* Mobile title starts just below the eyebrow. Keep the artwork's truck in the
   open area beside the short title lines, below the full-width first line. */
@media (max-width: 599.98px) {
  .hero.hero--alpha { padding-top: 10px; }
  .hero-scene { top: -78px; }
  .hero--alpha .hero-copy .eyebrow { transform: translateY(-5px); }
  .hero--alpha .hero-statement {
    padding-top: 0;
    min-height: clamp(220px, 64vw, 420px);
    margin-bottom: 14px;
  }
  .hero--alpha h1 {
    position: relative;
    z-index: 2;
  }
}

/* Opaque, breakpoint-specific Gemini crops. Each canvas contains only the
   source region that is visible in its composition, on the same paper color. */
.hero--opaque-crops .hero-artwork,
.hero--opaque-crops .hero-artwork img {
  -webkit-mask-image: none;
  mask-image: none;
}
.hero--opaque-crops .hero-scene::after { display: none; }

@media (max-width: 599.98px) {
  .hero--opaque-crops .hero-scene {
    width: 117%;
    left: -2%;
    right: auto;
    top: clamp(16px, calc(64px - 12vw), 26px);
    aspect-ratio: 4 / 3;
  }
  .hero--opaque-crops h1::before { content: none; }
  .hero--opaque-crops h1 {
    transform: translateY(4px);
    text-shadow: 0 1px 1px rgb(250 251 247 / 90%), 0 0 5px rgb(250 251 247 / 90%), 0 0 14px rgb(250 251 247 / 65%);
  }
  /* Follow each line's shape so the soft glow stays beside the truck. */
  .hero--opaque-crops .hero-title-line { isolation: isolate; }
  .hero--opaque-crops .hero-title-line::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8px -14px;
    border-radius: 24px;
    background: rgb(255 255 255 / 38%);
    filter: blur(14px);
    pointer-events: none;
  }
  /* Blend the crop's upper edge into the paper instead of showing a seam. */
  .hero--opaque-crops .hero-artwork img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 25%) 3%, rgb(0 0 0 / 72%) 7%, #000 12%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgb(0 0 0 / 25%) 3%, rgb(0 0 0 / 72%) 7%, #000 12%);
  }
}

@media (max-width: 359.98px) {
  .hero--opaque-crops h1 { font-size: clamp(30px, 9.2vw, 34px); }
}

@media (min-width: 600px) and (max-width: 999px) {
  .hero--opaque-crops .hero-scene {
    width: 108%;
    right: -4%;
    top: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1000px) {
  .hero--opaque-crops .hero-scene {
    width: 106.4%;
    right: -4.3%;
    top: -45px;
    aspect-ratio: 16 / 9;
  }
}
