/* REALAUTOM process rail v3. Desktop-only approved composition. */

@media (min-width: 901px) {
  #process {
    position: relative;
    padding: clamp(88px, 8vw, 116px) 0 104px;
    background: var(--paper);
  }

  #process .section-heading {
    display: block;
    max-width: 820px;
    margin: 0 0 82px;
  }

  #process .section-heading > div {
    max-width: 100%;
  }

  #process .section-heading .kicker {
    margin-bottom: 20px;
    color: #ad451b;
  }

  #process .section-heading h2 {
    max-width: 10ch;
    font-family: "Onest", "Onest", sans-serif;
    font-size: clamp(58px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .96;
    text-wrap: balance;
  }

  #process .section-heading > p {
    max-width: 590px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
    text-wrap: pretty;
  }

  #process .steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #process .steps::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: #1d1c1a;
  }

  #process .step {
    position: relative;
    min-width: 0;
    min-height: 336px;
    margin: 0;
    padding: 52px 40px 34px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
  }

  #process .step::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #ff7540;
    box-shadow: 0 0 0 8px var(--paper);
  }

  #process .step > b {
    display: block;
    margin: 0 0 58px;
    font-family: "Onest", "Onest", sans-serif;
    font-size: clamp(76px, 6.8vw, 100px);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.075em;
    line-height: .82;
    color: var(--ink);
  }

  #process .step > h3 {
    max-width: 17ch;
    min-height: 2.3em;
    margin: 0 0 14px;
    font-family: "Onest", "Onest", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-wrap: balance;
  }

  #process .step > p {
    max-width: 32ch;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    text-wrap: pretty;
  }
}

@media (max-width: 900px) {
  #process {
    position: relative;
    padding: 72px 0 84px;
    background: var(--paper);
  }

  #process .container {
    width: min(calc(100% - 48px), var(--max));
  }

  #process .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .62fr);
    gap: 36px;
    align-items: end;
    margin: 0 0 56px;
  }

  #process .section-heading .kicker {
    margin-bottom: 18px;
    color: #ad451b;
  }

  #process .section-heading h2 {
    max-width: 10ch;
    font-family: "Onest", "Onest", sans-serif;
    font-size: clamp(46px, 7vw, 58px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: .97;
    text-wrap: balance;
  }

  #process .section-heading > p {
    max-width: 30ch;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.52;
    text-wrap: pretty;
  }

  #process .steps {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #process .steps::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 80px;
    width: 1px;
    background: #1d1c1a;
  }

  #process .step {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 30px;
    align-content: center;
    min-width: 0;
    min-height: 210px;
    margin: 0;
    padding: 36px 0 36px 32px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
  }

  #process .step + .step::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 158px;
    height: 1px;
    background: rgba(29, 28, 26, .16);
  }

  #process .step::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 80px;
    transform: translateX(-50%);
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #ff7540;
    box-shadow: 0 0 0 8px var(--paper);
  }

  #process .step > b {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    display: block;
    margin: 0;
    color: var(--ink);
    font-family: "Onest", "Onest", sans-serif;
    font-size: 64px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.07em;
    line-height: .86;
    text-align: center;
  }

  #process .step > h3 {
    grid-column: 2;
    grid-row: 1;
    max-width: 20ch;
    min-height: 0;
    margin: 0 0 12px;
    font-family: "Onest", "Onest", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
    text-wrap: balance;
  }

  #process .step > p {
    grid-column: 2;
    grid-row: 2;
    max-width: 44ch;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.52;
    text-wrap: pretty;
  }
}

@media (max-width: 640px) {
  #process {
    padding: 60px 0 68px;
  }

  #process .container {
    width: min(calc(100% - 32px), var(--max));
  }

  #process .section-heading {
    display: block;
    margin: 0 0 40px;
  }

  #process .section-heading .kicker {
    margin-bottom: 16px;
  }

  #process .section-heading h2 {
    max-width: 9ch;
    font-size: clamp(39px, 12vw, 46px);
    line-height: .98;
  }

  #process .section-heading > p {
    max-width: 32ch;
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 1.5;
  }

  #process .steps::before {
    top: 34px;
    bottom: 34px;
    left: 58px;
  }

  #process .step {
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 18px;
    min-height: 180px;
    padding: 28px 0 30px 24px;
  }

  #process .step + .step::after {
    left: 110px;
  }

  #process .step::before {
    top: 29px;
    left: 58px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 6px var(--paper);
  }

  #process .step > b {
    font-size: 44px;
    line-height: .88;
  }

  #process .step > h3 {
    max-width: 17ch;
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.14;
  }

  #process .step > p {
    font-size: 15px;
    line-height: 1.48;
  }
}
