/* ============================================================
   OUR PROCESS — Hero Arc (process page only)
   ============================================================ */

:root {
  --proc-hero-arc-width: min(1000px, 92vw);
  --proc-hero-arc-scale: 1;
  --proc-hero-label-size-1: clamp(18px, 2.3vw, 42px);
  --proc-hero-label-size-2: clamp(18px, 1.35vw, 26px);
  --proc-hero-label-weight: 800;
  --proc-hero-label-track: 0em;
  --proc-hero-seg-stroke: rgba(255, 8, 0, 0.514);
  --proc-hero-seg-width: 6px;
  --proc-hero-text-halo: rgba(0, 0, 0, 0.56);
}

html.process-page .pageHero__inner {
  justify-content: center;
}

html.process-page .processHero__content,
html.process-page .pageHero__content.processHero__content {
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
}

html.process-page .processHero__stack {
  position: relative;
  width: min(1260px, 96vw);
  min-height: calc(100svh - clamp(110px, 12vh, 146px));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

html.process-page .procArcWrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--proc-hero-arc-width);
  transform: translate(-50%, -50%) scale(var(--proc-hero-arc-scale));
  z-index: 1;
  pointer-events: none;
}

html.process-page .procArc {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.42));
}

html.process-page .procArcWrap {
  pointer-events: auto;
}

html.process-page .procSegLink {
  cursor: pointer;
}

html.process-page .procSegLink:hover .procSeg__path,
html.process-page .procSegLink:focus-visible .procSeg__path {
  stroke: rgba(255, 255, 255, 0.72);
}

html.process-page .procSegLink:hover .procSeg__textLine,
html.process-page .procSegLink:focus-visible .procSeg__textLine {
  fill: rgba(255, 255, 255, 1);
}

html.process-page .procSeg__path {
  fill: none;
  stroke: var(--proc-hero-seg-stroke);
  stroke-width: var(--proc-hero-seg-width);
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.process-page .procSeg {
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  animation: procHeroSegIn 1000ms cubic-bezier(0.22, 0.9, 0.26, 1) forwards;
  animation-delay: var(--d, 0ms);
  transform-origin: 600px 450px;
}

@keyframes procHeroSegIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

html.process-page .procSeg__textLine {
  fill: rgba(255, 255, 255, 0.96);
  font-family:
    "Rajdhani",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: var(--proc-hero-label-size-1);
  font-weight: var(--proc-hero-label-weight);
  letter-spacing: var(--proc-hero-label-track);
  text-transform: uppercase;
  paint-order: stroke fill;
  stroke: var(--proc-hero-text-halo);
  stroke-width: 6px;
}

html.process-page .procSeg__textLine--2 {
  font-size: var(--proc-hero-label-size-2);
}

html.process-page .processHero__heading {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(760px, 60vw);
  margin-inline: auto;
  transform: translateY(-100px);
}

html.process-page .processHero__heading .pageHero__eyebrow,
html.process-page .processHero__heading .pageHero__title,
html.process-page .processHero__heading .pageHero__text {
  font-family:
    "Rajdhani",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}

html.process-page .processHero__heading .pageHero__eyebrow {
  margin-bottom: 16px;
}

html.process-page .processHero__heading .pageHero__title {
  font-size: clamp(58px, 5vw, 65px);
  line-height: 0.94;
  letter-spacing: 0.05em;
}

html.process-page .processHero__heading .pageHero__text {
  margin-top: 24px;
  max-width: 46ch;
  margin-inline: auto;
  font-size: clamp(21px, 1.55vw, 20px);
  line-height: 1.58;
  font-weight: 600;
  color: rgba(233, 242, 246, 0.88);
}

@media (max-width: 1440px) {
  :root {
    --proc-hero-arc-width: min(1000px, 94vw);
    --proc-hero-label-size-1: clamp(18px, 1.45vw, 26px);
    --proc-hero-label-size-2: clamp(16px, 1.18vw, 22px);
  }
  html.process-page .processHero__heading {
    max-width: min(720px, 62vw);
  }
}

@media (max-width: 1100px) {
  :root {
    --proc-hero-arc-width: min(940px, 96vw);
    --proc-hero-label-size-1: clamp(16px, 1.2vw, 22px);
    --proc-hero-label-size-2: clamp(14px, 1vw, 18px);
    --proc-hero-seg-width: 9px;
  }
  html.process-page .processHero__heading {
    max-width: min(680px, 74vw);
  }
  html.process-page .processHero__heading .pageHero__title {
    font-size: clamp(48px, 4.8vw, 76px);
  }
  html.process-page .processHero__heading .pageHero__text {
    font-size: clamp(18px, 1.35vw, 24px);
  }
}

'

@media (max-width: 820px) {
  html.process-page .processHero__stack {
    min-height: calc(100svh - 96px);
  }
  html.process-page .procArcWrap {
    width: min(900px, 120vw);
  }
  html.process-page .processHero__heading {
    max-width: min(92vw, 620px);
  }
}

@media (min-width: 821px) and (max-width: 1919px) and (orientation: landscape) {
  html.process-page {
    --proc-hero-label-size-1: clamp(20px, 4vw, 38px);
    --proc-hero-label-size-2: clamp(18px, 1.45vw, 26px);
  }

  html.process-page .procArcWrap {
    top: 54.5%;
  }

  html.process-page .processHero__heading {
    transform: translateY(-58px);
  }
}

@media (min-width: 821px) and (max-width: 1440px) and (orientation: landscape) {
  html.process-page {
    --proc-hero-label-size-1: clamp(20px,4vw, 38px);
    --proc-hero-label-size-2: clamp(18px, 1.7vw, 24px);
  }

  html.process-page .procArcWrap {
    width: min(980px, 92vw);
    top: 55.5%;
  }

  html.process-page .processHero__heading {
    transform: translateY(-48px);
  }
}

@media (min-width: 821px) and (max-width: 1366px) and (orientation: landscape),
  (min-width: 821px) and (max-width: 1100px) and (max-height: 680px) {
  html.process-page {
    --proc-hero-label-size-1: clamp(20px, 4vw, 38px);
    --proc-hero-label-size-2: clamp(18px, 1.9vw, 24px);
  }

  html.process-page .procArcWrap {
    width: min(930px, 90vw);
    top:62%;
  }

  html.process-page .processHero__heading {
    max-width: min(760px, 72vw);
    transform: translateY(-34px);
  }
}

@media (min-width: 1000px) and (max-width: 1030px) and (max-height: 620px) and (orientation: landscape) {
  html.process-page {
    --proc-hero-label-size-1: clamp(20px, 3vw, 30px);
    --proc-hero-label-size-2: clamp(18px, 1.3vw, 22px);
  }

  html.process-page .procArcWrap {
    top: 70%;
  }

  html.process-page .processHero__heading {
    transform: translateY(-40px);
  }

  html.process-page .processHero__heading .pageHero__title {
    font-size: clamp(52px, 5vw, 78px);
  }

  html.process-page .processHero__heading .pageHero__text {
    font-size: clamp(20px, 1.5vw, 24px);
  }
}


@media (prefers-reduced-motion: reduce) {
  html.process-page .procSeg {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

html.process-page .processHero__mobileFlow {
  display: none;
}

html.process-page .processHero__mobileCard {
  text-decoration: none;
}

@keyframes procHeroMobileCardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

html.process-page .processHero__mobileTree {
  display: none;
}

html.process-page .processHero__treeCard {
  text-decoration: none;
}

@keyframes procTreeDrawX {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes procTreeDrawY {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes procTreeDrawXCentered {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes procTreeDrawYCentered {
  from {
    transform: translateX(-50%) scaleY(0);
  }
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes procTreeDrawBranch {
  from {
    transform: translateY(-50%) scaleX(0);
  }
  to {
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes procTreeCardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 1100px) and (orientation: portrait) {
  html.process-page .pageHero__inner {
    align-items: flex-start;
    padding-top: clamp(84px, 11vh, 118px);
    padding-bottom: clamp(26px, 5vh, 44px);
  }

  html.process-page .processHero__content,
  html.process-page .pageHero__content.processHero__content {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  html.process-page .processHero__stack {
    width: min(100%, 760px);
    height: calc(100svh - clamp(108px, 12.5vh, 146px));
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    justify-items: center;
    gap: clamp(10px, 1.5vh, 18px);
    padding-inline: clamp(16px, 5vw, 30px);
    padding-bottom: clamp(12px, 2vh, 18px);
    overflow: hidden;
  }

  html.process-page .procArcWrap {
    display: none;
  }

  html.process-page .processHero__heading {
    width: min(100%, 720px);
    max-width: min(100%, 720px);
    text-align: center;
    transform: none;
    margin-inline: auto;
  }

  html.process-page .processHero__heading .pageHero__eyebrow {
    margin-bottom: 10px;
    font-size: clamp(12px, 3.1vw, 16px);
    letter-spacing: 0.18em;
  }

  html.process-page .processHero__heading .pageHero__title {
    font-size: clamp(32px, 9.2vw, 56px);
    line-height: 0.94;
    letter-spacing: 0.045em;
  }

  html.process-page .processHero__heading .pageHero__text {
    margin-top: 10px;
    max-width: min(100%, 38ch);
    font-size: clamp(14px, 3.65vw, 19px);
    line-height: 1.48;
    font-weight: 600;
  }

  html.process-page .processHero__mobileFlow {
    display: none !important;
  }

  html.process-page .processHero__mobileTree {
    --proc-tree-line: rgb(165, 51, 51);
    --proc-tree-line-soft: rgb(165, 51, 51);
    --proc-tree-axis-w: 3px;
    --proc-tree-gap: clamp(42px, 11vw, 84px);
    --proc-tree-branch-start-nudge: 0px;
    --proc-tree-card-w: clamp(112px, 30vw, 210px);
    --proc-tree-card-h: clamp(32px, 4.45svh, 48px);
    --proc-tree-support-h: clamp(38px, 5.2svh, 56px);
    --proc-tree-row-gap: clamp(6px, 0.95svh, 12px);
    --proc-tree-stagger-1: 0px;
    --proc-tree-stagger-2: clamp(2px, 0.35svh, 4px);
    --proc-tree-stagger-3: clamp(4px, 0.55svh, 7px);
    --proc-tree-stagger-4: clamp(6px, 0.75svh, 10px);
    --proc-tree-stagger-5: clamp(8px, 0.95svh, 13px);
    --proc-tree-stagger-6: clamp(10px, 1.15svh, 16px);
    --proc-tree-drop-1: calc(
      var(--proc-tree-card-h) + var(--proc-tree-row-gap) +
        var(--proc-tree-stagger-2) - var(--proc-tree-stagger-1)
    );
    --proc-tree-drop-2: calc(
      var(--proc-tree-card-h) + var(--proc-tree-row-gap) +
        var(--proc-tree-stagger-3) - var(--proc-tree-stagger-2)
    );
    --proc-tree-drop-3: calc(
      var(--proc-tree-card-h) + var(--proc-tree-row-gap) +
        var(--proc-tree-stagger-4) - var(--proc-tree-stagger-3)
    );
    --proc-tree-drop-4: calc(
      var(--proc-tree-card-h) + var(--proc-tree-row-gap) +
        var(--proc-tree-stagger-5) - var(--proc-tree-stagger-4)
    );
    --proc-tree-drop-5: calc(
      var(--proc-tree-card-h) + var(--proc-tree-row-gap) +
        var(--proc-tree-stagger-6) - var(--proc-tree-stagger-5)
    );
    --proc-tree-drop-6: calc(
      (var(--proc-tree-card-h) / 2) + var(--proc-tree-row-gap) +
        (var(--proc-tree-support-h) / 2) - 4px
    );
    --proc-tree-top-w: min(
      calc((var(--proc-tree-card-w) * 2) + var(--proc-tree-gap) + 12px),
      calc(100% - 26px)
    );
    position: relative;
    display: block;
    width: min(100%, 560px);
    height: min(100%, clamp(322px, 48svh, 510px));
    min-height: 312px;
    margin-inline: auto;
    padding-top: clamp(8px, 1.15svh, 14px);
    align-self: stretch;
  }

  html.process-page .processHero__treeTopLine,
  html.process-page .processHero__treeTrunk {
    position: absolute;
    display: block;
    background: linear-gradient(
      90deg,
      var(--proc-tree-line-soft),
      var(--proc-tree-line),
      var(--proc-tree-line-soft)
    );
    box-shadow: 0 0 14px rgba(255, 60, 60, 0.14);
    opacity: 0.94;
  }

  html.process-page .processHero__treeTopLine {
    top: 0;
    left: 50%;
    width: var(--proc-tree-top-w);
    height: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center center;
    animation: procTreeDrawXCentered 5000ms cubic-bezier(0.22, 0.9, 0.26, 1)
      220ms forwards;
  }

  html.process-page .processHero__treeTrunk {
    top: 0;
    left: 50%;
    width: 2px; /*var(--proc-tree-axis-w);*/
    height: calc(
      clamp(12px, 1.6svh, 18px) + (var(--proc-tree-card-h) / 2) +
        var(--proc-tree-stagger-1) + 30px
    );
    transform: translateX(-50%) scaleY(0);
    transform-origin: center top;
    background: linear-gradient(
      180deg,
      var(--proc-tree-line-soft),
      var(--proc-tree-line),
      var(--proc-tree-line-soft)
    );
    animation: procTreeDrawYCentered 260ms ease-out 700ms forwards;
    display: block;
  }

  html.process-page .processHero__treeGrid {
    position: absolute;
    inset: clamp(12px, 5svh, 50px) 0 0 0;
    display: grid;
    grid-template-columns: var(--proc-tree-card-w) var(--proc-tree-gap) var(
        --proc-tree-card-w
      );
    grid-template-rows: repeat(6, var(--proc-tree-card-h)) var(
        --proc-tree-support-h
      );
    row-gap: var(--proc-tree-row-gap);
    align-content: start;
    justify-content: center;
    justify-items: center;
    height: calc(100% - clamp(12px, 1.6svh, 18px));
  }

  html.process-page .processHero__treeNode,
  html.process-page .processHero__treeSupport {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
  }

  html.process-page .processHero__treeNode--row-1 {
    margin-top: var(--proc-tree-stagger-1);
  }
  html.process-page .processHero__treeNode--row-2 {
    margin-top: var(--proc-tree-stagger-2);
  }
  html.process-page .processHero__treeNode--row-3 {
    margin-top: var(--proc-tree-stagger-3);
  }
  html.process-page .processHero__treeNode--row-4 {
    margin-top: var(--proc-tree-stagger-4);
  }
  html.process-page .processHero__treeNode--row-5 {
    margin-top: var(--proc-tree-stagger-5);
  }
  html.process-page .processHero__treeNode--row-6 {
    margin-top: var(--proc-tree-stagger-6);
  }

  html.process-page .processHero__treeNode {
    width: var(--proc-tree-card-w);
  }

  html.process-page .processHero__treeNode::before,
  html.process-page .processHero__treeSupport::before,
  html.process-page .processHero__treeNode::after {
    content: "";
    position: absolute;
    display: block;
    opacity: 0.94;
  }

  html.process-page .processHero__treeNode::before,
  html.process-page .processHero__treeSupport::before {
    background: var(--proc-tree-line);
    height: 2px;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 60, 60, 0.12);
  }

  html.process-page .processHero__treeNode::after {
    background: linear-gradient(
      180deg,
      var(--proc-tree-line-soft),
      var(--proc-tree-line),
      var(--proc-tree-line-soft)
    );
    width: 2px;
    top: 50%;
    height: var(--proc-tree-drop, 0px);
    box-shadow: 0 0 14px rgba(255, 60, 60, 0.14);
  }

  html.process-page .processHero__treeNode--left {
    grid-column: 1;
    justify-self: end;
    justify-content: flex-end;
  }

  html.process-page .processHero__treeNode--right {
    grid-column: 3;
    justify-self: start;
    justify-content: flex-start;
  }

  html.process-page .processHero__treeNode--row-1 {
    grid-row: 1;
  }
  html.process-page .processHero__treeNode--row-2 {
    grid-row: 2;
  }
  html.process-page .processHero__treeNode--row-3 {
    grid-row: 3;
  }
  html.process-page .processHero__treeNode--row-4 {
    grid-row: 4;
  }
  html.process-page .processHero__treeNode--row-5 {
    grid-row: 5;
  }
  html.process-page .processHero__treeNode--row-6 {
    grid-row: 6;
  }

  html.process-page .processHero__treeNode--left::before {
    top: 50%;
    left: calc(100% + var(--proc-tree-branch-start-nudge));
    width: calc(
      (var(--proc-tree-gap) / 2) - var(--proc-tree-branch-start-nudge) +
        (var(--proc-tree-axis-w) / 2)
    );
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
  }

  html.process-page .processHero__treeNode--left::after {
    left: calc(
      100% + (var(--proc-tree-gap) / 2) - (var(--proc-tree-axis-w) / 2) + 2px
    );
    transform: scaleY(0);
    transform-origin: center top;
  }

  html.process-page .processHero__treeNode--right::before {
    top: 50%;
    right: calc(100% + var(--proc-tree-branch-start-nudge) - 2px);
    width: calc(
      (var(--proc-tree-gap) / 2) - var(--proc-tree-branch-start-nudge) +
        (var(--proc-tree-axis-w) / 2)
    );
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
  }

  html.process-page .processHero__treeNode--right::after {
    left: calc(
      -1 * ((var(--proc-tree-gap) / 2) + (var(--proc-tree-axis-w) / 2)) + 2px
    );
    transform: scaleY(0);
    transform-origin: center top;
  }

  html.process-page .processHero__treeSupport {
    grid-column: 1;
    grid-row: 7;
    justify-self: end;
    justify-content: flex-end;
    align-self: start;
    width: var(--proc-tree-card-w);
  }

  html.process-page .processHero__treeSupport::before {
    top: 50%;
    left: calc(100% + var(--proc-tree-branch-start-nudge));
    width: calc(
      (var(--proc-tree-gap) / 2) - var(--proc-tree-branch-start-nudge) +
        (var(--proc-tree-axis-w) / 2)
    );
    transform: translateY(-50%) scaleX(0);
    transform-origin: right center;
    animation: procTreeDrawBranch 240ms ease-out forwards;
    animation-delay: 3040ms;
  }

  html.process-page .processHero__treeCard {
    width: var(--proc-tree-card-w);
    min-height: var(--proc-tree-card-h);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    border-radius: 14px;
    /* border: 1px solid rgb(0, 31, 31); */
    background:
      /* linear-gradient(135deg, rgba(255, 24, 24, 0.14), rgba(255, 24, 24, 0.03)),
      rgba(8, 14, 24, 0.86); */
      linear-gradient(135deg, rgb(216 31 31 / 22%), rgba(255, 24, 24, 0.03)),
      rgb(54 98 105 / 70%);
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.96);
    opacity: 0;
    animation: procTreeCardIn 460ms cubic-bezier(0.22, 0.9, 0.26, 1) forwards;
    animation-delay: var(--card-d, 0ms);
    text-align: center;
  }

  html.process-page .processHero__treeCard--support {
    width: clamp(132px, 36vw, 180px);
    min-height: var(--proc-tree-support-h);
  }

  html.process-page .processHero__treeCardLine {
    display: block;
    font-family:
      "Rajdhani",
      system-ui,
      -apple-system,
      Segoe UI,
      Roboto,
      Arial,
      sans-serif;
    font-size: clamp(16px, 4vw, 28px);
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  html.process-page .processHero__treeNode::before {
    animation: procTreeDrawBranch 240ms ease-out forwards;
    animation-delay: var(--branch-d, 0ms);
  }

  html.process-page .processHero__treeNode::after {
    animation: procTreeDrawYCentered 240ms ease-out forwards;
    animation-delay: calc(var(--branch-d, 0ms) + 130ms);
  }

  html.process-page .processHero__treeNode--row-1 {
    --proc-tree-drop: var(--proc-tree-drop-1);
    --branch-d: 500ms;
    --card-d: 650ms;
  }

  html.process-page .processHero__treeNode--row-2 {
    --proc-tree-drop: var(--proc-tree-drop-2);
    --branch-d: 900ms;
    --card-d: 1050ms;
  }

  html.process-page .processHero__treeNode--row-3 {
    --proc-tree-drop: var(--proc-tree-drop-3);
    --branch-d: 1300ms;
    --card-d: 1450ms;
  }

  html.process-page .processHero__treeNode--row-4 {
    --proc-tree-drop: var(--proc-tree-drop-4);
    --branch-d: 1800ms;
    --card-d: 1950ms;
  }

  html.process-page .processHero__treeNode--row-5 {
    --proc-tree-drop: var(--proc-tree-drop-5);
    --branch-d: 2300ms;
    --card-d: 2450ms;
  }

  html.process-page .processHero__treeNode--row-6 {
    --proc-tree-drop: var(--proc-tree-drop-6);
    --branch-d: 2800ms;
    --card-d: 2950ms;
  }

  html.process-page .processHero__treeSupport {
    --card-d: 3350ms;
  }

  html.process-page .processHero__treeSupport .processHero__treeCard {
    width: clamp(132px, 36vw, 180px);
    animation-delay: var(--card-d, 3350ms);
  }
}

@media (max-width: 560px) and (orientation: portrait) {
  html.process-page .pageHero__inner {
    padding-top: clamp(76px, 10vh, 102px);
  }

  html.process-page .processHero__stack {
    gap: 14px;
    padding-inline: 14px;
    height: calc(100svh - clamp(98px, 12vh, 132px));
  }

  html.process-page .processHero__heading .pageHero__eyebrow {
    font-size: clamp(11px, 3vw, 13px);
    margin-bottom: 8px;
  }

  html.process-page .processHero__heading .pageHero__title {
    font-size: clamp(28px, 8.6vw, 42px);
  }

  html.process-page .processHero__heading .pageHero__text {
    margin-top: 10px;
    max-width: 34ch;
    font-size: clamp(13px, 3.55vw, 16px);
    line-height: 1.4;
  }

  html.process-page .processHero__mobileTree {
    --proc-tree-gap: clamp(40px, 11vw, 60px);
    --proc-tree-card-w: clamp(100px, 34vw, 136px);
    --proc-tree-card-h: clamp(35px, 4.15svh, 40px);
    --proc-tree-support-h: clamp(35px, 4.15svh, 40px);
    height: min(100%, clamp(292px, 46svh, 340px));
    min-height: 286px;
    width: min(100%, 360px);
  }

  html.process-page .processHero__mobileTree {
    --proc-tree-row-gap: clamp(5px, 0.8svh, 9px);
  }

  html.process-page .processHero__treeCard {
    border-radius: 3px;
    padding: 1px 1px;
  }

  html.process-page .processHero__treeCardLine {
    font-size: clamp(14px, 3.95vw, 19px);
  }
}

@media (max-width: 430px) and (orientation: portrait) and (min-height: 741px) {
  html.process-page .processHero__mobileTree {
    --proc-tree-gap: clamp(42px, 10.5vw, 54px);
    --proc-tree-card-w: clamp(112px, 31vw, 146px);
    --proc-tree-card-h: clamp(35px, 4.1svh, 42px);
    --proc-tree-support-h: clamp(35px, 4.1svh, 42px);
    --proc-tree-row-gap: clamp(6px, 0.9svh, 11px);
    height: min(100%, clamp(320px, 48svh, 388px));
    min-height: 306px;
    width: min(100%, 392px);
  }

  html.process-page .processHero__treeCardLine {
    font-size: clamp(15px, 4vw, 20px);
  }
}

@media (max-width: 430px) and (orientation: portrait) and (min-height: 880px) {
  html.process-page .processHero__mobileTree {
    --proc-tree-gap: clamp(46px, 11vw, 58px);
    --proc-tree-card-w: clamp(116px, 31vw, 150px);
    --proc-tree-card-h: clamp(36px, 4.15svh, 43px);
    --proc-tree-support-h: clamp(36px, 4.15svh, 43px);
    height: min(100%, clamp(336px, 49svh, 404px));
    min-height: 322px;
    width: min(100%, 408px);
  }
}

@media (min-width: 431px) and (max-width: 1100px) and (orientation: portrait) and (min-height: 820px) {
  html.process-page .processHero__mobileTree {
    --proc-tree-gap: clamp(58px, 13vw, 118px);
    --proc-tree-card-w: clamp(126px, 31vw, 240px);
    --proc-tree-card-h: clamp(36px, 4.7svh, 52px);
    --proc-tree-support-h: clamp(42px, 5.5svh, 60px);
    height: min(100%, clamp(368px, 55svh, 560px));
    width: min(100%, 620px);
  }

  html.process-page .processHero__mobileTree {
    --proc-tree-row-gap: clamp(8px, 1.2svh, 16px);
  }

  html.process-page .processHero__treeCard,
  html.process-page .processHero__treeCard--support {
    border-radius: 3px;
  }

  html.process-page .processHero__treeSupport .processHero__treeCard,
  html.process-page .processHero__treeCard--support {
    width: var(--proc-tree-card-w);
  }

  html.process-page .processHero__treeCardLine {
    font-size: clamp(18px, 3.6vw, 30px);
  }
}

@media (max-width: 1100px) and (orientation: portrait) and (max-height: 740px) {
  html.process-page .processHero__stack {
    gap: 12px;
    height: calc(100svh - clamp(96px, 11.5vh, 128px));
  }

  html.process-page .processHero__mobileTree {
    height: min(100%, clamp(276px, 45svh, 332px));
    min-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.process-page .processHero__mobileCard,
  html.process-page .processHero__treeCard {
    animation: none;
    opacity: 1;
    transform: none;
  }

  html.process-page .processHero__treeTopLine,
  html.process-page .processHero__treeTrunk,
  html.process-page .processHero__treeNode::before,
  html.process-page .processHero__treeNode::after,
  html.process-page .processHero__treeSupport::before {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) and (orientation: portrait) {
  html.process-page .processHero__mobileTree {
    --proc-tree-grid-top: clamp(12px, 5svh, 50px);
    --proc-tree-grid-h: calc(100% - var(--proc-tree-grid-top));
    --proc-tree-row-h: max(
      var(--proc-tree-support-h),
      calc((var(--proc-tree-grid-h) - (var(--proc-tree-row-gap) * 6)) / 7)
    );
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  html.process-page .processHero__treeGrid {
    inset: var(--proc-tree-grid-top) 0 0 0;
    height: var(--proc-tree-grid-h);
    grid-template-rows: repeat(7, var(--proc-tree-row-h));
    row-gap: var(--proc-tree-row-gap);
    align-content: stretch;
  }

  html.process-page .processHero__treeSupport {
    grid-row: 7;
    align-self: stretch;
  }

  html.process-page .processHero__treeTrunk {
    height: calc(var(--proc-tree-grid-h) - (var(--proc-tree-row-h) / 2) + 4px);
    animation: procTreeDrawYCentered 3000ms ease-out 100ms forwards;
  }

  html.process-page .processHero__treeNode::after {
    display: none !important;
    animation: none !important;
    transform: none !important;
    height: 0 !important;
  }
}
