/*! NBC v6.561 · Hero Focus & Handoff · full-stage first paint + clearer visual hierarchy */
body.page-home .home-process-opening[data-hero-flow="v6561"]{
  /* Fresh-load values correspond to runtime progress .74. This removes the
     CSS→JS regression flash and makes the first paint already legible. */
  --opening-progress:.74;
  --opening-complexity:1;
  --opening-friction:.7141;
  --opening-break:0;
  --opening-pressure:.86;
  --opening-resolution:.3762;
  --opening-hero:1;
  --opening-convergence:.9874;
  --opening-ambient-x:1.92%;
  --r1-network-opacity:.5811;
  --r1-network-x:2.3322%;
  --r1-network-y:.8275%;
  --r1-network-scale:.9968;
  --r1-main-opacity:.7726;
  --r1-stable-opacity:.217;
  --r1-friction-opacity:.2785;
  --r1-risk-opacity:.2328;
  --r1-canvas-opacity:.897;
  --r1-output-opacity:.253;
  --r1-orientation-opacity:.5469;
  height:clamp(700px,82svh,900px);
  min-height:700px;
  padding:0;
}
/* The home opening is a hero-stage, not a standard content section. The legacy
   generic main>section rhythm selector carries multiple :not() clauses and would
   otherwise re-apply hero padding. The ID scope makes ownership explicit without
   another priority patch. */
body.page-home main > #auftakt.home-process-opening[data-hero-flow="v6561"]{padding-block:0}


/* Before the controller is ready, route geometry mirrors START_PROGRESS=.74.
   Once JS initializes it writes the same properties inline and takes ownership. */
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] .home-process-opening__route{stroke-dasharray:1}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="main"]{stroke-dashoffset:.1335}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="upper"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="lower"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="return"]{stroke-dashoffset:0}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="system"]{stroke-dashoffset:.1262}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="ai-standard"]{stroke-dashoffset:.7638}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route="ai-exception"]{stroke-dashoffset:.9077}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-route^="output-"]{stroke-dashoffset:1}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="genesis"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="break"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="boundary"]{opacity:0}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="resolution"]{opacity:.42}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="exception"]{opacity:.16}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-home-opening-ready="false"] [data-opening-kind="value"]{opacity:.32}
html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"]{
  --opening-progress:1;
  --opening-friction:.24;
  --opening-pressure:0;
  --opening-resolution:1;
  --opening-convergence:1;
  --opening-ambient-x:4%;
  --r1-network-opacity:.5;
  --r1-network-x:6.2%;
  --r1-network-y:2.2%;
  --r1-network-scale:.95;
  --r1-main-opacity:.78;
  --r1-stable-opacity:.525;
  --r1-friction-opacity:.1268;
  --r1-risk-opacity:.1048;
  --r1-canvas-opacity:.9;
  --r1-output-opacity:.54;
  --r1-orientation-opacity:.55;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__stage{
  height:100%;
  min-height:100%;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__hero,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-handoff="pending"] .home-process-opening__hero{
  opacity:1!important;
  pointer-events:auto!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__network,
html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__network{
  opacity:var(--r1-network-opacity)!important;
  transform:translate3d(var(--r1-network-x),var(--r1-network-y),0) scale(var(--r1-network-scale))!important;
  transform-origin:62% 47%;
  filter:saturate(calc(.82 + .34 * var(--opening-complexity,0)))!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route[data-opening-route="main"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] .home-process-opening__route[data-opening-route="main"],
html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route[data-opening-route="main"]{
  opacity:var(--r1-main-opacity)!important;
  stroke-width:3.45!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--stable,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] .home-process-opening__route--stable{
  opacity:var(--r1-stable-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--friction,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] .home-process-opening__route--friction{
  opacity:var(--r1-friction-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--risk,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] .home-process-opening__route--risk{
  opacity:var(--r1-risk-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] [data-home-opening-canvas],
html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas]{
  opacity:var(--r1-canvas-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__nodes circle.is-output,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] .home-process-opening__nodes circle.is-output{
  opacity:var(--r1-output-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__orientation{
  opacity:var(--r1-orientation-opacity)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="genesis"] .home-process-opening__ambient{
  background:radial-gradient(circle at 54% 46%,rgba(139,208,154,.065),transparent 27%),radial-gradient(circle at 30% 61%,rgba(217,173,105,.07),transparent 25%),radial-gradient(circle at 77% 61%,rgba(143,166,183,.055),transparent 26%);
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="break"] .home-process-opening__ambient,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="complexity"] .home-process-opening__ambient{
  background:radial-gradient(circle at 55% 45%,rgba(139,208,154,.08),transparent 29%),radial-gradient(circle at 29% 61%,rgba(217,173,105,.105),transparent 25%),radial-gradient(circle at 79% 60%,rgba(223,119,113,.045),transparent 25%);
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="resolution"] .home-process-opening__ambient,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="hero"] .home-process-opening__ambient{
  background:radial-gradient(circle at 62% 45%,rgba(139,208,154,.145),transparent 31%),radial-gradient(circle at 31% 62%,rgba(217,173,105,.025),transparent 24%),radial-gradient(circle at 82% 58%,rgba(139,208,154,.05),transparent 28%);
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__labels text{transition:none}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__labels text[data-opening-kind="value"]{
  fill:rgba(158,226,173,.92)!important;
  font-weight:700;
  letter-spacing:.16em!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="resolution"] .home-process-opening__route[data-opening-route="main"],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="hero"] .home-process-opening__route[data-opening-route="main"]{
  filter:drop-shadow(0 0 13px rgba(139,208,154,.30))!important;
}
@media (max-width:1024px) and (min-width:761px){
  body.page-home .home-process-opening[data-hero-flow="v6561"]{height:clamp(700px,90svh,920px);min-height:700px;padding:0}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__stage{height:100%;min-height:100%}
}
@media (max-width:760px){
  body.page-home .home-process-opening[data-hero-flow="v6561"]{height:max(660px,84svh)!important;min-height:max(660px,84svh)!important}
  body.page-home[data-m2-home-active="true"] .home-process-opening[data-hero-flow="v6561"],
  body.page-home[data-m2-home-active="true"] .home-process-opening[data-hero-flow="v6561"] .home-process-opening__stage{height:auto!important;min-height:max(660px,84svh)!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__network,
  html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__network{
    opacity:var(--r1-network-opacity)!important;
    transform:translate3d(var(--r1-network-x),var(--r1-network-y),0) scale(var(--r1-network-scale))!important;
  }
  body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas],
  body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-phase="hero"] [data-home-opening-canvas],
  html[data-home-opening-initial="hero"] body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas]{opacity:var(--r1-canvas-opacity)!important}
}
@media (prefers-reduced-motion:reduce){
  body.page-home .home-process-opening[data-hero-flow="v6561"]{height:clamp(700px,82svh,900px)!important;min-height:700px!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__network{opacity:.48!important;transform:translate3d(5%,2%,0) scale(.95)!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas]{display:none!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route[data-opening-route="main"]{opacity:.68!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--stable{opacity:.48!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--friction{opacity:.16!important}
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__route--risk{opacity:.13!important}
}

/* G2 keeps the proposition visually protected while allowing clearly readable
   operational traffic in the rest of the stage. */
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__scene{isolation:isolate}
body.page-home .home-process-opening[data-hero-flow="v6561"] [data-home-opening-canvas]{mix-blend-mode:screen;filter:saturate(.94) contrast(1.06)}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-flow-state="handoffs"] [data-home-opening-canvas],
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-flow-state="friction"] [data-home-opening-canvas]{filter:saturate(1.02) contrast(1.08)}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-flow-state="living"] [data-home-opening-canvas]{filter:saturate(1.05) contrast(1.05)}


body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__stage{
  background:
    radial-gradient(circle at 69% 43%,rgba(105,174,123,.095),transparent 43%),
    radial-gradient(circle at 31% 61%,rgba(214,168,96,.038),transparent 34%),
    linear-gradient(112deg,rgba(7,16,11,.78) 0%,rgba(8,18,12,.62) 48%,rgba(10,24,16,.46) 100%)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__ambient{
  z-index:0!important;
  opacity:.94!important;
  filter:blur(38px)!important;
  mix-blend-mode:screen;
  background:
    radial-gradient(circle at calc(63% + var(--opening-ambient-x,0%)) 43%,rgba(139,208,154,calc(.11 + .15 * var(--opening-complexity,0))),transparent 30%),
    radial-gradient(circle at 31% 62%,rgba(217,173,105,calc(.035 + .075 * var(--opening-friction,0))),transparent 27%),
    radial-gradient(circle at 84% 58%,rgba(106,181,126,.075),transparent 29%)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__scene{
  z-index:1;
}
body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__scene::after{
  opacity:.82!important;
  background:linear-gradient(90deg,rgba(7,14,10,.90) 0%,rgba(8,17,11,.82) 26%,rgba(9,20,13,.59) 46%,rgba(11,26,16,.18) 65%,transparent 81%)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="resolution"] .home-process-opening__ambient,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="hero"] .home-process-opening__ambient{
  opacity:1!important;
  filter:blur(42px)!important;
}
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="resolution"] .home-process-opening__stage,
body.page-home .home-process-opening[data-hero-flow="v6561"][data-opening-chapter="hero"] .home-process-opening__stage{
  background:
    radial-gradient(circle at 70% 43%,rgba(112,190,132,.13),transparent 44%),
    linear-gradient(112deg,rgba(7,16,11,.76) 0%,rgba(8,18,12,.58) 48%,rgba(10,24,16,.42) 100%)!important;
}
@media (max-width:760px){
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__stage{
    background:
      radial-gradient(circle at 84% 77%,rgba(116,194,135,.12),transparent 36%),
      radial-gradient(circle at 12% 42%,rgba(86,134,98,.045),transparent 30%),
      linear-gradient(180deg,rgba(7,16,11,.88) 0%,rgba(9,20,14,.76) 66%,rgba(11,24,17,.68) 100%)!important;
  }
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__ambient{
    opacity:.78!important;
    filter:blur(30px)!important;
    mix-blend-mode:screen;
  }
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__scene::after{
    opacity:.84!important;
    background:
      linear-gradient(90deg,rgba(7,16,11,.79) 0%,rgba(7,16,11,.32) 35%,transparent 70%),
      linear-gradient(180deg,rgba(7,16,11,.62) 0%,transparent 42%,rgba(7,16,11,.10) 100%)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  body.page-home .home-process-opening[data-hero-flow="v6561"] .home-process-opening__ambient{
    mix-blend-mode:normal;
    opacity:.72!important;
  }
}
